Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for building on Fedora #4795

Open
wants to merge 1 commit into
base: jazzy
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions source/Installation/Alternatives/RHEL-Development-Setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,20 @@ More info on working with a ROS workspace can be found in :doc:`this tutorial <.

colcon build --symlink-install --packages-skip image_tools intra_process_demo

.. note::

When building on Fedora, you may run into issues with system variables not being set.
To work around this, you can set the set the system variables manually:

.. code-block:: bash
export RPM_ARCH=$(uname -m)
export RPM_PACKAGE_RELEASE=1.0
export RPM_PACKAGE_VERSION=1.0
export RPM_PACKAGE_NAME=qt_gui_cpp
Comment on lines +148 to +150
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not sure if these environmental variables are statically assigned like this since those are configured for each pacakge description? but this is just a source build tutorial, not creating the rpm package, so that would be okay?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure - I just copied what was done in the issue linked (ros2/ros2#1491) since it worked for me. I was also confused by the name being that package.


(`From this issue <https://github.com/ros2/ros2/issues/1491>`_)


Setup environment
-----------------

Expand Down