[kde-doc-english] [frameworks-kdoctools] [Bug 341714] New: 5.4.0: generate macros ignore fact that KF5_DATA_INSTALL_DIR can be absolute
Arkadiusz Miskiewicz
arekm at maven.pl
Tue Dec 9 20:39:54 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=341714
Bug ID: 341714
Summary: 5.4.0: generate macros ignore fact that
KF5_DATA_INSTALL_DIR can be absolute
Product: frameworks-kdoctools
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: kde-doc-english at kde.org
Reporter: arekm at maven.pl
CC: kdelibs-bugs at kde.org
Building some kf5 apps fails like this:
make[2]: *** No rule to make target
'/usr/usr/share/kf5/kdoctools/customization/kde-include-man.xsl', needed by
'po/nl/docs/desktoptojson/desktoptojson.8'. Stop.
Note double /usr/usr.
That's because it uses KDOCTOOLS_CUSTOMIZATION_DIR macro which is defined:
/usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake:set(KDOCTOOLS_CUSTOMIZATION_DIR
"${KDOCTOOLS_DATA_INSTALL_DIR}/kdoctools/customization")
now KDOCTOOLS_DATA_INSTALL_DIR is defined as:
/usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake:set(KDOCTOOLS_DATA_INSTALL_DIR
"${PACKAGE_PREFIX_DIR}//usr/share/kf5")
which in .in file looks like this:
./KF5DocToolsConfig.cmake.in:set(KDOCTOOLS_DATA_INSTALL_DIR
"${PACKAGE_PREFIX_DIR}/@KF5_DATA_INSTALL_DIR@")
Note it already had absolute path specified in KF5_DATA_INSTALL_DIR. Yet it
insist on adding another PACKAGE_PREFIX_DIR prefix. This is not correct if
using absolute dirs at cmake time (and not relative).
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-doc-english
mailing list