While working on https://github.com/mekanix/oomidi-overlay someone noticed that we have a lot of lines like this: scanelf: rpath_security_checks(): Maybe? sec problem with DT_RPATH='lib64/oom-2.0beta/modules' in /var/tmp/portage/media-sound/openoctave-midi-9999/image/usr/bin/oomidi Defining PREFIX variable sorts this problems (and many others for the oomidi). PREFIX variable is used anyway, I've just defined it early in the cmake-utils.eclass. Here is the patch: http://paste.lugons.org/show/PJ2dFnv0te9nRjiJC0r8/ Reproducible: Always
Created attachment 265299 [details, diff] Define PREFIX Sorry, I've just realized it's the b.g.o practice to attach patches, and not link to them, so here it is.
I put this on the agenda for the next KDE meeting; needs to be discussed.
Tomas, Maciej - can you please help us with this, does this make sense?
Unfortunately Monday is the nearest occasion I'll be able to take a deeper look (especially why this patch fixes issue in question). I agree though that PREFIX variable handling is a bit inconsistent in cmake-utils and idea itself behind the patch is sound.
I had a look at the patch, I guess only the CMAKE_INSTALL_LIBDIR needs to be changed. Most of the stuff is in prefix block, so cc'ing prefix.
Added this for testing in the KDE overlay, ack'ed by Scarabeus. Will move to the main tree if no breakage occurs.
And moved to the main tree.