https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-p2p/p2pool-2.6-r1 installs pre-stripped files. Discovered on: amd64 (internal ref: guru_ci)
Created attachment 840215 [details] build.log build log and emerge --info
the 'file' command reports the binary as stripped for some reason. Should I still add dostrip to src_install() ?
Normally the files should not be stripped by default. Portage will strip them, but the user can enable FEATURE `nostrip` to keep the debug info in executables, see here https://wiki.gentoo.org/wiki/Debugging This is the reason for this bug. For binary packages, if the executables are already stripped, you can add them to QA_PRESTRIPPED or even QA_PREBUILT, see here https://devmanual.gentoo.org/eclass-reference/ebuild/index.html
(In reply to Viorel Munteanu from comment #3) > Normally the files should not be stripped by default. Portage will strip > them, but the user can enable FEATURE `nostrip` to keep the debug info in > executables, see here https://wiki.gentoo.org/wiki/Debugging > > This is the reason for this bug. For binary packages, if the executables > are already stripped, you can add them to QA_PRESTRIPPED or even > QA_PREBUILT, see here > https://devmanual.gentoo.org/eclass-reference/ebuild/index.html Okay, I have it producing unstripped files when "nostrip" is on. Take a look at the ebuild and tell me if that looks about right.
oh crap, wrong package. Yeah, I can't figure out how to get this to stop stripping the binary, sorry.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c50f669432bad09c6c469d78f6d6889853a8010 commit 3c50f669432bad09c6c469d78f6d6889853a8010 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2022-12-10 07:55:23 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2022-12-10 07:55:23 +0000 net-p2p/p2pool: don't strip files by default Closes: https://bugs.gentoo.org/884447 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> net-p2p/p2pool/p2pool-2.6-r1.ebuild | 9 +++++++++ net-p2p/p2pool/p2pool-9999.ebuild | 9 +++++++++ 2 files changed, 18 insertions(+)