** Description changed: + [Impact] + + python3-xmlsec isn't available to installce on s390x on Jammy. + As can be seen in this build log (https://launchpadlibrarian.net/599963344/buildlog_ubuntu- focal-s390x.python-xmlsec_1.3.12-1build1~cloud0_BUILDING.txt.gz), the s390x build fails testing with a lot of errors matching: ___ ERROR at teardown of TestSignContext.test_set_enabled_key_data_bad_args ____ self = <tests.test_ds.TestSignContext testMethod=test_set_enabled_key_data_bad_args> def test_set_enabled_key_data_bad_args(self): ctx = xmlsec.SignatureContext() > ctx.key = xmlsec.Key.from_file(self.path('rsakey.pem'), format=consts.KeyDataFormatPem) E xmlsec.Error: (1, 'cannot read key') tests/test_ds.py:326: Error ----------------------------- Captured stderr call ----------------------------- func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=330:obj=unknown:subj=unknown:error=17:invalid format:format=131072 func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=175:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/data/rsakey.pem ___ ERROR at teardown of TestSignContext.test_set_enabled_key_data_bad_list ____ - Digging into it, I see that module seems to be loosing track of the - passed in key file's argument, leading to the key being none, and unable - to be read. + [Test Plan] + + The unit tests for the build should pass on all architectures, including + big-endian (S390X). + + [Where problems could occur] + + Problems could occur in key-loading, given that the issue is identified + as specifically relating to code that's loading private keys from the + filesystem. This specific test is what caused the build failures on + s390x so should be fairly low risk. + + [Other Info] + + The specific issue is that the format of a key is specified with an unsigned short, when it should be defined as just an unsigned integer, when talking to xmlsec1.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1971960 Title: [FTBFS] python-xmlsec fails to build on s390x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-xmlsec/+bug/1971960/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs