[KBibTeX] [Bug 476502] binary and libraries are compiled with rpath

2023-11-22 Thread Cor Blom
https://bugs.kde.org/show_bug.cgi?id=476502

--- Comment #6 from Cor Blom  ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 476502] binary and libraries are compiled with rpath

2023-11-22 Thread Thomas Fischer
https://bugs.kde.org/show_bug.cgi?id=476502

Thomas Fischer  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

--- Comment #5 from Thomas Fischer  ---
> 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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 476502] binary and libraries are compiled with rpath

2023-11-20 Thread Cor Blom
https://bugs.kde.org/show_bug.cgi?id=476502

--- Comment #4 from Cor Blom  ---
(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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 476502] binary and libraries are compiled with rpath

2023-11-20 Thread Thomas Fischer
https://bugs.kde.org/show_bug.cgi?id=476502

--- Comment #3 from Thomas Fischer  ---
(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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 476502] binary and libraries are compiled with rpath

2023-11-19 Thread Cor Blom
https://bugs.kde.org/show_bug.cgi?id=476502

--- Comment #2 from Cor Blom  ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[KBibTeX] [Bug 476502] binary and libraries are compiled with rpath

2023-11-18 Thread Thomas Fischer
https://bugs.kde.org/show_bug.cgi?id=476502

Thomas Fischer  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Thomas Fischer  ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.