FS#65439 - [lib32-zstd] pkg-config file has broken libdir
Attached to Project:
Community Packages
Opened by Etienne JUVIGNY (TkG) - Sunday, 09 February 2020, 18:18 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 13 February 2020, 08:37 GMT
Opened by Etienne JUVIGNY (TkG) - Sunday, 09 February 2020, 18:18 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 13 February 2020, 08:37 GMT
|
Details
Description: Wrong libdir path since 1.4.4-1
Additional info: As of 1.4.4-1, the libdir path points to `${exec_prefix}/lib` instead of `${exec_prefix}/lib32` in `$pkgdir/lib32-zstd/usr/lib32/pkgconfig/libzstd.pc`, leading to the 64-bit lib being used instead of the 32-bit one. Adding a basic `sed -i 's|libdir=${exec_prefix}/lib|libdir=${exec_prefix}/lib32|' "${pkgdir}"/usr/lib32/pkgconfig/libzstd.pc` to package() fixes the issue. Steps to reproduce: The issue was noticed while trying to build mesa current master. When the 32-bit zstd lib is called, compilation fails due to wrong architecture (pointing to `/usr/lib`). |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Thursday, 13 February 2020, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: lib32-zstd-1.4.4-2
Thursday, 13 February 2020, 08:37 GMT
Reason for closing: Fixed
Additional comments about closing: lib32-zstd-1.4.4-2
Comment by Etienne JUVIGNY (TkG) -
Sunday, 09 February 2020, 18:20 GMT
Comment by
Eli Schwartz (eschwartz) - Sunday,
09 February 2020, 18:30 GMT
Whoops. Summary failure.
- Field changed: Status (Unconfirmed → Assigned)
- Task assigned to Levente Polyak (anthraxx)
Broken upstream in
https://github.com/facebook/zstd/pull/1851, see latest comment on that pull request.