
On 8/10/22 19:26, Jan Engelhardt wrote:
On Wednesday 2022-08-10 11:47, Konstantin Voinov wrote:
Yes, but it doesn't work, for some of my packages at least. CMAKE_SKIP_BUILD_RPATH - does
cmake's questionable naming scheme :-/
cmake and its questionable defaults :-/
-DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
Speaking of it, can't we just slap all of this into %cmake? I can't see the legitimacy of rpaths in FHS-conforming packages (and for instances where it's needed, it could just be enabled on a case-by-case basis)
It used to be and there was multiple requests for it to be changed and so it was. Some packages break with it some without, there are several bugreports that should be listed in the .changes file if past me was good. Personally in an ideal world I suspect that the macro should have -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON but not -DCMAKE_SKIP_RPATH:BOOL=ON as there are test suites and other parts of some package builds that use rpath's as part of the build and verification process. From memory darktable uses the install version for some of its plugins as well and there are probably some others. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B