Package Details: ros2-iron 2023.07.17-1

Git Clone URL: https://aur.archlinux.org/ros2-iron.git (read-only, click to copy)
Package Base: ros2-iron
Description: A set of software libraries and tools for building robot applications
Upstream URL: https://docs.ros.org/en/iron/
Licenses: Apache
Submitter: 14mRh4X0r
Maintainer: 14mRh4X0r
Last Packager: 14mRh4X0r
Votes: 0
Popularity: 0.000000
First Submitted: 2023-05-30 08:03 (UTC)
Last Updated: 2023-08-19 21:00 (UTC)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

Sir-Photch commented on 2024-05-10 08:25 (UTC)

Errors on tracetools:

--- stderr: tracetools
In file included from /usr/include/lttng/tracepoint-event.h:69,
                 from /home/chris/Source/ros2-iron/src/build/tracetools/include/tracetools/tp_call.h:508,
                 from /home/chris/Source/ros2-iron/src/ros2/src/ros2/ros2_tracing/tracetools/src/tp_call.c:18:
/home/chris/Source/ros2-iron/src/build/tracetools/include/tracetools/tp_call.h: In function ‘lttng_ust__event_probe__ros2___rclcpp_ring_buffer_enqueue’:
/home/chris/Source/ros2-iron/src/build/tracetools/include/tracetools/tp_call.h:474:5: error: initialization of ‘const uint64_t *’ {aka ‘const long unsigned int *’} from ‘uint64_t’ {aka ‘long unsigned int’} makes pointer from integer without a cast [-Wint-conversion]
  474 |     ctf_integer(const uint64_t *, index, index_arg)
      |     ^~~~~~~~~~~
make[2]: *** [CMakeFiles/tracetools.dir/build.make:104: CMakeFiles/tracetools.dir/src/tp_call.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:161: CMakeFiles/tracetools.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---

14mRh4X0r commented on 2024-04-25 09:58 (UTC)

Hi all, sorry for the delay in getting this package updated. I'm currently in the process of making sure everything works for version 2024-04-23, which may take a day or so with all the compile time (and me not paying attention to the build).

etherswangel commented on 2024-04-19 04:41 (UTC)

@enf yes, at least it works for me. You may need to install shiboken2 related packages if problems encountered, but that's included in ros2-arch-deps recently so simply removing the option should be fine:)

enf commented on 2024-04-18 22:11 (UTC)

Has anyone managed to get rqt working? Is it enough removing the --packages-skip-by-dep python_qt_binding option from the PKGBUILD?

kistlin commented on 2024-04-18 15:25 (UTC)

@Sir-Photch thanks! The build worked fine. I don't have orocos-kdl installed and the build was successful.

Sir-Photch commented on 2024-04-16 07:43 (UTC)

@kistlin: So the diff for building (if you have -D_FORTIFY_SOURCE=3 set) is just this:

diff --git a/PKGBUILD b/PKGBUILD
index e5dd6c5..c68475b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -58,8 +58,8 @@ build() {
     ## For people with the old version of makepkg.conf
     unset CPPFLAGS
     ## For people with the new version of makepkg.conf
-    CFLAGS="${CFLAGS//-Wp,-D_FORTIFY_SOURCE=2[[:space:]]}"
-    CXXFLAGS="${CXXFLAGS//-Wp,-D_FORTIFY_SOURCXXE=2[[:space:]]}"
+    CFLAGS="${CFLAGS//-Wp,-D_FORTIFY_SOURCE=3[[:space:]]}"
+    CXXFLAGS="${CXXFLAGS//-Wp,-D_FORTIFY_SOURCXXE=3[[:space:]]}"

     # Build
     colcon build --merge-install ${_colcon_extra_args} --packages-skip-by-dep python_qt_binding

also, the build seems to depend on orocos-kdl. Maybe this is missing from ros2-arch-deps though?

kistlin commented on 2024-04-13 03:06 (UTC)

Fails for me too on a relatively fresh Arch.

--- stderr: mimick_vendor
Cloning into 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'...
HEAD is now at de11f83 Support raspberry pi zero (#21)
In file included from /usr/include/errno.h:25,
                 from /home/user/.cache/paru/clone/ros2-iron/src/build/mimick_vendor/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-prefix/src/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7/include/mimick/mock.h:27,
                 from /home/user/.cache/paru/clone/ros2-iron/src/build/mimick_vendor/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-prefix/src/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7/include/mimick/mimick.h:401,
                 from /home/user/.cache/paru/clone/ros2-iron/src/build/mimick_vendor/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-prefix/src/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7/sample/strdup/test.c:1:
/usr/include/features.h:414:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [sample/strdup/CMakeFiles/strdup_test.dir/build.make:76: sample/strdup/CMakeFiles/strdup_test.dir/test.c.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:318: sample/strdup/CMakeFiles/strdup_test.dir/all] Error 2
make[3]: *** [Makefile:146: all] Error 2
make[2]: *** [CMakeFiles/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7.dir/build.make:86: mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-prefix/src/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-stamp/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed   <<< mimick_vendor [8.69s, exited with code 2]

etherswangel commented on 2024-04-08 16:43 (UTC)

Hi! ros2-arch-deps just updated its dependencies, removed sip4 and added shiboken2. This should get rqt packages compile and works in my test.. Would you update PKGBUILD to remove ‘ packages-skip-by-dep python_qt_binding’?

Sir-Photch commented on 2024-04-07 13:02 (UTC) (edited on 2024-04-07 16:08 (UTC) by Sir-Photch)

won't build with -D_FORTIFY_SOURCE=3 in CFLAGS of /etc/makepkg.conf

Also, arch shouldn't be any. While it may compile on any architecture, the built package is not compatible with every architecture.