Bug 428582 - The package ships an executable file in /usr/lib.
Summary: The package ships an executable file in /usr/lib.
Status: CONFIRMED
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: ecm-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 22:55 UTC by Scarlett Moore
Modified: 2021-09-10 14:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scarlett Moore 2020-11-01 22:55:47 UTC
SUMMARY
While packaging for Debian I have come across a great many lintian errors in 
regards to libexec paths.
P: libkscreenlocker5: executable-in-usr-lib usr/lib/x86_64-linux-gnu/libexec/kcheckpass
P: libkscreenlocker5: executable-in-usr-lib usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet

COme to find out it is pre-set by ECM to default in the lib dir. Please consider changing it to somewhere else like maybe:


The package ships an executable file in /usr/lib.

Please move the file to /usr/libexec.

Debian adopted the Filesystem Hierarchy Specification (FHS) version 3.0 starting with our policy revision 4.1.5. The FHS 3.0 describes /usr/libexec. Please use that location for executables.

Moving them in packaging gets ugly fast.
THanks for your consideration.
Scarlett


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2020-11-01 23:37:26 UTC
Confirmed on KDE Neon User Edition. Lots of executable files in there.

Tree of the folder:
/usr/lib/x86_64-linux-gnu/libexec/
├── apper-pk-session
├── baloorunner
├── discover
│   └── SnapMacaroonDialog
├── DiscoverNotifier
├── drkonqi
├── gtk3_preview
├── kactivitymanagerd
├── kcheckpass
├── kdeconnectd
├── kf5
│   ├── discover
│   │   └── runservice
│   ├── filesharelist -> fileshareset
│   ├── fileshareset
│   ├── kconf_update
│   ├── kdeeject
│   ├── kdesu
│   ├── kdesud
│   ├── kdesu_stub
│   ├── kiod5
│   ├── kioexec
│   ├── kio_http_cache_cleaner
│   ├── kioslave5
│   ├── klauncher
│   ├── kpac_dhcp_helper
│   ├── kpackagehandlers
│   │   ├── appstreamhandler
│   │   └── knshandler
│   ├── kscreen_backend_launcher
│   ├── ksendbugmail
│   ├── purposeprocess
│   ├── smbnotifier
│   ├── start_kdeinit
│   └── start_kdeinit_wrapper
├── kfontprint
├── khc_mansearch.pl
├── khc_xapianindexer
├── khc_xapiansearch
├── kimpanel-ibus-panel
├── kimpanel-ibus-panel-launcher
├── kimpanel-scim-panel
├── kpmcore_externalcommand
├── kscreenlocker_greet
├── ksmserver-logout-greeter
├── ksysguard
│   └── ksgrd_network_helper
├── kwin_killer_helper
├── kwin_rules_dialog
├── org-kde-kf5-kwayland-testserver
├── org_kde_powerdevil
├── plasma-changeicons
├── plasma-dbus-run-session-if-needed
├── plasma-sourceenv.sh
├── polkit-kde-authentication-agent-1
├── startplasma-waylandsession
└── xdg-desktop-portal-kde
Comment 2 Christophe Marin 2020-11-02 07:23:46 UTC
Yes, that's the default location for KDE Frameworks 5.

You can change it with -DKDE_INSTALL_LIBEXECDIR=/different/path/to/libexec