Your message dated Sun, 03 Jan 2021 11:03:24 +0000
with message-id <[email protected]>
and subject line Bug#950548: fixed in build-essential 12.9
has caused the Debian Bug report #950548,
regarding build-essential: support cross-only flavor and add mips* support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
950548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950548
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:build-essential
Version: 12.8
This is the patch from src:build-essential-mipsen
To use the same codebase, this patch add a way to not build native package,
aka bin:build-essential.
diff --git a/debian/control.in b/debian/control.in
index 354e3a7..c4a9ec8 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -1,32 +1,7 @@
-Source: build-essential
+Source: @src_name@
Section: devel
Priority: optional
Maintainer: Matthias Klose <[email protected]>
Uploaders: Scott James Remnant <[email protected]>
Standards-Version: 4.4.0
Build-Depends: debhelper (>= 9), python3:any, g++ (>= 4:9.2)
-
-Package: build-essential
-Architecture: any
-Depends: ${build-essential}, ${misc:Depends}
-Description: Informational list of build-essential packages
- If you do not plan to build Debian packages, you don't need this
- package. Starting with dpkg (>= 1.14.18) this package is required
- for building Debian packages.
- .
- This package contains an informational list of packages which are
- considered essential for building Debian packages. This package also
- depends on the packages on that list, to make it easy to have the
- 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 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.
- .
- This package is NOT the definition of what packages are
- build-essential; the real definition is in the Debian Policy Manual.
- This package contains merely an informational list, which is all
- most people need. However, if this package and the manual disagree,
- the manual is correct.
diff --git a/debian/control.native.in b/debian/control.native.in
new file mode 100644
index 0000000..34e3e14
--- /dev/null
+++ b/debian/control.native.in
@@ -0,0 +1,25 @@
+
+Package: build-essential
+Architecture: any
+Depends: ${build-essential}, ${misc:Depends}
+Description: Informational list of build-essential packages
+ If you do not plan to build Debian packages, you don't need this
+ package. Starting with dpkg (>= 1.14.18) this package is required
+ for building Debian packages.
+ .
+ This package contains an informational list of packages which are
+ considered essential for building Debian packages. This package also
+ depends on the packages on that list, to make it easy to have the
+ 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 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.
+ .
+ This package is NOT the definition of what packages are
+ build-essential; the real definition is in the Debian Policy Manual.
+ This package contains merely an informational list, which is all
+ most people need. However, if this package and the manual disagree,
+ the manual is correct.
diff --git a/debian/cross-targets b/debian/cross-targets
index 3eddf0c..cb095d8 100644
--- a/debian/cross-targets
+++ b/debian/cross-targets
@@ -10,9 +10,6 @@ i386
#kfreebsd-amd64
#kfreebsd-i386
#m68k
-#mipsel
-#mips64
-#mips64el
powerpc
#powerpcspe
#ppc64
diff --git a/debian/cross-targets-mipsen b/debian/cross-targets-mipsen
new file mode 100644
index 0000000..b63aebe
--- /dev/null
+++ b/debian/cross-targets-mipsen
@@ -0,0 +1,12 @@
+mips
+mipsel
+#mipsn32
+#mipsn32el
+mips64
+mips64el
+mipsr6
+mipsr6el
+#mipsn32r6
+#mipsn32r6el
+mips64r6
+mips64r6el
diff --git a/debian/rules b/debian/rules
index 8786a52..6bf7666 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,15 +6,25 @@
#export DH_VERBOSE=1
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-
-cross_archs := $(shell grep -v '^\#' debian/cross-targets)
+src_name := $(shell dpkg-parsechangelog -S Source)
+
+ifeq ($(src_name),build-essential)
+ cross_archs := $(shell grep -v '^\#' debian/cross-targets)
+else ifeq ($(src_name),build-essential-mipsen)
+ cross_archs := $(shell grep -v '^\#' debian/cross-targets-mipsen)
+else
+ $(error Unknown src_name)
+endif
build: build-arch build-indep
build-arch: build-arch-stamp
build-indep: build-indep-stamp
debian/control: debian/control.in debian/control.cross debian/cross-targets
- cat debian/control.in > $@
+ sed -e "s/@src_name@/$(src_name)/" debian/control.in > $@
+ifeq ($(src_name),build-essential)
+ cat debian/control.native.in >> $@
+endif
for a in $(cross_archs); do \
sed -e "s/@DEB_TARGET_ARCH@/$$a/g" debian/control.cross >> $@; \
done
@@ -57,6 +67,7 @@ svnclean: clean
rm -rf `svn propget svn:ignore`
install-arch: build-arch
+ifeq ($(src_name),build-essential)
dh_testdir
dh_testroot
dh_prep
@@ -71,6 +82,7 @@ install-arch: build-arch
ln -sf ../../build-essential/list \
../../build-essential/essential-packages-list \
debian/build-essential/usr/share/doc/build-essential
+endif
install-indep: build-indep
set -e; \
--- End Message ---
--- Begin Message ---
Source: build-essential
Source-Version: 12.9
Done: Matthias Klose <[email protected]>
We believe that the bug you reported is fixed in the latest version of
build-essential, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated build-essential package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 03 Jan 2021 11:23:06 +0100
Source: build-essential
Architecture: source
Version: 12.9
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 950548
Changes:
build-essential (12.9) unstable; urgency=medium
.
* Bump dependencies on gcc and g++ to 10.2.
* Bump standards and debhelper versions.
* Regenerate lists of essential packages.
* Support building a build-essential-mipsen package (YunQiang Su).
Closes: #950548.
Checksums-Sha1:
56fb7cc6d426bddf81719bd6603f90564314e1c0 2220 build-essential_12.9.dsc
4ac2039938f83f946a533831a9f2c4679b8074cd 51532 build-essential_12.9.tar.xz
796cccbfd7277060c567c8c8de12d5abb76a8777 6619
build-essential_12.9_source.buildinfo
Checksums-Sha256:
1e4ad67c69001a162b2eb3a2019f037e53c8a1e312073ba1a2110d1e21971555 2220
build-essential_12.9.dsc
938da370b4ef883687d141723d1b7470ad76bec7a54158d3d6b9b38f9c9eedb2 51532
build-essential_12.9.tar.xz
ef5400880e3d19114832a643469af2e128b2ab9c562d7971a6c30863cc270837 6619
build-essential_12.9_source.buildinfo
Files:
334ed4ac44d9e3310a5e408fa6602297 2220 devel optional build-essential_12.9.dsc
839a81f01a625e40afa9bce17930742e 51532 devel optional
build-essential_12.9.tar.xz
a8b17cb297bcc6df9443d38258de6a2d 6619 devel optional
build-essential_12.9_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl/xoCIQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9Qi/D/4gefdTa9f+F+6V1ZaIWSOFkzXocuKUWXEG
d8ItcHVVHW2sDq53Bemg9R0Mq3q/g68cLN0KM3XL1krhEUrS8W+JGsjEUMalkVGf
QXsWoPIg1pt9vtdUBx48UP+oB4fz633BCEWWRAZe+U4o5rEHK8ZBXzGMXPCSQurj
7ES4FlZgRsMOGGbbvddoH/XyNKpnO0V5hyG4yJS2GAcNN9cqzKjFQ93PvTuw0yQz
h4Lb5XGOHIy6xb4CbT6vzl6lHjm0Ov2Sj6F7j0qJIfNB5PFhMl+DcNkqGm2r8zT3
W5HQTTqNSdXrQCg56OtEL/uZ58KvqogTlxtBMrlqkNjhh5I0dhabVytYRR96hsJU
nULjUTXqIupIsGuda9Z+/wm/ohxq5FDSqr4ij/L4gSypXEYEv2XMKePy7RuoTyPO
ohVenuNodrQ6SO8wcEbZcqS/gjRluzy3CUfdObDxNEgafyfJy9Wj6z0/Cc4fpJi4
augG4Ph693JCWIEdWRFPrDDuUZDL1Jqvh5gqTh/0Y2HNDDvEy/1+/b6hwOvVAgS+
uJCb97lIrbzJZ7AaH58DN34jfaaXoD5jmPpq0bzhsot8ddOm6H71fU7xiYn7dBAt
vp9d8/tfdh0zJ+NErcrWRVc2rqxCQbGIOv9n0xdb5r7ow9zyHOa4GOxRMUqhfWAC
ibEIMSibuQ==
=GD0p
-----END PGP SIGNATURE-----
--- End Message ---