Skip to content

Comments

Fix jsk packages#42

Merged
rhaschke merged 6 commits intomainfrom
jsk
Apr 22, 2025
Merged

Fix jsk packages#42
rhaschke merged 6 commits intomainfrom
jsk

Conversation

@rhaschke
Copy link
Member

@rhaschke rhaschke commented Apr 8, 2025

Merge changes from #36 and #37

@k-okada
Copy link
Contributor

k-okada commented Apr 9, 2025

@rhaschke

  1. you better to use k-okada@9f280a1, beacuse euslisp-dev/jskeus-dev is not available as system package at this moment. (and hopefully it will be available soon https://bugs.launchpad.net/ubuntu/+source/euslisp/+bug/2100570),
  2. you need to merge add patches to compile jsk packages rhaschke/bloom#1

Currently, I am checking at https://github.com/k-okada/ros-builder-action/actions/runs/14352488027/job/40234257457

@k-okada
Copy link
Contributor

k-okada commented Apr 9, 2025

@rhaschke oh , error on shlibdeps is not only sound_classification k-okada@89ecbf2

see if this works -> https://github.com/k-okada/ros-builder-action/actions/runs/14353214446

@rhaschke
Copy link
Member Author

rhaschke commented Apr 9, 2025

I don't like disabling debian build checks all the time. Ideally, those issues should get fixed at the root. Alternatively, I accept rare exceptions disabling those checks.

@mqcmd196
Copy link
Contributor

mqcmd196 commented Apr 9, 2025

Hmm, https://dh-virtualenv.readthedocs.io/en/1.1/howtos.html#handling-binary-wheels ?

@rhaschke
Copy link
Member Author

rhaschke commented Apr 9, 2025

I imported the successfully built packages into the *-testing repositories. However, there are many 3rd-party packages that still fail.

@k-okada
Copy link
Contributor

k-okada commented Apr 10, 2025

I don't like disabling debian build checks all the time. Ideally, those issues should get fixed at the root. Alternatively, I accept rare exceptions disabling those checks.

Okay, please use k-okada@2adfb16, that should be OK and I am currently testing at https://github.com/k-okada/ros-builder-action/actions/runs/14380217444

there are many 3rd-party packages that still fail.

that should be fixed by jsk-ros-pkg/jsk_3rdparty#521, which is already merged to jsk-ros-pkg@master and last packges to be fixed is testing at jsk-ros-pkg/jsk_3rdparty#525

@k-okada
Copy link
Contributor

k-okada commented Apr 11, 2025

@rhaschke add 20ad03a + e93c16b + 4300a2c solved most of problems. See https://github.com/k-okada/ros-builder-action/actions/runs/14391308410

image

  1. [noblle, x64][jammy, x64] The job has exceeded the maximum execution time of 5h40m0s
    -> can we solve this issue? or should we try to reduce compilation time?

  2. [noble, arm64][jammy, arm64] sbuild failed on package 278/752: sesame_ros (jsk_3rdparty/sesame_ros).
    -> we could fix on our jsk_3rdparty repository

  3. [noble, x64][jammy, x64] bloom-generate failed on package 525/752: robot_calibration (robot_calibration/robot_calibration).
    -> it said robot_calibration: Cannot locate rosdep definition for [orocos_kdl] ? it should be defined at

    orocos_kdl: # needed for robot_calibration, pr2_head_action, ...
    debian: [liborocos-kdl-dev]
    ubuntu: [liborocos-kdl-dev]
    ??

4 [jammy, x64] sbuild failed on package 460/752: joint_state_controller (ros_controllers/joint_state_controller)., sbuild failed on package 459/752: industrial_robot_status_controller (industrial_robot_status_controller/industrial_robot_status_controller).
-> Network issue?

Get:7 https://ros.packages.techfak.net/ jammy-testing InRelease [5260 B]
  Get:8 https://ros.packages.techfak.net/ jammy-testing/main amd64 Packages [182 kB]
  Err:8 https://ros.packages.techfak.net/ jammy-testing/main amd64 Packages
    File has unexpected size (182330 != 182332). Mirror sync in progress? [IP: 129.70.142.193 443]
    Hashes of expected file:
     - Filesize:182332 [weak]
     - SHA256:5d0b7c82e037b745cf2ec257ac168e15efdc603824ee26334864d1aa66ae8d3c
     - SHA1:72ead0817fd32d4aa33116e54d652f3086f104c3 [weak]
     - MD5Sum:fdbe498f0706a221ca512fabef056172 [weak]
    Release file created at: Fri, 11 Apr 2025 02:11:27 +0000
  Fetched 5260 B in 1s (5810 B/s)
  Reading package lists...
  E: Failed to fetch https://ros.packages.techfak.net/dists/jammy-testing/main/binary-amd64/Packages.gz  File has unexpected size (182330 != 182332). Mirror sync in progress? [IP: 129.70.142.193 443]
     Hashes of expected file:
      - Filesize:182332 [weak]
      - SHA256:5d0b7c82e037b745cf2ec257ac168e15efdc603824ee26334864d1aa66ae8d3c
      - SHA1:72ead0817fd32d4aa33116e54d652f3086f104c3 [weak]
      - MD5Sum:fdbe498f0706a221ca512fabef056172 [weak]
     Release file created at: Fri, 11 Apr 2025 02:11:27 +0000
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  E: apt-get update failed

rhaschke and others added 4 commits April 11, 2025 08:33
- Redirect ROS_HOME, PIP_CACHE_DIR, PIP_TOOLS_CACHE_DIR
- Ignore dh_strip error for sound_classification
@rhaschke rhaschke force-pushed the jsk branch 2 times, most recently from bb5b13f to 2277ecf Compare April 12, 2025 19:53
@k-okada
Copy link
Contributor

k-okada commented Apr 14, 2025

@rhaschke the test failing with

2025-04-12T20:21:41.3345487Z Get:1072 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 libassimp-dev arm64 5.3.1+ds-2build1 [147 kB]
2025-04-12T20:21:41.3345760Z Get:1073 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 liburdfdom-headers-dev all 1.0.5-3 [14.1 kB]
2025-04-12T20:21:41.3346032Z Get:1074 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 liburdfdom-dev arm64 4.0.0-0ubuntu1 [8504 B]
2025-04-12T20:21:41.3346605Z E: Failed to fetch https://ros.packages.techfak.net/pool/main/r/ros-one-jsk-recognition-utils/ros-one-jsk-recognition-utils_1.2.17-47noble.20250409.1026_arm64.deb  404  Not Found [IP: 129.70.142.193 443]
2025-04-12T20:21:41.3346838Z E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2025-04-12T20:21:41.3346910Z Fetched 758 MB in 1min 35s (7955 kB/s)
2025-04-12T20:21:41.3346967Z apt-get failed.

but I can find the deb file at https://ros.packages.techfak.net/pool/main/r/ros-one-jsk-recognition-utils/, maybe sync problem? Could you restart CI ?

@rhaschke
Copy link
Member Author

There are only two failures left: https://github.com/ubi-agni/ros-builder-action/actions/runs/14472495048

  • sesame_ros
  • roseus_tutorials

@k-okada
Copy link
Contributor

k-okada commented Apr 18, 2025

@rhaschke all grean -> https://github.com/k-okada/ros-builder-action/actions/runs/14526957770/job/40760204870

@rhaschke rhaschke closed this Apr 21, 2025
@rhaschke rhaschke reopened this Apr 21, 2025
@rhaschke
Copy link
Member Author

aques_talk is consistently failing to download its source. I don't understand why.

@rhaschke rhaschke deleted the jsk branch April 22, 2025 11:47
@k-okada
Copy link
Contributor

k-okada commented Apr 22, 2025

yeah, It only fails in latest ubuntu on github. I just updated the code to skip this -> https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/533/files

@k-okada
Copy link
Contributor

k-okada commented Apr 23, 2025

@rhaschke there are another dh_strip problem on voicevox, can we escape this at https://github.com/ubi-agni/ros-builder-action/blob/main/src/build.sh#L211 ??

2025-04-22T22:01:00.4537543Z 	cat '/tmp/vnaKh0oQVT/stripqLYqhv' > 'debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so'
2025-04-22T22:01:00.4538185Z 	chmod --reference /tmp/vnaKh0oQVT/stripqLYqhv debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so
2025-04-22T22:01:00.4539173Z 	objcopy --add-gnu-debuglink debian/.debhelper/ros-one-voicevox/dbgsym-root/usr/lib/debug/.build-id/6b/576697664fefc1949c5fb85e41d7f5cbd3eb73.debug debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so /tmp/vnaKh0oQVT/objcopyfNhvlb
2025-04-22T22:01:00.4539711Z 	chmod --reference debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so /tmp/vnaKh0oQVT/objcopyfNhvlb
2025-04-22T22:01:00.4540222Z 	cat '/tmp/vnaKh0oQVT/objcopyfNhvlb' > 'debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so'
2025-04-22T22:01:00.4540773Z 	chmod --reference /tmp/vnaKh0oQVT/objcopyfNhvlb debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so
2025-04-22T22:01:00.4541450Z 	debugedit --build-id --build-id-seed=ros-one-voicevox/2.1.24-14jammy.20250422.2156 debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-dff490c2.3.18.so
2025-04-22T22:01:00.4541540Z f14726dfdf224a6ec3f73cd8d6316a7396a8ce67
2025-04-22T22:01:00.4541660Z readelf: Error: no .dynamic section in the dynamic segment
2025-04-22T22:01:00.4541854Z 	install -d debian/.debhelper/ros-one-voicevox/dbgsym-root/usr/lib/debug/.build-id/f1
2025-04-22T22:01:00.4542780Z 	objcopy --only-keep-debug --compress-debug-sections debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-dff490c2.3.18.so debian/.debhelper/ros-one-voicevox/dbgsym-root/usr/lib/debug/.build-id/f1/4726dfdf224a6ec3f73cd8d6316a7396a8ce67.debug
2025-04-22T22:01:00.4543358Z objcopy: warning: debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-dff490c2.3.18.so has a corrupt string table index - ignoring
2025-04-22T22:01:00.4543856Z objcopy: unable to modify 'debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-dff490c2.3.18.so' due to errors
2025-04-22T22:01:00.4545024Z dh_strip: error: objcopy --only-keep-debug --compress-debug-sections debian/ros-one-voicevox/opt/ros/one/share/voicevox/venv/lib/python3.10/site-packages/scipy.libs/libopenblasp-r0-dff490c2.3.18.so debian/.debhelper/ros-one-voicevox/dbgsym-root/usr/lib/debug/.build-id/f1/4726dfdf224a6ec3f73cd8d6316a7396a8ce67.debug returned exit code 1
2025-04-22T22:01:00.4545118Z dh_strip: error: Aborting due to earlier error
2025-04-22T22:01:00.4545199Z make: *** [debian/rules:27: binary] Error 25
2025-04-22T22:01:00.4545415Z dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
2025-04-22T22:01:00.4545535Z --------------------------------------------------------------------------------

@rhaschke
Copy link
Member Author

Can we escape this at https://github.com/ubi-agni/ros-builder-action/blob/main/src/build.sh#L211?

Sure, please add the voicevox package there as well.

@rhaschke rhaschke mentioned this pull request Apr 23, 2025
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

Successfully merging this pull request may close these issues.

3 participants