1 |
On Sat, Dec 9, 2017 at 11:54 AM, <tuxic@××××××.de> wrote: |
2 |
> On 12/09 06:27, Alexander Kapshuk wrote: |
3 |
>> On Sat, Dec 9, 2017 at 6:03 PM, <tuxic@××××××.de> wrote: |
4 |
>> > Hi, |
5 |
>> > |
6 |
>> > autofs-5.1.3 fails to compile: |
7 |
>> > solfire:/root>emerge -v autofs |
8 |
>> > |
9 |
>> > These are the packages that would be merged, in order: |
10 |
>> > |
11 |
>> > Calculating dependencies... done! |
12 |
>> > [ebuild R ] net-fs/autofs-5.1.3::gentoo USE="libtirpc -dmalloc -hesiod -ldap -mount-locking -sasl" 0 KiB |
13 |
>> > |
14 |
>> > Total: 1 package (1 reinstall), Size of downloads: 0 KiB |
15 |
>> > |
16 |
>> >>>> Verifying ebuild manifests |
17 |
>> >>>> Emerging (1 of 1) net-fs/autofs-5.1.3::gentoo |
18 |
>> >>>> Failed to emerge net-fs/autofs-5.1.3, Log file: |
19 |
>> >>>> '/var/tmp/portage/net-fs/autofs-5.1.3/temp/build.log' |
20 |
>> >>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.71, 0.95, 0.88 |
21 |
>> > * Package: net-fs/autofs-5.1.3 |
22 |
>> > * Repository: gentoo |
23 |
>> > * Maintainer: dlan@g.o |
24 |
>> > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libtirpc userland_GNU |
25 |
>> > * FEATURES: preserve-libs sandbox userpriv usersandbox |
26 |
>> > * Determining the location of the kernel source code |
27 |
>> > * Found kernel source directory: |
28 |
>> > * /usr/src/linux |
29 |
>> > * Found sources for kernel version: |
30 |
>> > * 4.14.4-RT |
31 |
>> > * Checking for suitable kernel configuration options... |
32 |
>> > [ ok ] |
33 |
>> >>>> Unpacking source... |
34 |
>> >>>> Unpacking autofs-5.1.3.tar.xz to /var/tmp/portage/net-fs/autofs-5.1.3/work |
35 |
>> >>>> Source unpacked in /var/tmp/portage/net-fs/autofs-5.1.3/work |
36 |
>> >>>> Preparing source in /var/tmp/portage/net-fs/autofs-5.1.3/work/autofs-5.1.3 ... |
37 |
>> > * Running eautoreconf in '/var/tmp/portage/net-fs/autofs-5.1.3/work/autofs-5.1.3' ... |
38 |
>> > * This package has a configure.in file which has long been deprecated. Please |
39 |
>> > * update it to use configure.ac instead as newer versions of autotools will die |
40 |
>> > * when it finds this file. See https://bugs.gentoo.org/426262 for details. |
41 |
>> > * Running autoconf --force ... |
42 |
>> > [ ok ] |
43 |
>> > * Running autoheader ... |
44 |
>> > [ ok ] |
45 |
>> > * Running elibtoolize in: autofs-5.1.3/ |
46 |
>> >>>> Source prepared. |
47 |
>> >>>> Configuring source in /var/tmp/portage/net-fs/autofs-5.1.3/work/autofs-5.1.3 ... |
48 |
>> >>>> Working in BUILD_DIR: "/var/tmp/portage/net-fs/autofs-5.1.3/work/autofs-5.1.3" |
49 |
>> > /var/tmp/portage/net-fs/autofs-5.1.3/work/autofs-5.1.3/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --docdir=/usr/share/doc/autofs-5.1.3 --with-confdir=/etc/conf.d --with-mapdir=/etc/autofs --without-dmalloc --without-openldap --with-libtirpc --without-sasl --without-hesiod --disable-mount-locking --disable-ext-env --enable-sloppy-mount --enable-force-shutdown --enable-ignore-busy --with-systemd=/usr/lib/systemd/system RANLIB=/usr/bin/x86_64-pc-linux-gnu-ranlib |
50 |
>> > configure: loading site script /usr/share/config.site |
51 |
>> > checking for binaries in... /usr/bin:/bin:/usr/sbin:/sbin |
52 |
>> > checking for Linux proc filesystem... yes |
53 |
>> > checking location of the init.d directory... /etc/init.d |
54 |
>> > checking for autofs configuration file directory... /etc/conf.d |
55 |
>> > checking for autofs maps directory... /etc/autofs |
56 |
>> > checking for autofs fifos directory... /run |
57 |
>> > checking for autofs flag file directory... /run |
58 |
>> > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
59 |
>> > checking whether the C compiler works... yes |
60 |
>> > checking for C compiler default output file name... a.out |
61 |
>> > checking for suffix of executables... |
62 |
>> > checking whether we are cross compiling... no |
63 |
>> > checking for suffix of object files... o |
64 |
>> > checking whether we are using the GNU C compiler... yes |
65 |
>> > checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes |
66 |
>> > checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed |
67 |
>> > checking if libtirpc is requested and available... yes |
68 |
>> > checking for getrpcbyname... yes |
69 |
>> > checking for getservbyname... yes |
70 |
>> > checking if malloc debugging is wanted... no |
71 |
>> > checking for mount... /bin/mount |
72 |
>> > checking for mount.nfs... /sbin/mount.nfs |
73 |
>> > checking for umount... /bin/umount |
74 |
>> > checking for fsck.ext2... /sbin/fsck.ext2 |
75 |
>> > checking for fsck.ext3... /sbin/fsck.ext3 |
76 |
>> > checking for fsck.ext4... /sbin/fsck.ext4 |
77 |
>> > checking for modprobe... /sbin/modprobe |
78 |
>> > checking for flex... /usr/bin/flex |
79 |
>> > checking for bison... /usr/bin/bison |
80 |
>> > checking for ranlib... /usr/bin/x86_64-pc-linux-gnu-ranlib |
81 |
>> > checking for rpcgen... no |
82 |
>> > configure: error: required program RPCGEN not found |
83 |
>> > |
84 |
>> > |
85 |
>> > |
86 |
>> > configure misses rpcgen...and seems not to evaluate the USE of |
87 |
>> > libtirpc. |
88 |
>> > |
89 |
>> > I didn't find any fix/patch online. |
90 |
>> > |
91 |
>> > What goes wrong here? |
92 |
>> > |
93 |
>> > Cheers |
94 |
>> > Meino |
95 |
>> > |
96 |
>> > |
97 |
>> > |
98 |
>> If I'm reading the ebuild quoted below right, if 'libtirpc' is set, it |
99 |
>> is net-libs/libtirpc that meets the dependency, otherwise it is glibc |
100 |
>> compiled with rpc that does that. |
101 |
>> /usr/portage/net-fs/autofs/autofs-5.1.3.ebuild:41,42 |
102 |
>> libtirpc? ( net-libs/libtirpc ) |
103 |
>> !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) |
104 |
>> |
105 |
>> equery -q u sys-libs/glibc | grep rpc |
106 |
>> +rpc |
107 |
>> |
108 |
>> On my system, rpc is included in glibc: |
109 |
>> equery -q b /usr/bin/rpcgen |
110 |
>> sys-libs/glibc-2.25-r9 |
111 |
>> |
112 |
>> What's the case on your system? |
113 |
>> |
114 |
> |
115 |
> It saus: |
116 |
> |
117 |
>>sudo equery -q b /usr/bin/rpcgen |
118 |
> [1] 7433 exit 1 sudo equery -q b /usr/bin/rpcgen |
119 |
> |
120 |
> That's why configure can't find rpcgen and the whole thing fails (see |
121 |
> above). |
122 |
> |
123 |
> The question is: Why is configure looking for rpcgen despite the fact, |
124 |
> that USE includes libtirpc (see above). |
125 |
|
126 |
The ebuild is missing a dependency on net-libs/rpcsvc-proto, which |
127 |
provides the rpcgen binary that was removed from glibc-2.26. |
128 |
|
129 |
You can work around the issue by installing net-libs/rpcsvc-proto manually. |