Hello Chris, or anyone else affected,

Accepted python-xmlsec into jammy-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/python-
xmlsec/1.3.12-1ubuntu0.22.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Description changed:

  [Impact]
  
- python3-xmlsec isn't available to installce on s390x on Jammy.
+ python3-xmlsec isn't available to install 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()
+     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 
____
  
  [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.
+ 
+ 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.

** Changed in: python-xmlsec (Ubuntu Jammy)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
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

Reply via email to