Source: expat Version: 2.1.0-6 Severity: wishlist Tags: patch User: helm...@debian.org Usertags: rebootstrap
Please add support for specifying the nobiarch profile to drop multilib packages from the build. This is useful in cases where sibling architectures are broken (for example gcc-4.9 FTBFS for sparc64 unless disabling multilib and gcc-4.9's cross-build-depends have file conflicts on mips64el due to multilib). Alternatively, follow Guillem Jover's advise[1] and just drop multilib packages rendering this bug report obsolete. Helmut [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775942#10
diff -Nru expat-2.1.0/debian/changelog expat-2.1.0/debian/changelog --- expat-2.1.0/debian/changelog +++ expat-2.1.0/debian/changelog @@ -1,3 +1,10 @@ +expat (2.1.0-6.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Add nobiarch build profile. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 04 Aug 2014 08:48:33 +0200 + expat (2.1.0-6) unstable; urgency=low * Really do the Ubuntu sync (closes: #748250). diff -Nru expat-2.1.0/debian/control expat-2.1.0/debian/control --- expat-2.1.0/debian/control +++ expat-2.1.0/debian/control @@ -5,7 +5,7 @@ Standards-Version: 3.9.5 Build-Depends: debhelper (>= 9), docbook-to-man, dh-autoreconf, dpkg-dev (>= 1.16.0), - gcc-multilib [i386 powerpc sparc s390] + gcc-multilib [i386 powerpc sparc s390] <!nobiarch> Homepage: http://expat.sourceforge.net Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/expat/trunk/ Vcs-Svn: svn://svn.debian.org/svn/debian-xml-sgml/packages/expat/trunk/ @@ -14,6 +14,7 @@ Section: libdevel Architecture: i386 powerpc sparc s390 Depends: ${misc:Depends}, lib64expat1 (= ${binary:Version}), libexpat1-dev, gcc-multilib +Build-Profiles: !nobiarch Description: XML parsing C library - development kit (64bit) This package contains the header file and development libraries of expat, the C library for parsing XML. Expat is a stream oriented XML @@ -30,6 +31,7 @@ Section: libs Architecture: i386 powerpc sparc s390 Depends: ${shlibs:Depends}, ${misc:Depends} +Build-Profiles: !nobiarch Description: XML parsing C library - runtime library (64bit) This package contains the runtime, shared library of expat, the C library for parsing XML. Expat is a stream-oriented parser in diff -Nru expat-2.1.0/debian/rules expat-2.1.0/debian/rules --- expat-2.1.0/debian/rules +++ expat-2.1.0/debian/rules @@ -11,7 +11,9 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +ifeq ($(filter nobiarch,$(DEB_BUILD_PROFILES)),) BUILD64 = $(filter $(DEB_HOST_ARCH), i386 powerpc sparc s390) +endif ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) CONFFLAGS = --build=$(DEB_HOST_GNU_TYPE)