Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] autofs wants rpcgen despite libtirpc is USEd Alexander Kapshuk <alexander.kapshuk@×××××.com>