[Debian-ports-devel] Bug#883424: build-essential: Please enable Debian Ports architectures for cross-build-essential
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Sun Dec 3 21:10:55 UTC 2017
Source: build-essential
Version: 12.4
Severity: normal
Tags: patch
Hi!
I have been in the situation many times where I wanted to cross-build
a package for any of the Debian Ports architectures only to find out
there is no cross-build-essential-$ARCH package for a given ports
architecture $ARCH.
The attached patch enables all ports architectures in the build-essential
package and allows cross-building packages for ports architectures using
sbuild --host=$ARCH.
Alternatively, just comment out alpha, hppa, m68k, powerpcspe, ppc64, sh4,
sparc64 and x32 in debian/cross-targets and run debian/rules debian/control
to regenerate the control file. Although, I'm not sure whether it actually
makes sense to include x32 here.
Either way, would be awesome to have this finally resolved.
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
diff -Nru build-essential-12.4/debian/control build-essential-12.4/debian/control
--- build-essential-12.4/debian/control 2017-09-17 13:06:17.000000000 +0200
+++ build-essential-12.4/debian/control 2017-09-17 13:06:39.000000000 +0200
@@ -31,6 +31,25 @@
most people need. However, if this package and the manual disagree,
the manual is correct.
+Package: crossbuild-essential-alpha
+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-hppa
+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-m68k
+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}
@@ -164,6 +221,44 @@
to build-depend on, you can always leave out the packages this
package depends on.
+Package: crossbuild-essential-powerpcspe
+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-ppc64
+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-ppc64el
Architecture: all
Depends: ${cross-essential}, ${misc:Depends}
@@ -187,6 +282,63 @@
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-sh4
+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-sparc64
+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-x32
+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 -Nru build-essential-12.4/debian/cross-targets build-essential-12.4/debian/cross-targets
--- build-essential-12.4/debian/cross-targets 2017-01-26 00:13:03.000000000 +0100
+++ build-essential-12.4/debian/cross-targets 2017-09-17 13:06:39.000000000 +0200
@@ -1,25 +1,25 @@
-#alpha
+alpha
#amd64
arm64
armel
armhf
-#hppa
+hppa
#hurd-i386
#i386
#ia64
#kfreebsd-amd64
#kfreebsd-i386
-#m68k
+m68k
mips
mipsel
#mips64
mips64el
powerpc
-#powerpcspe
-#ppc64
+powerpcspe
+ppc64
ppc64el
s390x
-#sh4
+sh4
#sparc
-#sparc64
-#x32
+sparc64
+x32
More information about the Debian-ports-devel
mailing list