pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58671: pkgsrc unzip does not function correctly on some recent Linux distros



>Number:         58671
>Category:       pkg
>Synopsis:       pkgsrc unzip does not function correctly on some recent Linux distros
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 12 22:10:00 +0000 2024
>Originator:     David H. Gutteridge
>Release:        current
>Organization:
TNF
>Environment:
Linux arcusxiii.nonus-porta.net 6.10.3-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Aug  5 14:30:00 UTC 2024 x86_64 GNU/Linux
>Description:
While trying to build various packages on Fedora 40, I encountered this
error:

docbook-simple$ bmake
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for docbook-simple-1.1.zip
=> Checksum SHA512 OK for docbook-simple-1.1.zip
===> Checking for vulnerabilities in docbook-simple-1.1nb4
===> Extracting for docbook-simple-1.1nb4
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdocbook-custom.dtd
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdocbook.dtd
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdocbookref-custom.dtd
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdocbookref.dtd
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdbcent.mod
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdbhier.mod
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdbpool.mod
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sinclist.mod
error:  incompatible zlib version (expected 1.2.11, found 1.3.1.zlib-ng)
  error:  not enough memory to inflate sdocbook.css
*** Error code 6

Stop.
bmake[1]: stopped in /home/disciple/NetBSD/pkgsrc/textproc/docbook-simple
*** Error code 1

(The base system unzip that's provided of course works fine, and that's
one way to avoid this problem.)

This occurs with various packages, e.g., also textproc/iso8879.

Comparing the two unzip versions, they're linked differently:

$ ldd /usr/bin/zip
	linux-vdso.so.1 (0x00007f79c615d000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f79c6124000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f79c5f33000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f79c615f000)
$ ldd ~/pkg/bin/unzip
	linux-vdso.so.1 (0x00007fe6030f5000)
	libz.so.1 => /lib64/libz.so.1 (0x00007fe6030af000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fe602ebe000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe6030f7000)

(But I don't have any insight to provide beyond that at present.)

>How-To-Repeat:
As above.
>Fix:
One workaround is simply to use the base system unzip as a tool.



Home | Main Index | Thread Index | Old Index