Summary: | app-crypt/rpm-sequoia-1.6.0 fails tests on ppc64 big-endian: Found 0 symbols: Expected 33 symbols | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
Component: | Current packages | Assignee: | Takuya Wakazono <pastalian46> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | matoro_gentoo, ppc64, proxy-maint |
Priority: | Normal | Keywords: | PATCH, PullRequest, TESTFAILURE |
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=919936 https://github.com/gentoo/gentoo/pull/37035 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log and emerge --info
rpm-sequoia-1.6.0-ppc64-fix-testcase.patch |
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. |
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`