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