Source: build-essential Version: 12.3 Severity: wishlist Tags: patch User: [email protected] Usertags: rebootstrap
Hi Matthias, I am using crossbuild-essential-$arch for performing cross build tests and we want to push such testing to official infrastructure to integrate it with tracker.d.o. In doing so I am using all present crossbuild-essential-$arch packages and keep finding architecture-specific bugs (e.g. toolchain bugs) that would only be found by performing an archive rebuild for those other architectures. However my testing is currently limited to arm64, armel, armhf, mipsel, powerpc, and ppc64el, because the other architectures are missing in cross-targets. Please consider adding them. The attached patch implements that. In principle, I can test any non-ports architecture in unstable. Adding hurd-i386, kfreebsd-amd64 and kfreebsd-i386 may make sense eventually, but such testing won't go far before #798955 is fixed, so I am not adding them in my patch. Helmut
diff --minimal -Nru build-essential-12.3/debian/changelog build-essential-12.3+nmu1/debian/changelog --- build-essential-12.3/debian/changelog 2017-01-25 23:23:36.000000000 +0100 +++ build-essential-12.3+nmu1/debian/changelog 2017-09-15 11:53:45.000000000 +0200 @@ -1,3 +1,10 @@ +build-essential (12.3+nmu1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Enable all release architectures as cross-targets. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 15 Sep 2017 11:53:45 +0200 + build-essential (12.3) unstable; urgency=medium * Bump debhelper and standards versions. diff --minimal -Nru build-essential-12.3/debian/control build-essential-12.3+nmu1/debian/control --- build-essential-12.3/debian/control 2017-01-25 23:23:36.000000000 +0100 +++ build-essential-12.3+nmu1/debian/control 2017-09-15 11:53:45.000000000 +0200 @@ -31,6 +31,25 @@ most people need. However, if this package and the manual disagree, the manual is correct. +Package: crossbuild-essential-amd64 +Architecture: all +Depends: ${cross-essential}, ${misc:Depends} +Description: Informational list of cross-build-essential packages + If you do not plan to cross build Debian packages, you don't need + this package. Starting with sbuild (>= 0.63.0) this package is + required for cross building Debian packages in a chroot. + . + This package contains an informational list of packages which are + considered essential for cross building Debian packages. This + package also depends on the packages on that list, to make it easy to + have the cross-build-essential packages installed. + . + If you have this package installed, you only need to install whatever + a package specifies as its build-time dependencies to cross build the + package. Conversely, if you are determining what your package needs + to build-depend on, you can always leave out the packages this + package depends on. + Package: crossbuild-essential-arm64 Architecture: all Depends: ${cross-essential}, ${misc:Depends} @@ -88,6 +107,44 @@ to build-depend on, you can always leave out the packages this package depends on. +Package: crossbuild-essential-i386 +Architecture: all +Depends: ${cross-essential}, ${misc:Depends} +Description: Informational list of cross-build-essential packages + If you do not plan to cross build Debian packages, you don't need + this package. Starting with sbuild (>= 0.63.0) this package is + required for cross building Debian packages in a chroot. + . + This package contains an informational list of packages which are + considered essential for cross building Debian packages. This + package also depends on the packages on that list, to make it easy to + have the cross-build-essential packages installed. + . + If you have this package installed, you only need to install whatever + a package specifies as its build-time dependencies to cross build the + package. Conversely, if you are determining what your package needs + to build-depend on, you can always leave out the packages this + package depends on. + +Package: crossbuild-essential-mips +Architecture: all +Depends: ${cross-essential}, ${misc:Depends} +Description: Informational list of cross-build-essential packages + If you do not plan to cross build Debian packages, you don't need + this package. Starting with sbuild (>= 0.63.0) this package is + required for cross building Debian packages in a chroot. + . + This package contains an informational list of packages which are + considered essential for cross building Debian packages. This + package also depends on the packages on that list, to make it easy to + have the cross-build-essential packages installed. + . + If you have this package installed, you only need to install whatever + a package specifies as its build-time dependencies to cross build the + package. Conversely, if you are determining what your package needs + to build-depend on, you can always leave out the packages this + package depends on. + Package: crossbuild-essential-mipsel Architecture: all Depends: ${cross-essential}, ${misc:Depends} @@ -107,6 +164,25 @@ to build-depend on, you can always leave out the packages this package depends on. +Package: crossbuild-essential-mips64el +Architecture: all +Depends: ${cross-essential}, ${misc:Depends} +Description: Informational list of cross-build-essential packages + If you do not plan to cross build Debian packages, you don't need + this package. Starting with sbuild (>= 0.63.0) this package is + required for cross building Debian packages in a chroot. + . + This package contains an informational list of packages which are + considered essential for cross building Debian packages. This + package also depends on the packages on that list, to make it easy to + have the cross-build-essential packages installed. + . + If you have this package installed, you only need to install whatever + a package specifies as its build-time dependencies to cross build the + package. Conversely, if you are determining what your package needs + to build-depend on, you can always leave out the packages this + package depends on. + Package: crossbuild-essential-powerpc Architecture: all Depends: ${cross-essential}, ${misc:Depends} @@ -130,6 +206,25 @@ Architecture: all Depends: ${cross-essential}, ${misc:Depends} Description: Informational list of cross-build-essential packages + If you do not plan to cross build Debian packages, you don't need + this package. Starting with sbuild (>= 0.63.0) this package is + required for cross building Debian packages in a chroot. + . + This package contains an informational list of packages which are + considered essential for cross building Debian packages. This + package also depends on the packages on that list, to make it easy to + have the cross-build-essential packages installed. + . + If you have this package installed, you only need to install whatever + a package specifies as its build-time dependencies to cross build the + package. Conversely, if you are determining what your package needs + to build-depend on, you can always leave out the packages this + package depends on. + +Package: crossbuild-essential-s390x +Architecture: all +Depends: ${cross-essential}, ${misc:Depends} +Description: Informational list of cross-build-essential packages If you do not plan to cross build Debian packages, you don't need this package. Starting with sbuild (>= 0.63.0) this package is required for cross building Debian packages in a chroot. diff --minimal -Nru build-essential-12.3/debian/cross-targets build-essential-12.3+nmu1/debian/cross-targets --- build-essential-12.3/debian/cross-targets 2017-01-25 23:23:36.000000000 +0100 +++ build-essential-12.3+nmu1/debian/cross-targets 2017-09-15 11:53:43.000000000 +0200 @@ -1,24 +1,24 @@ #alpha -#amd64 +amd64 arm64 armel armhf #hppa #hurd-i386 -#i386 +i386 #ia64 #kfreebsd-amd64 #kfreebsd-i386 #m68k -#mips +mips mipsel #mips64 -#mips64el +mips64el powerpc #powerpcspe #ppc64 ppc64el -#s390x +s390x #sh4 #sparc #sparc64

