Latest upstream release: 1.2.12
Current version/release in rawhide: 1.2.11-31.fc36
Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring
Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.
Based on the information from Anitya: https://release-monitoring.org/project/5303/
Created attachment 1868647 [details]
Update to 1.2.12 (#2069002)
the-new-hotness/release-monitoring.org's scratch build of zlib-1.2.12-1.fc34.src.rpm for rawhide failed http://koji.fedoraproject.org/koji/taskinfo?taskID=84822039
Any progress? It blocks 3 other Perl packages.
I'm sorry we had a lot of work on RHEL (prioritized) variants.
Regarding this rebase, we agreed to work with IBM to improve the patching workflow, so it's easier in future maintenance, so it may take a bit longer.
We'll let you know with any updates we have on this.
We apologize if this is blocking you or your packages.
No problem for me at the end. The dependency from Perl packages was a mistake.
Working on the rebase.
This will include a few new optimization patches (from the https://github.com/mscastanho/zlib/tree/power-optimizations-1.2.12 repo).
I've finished the rebase with (hopefully) all of your patches.
Could you please check it and test if everything you want is in there?
The RPMs are located here: https://ljavorsk.fedorapeople.org/zlib/
PS: They are built on Fedora 37 (rawhide) is it possible for you to test it there as well?
PR for this rebase: https://src.fedoraproject.org/rpms/zlib/pull-request/13#
I use it in my x86_64 F37 machine and so far good.
Tested on a ppc64le (POWER8, POWER9, POWER10) and looks good. Verified that optimized functions are being used. Thanks!
I'm sorry I forgot to apply two covscan patches in the spec file (zlib-1.2.11-covscan-issues-rhel9.patch and zlib-1.2.11-covscan-issues.patch) which had been trimmed a bit from the old 1.2.11 release.
I've added the new RPMs to the link above, could you please just quickly check if those patches don't affect your optimizations?
Sorry for the inconvenience, it should be 100% now.
Checked again with the new packages, looks good as well =)
zlib-1.2.12-1.fc37.s390x.rpm and zlib-devel-1.2.12-1.fc37.s390x.rpm pass all of my tests. Thanks!
Zlib example.c test has been changed, so I updated our test suite.
This new example.c code is not passing with the old version of the zlib package (only with the new 1.2.12 version), so we can't merge it in our RHEL tests.
zlib-1.2.12-2.fc37 should be now part of the Fedora Rawhide.
Closing this BZ.
This rebase was untagged due to the problems it caused to the ruby package (https://github.com/ruby/spec/issues/932)
I'll create a private COPR repository and provide it to the other teams that use zlib for proper testing and only after those tests are complete we can ship the new release.
I apologize for the inconvenience.
I've applied commit (https://github.com/madler/zlib/commit/ec3df00224d4b396e2ac6586ab5d25f673caa4c2) to the zlib package.
Vit could you please test the patched rpms for your issue, if this issue is fixed in the new zlib?
The RPMs can be found here: https://ljavorsk.fedorapeople.org/zlib/
Concerning Ruby zlib tests:
The package zlib-1.2.12-3.fc37 from the https://ljavorsk.fedorapeople.org/zlib/ is OK, related Ruby tests pass again. This was verified both locally using the prebuilt binary package for x86_64 and in copr using the SRPM package from the fedorapeople site.
The zlib package was built in copr  then it was used for a Ruby build in the same repository . The x86_64 failed before on "Zlib.crc32 calculates CRC checksum for string and initial CRC value FAILED
" , but in the copr with the patched zlib is now passing the "Zlib.crc32 calculates CRC checksum for string and initial CRC value" test  (however, note that there are other problems not related to zlib).
Thank you for testing Jarek.
The new zlib release is now pushed to Fedora Rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1bd6fd68f5