Public bug reported: 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. ** Affects: python-xmlsec (Ubuntu) Importance: Undecided Status: New -- 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