Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignition Transport fails to build on Debian/Ubuntu with pkg-config 0.29.2 #93

Closed
stefanor opened this issue May 9, 2020 · 2 comments
Closed

Comments

@stefanor
Copy link

stefanor commented May 9, 2020

Upgrading pkg-config from 0.29-6 to 0.29.2 has broken FindZeroMQ.cmake, I think.

Building ignition-transport 8.0.0 in Debian fails with this error:

CMake Error in src/CMakeLists.txt:
  Imported target "ZeroMQ::ZeroMQ" includes non-existent path

    "-isystem"

  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.

Presumably caused by:

$ pkg-config --cflags-only-I libzmq
-isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.2

It used to output:

$ pkg-config --cflags-only-I libzmq
-I/usr/include/pgm-5.2

The relevant pkg-config change is: https://cgit.freedesktop.org/pkg-config/commit/?id=d5d80748936c1ddb2e32bc713f2ed51dc6f753ea

Full build log: https://launchpadlibrarian.net/478683366/buildlog_ubuntu-groovy-amd64.ignition-transport_8.0.0+dfsg-3_BUILDING.txt.gz
Debian Bug: https://bugs.debian.org/960081

@osrf-triage osrf-triage added this to Inbox in Core development May 9, 2020
@stefanor stefanor changed the title Ignition fails to build on Debian/Ubuntu with pkg-config 0.29.2 Ignition Transport fails to build on Debian/Ubuntu with pkg-config 0.29.2 May 9, 2020
@jspricke
Copy link

jspricke commented May 9, 2020

This is a cmake bug tracked here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959064

@stefanor
Copy link
Author

stefanor commented May 9, 2020

Aha. And fixed too.

@stefanor stefanor closed this as completed May 9, 2020
Core development automation moved this from Inbox to Done May 9, 2020
@j-rivero j-rivero removed this from Done in Core development May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants