[Bug 1216650] New: libz upgrade breaks texlive-latex-bin-bin / lualatex (library version does not match)
https://bugzilla.suse.com/show_bug.cgi?id=1216650 Bug ID: 1216650 Summary: libz upgrade breaks texlive-latex-bin-bin / lualatex (library version does not match) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: registrations@wuthoehle.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- I did a 'zypper dup' yesterday and noticed that I couldn't compile any LaTeX documents using LuaLaTeX any longer: % lualatex beamer5.tex PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.13, library: 1.3) [1] 7239 IOT instruction (core dumped) lualatex beamer5.tex And indeed zlib was updated recently: % LC_ALL=C rpm -qi libz1 Name : libz1 Version : 1.3 Release : 1.1 Architecture: x86_64 Install Date: Thu Oct 26 22:00:15 2023 Group : Unspecified Size : 118944 License : Zlib Signature : RSA/SHA512, Wed Oct 25 18:06:26 2023, Key ID 35a2f86e29b700a4 Source RPM : zlib-1.3-1.1.src.rpm Build Date : Wed Oct 25 18:06:09 2023 Build Host : i03-ch2c Packager : https://bugs.opensuse.org Vendor : openSUSE URL : https://www.zlib.net/ Summary : Library implementing the DEFLATE compression algorithm Description : zlib is a general-purpose lossless data-compression library, implementing an API for the DEFLATE algorithm, the latter of which is being used by, for example, gzip and the ZIP archive format. Distribution: openSUSE Tumbleweed However, the corresponding texlive package was not: % LC_ALL=C rpm -qi texlive-latex-bin-bin Name : texlive-latex-bin-bin Version : 2023.20230311.svn54358 Release : 93.4 Architecture: x86_64 Install Date: Wed Oct 11 19:42:52 2023 Group : Productivity/Publishing/TeX/Utilities Size : 26 License : LPPL-1.0 Signature : RSA/SHA512, Mon Oct 9 12:04:33 2023, Key ID 35a2f86e29b700a4 Source RPM : texlive-2023.20230311-93.4.src.rpm Build Date : Mon Oct 9 11:45:00 2023 Build Host : i03-ch1b Relocations : /usr/bin Packager : https://bugs.opensuse.org Vendor : openSUSE URL : https://www.tug.org/texlive/ Summary : Binary files of latex-bin Description : Binary files of latex-bin Distribution: openSUSE Tumbleweed It seems like the texlive package is in need of a rebuild. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c6 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |badshah400@gmail.com --- Comment #6 from Atri Bhattacharya <badshah400@gmail.com> --- Apparently 'texlive' in openSUSE:Factory needs a rebuild against the updated zlib. For me, packages from https://build.opensuse.org/package/show/Publishing:TeXLive/texlive which have been rebuilt against zlib 1.3 work fine. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c7 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@suse.com --- Comment #7 from Atri Bhattacharya <badshah400@gmail.com> --- CC'ing maintainer. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c8 --- Comment #8 from Atri Bhattacharya <badshah400@gmail.com> --- The problem should have been fixed in the meanwhile due to a new build against zlib 1.3 (probably trigerred manually). To ensure a new zlib check-in to Factory automatically rebuilds texlive, I have submitted https://build.opensuse.org/request/show/1121211 (pending review for a week now). Could someone please confirm that lualatex now works as of texlive-latex-bin-bin version "2023.20230311.svn54358-93.5"? Thanks in advance. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c11 --- Comment #11 from Dr. Werner Fink <werner@suse.com> --- I see a lot of TeXlive binaries which depends on libz
rpmqpack | grep -Ee '^texlive-.*-bin$' | \ xargs -n 1 rpm -ql | grep /usr/bin | \ xargs ldd 2>/dev/null | grep libz\\.so | wc -l 73
not sure if fixing luatex binary package solves the problem for all other TeXlive binaries -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c12 --- Comment #12 from Atri Bhattacharya <badshah400@gmail.com> --- (In reply to Dr. Werner Fink from comment #11)
I see a lot of TeXlive binaries which depends on libz
rpmqpack | grep -Ee '^texlive-.*-bin$' | \ xargs -n 1 rpm -ql | grep /usr/bin | \ xargs ldd 2>/dev/null | grep libz\\.so | wc -l 73
not sure if fixing luatex binary package solves the problem for all other TeXlive binaries
From my (albeit only brief) testing, only luatex panics and crashes when it sees a different version of libz being used as opposed to what it is built against. This brings me to your previous comment, Werner, about libz API changes. Seeing that luatex crashes even when libz version mismatch happens at the patch level [1], I wonder if this is from an assertion check within luatex (or lua itself) that prohibits any such version mismatch or actual API changes in libz. [1] Many similar reports on the www, both old and recent: * https://bbs.archlinux.org/viewtopic.php?id=162609 * https://ubuntuforums.org/showthread.php?t=1680984 * https://github.com/void-linux/void-packages/issues/45986 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c13 --- Comment #13 from Dr. Werner Fink <werner@suse.com> --- (In reply to Atri Bhattacharya from comment #12)
From my (albeit only brief) testing, only luatex panics and crashes when it sees a different version of libz being used as opposed to what it is built against.
Thanks ... good to know.
This brings me to your previous comment, Werner, about libz API changes. Seeing that luatex crashes even when libz version mismatch happens at the patch level [1], I wonder if this is from an assertion check within luatex (or lua itself) that prohibits any such version mismatch or actual API changes in libz.
[1] Many similar reports on the www, both old and recent: * https://bbs.archlinux.org/viewtopic.php?id=162609 * https://ubuntuforums.org/showthread.php?t=1680984 * https://github.com/void-linux/void-packages/issues/45986
None of them patch their dependency rules but rebuild TeXLive ... I've to think about this -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c14 --- Comment #14 from Dr. Werner Fink <werner@suse.com> --- The workaround is up with SR#1127307 now for all lua based binaries as well -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c15 --- Comment #15 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1216650) was mentioned in https://build.opensuse.org/request/show/1127307 Factory / texlive -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c16 --- Comment #16 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1216650) was mentioned in https://build.opensuse.org/request/show/1127649 Factory / texlive -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1216650 https://bugzilla.suse.com/show_bug.cgi?id=1216650#c17 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #17 from Dr. Werner Fink <werner@suse.com> --- Fixed -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com