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

[Scarthgap] Build error for cartographer #1259

Open
mark-bchoi opened this issue Nov 18, 2024 · 1 comment
Open

[Scarthgap] Build error for cartographer #1259

mark-bchoi opened this issue Nov 18, 2024 · 1 comment
Assignees

Comments

@mark-bchoi
Copy link

Hi,

As reply #1221 (reply in thread) , I file it as a bug.

I found this issue in building cartographer and it would be caused by legacy version of python3-shinix inherited by ROS.

As mentioned in #1221 (comment) , meta-ros have used older version and as python version upgraded, it would not cover latest python version.

error message is following.

| FAILED: docs/CMakeFiles/build_doc /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/cartographer/2.0.9003-1/build/docs/CMakeFiles/build_doc
| cd /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/cartographer/2.0.9003-1/build/docs && /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/cartographer/2.0.9003-1/recipe-sysroot-native/usr/bin/sphinx-build -b html /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/cartographer/2.0.9003-1/git/docs/source /home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/cartographer/2.0.9003-1/build/docs/html
| Running Sphinx v1.6.7
| making output directory...
|
| Exception occurred:
|   File "/home/bchoi/nvidia-yocto-bsp/bchoi-build/tmp/work/armv8a-oe4t-linux/cartographer/2.0.9003-1/recipe-sysroot-native/usr/lib/python3.12/re/_parser.py", line 840, in _parse
|     raise source.error('global flags not at the start '
| re.error: global flags not at the start of the expression at position 3
| The full traceback has been saved in /tmp/sphinx-err-twnsvuez.log, if you want to report the issue to the developers.
| Please also report this if it was a user error, so that a better error message can be provided next time.
| A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

For mitigation, I added BBMASK to remove legacy version to my distro file in advance, because I don't like touch meta-ros directly.

BBMASK += " meta-ros/meta-ros-common/recipes-devtools/python/python3-sphinx_1.6.7.bb "

BR,
Mark

@robwoolley
Copy link
Collaborator

Thanks for reporting this, @mark-bchoi . I'll try to take a look at this.

@robwoolley robwoolley self-assigned this Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants