Open sloretz opened 1 year ago
I reproduced same error in arm64/focal
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'
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
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
ros_speech_recognition
which uses SpeechRecognition
pip package fails with the same error in aarch64.
objcopy: Unable to recognise the format of the input file `debian/ros-noetic-ros-speech-recognition/opt/ros/noetic/share/ros_speech_recognition/venv/lib/python3.8/site-packages/speech_recognition/flac-linux-x86'
dh_strip: error: objcopy --only-keep-debug --compress-debug-sections debian/ros-noetic-ros-speech-recognition/opt/ros/noetic/share/ros_speech_recognition/venv/lib/python3.8/site-packages/speech_recognition/flac-linux-x86 debian/.debhelper/ros-noetic-ros-speech-recognition/dbgsym-root/usr/lib/debug/.build-id/51/fcc29644e1d696b6888cba74ab48ab5b0b809c.debug returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
Seems the root of the problem is this line. It seems odd that there's something called
flac-linux-x86
on an ARM build.Context: