Open mark-bchoi opened 2 months ago
I think you can add install append to delete the HOST prefix, refer to do_install:append() in meta-ros2/classes/ros_ament_python.bbclass
Hi @jiaxshi
Thanks for reply. Yes, I added it.
By the way, I think it would not be fundamental solution. there are in many cases added host path to build results in building packages.
WARNING: beluga-ros-2.0.1-1-r0 do_package_qa: QA Issue: File /opt/ros/humble/share/ament_index/resource_index/parent_prefix_path/beluga_ros in package beluga-ros contains reference to TMPDIR [buildpaths]
I hope to find how to fix it fundamentally.
@mark-bchoi It seems that the fundamental problem is that the Python setuptools rewrite the shebang to use whichever Python executable is used to do the install. I encountered this before and this was the solution I used: https://github.com/ros/meta-ros/commit/c2ec1ce7efd5a971c3361ff62923e942f17f494e
@robwoolley Thanks for comment.
I have not drilled this issue yet and it still can not be fixed even I applied patch as https://github.com/ros/meta-ros/commit/c2ec1ce7efd5a971c3361ff62923e942f17f494e and found topic-tools have the same issue.
Initialising tasks: 100% |#########################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:02
NOTE: Executing Tasks
WARNING: topic-tools-1.1.1-1-r0 do_package_qa: QA Issue: File /opt/ros/humble/share/ament_index/resource_index/parent_prefix_path/topic_tools in package topic-tools contains reference to TMPDIR [buildpaths]
NOTE: Tasks Summary: Attempted 3753 tasks of which 3733 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message.
bchoi@ubuntu-22:~/nvidia-yocto-bsp/bchoi-build$
@robwoolley Sorry I misunderstood for this issue. I can clear this issue with as your solution.
Thanks.
Hi @mark-bchoi, thanks for confirming that it worked. I'm just reopening the issue so I remember to merge in the fix.
Best regards, Rob
Hi,
I have an issue in building beluga-ros package.
error is
My build branches are
I think it was caused by shebang size in below files.
Perhaps, it can be related with https://github.com/ros/meta-ros/pull/1215.
If I apply https://github.com/ros/meta-ros/pull/1215, Can I clear this issue?
BR, Mark