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

allow passing absolute INCLUDE_DIRS via catkin_package() into CMake config file in install space #600

Conversation

dirk-thomas
Copy link
Member

Will need to be backported to groovy-devel branch.

@wjwwood Please review.

@hersh
Copy link

hersh commented Feb 27, 2014

Hydro-devel also please?

@wjwwood
Copy link
Member

wjwwood commented Feb 27, 2014

Hydro is released from the groovy-devel branch, so a back port into groovy-devel will make it into hydro 😄.

@dirk-thomas
Copy link
Member Author

If there would be a branch hydro-devel sure - but there isn't 😉 Groovy and Hydro releases are made from the same branch.

@hersh
Copy link

hersh commented Feb 27, 2014

Excellent.

@wjwwood
Copy link
Member

wjwwood commented Feb 27, 2014

+1

dirk-thomas added a commit that referenced this pull request Feb 28, 2014
…into_install_space

allow passing absolute INCLUDE_DIRS via catkin_package() into CMake config file in install space
@dirk-thomas dirk-thomas merged commit 0521bee into indigo-devel Feb 28, 2014
@dirk-thomas dirk-thomas deleted the allow_passing_absolute_include_dirs_into_install_space branch February 28, 2014 00:30
@cottsay
Copy link
Member

cottsay commented Feb 28, 2014

This just broke all of my builds for Fedora. The first to break was anything that depends on std-msgs, so I'll quote the error:

CMake Error at /opt/ros/hydro/share/std_msgs/cmake/std_msgsConfig.cmake:106 (message):
  Project 'std_msgs' specifies
  '/builddir/build/BUILD/ros-hydro-std-msgs-0.5.8/build/devel/include' as an
  include dir, which is not found.  It does neither exist as an absolute
  directory nor in
  '/opt/ros/hydro//builddir/build/BUILD/ros-hydro-std-msgs-0.5.8/build/devel/include'.
  Ask the maintainer 'Tully Foote <tfoote@osrfoundation.org>' to fix it.
Call Stack (most recent call first):
  /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package)
  CMakeLists.txt:14 (find_package)
-- Configuring incomplete, errors occurred!

The directory /builddir/build/BUILD/ros-hydro-std-msgs-0.5.8/ was where the package was BUILT, but it was installed to the system root.

tl;dr: The build paths were included in the installed Cmake file, which should not happen.

I'll keep looking into it...

@cottsay
Copy link
Member

cottsay commented Feb 28, 2014

I just saw @dirk-thomas's commits there...looks like that fixed the bug in 0.5.83 that broke the builds. 0.5.84 seems to be working, so I think we're okay.

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

Successfully merging this pull request may close these issues.

4 participants