FS#69277 - [libevent] Remove RPATH from installed libraries

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Sunday, 10 January 2021, 18:12 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 06 August 2022, 13:33 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Up-to an year or so ago, libevent*so did not have RPATH. That was spot on, since we install the libraries in the default search path /usr/lib. Upstream "force" enabled RPATH, so make their CI new happy [1] - since in that case, the lot is installed to /usr/local/lib.

Please drop rpath by using
$ cmake -DCMAKE_SKIP_RPATH=TRUE ...

[1] https://github.com/libevent/libevent/pull/951

Additional info:
* package version(s)
2.1.12-1

Steps to reproduce:
1. Rebuild with `cmake -DCMAKE_SKIP_RPATH=TRUE ...`
2. Run any program which uses libevent
3. Things just work
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 06 August 2022, 13:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  libevent 2.1.12-2
Comment by Emil (xexaxo) - Monday, 31 January 2022, 00:10 GMT
The following patch does the job.

Edit: as the commit message says - the _INSTALL_ variant must be used, otherwise the tests fail.

Loading...