Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625452 - KF-5 based packages install to wrong libexec
Summary: KF-5 based packages install to wrong libexec
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-17 17:42 UTC by Gino McCarty
Modified: 2019-01-26 20:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2017-07-17 17:42:22 UTC
Should be /usr/libexec not /usr/lib/libexec
===
$ equery b /usr/lib/libexec
 * Searching for /usr/lib/libexec ... 
kde-apps/kalarm-17.04.3 (/usr/lib64/libexec)
kde-apps/kwalletmanager-17.04.3 (/usr/lib64/libexec)
kde-frameworks/frameworkintegration-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kauth-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kconfig-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kdelibs4support-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kdesu-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kinit-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kio-5.34.0-r2 (/usr/lib64/libexec)
kde-frameworks/ktexteditor-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kwayland-5.34.0 (/usr/lib64/libexec)
kde-frameworks/kxmlgui-5.34.0 (/usr/lib64/libexec)
kde-plasma/kde-cli-tools-5.9.5-r1 (/usr/lib64/libexec)
kde-plasma/kscreenlocker-5.9.5 (/usr/lib64/libexec)
kde-plasma/kwin-5.9.5 (/usr/lib64/libexec)
kde-plasma/libkscreen-5.9.5 (/usr/lib64/libexec)
kde-plasma/libksysguard-5.9.5 (/usr/lib64/libexec)
kde-plasma/plasma-desktop-5.9.5 (/usr/lib64/libexec)
kde-plasma/plasma-workspace-5.9.5.1-r2 (/usr/lib64/libexec)
kde-plasma/polkit-kde-agent-5.9.5 (/usr/lib64/libexec)
kde-plasma/powerdevil-5.9.5 (/usr/lib64/libexec)
kde-plasma/sddm-kcm-5.9.5 (/usr/lib64/libexec)
===
Comment 1 Andreas Sturmlechner gentoo-dev 2017-07-22 08:02:16 UTC
This is the standard path set by extra-cmake-modules' KDEInstallDirs.
Comment 2 Gino McCarty 2017-07-22 15:52:11 UTC
(In reply to Andreas Sturmlechner from comment #1)
> This is the standard path set by extra-cmake-modules' KDEInstallDirs.


OK, Looks like 2 options

1. add `-DKDE_INSTALL_LIBEXECDIR=/usr/libexec` to all packages

2. modify  /usr/share/ECM/kde-modules/KDEInstallDirs.cmake in kde-frameworks/extra-cmake-modules and reinstall all packages

could change the ebuild to include the following 
`sed -i -e 's:_define_relative(LIBEXECDIR LIBDIR "libexec":_define_relative(LIBEXECDIR EXECROOTDIR "libexec":' /usr/share/ECM/kde-modules/KDEInstallDirs.cmake`
Comment 3 Gino McCarty 2018-07-08 19:30:56 UTC
can you please take action here.. KDE is the only package that does this in all of gentoo.. its trivial for you all to fix these in ebuilds without patches
Comment 4 Andreas Sturmlechner gentoo-dev 2018-07-13 20:54:14 UTC
(In reply to GinoM from comment #3)
> its trivial for you all to fix these in ebuilds without patches
This was low-piority so far, but the EAPI-7 bump is a good opportunity to fix it in eclass, and is in progress in kde overlay already.
Comment 5 Andreas Sturmlechner gentoo-dev 2019-01-26 15:55:38 UTC
Just checked in opensuse which does not change the default (same as Gentoo).
Same with Debian, who just use a more complicated multiarch subdir scheme.
Arch is changing the path to LIBDIR/kf5 instead.

I'm not sure this is worth the hassle and ensuing breakage.
Comment 6 Andreas Sturmlechner gentoo-dev 2019-01-26 16:21:43 UTC
Qt5 is using the following path:

/usr/$(get_libdir)/qt5/libexec/

Based on that, the next best thing would be to use instead:

/usr/$(get_libdir)/kf5/libexec/


Since the current path is not wrong, consistent among all ECM revdeps, and not leaking executables directly into /usr/lib64 (as with Arch), this change would be purely cosmetical.
Comment 7 Andreas Sturmlechner gentoo-dev 2019-01-26 16:27:36 UTC
Calling it off for EAPI-7 at least.
Comment 8 Andreas Sturmlechner gentoo-dev 2019-01-26 20:55:48 UTC
FreeBSD does not change the default either. Closing WONTFIX.