[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760770: gcc-4.9: fails to build cross-compiler package



Control: tags -1 + moreinfo help
Control: severity -1 wishlist

Am 07.09.2014 um 19:40 schrieb Rico Rommel:
> Package: gcc-4.9
> Version: 4.9.1-12
> Severity: normal
> 
> Dear Maintainer,
> 
> building a cross-compiler package from gcc-4.9 fails due to missing
> libgphobos2.a.
> 
> The log shows:
> 
> mv stamps/07-install-stamp stamps/07-install-stamp-tmp
> rm -rf debian/libphobos-4.9-dev
> dh_installdirs -plibphobos-4.9-dev usr/lib/gcc/arm-linux-gnueabihf/4.9
> DH_COMPAT=2 dh_movefiles -plibphobos-4.9-dev usr/lib/arm-linux-
> gnueabihf/libgphobos2.a usr/lib/gcc/arm-linux-gnueabihf/4.9/include/d
> dh_movefiles: Compatibility levels before 5 are deprecated (level 2 in use)
> dh_movefiles: debian/tmp/usr/lib/arm-linux-gnueabihf/libgphobos2.a not found
> (supposed to put it in libphobos-4.9-dev)
> debian/rules.d/binary-d.mk:168: recipe for target 'stamps/08-binary-stamp-
> libphobos-dev' failed
> make[1]: *** [stamps/08-binary-stamp-libphobos-dev] Error 1
> make[1]: Leaving directory '/usr/src/toolchain/b/gcc-4.9-4.9.1'
> debian/rules:94: recipe for target 'binary' failed
> make: *** [binary] Error 2
> 
> 
> libgphobos2.a is not missing, but in the wrong place.
> dh expects it in usr/lib/arm-linux-gnueabi/ but it is installed in usr/arm-
> linux-gnueabi/lib/
> libgdruntime.a seems also to be affected.

this works for a standard cross build, as shown in
https://launchpad.net/ubuntu/+source/gcc-4.9-armhf-cross/0.3

please send a patch for unsupported configurations like requiring foreign
architectures.


Reply to: