Your message dated Fri, 30 Dec 2022 11:05:12 +0000
with message-id <[email protected]>
and subject line Bug#1026981: fixed in tiemu 3.04~git20220826.cda2db4+dfsg-2
has caused the Debian Bug report #1026981,
regarding tiemu: FTBFS on riscv64 (REG_A0 conflict)
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.)
--
1026981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tiemu
Version: 3.04~git20200827.f327e1c+dfsg1-2
Severity: important
Tags: ftbfs patch
Justification: fails to build from source
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected], [email protected]
Dear maintainer(s),
tiemu fails to build on riscv64 due to conflict definition of REG_A0:
```
gcc -I.. -I -DPREFIX=\"/usr\" -I. -I./core -I./core/uae -I./core/ti_hw
-I./core/ti_sw -I./core/dbg -I./sound -I./gui -I./gui/calc -I./gui/debugger
-I./ipc/dcop -I./ipc/dbus -I./ipc/com -I./kde -I./misc -DHAVE_CONFIG_H
-DSHARE_DIR=\"/usr/share/tiemu\" -DLOCALEDIR=\"/usr/share/locale\" -c -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now
-D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -DDEBUGGER -DNO_GDB
-I/usr/include/tilp2 -I/usr/include/glib-2.0
-I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/tilp2
-I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include
-I/usr/include/libusb-1.0 -I/usr/include/tilp2 -I/usr/include/glib-2.0
-I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/tilp2
-I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include
-I/usr/include/libusb-1.0 -I/usr/include/glib-2.0
-I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/riscv64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi
-I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/riscv64-linux-gnu
-I/usr/include/atk-1.0 -pthread -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/lib/riscv64-linux-gnu/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/riscv64-linux-gnu -I/usr/include/atk-1.0 -pthread
-I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
core/engine.c -o core/engine.o
In file included from /usr/include/signal.h:316,
from /usr/include/glib-2.0/glib/gbacktrace.h:38,
from /usr/include/glib-2.0/glib.h:36,
from core/engine.c:35:
./core/ti_sw/registers.h:36:5: error: expected identifier before numeric
constant
36 | REG_A0, REG_A1, REG_A2, REG_A3,
| ^~~~~~
make[3]: *** [Makefile:300: core/engine.o] Error 1
```
By default REG_A0 is present on RISC-V environment. I've included a patch that
undefines REG_A0 before enum declaration, fixing FTBFS. If more help is needed,
please let me know.
Cheers,
Eric
--- a/src/core/ti_sw/registers.h
+++ b/src/core/ti_sw/registers.h
@@ -32,6 +32,10 @@
REG_D4, REG_D5, REG_D6, REG_D7,
} Ti68kDataRegister;
+#ifdef __riscv
+#undef REG_A0
+#endif
+
typedef enum {
REG_A0, REG_A1, REG_A2, REG_A3,
REG_A4, REG_A5, REG_A6, REG_A7,
--- End Message ---
--- Begin Message ---
Source: tiemu
Source-Version: 3.04~git20220826.cda2db4+dfsg-2
Done: Andreas B. Mundt <[email protected]>
We believe that the bug you reported is fixed in the latest version of
tiemu, 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.
Andreas B. Mundt <[email protected]> (supplier of updated tiemu 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: SHA512
Format: 1.8
Date: Fri, 30 Dec 2022 11:36:41 +0100
Source: tiemu
Architecture: source
Version: 3.04~git20220826.cda2db4+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Andreas B. Mundt <[email protected]>
Closes: 1026981
Changes:
tiemu (3.04~git20220826.cda2db4+dfsg-2) unstable; urgency=medium
.
* Fix FTBFS on riscv64 (closes: #1026981). Thanks to Eric Long
<[email protected]> for the patch.
Checksums-Sha1:
f01cbe76c1259a28723514f70c76a41683eb1260 2267
tiemu_3.04~git20220826.cda2db4+dfsg-2.dsc
86aee56bf6520da12d3cf54850152216250ab7bd 8564
tiemu_3.04~git20220826.cda2db4+dfsg-2.debian.tar.xz
b26bc9bb52c2d5f0c80a4cd9f6dfabf0a2e77ec0 14156
tiemu_3.04~git20220826.cda2db4+dfsg-2_amd64.buildinfo
Checksums-Sha256:
bc3f5a265b1e9095ff0b45bd08bc0c27cc10e295219ccd0f30ca64be6edf013d 2267
tiemu_3.04~git20220826.cda2db4+dfsg-2.dsc
4cd7022ec7ea173ca47c14fe866c252e974e87dabcc87f8554ca15531fea7faf 8564
tiemu_3.04~git20220826.cda2db4+dfsg-2.debian.tar.xz
3c96d554a305c874f8248d568ed0fe4a30d5259ea5abcc6996b42b5d383efcb5 14156
tiemu_3.04~git20220826.cda2db4+dfsg-2_amd64.buildinfo
Files:
7c2935f2a487894a3b30b18a565ca609 2267 math optional
tiemu_3.04~git20220826.cda2db4+dfsg-2.dsc
052b2d3ba10d3cf93190b8bd26ed4a04 8564 math optional
tiemu_3.04~git20220826.cda2db4+dfsg-2.debian.tar.xz
fad7aff6cd7aaf46ca49f904c6be6b25 14156 math optional
tiemu_3.04~git20220826.cda2db4+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEk4pc7h4pDeJV2ayYsB/qhGF7WG0FAmOuwJ8ACgkQsB/qhGF7
WG2lOQ/+Mc201qEvhDqhMXObzqugzinMOebXkYZcQOlhoRXbaLm2G+VRlUhlJsbK
MjLQ3vWScIfcZevRuDpeG66m7Ga6s9D4E5pAUAU8g64ePz8LRFXBe7/Qn6lxdzrQ
YHlwIqlWBFgDK2yfpSDOEXphazh403pgtAib4CmeRKOX1s7Uzi5KL1R/p7cUJcf0
0KejllISXQLGBxPW5lHA75MpcPrEfr3XTUasC7DRSub4EH8eIQgEgIHYQRGxTnTn
JE+wNzSjeQJUZ1A0NAUH1NhzKzsVzFIBgZj6X2MVj5A6GiqpM/oykcxZSoO8v2Id
Gj0aGOBnl2s6/abHgqOom61wn77tZowFcgQLaZsRzoHG3R2QAoKByjxII1xdybTO
AlIxlgoc5bU18tFvQif1jZECPF8lS9CB9FejumuUraMQeXPJy81bzYvv+BAASnBw
lVCGIEXahHFGorTTH79CKZJR2/RuRil5/MiBOxupRhiz2UGSGuYdcTgBHz20V3Jo
M/qL0G9+hbfAucZyDKuQs5Y9PCL098OG8oDR5kPVDz2OwBbIKZSOxYjfpMnJPIpv
giAyR0xONwix4MVpismClNmraJ1VANYN/XDxydwa46RapTZ14hIJyi1aJQbtnbsj
XU+d/bfy/lO0UyYqOPh6uQljZziy5xbe92Y2H8Msw6vjKpj+j5c=
=6Vtq
-----END PGP SIGNATURE-----
--- End Message ---