Bug 341722 - 5.4.0: generate macros ignore fact that @DBUS_INTERFACES_INSTALL_DIR@ can be absolute
Summary: 5.4.0: generate macros ignore fact that @DBUS_INTERFACES_INSTALL_DIR@ can be...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 22:11 UTC by Arkadiusz Miskiewicz
Modified: 2021-03-09 05:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadiusz Miskiewicz 2014-12-09 22:11:21 UTC
./KF5KIOConfig.cmake.in:set(KSlaveLauncher_DBUS_INTERFACE "${PACKAGE_PREFIX_DIR}/@DBUS_INTERFACES_INSTALL_DIR@/kf5_org.kde.KSlaveLauncher.xml")

but @DBUS_INTERFACES_INSTALL_DIR@ can be absolute if passing absolute paths to cmake.

That causes
/usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:set(KSlaveLauncher_DBUS_INTERFACE "${PACKAGE_PREFIX_DIR}//usr/share/dbus-1/interfaces/kf5_org.kde.KSlaveLauncher.xml")


Note double prefix. One from PACKAGE_PREFIX_DIR and one from absolute DBUS_INTERFACES_INSTALL_DIR

Reproducible: Always
Comment 1 Justin Zobel 2021-03-09 05:54:13 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.