Bug#986929: unblock/tpu: nheko/0.7.2-3+deb11u1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock (or whatever) package nheko
nheko/bullseye FTBFS due to an ICE with gcc 10.2 (this is fixed in
gcc 10.3 which won't be in bullseye).
The workaround recommended by doko is to build with g++-9.
Interestingly, the 0.7.2-3+b1 build currently in bullseye was built with
gcc-10 10.2.1-3, so gcc-10 may have regressed between -3 and -6
Unfortunately sid already has nheko 0.8.0-1 which does ICE, too.
I've no relationship to nheko other than tripping over the ICE some time
ago ;-)
The attached minimal patch would target bullseye via tpu and avoid a
+really0.7.2 dance, if that is acceptable.
unblock nheko/0.7.2-3+deb11u1
PS: could we have a newer reportbug in buster-backports?
diff -Nru nheko-0.7.2/debian/changelog nheko-0.7.2/debian/changelog
--- nheko-0.7.2/debian/changelog 2020-12-14 22:02:58.000000000 +0100
+++ nheko-0.7.2/debian/changelog 2021-04-14 14:23:05.000000000 +0200
@@ -1,3 +1,10 @@
+nheko (0.7.2-3+deb11u1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Build with g++-9 for bullseye. (Closes: #986519)
+
+ -- Andreas Beckmann <anbe@debian.org> Wed, 14 Apr 2021 14:23:05 +0200
+
nheko (0.7.2-3) unstable; urgency=medium
* debian/control:
diff -Nru nheko-0.7.2/debian/control nheko-0.7.2/debian/control
--- nheko-0.7.2/debian/control 2020-12-14 22:01:03.000000000 +0100
+++ nheko-0.7.2/debian/control 2021-04-14 14:23:05.000000000 +0200
@@ -31,6 +31,7 @@
, qtmultimedia5-dev
, qttools5-dev
, zlib1g-dev
+ , g++-9
Standards-Version: 4.5.0
Homepage: https://github.com/Nheko-Reborn/nheko
Vcs-Git: https://salsa.debian.org/matrix-team/nheko.git
diff -Nru nheko-0.7.2/debian/rules nheko-0.7.2/debian/rules
--- nheko-0.7.2/debian/rules 2020-06-16 23:51:27.000000000 +0200
+++ nheko-0.7.2/debian/rules 2021-04-14 14:23:05.000000000 +0200
@@ -1,5 +1,8 @@
#!/usr/bin/make -f
+export CC=gcc-9
+export CXX=g++-9
+
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) $(FMTFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) $(FMTFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) $(FMTFLAGS)
Reply to: