[Touch-packages] [Bug 2002511]
Thanks, Lukas -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: Fix Released Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: Fix Released Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511]
Hi Thomas, This has been already fixed in RHEL-9.2 (BZ#2166501) which has been shipped already. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: Fix Released Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: Fix Released Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511]
Hello Lukas, do we need to open a bug to get this into RHEL 9.3 or will this be propagated somehow? Thanks. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: Fix Released Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: Fix Released Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511]
Created attachment 1941938 patch for zlib 1.2.11 You can also find this patch at https://github.com/iii-i/zlib/commits/crc32vx-v5-1.2.11. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: Fix Released Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: Fix Released Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x
This bug was fixed in the package zlib - 1:1.2.13.dfsg-1ubuntu4 --- zlib (1:1.2.13.dfsg-1ubuntu4) lunar; urgency=medium * Add d/p/1390.patch to not update strm.adler for raw streams on s390x (DFLTCC), otherwise libxml2 gets broken on s390x. LP: #2002511 -- Frank Heimes Wed, 11 Jan 2023 18:02:34 +0100 ** Changed in: zlib (Ubuntu Lunar) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: Fix Released Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: Fix Released Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x
** Changed in: zlib Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511]
The package is in the Fedora Rawhide stable repo. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: Fix Released Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x
** Changed in: ubuntu-z-systems Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: In Progress Status in zlib: In Progress Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511]
It seems that the latest version of zlib fixed the problem we found in lxml. Thanks! I think you can ship it. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib: In Progress Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x
** Patch added: "debdiff_zlib_lunar_from_1.2.13.dfsg-1ubuntu3_to_1.2.13.dfsg-1ubuntu4.diff" https://bugs.launchpad.net/zlib/+bug/2002511/+attachment/5640780/+files/debdiff_zlib_lunar_from_1.2.13.dfsg-1ubuntu3_to_1.2.13.dfsg-1ubuntu4.diff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib: In Progress Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x
The attachment "1390.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib: In Progress Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x
** Summary changed: - zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x + zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml2 on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib: In Progress Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
Launchpad has imported 17 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=2155328. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2022-12-20T20:39:24+00:00 lbalhar wrote: Description of problem: The latest version of zlib (1.2.13) in rawhide breaks libxml2 (and therefore lxml). The problem appears during loading a gzipped XML file. Version-Release number of selected component (if applicable): zlib-1.2.13-1.fc38.s390x How reproducible: Allways. Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed Expected results: Loaded file. It works fine with zlib-1.2.12-5.fc37.s390x. Additional info: Might this be caused by the downstream patches we have in Fedora for s390x? Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/0 On 2022-12-21T19:24:28+00:00 iii wrote: This must be a problem with the latest hardware compression patches. export DFLTCC=0 makes the problem go away. Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/1 On 2022-12-21T22:18:06+00:00 lbalhar wrote: Thanks for the info Ilya. Do you know where and how we can fix this? Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/2 On 2022-12-22T01:30:43+00:00 mhroncok wrote: I can confirm DFLTCC=0 makes the problem go away. $ python3 .. >>> libxml2.parseFile("file.xml.gz") file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed $ DFLTCC=0 python3 ... >>> libxml2.parseFile("file.xml.gz") Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/3 On 2022-12-22T08:56:14+00:00 iii wrote: Yes, this must be the new strm.adler change - it seems that we should not be updating this field for raw streams. I am working on a fix. Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/4 On 2022-12-22T11:01:17+00:00 iii wrote: Created attachment 1934106 patch for zlib 1.2.11 Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/5 On 2022-12-22T11:01:39+00:00 iii wrote: Created attachment 1934107 patch for zlib 1.2.13 Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/6 On 2022-12-22T11:10:21+00:00 iii wrote: Please try either of the attached patches. Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/7 On 2022-12-22T14:11:45+00:00 lbalhar wrote: Thanks for the patches. Could one of the package maintainers try it, please? I've tried to apply it and it does not apply. Looking at the patches we already have they depend on each other so I don't know whether I should add this one as a new one or squash it into zlib-1.2.13-IBM-Z-hw-accelerated-deflate.patch which adds the file the new patch tries to modify. Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/2002511/comments/8 On 2022-12-22T15:19:13+00:00 iii wrote: Created attachment 1934119 patch for zlib 1.2.13 (rawhide version) Hm, indeed, the 1.2.13 patch that I posted did not apply to the rawhide zlib. I generated it against https://github.com/madler/zlib/pull/410#issuecomment-1353070525, which is slightly ahead. I've attached the rebased version; it should go after all the current rawhide patches, i.e. after Patch23: zlib-1.2.11-covscan-issues- rhel9.patch. Reply at: https://bugs.launchpad.net/ubuntu/+source/zlib/
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
** Bug watch added: Red Hat Bugzilla #2155328 https://bugzilla.redhat.com/show_bug.cgi?id=2155328 ** Also affects: zlib via https://bugzilla.redhat.com/show_bug.cgi?id=2155328 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib: Unknown Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib: Unknown Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xmlParseFile() failed * Expected results: Loaded file. [ Where problems could occur ] * Since this is limited to s390x and DFLTCC / hw acceleration active, any possible problems are limited to such environments. * Fix can be broken if the state handling (state->wrap), or the states mixed. * The translation from stream to parameter block could be broken (again due to wrong states) and the inflate as well. [ Other Info ] * The official upstream fix is here: https://github.com/zlib-ng/zlib-ng/pull/1390 but it's for zlib-ng. * For zlib this needs to be adjusted and was done by the author here: https://launchpadlibrarian.net/641454325/patch-1.2.11 * And again slightly adjusted by me (renamed, some white-space fixes and conversion into a quilt patch with proper dep3 header): https://launchpadlibrarian.net/645435847/1390.patch * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. __ It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
** Description changed: + SRU Justification: + -- + + [ Impact ] + + * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with +the patch from LP#1990379, break libxml2 and lxml on s390x. + + * The problem appears during loading a gzipped XML file. + + * Disabling hw compression with 'export DFLTCC=0' solves this, +hence it's a problem with the hardware acceleration patches DFLTCC. + + * For more info see: + https://bugzilla.redhat.com/show_bug.cgi?id=2155328 + + [ Test Plan ] + + * Steps to Reproduce: +1. echo "" > file.xml +2. gzip file.xml +3. python3 +>>> import libxml2 +>>> libxml2.parseFile("file.xml.gz") + + * Actual results: +file.xml.gz:1: parser error : Document is empty +^ +Traceback (most recent call last): + File "", line 1, in + File "/usr/lib/python3.11/site-packages/libxml2.py", + line 1362, in parseFile +if ret is None:raise parserError('xmlParseFile() failed') + ^^ +libxml2.parserError: xmlParseFile() failed + + * Expected results: +Loaded file. + + [ Where problems could occur ] + + * Since this is limited to s390x and DFLTCC / hw acceleration active, +any possible problems are limited to such environments. + + * Fix can be broken if the state handling (state->wrap), +or the states mixed. + + * The translation from stream to parameter block could be broken +(again due to wrong states) and the inflate as well. + + [ Other Info ] + + * The official upstream fix is here: +https://github.com/zlib-ng/zlib-ng/pull/1390 +but it's for zlib-ng. + + * For zlib this needs to be adjusted and was done by the author here: +https://launchpadlibrarian.net/641454325/patch-1.2.11 + + * And again slightly adjusted by me (renamed, some white-space fixes +and conversion into a quilt patch with proper dep3 header): +https://launchpadlibrarian.net/645435847/1390.patch + + * The zlib version in Focal, Jammy, Kinetic and Lunar are affected. + __ + It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. ** Also affects: zlib (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: zlib (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: zlib (Ubuntu Kinetic) Importance: Undecided Status: New ** Also affects: zlib (Ubuntu Lunar) Importance: High Status: New ** Changed in: ubuntu-z-systems Status: New => Triaged ** Changed in: zlib (Ubuntu Lunar) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: Triaged Status in zlib package in Ubuntu: In Progress Status in zlib source package in Focal: New Status in zlib source package in Jammy: New Status in zlib source package in Kinetic: New Status in zlib source package in Lunar: In Progress Bug description: SRU Justification: -- [ Impact ] * zlib version 1.2.13, as well as patched zlib versions 1.2.11 with the patch from LP#1990379, break libxml2 and lxml on s390x. * The problem appears during loading a gzipped XML file. * Disabling hw compression with 'export DFLTCC=0' solves this, hence it's a problem with the hardware acceleration patches DFLTCC. * For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=2155328 [ Test Plan ] * Steps to Reproduce: 1. echo "" > file.xml 2. gzip file.xml 3. python3 >>> import libxml2 >>> libxml2.parseFile("file.xml.gz") * Actual results: file.xml.gz:1: parser error : Document is empty ^ Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile if ret is None:raise parserError('xmlParseFile() failed') ^^ libxml2.parserError: xml
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
PPA test builds a ongoing for F, J, K and L at https://launchpad.net/~fheimes/+archive/ubuntu/lp2002511 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: New Status in zlib package in Ubuntu: New Bug description: It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
Attaching the slightly modified and renamed patch (original is at LP#1990379), now as quilt patch, with some whitespace adjustments and a proper dep3 header. ** Patch added: "1390.patch" https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+attachment/5640638/+files/1390.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: New Status in zlib package in Ubuntu: New Bug description: It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] Re: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: New Status in zlib package in Ubuntu: New Bug description: It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2002511] [NEW] zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x
Public bug reported: It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. ** Affects: ubuntu-z-systems Importance: High Status: New ** Affects: zlib (Ubuntu) Importance: High Status: New ** Tags: s390x ** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Summary changed: - zlib 1.2.13 breaks libxml(2) on s390x + zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x ** Changed in: ubuntu-z-systems Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to zlib in Ubuntu. https://bugs.launchpad.net/bugs/2002511 Title: zlib 1.2.13 (and patched 1.2.11) breaks libxml(2) on s390x Status in Ubuntu on IBM z Systems: New Status in zlib package in Ubuntu: New Bug description: It has been reported that 1.2.13 as well as the patch from LP#1990379 breaks libxml2 (and libxml) on s390x: (https://bugzilla.redhat.com/show_bug.cgi?id=2155328). The attached patch should fix the issue. The upstream author proposed a fix and a new test for zlib-ng (https://github.com/zlib-ng/zlib-ng/pull/1390) in order to detect such breakages in the future. ___ This was initially reported as part of LP#1990379, especially: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1990379/comments/12 but needs a separate LP bug (number) - this one. ___ The proposed patch at https://launchpadlibrarian.net/641454325/patch-1.2.11 needed some tweaks regarding white-spaces, but then applied fine on focal, jammy, kinetic and also 1.2.13, which is what we currently have in lunar-proposed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2002511/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp