Skip to content

[noetic] respeaker_ros failing to build armhf & armv8 #494

@sloretz

Description

@sloretz

Seems the root of the problem is this line. It seems odd that there's something called flac-linux-x86 on an ARM build.

objcopy: Unable to recognise the format of the input file `debian/ros-noetic-respeaker-ros/opt/ros/noetic/share/respeaker_ros/venv/lib/python3.8/site-packages/speech_recognition/flac-linux-x86'

Context:

23:20:35 	install -d debian/.debhelper/ros-noetic-respeaker-ros/dbgsym-root/usr/lib/debug/.build-id/51
23:20:35 	objcopy --only-keep-debug --compress-debug-sections debian/ros-noetic-respeaker-ros/opt/ros/noetic/share/respeaker_ros/venv/lib/python3.8/site-packages/speech_recognition/flac-linux-x86 debian/.debhelper/ros-noetic-respeaker-ros/dbgsym-root/usr/lib/debug/.build-id/51/fcc29644e1d696b6888cba74ab48ab5b0b809c.debug
23:20:35 objcopy: Unable to recognise the format of the input file `debian/ros-noetic-respeaker-ros/opt/ros/noetic/share/respeaker_ros/venv/lib/python3.8/site-packages/speech_recognition/flac-linux-x86'
23:20:35 dh_strip: error: objcopy --only-keep-debug --compress-debug-sections debian/ros-noetic-respeaker-ros/opt/ros/noetic/share/respeaker_ros/venv/lib/python3.8/site-packages/speech_recognition/flac-linux-x86 debian/.debhelper/ros-noetic-respeaker-ros/dbgsym-root/usr/lib/debug/.build-id/51/fcc29644e1d696b6888cba74ab48ab5b0b809c.debug returned exit code 1
23:20:35 dh_strip: error: Aborting due to earlier error
23:20:35 make: *** [debian/rules:27: binary] Error 25
23:20:35 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
23:20:35 Traceback (most recent call last):
23:20:35   File "/tmp/ros_buildfarm/ros_buildfarm/binarydeb_job.py", line 149, in build_binarydeb
23:20:35     subprocess.check_call(cmd, cwd=source_dir, env=env)
23:20:35   File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
23:20:35     raise CalledProcessError(retcode, cmd)
23:20:35 subprocess.CalledProcessError: Command '['dpkg-buildpackage', '-b', '-us', '-uc']' returned non-zero exit status 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions