Michael Biebl <biebl@debian.org> (2017-08-24): > Am 23.08.2017 um 23:57 schrieb Cyril Brulebois: > > > My NMU FTBFSes on mips64el: > > https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=mips64el&ver=234-2.1&stamp=1503523165&raw=0 > > > > James Cowgill mentioned this gcc bug report: > > https://bugs.debian.org/871514 > > > > so I think I might duplicate the rules file in src:debian-installer and > > work around the missing file by putting it into place manually, which is > > somewhat ugly but means we're no longer blocking on the systemd update. > > I wouldn't mind if you forced the compiler to be GCC 6 in src:systemd > until this bug is fixed. The attached patch seems to do the trick, will upload after a full build inside sbuild, then open a bug report as you suggested on IRC, so that you think about reverting this when the gcc-7 bug is fixed. KiBi.
diff -Nru systemd-234/debian/changelog systemd-234/debian/changelog
--- systemd-234/debian/changelog 2017-08-23 18:41:34.000000000 +0000
+++ systemd-234/debian/changelog 2017-08-23 22:53:09.000000000 +0000
@@ -1,3 +1,13 @@
+systemd (234-2.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Switch to gcc-6 on all architectures, working around an FTBFS on mips64el,
+ apparently due to a gcc-7 bug (See: #871514):
+ - Add gcc-6 to Build-Depends in debian/control
+ - Export CC = gcc-6 in debian/rules
+
+ -- Cyril Brulebois <kibi@debian.org> Wed, 23 Aug 2017 22:53:09 +0000
+
systemd (234-2.1) unstable; urgency=high
* Non-maintainer upload.
diff -Nru systemd-234/debian/control systemd-234/debian/control
--- systemd-234/debian/control 2017-07-20 13:13:42.000000000 +0000
+++ systemd-234/debian/control 2017-08-23 22:45:38.000000000 +0000
@@ -53,6 +53,7 @@
tzdata <!nocheck>,
libcap2-bin <!nocheck>,
iproute2 <!nocheck>,
+ gcc-6,
Package: systemd
Architecture: linux-any
diff -Nru systemd-234/debian/rules systemd-234/debian/rules
--- systemd-234/debian/rules 2017-07-20 13:13:42.000000000 +0000
+++ systemd-234/debian/rules 2017-08-23 22:45:44.000000000 +0000
@@ -4,6 +4,7 @@
#export DEB_BUILD_OPTIONS = nostrip
export LC_ALL = C.UTF-8
+export CC = gcc-6
include /usr/share/dpkg/default.mk
Attachment:
signature.asc
Description: Digital signature