Source: emacs Version: 1:29.1+1-4 Severity: important Tags: ftbfs patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear Maintainer, The emacs has ftbfs issue on riscv64 maybe due to switch to gcc-13: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042185 We know the fixed/uploading is 1:28.2+1-16 but it has no chance to build on riscv64 with the version: https://buildd.debian.org/status/logs.php?pkg=emacs&arch=riscv64 But Ubuntu has confirmed the bug: https://launchpad.net/ubuntu/+source/emacs/1:28.2+1-15ubuntu1 https://bugs.launchpad.net/ubuntu/+source/gcc-12/+bug/2011487 This workaround was first suggested by Aurelien Jarno <aure...@debian.org> and I can confirm it works. Because the emacs package is very important package so the fixing is to help Debian riscv64 official rebootstrap currently. I'd suggest leaving the bug open for now to trace the issue to be fixed from upstream even if you apply this patch.:) Thanks. -- Regards, -- Bo YU
diff -Nru emacs-29.1+1/debian/changelog emacs-29.1+1/debian/changelog --- emacs-29.1+1/debian/changelog 2023-08-23 13:33:41.000000000 +0000 +++ emacs-29.1+1/debian/changelog 2023-08-26 07:46:18.000000000 +0000 @@ -1,3 +1,11 @@ +emacs (1:29.1+1-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Workaround to fix ftbfs issue with not with-native-compilation on + riscv64 from Aurelien Jarno <aure...@debian.org>. + + -- Bo YU <tsu.y...@gmail.com> Sat, 26 Aug 2023 07:46:18 +0000 + emacs (1:29.1+1-4) unstable; urgency=medium * Take emacs-el from the pgtk build too to fix arch:all-only build. diff -Nru emacs-29.1+1/debian/.gitignore emacs-29.1+1/debian/.gitignore --- emacs-29.1+1/debian/.gitignore 2023-08-23 13:33:41.000000000 +0000 +++ emacs-29.1+1/debian/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,95 +0,0 @@ -*~ -.\#* -/*-stamp -/.debhelper/ -/build-gtk/ -/build-pgtk/ -/build-lucid/ -/build-nox/ -/build-src/ -/build-x/ -/elgz-canary -/elgz-info -/emacs -/emacs-bin-common -/emacs-bin-common.README.Debian -/emacs-bin-common.debhelper.log -/emacs-bin-common.lintian-overrides -/emacs-bin-common.postinst -/emacs-bin-common.postrm -/emacs-bin-common.prerm -/emacs-bin-common.substvars -/emacs-common -/emacs-common.README.00 -/emacs-common.README.01 -/emacs-common.README.Debian -/emacs-common.debhelper.log -/emacs-common.docs -/emacs-common.links -/emacs-common.lintian-overrides -/emacs-common.postinst -/emacs-common.postinst.debhelper -/emacs-common.postrm.debhelper -/emacs-common.prerm -/emacs-common.prerm.debhelper -/emacs-common.substvars -/emacs-el -/emacs-el.debhelper.log -/emacs-el.prerm -/emacs-el.substvars -/emacs-gtk -/emacs-gtk.README.Debian -/emacs-gtk.debhelper.log -/emacs-gtk.desktop -/emacs-gtk.links -/emacs-gtk.lintian-overrides -/emacs-gtk.menu -/emacs-gtk.postinst -/emacs-gtk.postinst.debhelper -/emacs-gtk.postrm -/emacs-gtk.postrm.debhelper -/emacs-gtk.prerm -/emacs-gtk.substvars -/emacs-pgtk -/emacs-pgtk.README.Debian -/emacs-pgtk.debhelper.log -/emacs-pgtk.desktop -/emacs-pgtk.links -/emacs-pgtk.lintian-overrides -/emacs-pgtk.menu -/emacs-pgtk.postinst -/emacs-pgtk.postinst.debhelper -/emacs-pgtk.postrm -/emacs-pgtk.postrm.debhelper -/emacs-pgtk.prerm -/emacs-pgtk.substvars -/emacs-lucid -/emacs-lucid.README.Debian -/emacs-lucid.debhelper.log -/emacs-lucid.desktop -/emacs-lucid.lintian-overrides -/emacs-lucid.menu -/emacs-lucid.postinst -/emacs-lucid.postinst.debhelper -/emacs-lucid.postrm.debhelper -/emacs-lucid.prerm -/emacs-lucid.substvars -/emacs-nox -/emacs-nox.README.Debian -/emacs-nox.debhelper.log -/emacs-nox.desktop -/emacs-nox.links -/emacs-nox.lintian-overrides -/emacs-nox.menu -/emacs-nox.postinst -/emacs-nox.postinst.debhelper -/emacs-nox.postrm -/emacs-nox.postrm.debhelper -/emacs-nox.prerm -/emacs-nox.substvars -/emacs.debhelper.log -/emacs.substvars -/files -/stamp-configured -/tmp-alt-list -\#*\# diff -Nru emacs-29.1+1/debian/rules emacs-29.1+1/debian/rules --- emacs-29.1+1/debian/rules 2023-08-23 13:33:41.000000000 +0000 +++ emacs-29.1+1/debian/rules 2023-08-26 07:46:09.000000000 +0000 @@ -281,7 +281,7 @@ confflags += --without-gconf confflags += --with-mailutils # At the moment, there's no mips64el libgccjitN-dev -ifeq (,$(filter $(DEB_HOST_ARCH),mips64el s390x)) +ifeq (,$(filter $(DEB_HOST_ARCH),mips64el riscv64 s390x)) deb_native_compilation_enabled := 1 confflags += --with-native-compilation endif
signature.asc
Description: PGP signature