Package Details: ros2-arch-deps 0.23-1

Git Clone URL: https://aur.archlinux.org/ros2-arch-deps.git (read-only, click to copy)
Package Base: ros2-arch-deps
Description: [Meta-PKG] Dependencies for building ROS2 on Arch
Upstream URL: https://docs.ros.org/
Licenses: None
Submitter: kartikmohta
Maintainer: MarsSeed
Last Packager: MarsSeed
Votes: 5
Popularity: 0.010790
First Submitted: 2018-10-04 08:10 (UTC)
Last Updated: 2024-04-28 05:15 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

MarsSeed commented on 2023-08-08 20:06 (UTC) (edited on 2023-08-10 10:00 (UTC) by MarsSeed)

Hi,

It seems that depends=sip is explicitly needed (for the latest version of sip, instead of sip4).

Because python-pyqt5 pulls in python-pyqt5-sip, but not the sip executable (as that is only a makedepend of python-pyqt5).

See ros2-iron, where a user is reporting errors relating to not finding /usr/bin/sip, which would come from the sip package.

MarsSeed commented on 2023-08-07 18:15 (UTC) (edited on 2023-08-07 18:17 (UTC) by MarsSeed)

The issue that originally made sip4, python-sip4, and python-pyqt5-sip4 needed was resolved in 2021 by PR#105 (for Melodic and Noetic), and PR#106 (for ROS2).

You can keep the already defined python-pyqt5 dependency, which will pull in its own python-pyqt5-sip requirement, and it will work with all maintained ROS2 distros.

I've verified that the ros2.repos files for Humble, Iron and Rolling each define a sufficiently new version, at least v1.1.1, of ros-visualization/python_qt_binding, which includes this compatibility fix for SIP 5+.

leuko commented on 2023-08-07 16:36 (UTC)

@MarsSeed I cannot test right now. Are all the sip4 and qt5 dependencies not required anymore? Would be perfect if you have a source for the dependency changes.

MarsSeed commented on 2023-08-05 22:31 (UTC)

Please remove the obsolete sip4 dependency.

leuko commented on 2023-02-17 09:11 (UTC) (edited on 2023-02-27 16:53 (UTC) by leuko)

Dear mrcn, how do you build ros? Do you use ros2-humble?

I don't get any errors if I build using the repos in https://github.com/ros2/ros2. Then I have a second ros-base variant which I build using https://github.com/ros2/variants. In both cases ROS builds successfully.

In https://github.com/ros2/ros2 orocos-kdl is included as a vendor lib which should be fetched by kdl_parser.

mrcn commented on 2023-01-19 11:46 (UTC)

Here are messages displayed by the build system, I post them for your quick check later. Thanks for your maintenance!

--- stderr: python_orocos_kdl_vendor                                                                                       
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1279 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  CMakeLists.txt:37 (fetchcontent_declare)
  CMakeLists.txt:69 (build_pykdl)
This warning is for project developers.  Use -Wno-dev to suppress it.

/home/mr/.cache/paru/clone/ros2-humble/src/build/python_orocos_kdl_vendor/_deps/python_orocos_kdl-src/python_orocos_kdl/PyKDL/PyKDL.cpp:26:10: fatal error: kdl/config.h: No such file or directory
   26 | #include <kdl/config.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [_deps/python_orocos_kdl-build/CMakeFiles/PyKDL.dir/build.make:76: _deps/python_orocos_kdl-build/CMakeFiles/PyKDL.dir/PyKDL/PyKDL.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:152: _deps/python_orocos_kdl-build/CMakeFiles/PyKDL.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed   <<< python_orocos_kdl_vendor [12.3s, exited with code 2]

leuko commented on 2023-01-19 06:38 (UTC) (edited on 2023-01-19 06:39 (UTC) by leuko)

Thanks @mrcn, I can check and add the package this in next weeks.

@AchmadFathoni if you have time, you can also take a look.

mrcn commented on 2023-01-19 06:34 (UTC)

orocos-kdl seems a dependency for ros2. Before manually install it, I faced #include <kdl/config.h> not found problem in compiling orocos_kdl_vendor part of ros2-humble package.