FS#73333 - [zstd] Wrong pkgconfig information
Attached to Project:
Arch Linux
Opened by Bernd Amend (ptb) - Tuesday, 11 January 2022, 16:52 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 18:57 GMT
Opened by Bernd Amend (ptb) - Tuesday, 11 January 2022, 16:52 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 18:57 GMT
|
Details
Description:
The file /usr/lib/pkgconfig/libzstd.pc sets the prefix to /usr/local, but it should be set to /usr. This breaks packages that depend on pkgconf. Additional info: * package version(s) 1.5.1-2 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: check the output of "pkgconf libzstd --libs" |
This task depends upon
Closed by David Thurstenson (thurstylark)
Saturday, 12 March 2022, 18:57 GMT
Reason for closing: Fixed
Additional comments about closing: zstd 1.5.2-3
Saturday, 12 March 2022, 18:57 GMT
Reason for closing: Fixed
Additional comments about closing: zstd 1.5.2-3
Or does CSalve mean that this is should be a non-issue from Arch Linux's standpoint and upstream should fix it?
And I can also confirm that the pkg-config information is still incorrect as of 1.5.2-1 as ptb has pointed out.
$ pkgconf libzstd --libs --keep-system-libs
-L/usr/lib -lzstd
$ pkgconf libzstd --variable=libdir
/usr/lib
$ pkgconf libzstd --variable=includedir
/usr/include
Safe to move this to core repo, as it's only a minor change.
I use zstd for initrd compression by mkinitcpio and I have no issues with boot.
(Updated to latest linux kernel today).