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

How can i fixed the bug? #1217

Open
Eric3495 opened this issue Aug 29, 2024 · 3 comments
Open

How can i fixed the bug? #1217

Eric3495 opened this issue Aug 29, 2024 · 3 comments

Comments

@Eric3495
Copy link

NOTE: Executing Tasks
ERROR: catkin-0.8.10-1-r0 do_package: QA Issue: catkin: Files/directories were installed but not shipped in any package:
/opt/ros/noetic/lib
/opt/ros/noetic/lib/python3.7
/opt/ros/noetic/lib/pkgconfig
/opt/ros/noetic/lib/python3.7/site-packages
/opt/ros/noetic/lib/python3.7/site-packages/catkin
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info
/opt/ros/noetic/lib/python3.7/site-packages/catkin/builder.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/find_in_workspaces.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/workspace_vcs.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/cmake.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/workspace.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/package_version.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/test_results.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/environment_cache.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/tidy_xml.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/terminal_color.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/init.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/init_workspace.py
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/test_results.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/builder.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/workspace_vcs.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/workspace.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/terminal_color.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/init_workspace.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/find_in_workspaces.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/init.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/cmake.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/tidy_xml.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/environment_cache.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin/pycache/package_version.cpython-37.pyc
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/dependency_links.txt
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/top_level.txt
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/PKG-INFO
/opt/ros/noetic/lib/python3.7/site-packages/catkin-0.8.10-py3.7.egg-info/SOURCES.txt
/opt/ros/noetic/lib/pkgconfig/catkin.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
catkin: 36 installed and not shipped files. [installed-vs-shipped]
ERROR: catkin-0.8.10-1-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/fjyx/loongson/2k1000la-yocto/yocto/build/tmp/work/loongarch64-Loongson-linux/catkin/0.8.10-1-r0/temp/log.do_package.343732
ERROR: Task (/home/fjyx/loongson/2k1000la-yocto/yocto/meta-ros/meta-ros1-noetic/generated-recipes/catkin/catkin_0.8.10-1.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2183 tasks of which 2182 didn't need to be rerun and 1 failed.

@robwoolley
Copy link
Collaborator

Hi,

The ROS releases should already automatically be adding the files and directories in /opt/ros prefix to the packages. Which Yocto/OpenEmbedded release are you using and what version of Python 3 does it include?

I assume that it is something other than python3.7 and that our recipes may be incorrectly hardcoded to a particular version.

Regards,
Rob

@Eric3495
Copy link
Author

Eric3495 commented Dec 5, 2024

3.7.8

@robwoolley
Copy link
Collaborator

This seems to be related to the other issue: #1218

I have seen a similar issue on the Raspberry Pi 4 (64-bit) when someone sets MULTILIBS="". This can prevent bitbake from including the /opt/ros/noetic/lib directory because ROS doesn't differentiate between lib and lib64 but OpenEmbedded does. So OpenEmbedded ignores what it thinks is the 32-bit library directory.

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