I have manually updated to last release (May release) and changed the Fast-DDS repo to 2.6.x but still can't build, now due to rcpputils
Search Criteria
Package Details: ros2-humble 2024.02.22-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/ros2-humble.git (read-only, click to copy) |
---|---|
Package Base: | ros2-humble |
Description: | A set of software libraries and tools for building robot applications |
Upstream URL: | https://docs.ros.org/en/humble/ |
Licenses: | Apache |
Submitter: | m2-farzan |
Maintainer: | m2-farzan |
Last Packager: | m2-farzan |
Votes: | 6 |
Popularity: | 0.020724 |
First Submitted: | 2022-06-28 06:35 (UTC) |
Last Updated: | 2024-04-03 15:53 (UTC) |
Dependencies (6)
- assimp (assimp-gitAUR)
- gmock (googletest-gitAUR, gtest)
- nvidia-cg-toolkit
- qt6-base (qt6-base-headlessAUR, qt6-base-gitAUR)
- ros2-arch-depsAUR
- git (git-gitAUR, git-glAUR) (make)
Required by (120)
- ros2-humble-ackermann-msgs
- ros2-humble-angles
- ros2-humble-backward-ros
- ros2-humble-behaviortree-cpp-v3
- ros2-humble-bond
- ros2-humble-bondcpp
- ros2-humble-control-msgs
- ros2-humble-control-toolbox
- ros2-humble-controller-interface
- ros2-humble-controller-manager
- ros2-humble-controller-manager-msgs
- ros2-humble-costmap-queue
- ros2-humble-cv-bridge
- ros2-humble-diagnostic-updater
- ros2-humble-diff-drive-controller
- ros2-humble-dwb-core
- ros2-humble-dwb-critics
- ros2-humble-dwb-msgs
- ros2-humble-dwb-plugins
- ros2-humble-eigen-stl-containers
- Show 100 more...
Sources (1)
angelodalzotto commented on 2023-05-31 02:50 (UTC)
indeedhat commented on 2023-05-22 10:58 (UTC)
I am getting the same error as @petronny. The PR linked by @oysstu has been merged now but it makes no difference to the install.
oysstu commented on 2023-05-10 08:02 (UTC)
petronny commented on 2023-05-10 08:00 (UTC)
Starting >>> fastrtps
--- stderr: fastrtps
In file included from /build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/include/fastdds/rtps/transport/SocketTransportDescriptor.h:18,
from /build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/include/fastdds/rtps/transport/UDPTransportDescriptor.h:18,
from /build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/include/fastdds/rtps/transport/UDPv4TransportDescriptor.h:18,
from /build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPv4Transport.h:18,
from /build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPv4Transport.cpp:15:
/build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/include/fastdds/rtps/transport/TransportDescriptorInterface.h:48:21: error: expected ‘)’ before ‘maximumMessageSize’
48 | uint32_t maximumMessageSize,
| ^~~~~~~~~~~~~~~~~~~
| )
/build/ros2-humble/src/ros2/src/eProsima/Fast-DDS/include/fastdds/rtps/transport/TransportDescriptorInterface.h:47:33: note: to match this ‘(’
47 | TransportDescriptorInterface(
https://github.com/arch4edu/cactus/actions/runs/4932228949/jobs/8815060873
LikeSmith commented on 2023-05-05 19:44 (UTC)
In addition the issues mentioned by @oysstu, it is also necessary to install orocos-kdl
from the AUR and qt6-base
from the official list. For some reason these packages aren't listed as dependencies. There is also an issue with the sip4 package caused by changes to the python api in 3.11.
oysstu commented on 2023-05-05 10:15 (UTC) (edited on 2023-05-13 14:55 (UTC) by oysstu)
For anyone else building ros2 from source on arch. There are missing includes in quite a few files (cstdint and stdexcept), which GCC 13.1.1 complains about. I have reported these upstream.
Edit: issue with sphinx has been resolved in 7.0.1
angelodalzotto commented on 2023-05-04 01:37 (UTC)
Fast-DDS is not building after gcc update
petronny commented on 2023-04-15 05:10 (UTC)
Missing free and exceptiongroup as dependencies or make dependencies.
==> Starting build()...
/startdir/PKGBUILD: line 51: free: command not found
RAM is smaller than 16 GB. Parallel build will be disabled for stability.
Attempted to remove disk file system under "/run/systemd/nspawn/propagate/makepkg", and we can't allow that.
Traceback (most recent call last):
==> ERROR: Build failed, check /mnt/extra-x86_64/makepkg/build
File "/usr/bin/colcon", line 33, in <module>
sys.exit(load_entry_point('colcon-core==0.12.1', 'console_scripts', 'colcon')())
File "/usr/bin/colcon", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/colcon_core/command.py", line 52, in <module>
from colcon_core.argument_parser import decorate_argument_parser # noqa: E402 E501 I100 I202
File "/usr/lib/python3.10/site-packages/colcon_core/argument_parser/__init__.py", line 9, in <module>
from colcon_core.plugin_system import instantiate_extensions
File "/usr/lib/python3.10/site-packages/colcon_core/plugin_system.py", line 7, in <module>
from colcon_core.entry_point import load_entry_points
File "/usr/lib/python3.10/site-packages/colcon_core/entry_point.py", line 12, in <module>
from pkg_resources import iter_entry_points
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3324, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3298, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3336, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 629, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 966, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 827, in resolve
dist = self._resolve_dist(
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 868, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'exceptiongroup>=1.0.0rc8; python_version < "3.11"' distribution was not found and is required by pytest
==> ERROR: A failure occurred in build().
https://github.com/arch4edu/cactus/actions/runs/4705369013/jobs/8345844213
Pinned Comments
m2-farzan commented on 2022-06-28 06:37 (UTC)
For feedback or contribution, either comment here or head to this GitHub page: https://github.com/m2-farzan/ros2-humble-PKGBUILD