And if you add an --exclude *.debug ?
On 18.06.20 14:01, Andreas Tille wrote:
Hi Nilesh,
On Thu, Jun 18, 2020 at 03:43:15PM +0530, Nilesh Patra wrote:
Hi,
I was working on packaging ont-fast5-api, and did a few workarounds
(disabling tests needing sudo and copying data to .pybuild dir - weirdly
enough it wasn't getting copied).
Yes, that's weird. I've solved this and confirm tests are working.
The build time tests work fine, but the build fails with this weird error:
dh_link -O--buildsystem=pybuild
dh_strip_nondeterminism -O--buildsystem=pybuild
dh_compress -O--buildsystem=pybuild
dh_fixperms -O--buildsystem=pybuild
dh_missing -O--buildsystem=pybuild
dh_dwz -a -O--buildsystem=pybuild
objcopy: Unable to recognise the format of the input file
`debian/ont-fast5-api/usr/lib/debug/.dwz/x86_64-linux-gnu/ont-fast5-api.debug'
dh_dwz: error: objcopy --compress-debug-sections
debian/ont-fast5-api/usr/lib/debug/.dwz/x86_64-linux-gnu/ont-fast5-api.debug
returned exit code 1
I admit I do not really care about dh_dwz and took the freedom to simply
let it pass. :-P
I admit, I've no idea what this means - could someone please take a look?
I neither know what this might mean - but I consider it harmless. If
you really want to know you might like to ask on debian-mentors@lists.d.o.
But despite I skipped this the next strange thing is happening:
dh_strip -a -O--buildsystem=pybuild
objcopy: Unable to recognise the format of the input file
`debian/ont-fast5-api/usr/lib/python3.8/dist-packages/ont_fast5_api/vbz_plugin/libvbz_hdf_plugin_aarch64.so'
dh_strip: error: objcopy --only-keep-debug --compress-debug-sections
debian/ont-fast5-api/usr/lib/python3.8/dist-packages/ont_fast5_api/vbz_plugin/libvbz_hdf_plugin_aarch64.so
debian/.debhelper/ont-fast5-api/dbgsym-root/usr/lib/debug/.build-id/40/83615f4319ee85a50111a114b9491d99f72285.debug
returned exit code 1
dh_strip: error: Aborting due to earlier error
I do not think that this is also harmless but I admit I have no clue. May
be mentors can help?
Here's the repo:
https://salsa.debian.org/med-team/ont-fast5-api
Thanks and regards
Thanks for your work on this
Andreas.