Created attachment 895006 [details] build.log and emerge --info So, strangely this does NOT reproduce on ppc64le, only on big-endian. And I checked the binaries, the big-endian one is indeed missing all the symbols while the little-endian one has them. Running `/var/tmp/portage/app-crypt/rpm-sequoia-1.6.0/work/rpm-sequoia-1.6.0/target/release/deps/symbols-3405ed49d96325fa` running 1 test test symbols ... FAILED failures: ---- symbols stdout ---- Found 0 symbols: Expected 33 symbols: _pgpArmorWrap _pgpCleanDig _pgpDigGetParams _pgpDigParamsAlgo _pgpDigParamsCmp _pgpDigParamsCreationTime _pgpDigParamsFree _pgpDigParamsSignID _pgpDigParamsUserID _pgpDigParamsVersion _pgpFreeDig _pgpNewDig _pgpParsePkts _pgpPrtParams _pgpPrtParams2 _pgpPrtParamsSubkeys _pgpPrtPkts _pgpPubKeyCertLen _pgpPubKeyLint _pgpPubkeyFingerprint _pgpPubkeyKeyID _pgpSignatureType _pgpVerifySig _pgpVerifySignature _pgpVerifySignature2 _rpmDigestDup _rpmDigestFinal _rpmDigestInit _rpmDigestLength _rpmDigestUpdate _rpmFreeCrypto _rpmInitCrypto rust_eh_personality (optional) Missing expected symbol _pgpArmorWrap Missing expected symbol _pgpCleanDig Missing expected symbol _pgpDigGetParams Missing expected symbol _pgpDigParamsAlgo Missing expected symbol _pgpDigParamsCmp Missing expected symbol _pgpDigParamsCreationTime Missing expected symbol _pgpDigParamsFree Missing expected symbol _pgpDigParamsSignID Missing expected symbol _pgpDigParamsUserID Missing expected symbol _pgpDigParamsVersion Missing expected symbol _pgpFreeDig Missing expected symbol _pgpNewDig Missing expected symbol _pgpParsePkts Missing expected symbol _pgpPrtParams Missing expected symbol _pgpPrtParams2 Missing expected symbol _pgpPrtParamsSubkeys Missing expected symbol _pgpPrtPkts Missing expected symbol _pgpPubKeyCertLen Missing expected symbol _pgpPubKeyLint Missing expected symbol _pgpPubkeyFingerprint Missing expected symbol _pgpPubkeyKeyID Missing expected symbol _pgpSignatureType Missing expected symbol _pgpVerifySig Missing expected symbol _pgpVerifySignature Missing expected symbol _pgpVerifySignature2 Missing expected symbol _rpmDigestDup Missing expected symbol _rpmDigestFinal Missing expected symbol _rpmDigestInit Missing expected symbol _rpmDigestLength Missing expected symbol _rpmDigestUpdate Missing expected symbol _rpmFreeCrypto Missing expected symbol _rpmInitCrypto *** If you see unexpected symbols like SHA1DCInit..., then you need version 0.2.6 or later of sha1collisiondetection. *** Error: symbol mismatch failures: symbols test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s error: test failed, to rerun pass `--test symbols`
Created attachment 895070 [details, diff] rpm-sequoia-1.6.0-ppc64-fix-testcase.patch I tested with qemu today and the symbols _were_ present, but inside opd section, which this testcase does not expect. > And I checked the binaries, the big-endian one is indeed missing all the symbols while the little-endian one has them. Does that mean I did not reproduce your bug? Does this patch not work for you?
(In reply to Takuya Wakazono from comment #1) > Created attachment 895070 [details, diff] [details, diff] > rpm-sequoia-1.6.0-ppc64-fix-testcase.patch > > I tested with qemu today and the symbols _were_ present, but inside opd > section, which this testcase does not expect. > > > And I checked the binaries, the big-endian one is indeed missing all the symbols while the little-endian one has them. > Does that mean I did not reproduce your bug? Does this patch not work for > you? Hmm, I just checked output of "nm --dynamic", maybe that doesn't show this section or I missed it. Let me try the patch.
Confirmed, specified patch fixes it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28414d805aaf5fbef9b68f8ca78f6f09895829a commit b28414d805aaf5fbef9b68f8ca78f6f09895829a Author: Takuya Wakazono <pastalian46@gmail.com> AuthorDate: 2024-07-09 16:45:42 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-07-12 05:54:16 +0000 app-crypt/rpm-sequoia: add 1.7.0 Closes: https://bugs.gentoo.org/923735 Closes: https://bugs.gentoo.org/925368 Closes: https://bugs.gentoo.org/933486 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37501 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> app-crypt/rpm-sequoia/Manifest | 127 ++++++++++ app-crypt/rpm-sequoia/rpm-sequoia-1.7.0.ebuild | 310 +++++++++++++++++++++++++ 2 files changed, 437 insertions(+)