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