help needed with kbibtex and cmake
Hi, In OBS RPATH is not removed, which gives an rpmlint error. Now I use chrpath to solve this, but there should be a better way. RPATH is set nowhere and I understand that the default of cmake is to remove it at install. I have reported this upstream, but the developer does not know what is causing this. So I ask here. Can someone help? Much appreciated. See https://build.opensuse.org/package/show/KDE:Extra/kbibtex Cor
Hi Cor! On Wed, 2023-11-22 at 20:14 +0100, Cor Blom wrote:
In OBS RPATH is not removed, which gives an rpmlint error. Now I use chrpath to solve this, but there should be a better way. RPATH is set nowhere and I understand that the default of cmake is to remove it at install. I have reported this upstream, but the developer does not know what is causing this. So I ask here. Can someone help?
Are -DCMAKE_SKIP_RPATH=FALSE and -DCMAKE_SKIP_INSTALL_RPATH=TRUE what you are looking for? This should strip RPATH for the installation but keep it during build. Adrian
Op 22-11-2023 om 20:39 schreef Adrian Glaubitz:
Hi Cor!
On Wed, 2023-11-22 at 20:14 +0100, Cor Blom wrote:
In OBS RPATH is not removed, which gives an rpmlint error. Now I use chrpath to solve this, but there should be a better way. RPATH is set nowhere and I understand that the default of cmake is to remove it at install. I have reported this upstream, but the developer does not know what is causing this. So I ask here. Can someone help?
Are -DCMAKE_SKIP_RPATH=FALSE and -DCMAKE_SKIP_INSTALL_RPATH=TRUE what you are looking for? This should strip RPATH for the installation but keep it during build.
Adrian
That works. Thanks. What I don't get is why kbibtex needs this but other KDE apps not (as far as I can see). Cor
participants (2)
-
Adrian Glaubitz
-
Cor Blom