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.
Created attachment 514998 [details] emerge --info '=sys-libs/glibc-2.26-r5::gentoo'
Created attachment 515000 [details] emerge -pqv '=sys-libs/glibc-2.26-r5::gentoo'
Created attachment 515002 [details] build.log
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
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.
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(-)}
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(-)