Re: Bug#854512: ftpcopy: FTBFS: dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp
Control: clone -1 -2
Control: reassign -2 libdpkg-perl
Control: retitle -2 Dpkg::Shlibs::Objdump: Cope more gracefully with non-ELF files
Control: severity -2 important
Hi!
On Tue, 2017-02-07 at 23:08:23 +0100, Reiner Herrmann wrote:
> Control: tag -1 + patch
> > dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp:
>
> ftpcp is a shell script, not a binary.
> Calling dpkg-shlibdeps no longer works since dpkg 1.18.19.
> In previous version, objdump called by dpkg-shlibdeps would print an
> error, but the call would still exit with 0.
Right, the change that ended up with the new behavior was not entirely
intended, so I'll be improving it to cope with this more gracefully.
But I still consider this usage bogus, and it will start emitting
proper warnings with dpkg 1.18.23, so…
> The attached patch calls dpkg-shlibdeps only on the binaries.
… thanks for fixing it!
Regards,
Guillem
Reply to: