FS#61461 - [libpgm] Installed pkg-config directs compilers to use a non-existent include directory
Attached to Project:
Community Packages
Opened by Alex (bidski) - Saturday, 19 January 2019, 09:57 GMT
Last edited by Antonio Rojas (arojas) - Monday, 07 October 2019, 21:04 GMT
Opened by Alex (bidski) - Saturday, 19 January 2019, 09:57 GMT
Last edited by Antonio Rojas (arojas) - Monday, 07 October 2019, 21:04 GMT
|
Details
Description: The installed pkg-config file contains an
include difrectory entry for the non-existent folder
/usr/lib/pgm-5.2/include. This can cause cmake to fail when
building libraries which depend libpgm (may only come up
transitively, see below).
Additional info: * package version(s) * config and/or log files etc. I encountered this error while building the ignition-transport package from AUR. ignition-transport depends on zeromq which, in turn, depends on libpgm. When cmake is configuring the build environment for ignition-transport the following output is observed CMake Error in src/CMakeLists.txt: Imported target "ZeroMQ::ZeroMQ" includes non-existent path "/usr/lib/pgm-5.2/include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. Upon inspection "/usr/lib/pgm-5.2/include" comes from /usr/lib/pkgconfig/openpgm-5.2.pc which contains this line Cflags: -I${includedir}/pgm-5.2 -I${libdir}/pgm-5.2/include Removing the second -I term will resolve the error that cmake reports. Steps to reproduce: Install libpgm |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 07 October 2019, 21:04 GMT
Reason for closing: Fixed
Additional comments about closing: libpgm 5.2.122-4
Monday, 07 October 2019, 21:04 GMT
Reason for closing: Fixed
Additional comments about closing: libpgm 5.2.122-4
community/libpgm 5.2.122-3
community/zeromq 4.3.1-1
extra/cmake 3.13.2-1
ignition-transport 4.0.0-1
PKGBUILD (1.2 KiB)