Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 644700

Summary: sys-libs/glibc-2.26-r5 fails with error: which: no rpcgen
Product: Gentoo Linux Reporter: Stefan Böhmann <devel>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=sys-libs/glibc-2.26-r5::gentoo'
emerge -pqv '=sys-libs/glibc-2.26-r5::gentoo'
build.log

Description Stefan Böhmann 2018-01-15 21:41:49 UTC
sys-libs/glibc-2.26-r5 fails with error:

which: no rpcgen in (/usr/lib/portage/python3.5/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/7.2.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin)
cp: missing destination file operand after 'sunrpc/cross-rpcgen'
Try 'cp --help' for more information.
Comment 1 Stefan Böhmann 2018-01-15 21:43:34 UTC
Created attachment 514998 [details]
emerge --info '=sys-libs/glibc-2.26-r5::gentoo'
Comment 2 Stefan Böhmann 2018-01-15 21:43:57 UTC
Created attachment 515000 [details]
emerge -pqv '=sys-libs/glibc-2.26-r5::gentoo'
Comment 3 Stefan Böhmann 2018-01-15 21:44:18 UTC
Created attachment 515002 [details]
build.log
Comment 4 Stefan Böhmann 2018-01-15 21:48:48 UTC
For me the problem occurred at the same time as my gcc-7.2 bug
https://bugs.gentoo.org/644698

For this bug, I found a potentially related samba bug
https://bugs.gentoo.org/640416
Comment 5 Mike Gilbert gentoo-dev 2018-01-15 22:36:48 UTC
This code is only meant to be executed when migrating between different values of MULTILIB_ABIS.

In this case, the problem occurs because your C compiler is somehow broken, so the ebuild mis-detects this as a multilib migration.

We should probably fix the multilib migration code to not look for rpcgen anymore since glibc no longer uses it.
Comment 6 Larry the Git Cow gentoo-dev 2018-01-20 17:16:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e179bf517964dd38d81503ee5393e195b1cb6a

commit a9e179bf517964dd38d81503ee5393e195b1cb6a
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-01-20 17:16:19 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-01-20 17:16:19 +0000

    sys-libs/glibc: rpcgen is not used here anymore, so no need for special treatmet at abi migration
    
    Bug: https://bugs.gentoo.org/644700
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-libs/glibc/glibc-9999.ebuild | 6 ------
 1 file changed, 6 deletions(-)}
Comment 7 Larry the Git Cow gentoo-dev 2018-02-08 21:48:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cefbe341bc31fa3fdfc767a125f6f40d81241884

commit cefbe341bc31fa3fdfc767a125f6f40d81241884
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-02-08 21:48:09 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-02-08 21:48:09 +0000

    sys-libs/glibc: rpcgen is not used here anymore, so no need for special treatment at abi migration
    
    Closes: https://bugs.gentoo.org/644700
    Package-Manager: Portage-2.3.21, Repoman-2.3.6

 sys-libs/glibc/glibc-2.26-r5.ebuild | 3 ---
 1 file changed, 3 deletions(-)