Gentoo Archives: gentoo-user

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

Replies