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 »

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.

aetherherne commented on 2024-02-28 10:26 (UTC) (edited on 2024-02-29 10:08 (UTC) by aetherherne)

EDIT: Looks like it was just a problem on my end, I thought it was being built clean but it wasn't. Worked fine on another machine.

I'm getting linker errors during rviz_common, and I'm lost as to why:

Starting >>> rviz_common
--- stderr: rviz_common                                       
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionTestFixture::SetUp()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/selection_test_fixture.hpp:53:(.text+0xafa): undefined reference to `DisplayContextFixture::SetUp()'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionManagerTestFixture_select_selects_objects_inside_selection_Test::~SelectionManagerTestFixture_select_selects_objects_inside_selection_Test()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51:(.text+0x4544): undefined reference to `vtable for DisplayContextFixture'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionManagerTestFixture_subtracting_from_a_selection_Test::~SelectionManagerTestFixture_subtracting_from_a_selection_Test()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51:(.text+0x4624): undefined reference to `vtable for DisplayContextFixture'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionManagerTestFixture_subtracting_from_a_selection_Test::~SelectionManagerTestFixture_subtracting_from_a_selection_Test()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51:(.text+0x46f4): undefined reference to `vtable for DisplayContextFixture'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionManagerTestFixture_adding_an_exising_selection_has_no_effect_Test::~SelectionManagerTestFixture_adding_an_exising_selection_has_no_effect_Test()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51:(.text+0x47d4): undefined reference to `vtable for DisplayContextFixture'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionManagerTestFixture_adding_an_exising_selection_has_no_effect_Test::~SelectionManagerTestFixture_adding_an_exising_selection_has_no_effect_Test()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51:(.text+0x48a4): undefined reference to `vtable for DisplayContextFixture'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o:/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51: more undefined references to `vtable for DisplayContextFixture' follow
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionTestFixture::SelectionTestFixture()':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/selection_test_fixture.hpp:58:(.text+0x6f09): undefined reference to `DisplayContextFixture::DisplayContextFixture()'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o: in function `SelectionTestFixture::SelectionTestFixture() [clone .cold]':
/usr/src/debug/ros2-iron/ros2/src/ros2/rviz/rviz_common/test/interaction/../display_context_fixture.hpp:51:(.text.unlikely+0xb8b): undefined reference to `vtable for DisplayContextFixture'
/usr/bin/ld: /tmp/ccBA8EEs.ltrans0.ltrans.o:(.data.rel.ro+0x760): undefined reference to `typeinfo for DisplayContextFixture'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/selection_manager_test.dir/build.make:289: selection_manager_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:478: CMakeFiles/selection_manager_test.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed   <<< rviz_common [8.90s, exited with code 2]