[ Need more coffee - last attempt of sending this ] Happy new 2017 and Hi,
I tried backporting binutils (2.26.1-1ubuntu1~16.04.3) to Ubuntu/precise. I am aware this is not an ideal platform for such backports and my good-old-Debian-packaging-days need a refresh. MIPS64 is BROKEN for GNU/gold in binutils v2.26.1, etc. But anyway... I played a bit with 'nocross' and 'nomult' DEB_BUILD_OPTIONS. My goal is a host-only binutils for AMD64 arch. While playing, I see that the HPPA64 cross binutils build handling is done in a separate (unusual) way. A binutils-hppa64-linux-gnu package is always built undesiredly/unwantedly even... $ LC_ALL=C DEB_BUILD_OPTIONS="parallel=3,nocross,nomult" debuild -d ...is set explicitly for building. So, my suggestion is... -ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 x32 hppa)) - with_hppa64 = yes +# XXX: Fix HPPA64 cross binutils build handling when 'with_cross' is set. +with_hppa64 = +ifeq ($(with_cross),yes) + ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 x32 hppa)) + with_hppa64 = yes + endif endif ... ifneq (,$(findstring nomult,$(DEB_BUILD_OPTIONS))) with_multiarch = disabled in DEB_BUILD_OPTIONS endif +# XXX: Fix HPPA64 cross binutils build handling when 'nocross' is set in DEB_BUILD_OPTIONS. ifneq (,$(findstring nocross,$(DEB_BUILD_OPTIONS))) with_cross = disabled in DEB_BUILD_OPTIONS + with_hppa64 = disabled in DEB_BUILD_OPTIONS endif ...to fix this. Ideas? My current debdiff is attached. Thanks. Regards, - Sedat -
binutils-2.26.1-1+dileks1~precise.debdiff
Description: Binary data
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss