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
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

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
Comment by Etienne JUVIGNY (TkG) - Sunday, 09 February 2020, 18:20 GMT
Whoops. Summary failure.
Comment by Eli Schwartz (eschwartz) - Sunday, 09 February 2020, 18:30 GMT
Broken upstream in https://github.com/facebook/zstd/pull/1851, see latest comment on that pull request.

Loading...