GithubHelp home page GithubHelp logo

Comments (5)

meyerj avatar meyerj commented on July 3, 2024

We did not change something deliberately. No patches are applied to the debian/rules file generated by bloom.

Indeed I see that the latest release does not add the -DCATKIN_BUILD_BINARY_PACKAGE="1" cmake variable anymore in debian/rules.em:

--- a/debian/rules.em
+++ b/debian/rules.em
@@ -8,7 +8,6 @@
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
-export DH_OPTIONS=-v --buildsystem=cmake
 # TODO: remove the LDFLAGS override.  It's here to avoid esoteric problems
 # of this sort:
 #  https://code.ros.org/trac/ros/ticket/2977
@@ -20,17 +19,14 @@ export PKG_CONFIG_PATH=@(InstallationPrefix)/lib/pkgconfig
 export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
 
 %:
-       dh  $@@
+       dh $@@ -v --buildsystem=cmake
 
 override_dh_auto_configure:
        # In case we're installing to a non-standard location, look for a setup.sh
        # in the install tree that was dropped by catkin, and source it.  It will
        # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
        if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
-       dh_auto_configure -- \
-               -DCATKIN_BUILD_BINARY_PACKAGE="1" \
-               -DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-               -DCMAKE_PREFIX_PATH="@(InstallationPrefix)"
+       dh_auto_configure -- -DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)"
 
 override_dh_auto_build:
        # In case we're installing to a non-standard location, look for a setup.sh

rtt specifies <export><build_type>cmake</build_type></export> in its package.xml because it is not a catkin-package and needs to be installed. But it tries to find catkin in its CMakeLists.txt to install an env-hook and also installs the package.xml in CMakeLists.txt:174.

Apparently since ros-infrastructure/bloom#435 it is not allowed to call find_package(catkin) in a package with build-type cmake? Also note that the cmake/template.spec.em for generating rpms from cmake packages added in the same bloom PR still has the catkin-specific -DCATKIN_BUILD_BINARY_PACKAGE="1" option, so this issue only affects Debian-based targets.

I will add a patch to readd the -DCATKIN_BUILD_BINARY_PACKAGE="1" cmake option to rules.em.

from rtt.

tfoote avatar tfoote commented on July 3, 2024

Thanks yeah, that's the flag that's necessary. I think the same thing happened to the recent release of ocl too.

from rtt.

meyerj avatar meyerj commented on July 3, 2024

Thanks yeah, that's the flag that's necessary. I think the same thing happened to the recent release of ocl too.

Yes, you are right. I applied the same patch and rereleased as version 2.9.1-2 in ros/rosdistro#21452 and ros/rosdistro#21453.

from rtt.

tfoote avatar tfoote commented on July 3, 2024

Great thanks. We've almost got the whole buildfarm back up and running and we'll merge the new releases once it's stabilized.

from rtt.

meyerj avatar meyerj commented on July 3, 2024

Fixed in version 2.9.2-1 released via ros/rosdistro#21445.

from rtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.