Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644700 - sys-libs/glibc-2.26-r5 fails with error: which: no rpcgen
Summary: sys-libs/glibc-2.26-r5 fails with error: which: no rpcgen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 21:41 UTC by Stefan Böhmann
Modified: 2018-02-08 21:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=sys-libs/glibc-2.26-r5::gentoo' (glibc-2.26-r5_emerge_info.txt,7.33 KB, text/plain)
2018-01-15 21:43 UTC, Stefan Böhmann
Details
emerge -pqv '=sys-libs/glibc-2.26-r5::gentoo' (glibc-2.26-r5_emerge_pqv.txt,278 bytes, text/plain)
2018-01-15 21:43 UTC, Stefan Böhmann
Details
build.log (glibc-2.26-r5_build_log.txt,27.98 KB, text/plain)
2018-01-15 21:44 UTC, Stefan Böhmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)