Control: tags -1 moreinfo
Control: severity -1 normal

Hi!

On Tue, 2016-11-29 at 03:19:31 -0700, Jean-Francois Dockes wrote:
> Package: dpkg-dev
> Version: 1.17.27
> Severity: important

> This happens on an odrobian hybrid installation: 64 bits kernel with
> 32 bits userland. gcc -v says:
> 
> Using built-in specs.
> COLLECT_GCC=/usr/bin/gcc-4.9.real
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
> Target: arm-linux-gnueabihf
> 
> debuild fails with the following output:
> 
> dh_shlibdeps -O--parallel
> objdump: /lib/aarch64-linux-gnu/libpthread.so.0: File format not recognized
> dpkg-shlibdeps: error: objdump gave error exit status 1
> dh_shlibdeps: dpkg-shlibdeps -Tdebian/libupnp6.substvars 
> debian/libupnp6/usr/lib/arm-linux-gnueabihf/libthreadutil.so.6.0.4 ... 
> returned exit code 1
> debian/rules:14: recipe for target 'binary' failed
> 
> 
> Workaround: Just forbidding (chmod 0) access to
> /lib/aarch64-linux-gnu/ and /usr/lib/aarch64-linux-gnu/ fixes the
> problem (the package build succeeds, the packages are ok), so it would
> appear that someone is looking in the wrong places.

It seems to me you are trying to cross-compile but are not passing the
correct arguments to dpkg-buildpackage? Giving more detail would help,
build logs, the way you invoked dpkg-buildpackage. What are the host
architecture you are trying to build for, etc.

Thanks,
Guillem

Reply via email to