Summary: | binary and libraries are compiled with rpath | ||
---|---|---|---|
Product: | [Applications] KBibTeX | Reporter: | Cor Blom <cornelis> |
Component: | Compiling/packaging | Assignee: | Thomas Fischer <fischer> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 0.10 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Cor Blom
2023-11-03 11:38:20 UTC
There is no explicit setting of RPATH in KBibTeX's source code. Please provide additional information how/where KBibTeX differs from other KDE applications in respect of its handling of RPATH. Sorry, cannot help you with that. I maintain kbibtex for openSUSE and with this new version there is a rpmlint check that complains about RPATH. There is a workaround that I use (chrpath). I don't know anything about build systems apart from being able to compile a program. (In reply to Cor Blom from comment #2) > Sorry, cannot help you with that. I maintain kbibtex for openSUSE and with > this new version there is a rpmlint check that complains about RPATH. There > is a workaround that I use (chrpath). I don't know anything about build > systems apart from being able to compile a program. Ok. Can you check how other KDE program's packages handle RPATH? For example, passing additional arguments to cmake, patching the build system, or simply ignoring the whole issue? Best check for Extra Gear programs that are not (yet) part of the KDE Applications release. (In reply to Thomas Fischer from comment #3) > (In reply to Cor Blom from comment #2) > > Sorry, cannot help you with that. I maintain kbibtex for openSUSE and with > > this new version there is a rpmlint check that complains about RPATH. There > > is a workaround that I use (chrpath). I don't know anything about build > > systems apart from being able to compile a program. > Ok. Can you check how other KDE program's packages handle RPATH? For > example, passing additional arguments to cmake, patching the build system, > or simply ignoring the whole issue? Best check for Extra Gear programs that > are not (yet) part of the KDE Applications release. I don't see anything that can explain this. RPATH is not mentioned. As far as I understand the default cmake behavior is that RPATH is used during build but removed during install, so no special treatment should be necessary. The only thing I could find is: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling#caveats This is really not my area of expertise. Sorry. > I don't see anything that can explain this. RPATH is not mentioned. As far
> as I understand the default cmake behavior is that RPATH is used during
> build but removed during install, so no special treatment should be
> necessary.
> [...]
> This is really not my area of expertise. Sorry.
Ok, I'll close this bug for now as "not a bug". I am not aware that any other Linux distribution's packager has similar problems, so it could be something specific to openSUSE and/or RPM. Best if you would ask in the openSUSE/KDE community how to proceed.
Feel free to re-open this bug in case new information becomes available.
OK. Is asked on the openSUSE list and the suggestion was to add -DCMAKE_SKIP_RPATH=FALSE and -DCMAKE_SKIP_INSTALL_RPATH=TRUE to cmake, which solves the issue. Still not clear why kbibtex needs this and other apps not. I'll let you know when I hear something about that. |