Your message dated Wed, 14 May 2025 16:38:33 +0000
with message-id <e1uff7p-00g0nc...@fasolo.debian.org>
and subject line Bug#1104825: fixed in mame 0.277+dfsg.1-4
has caused the Debian Bug report #1104825,
regarding mame: FTBFS on riscv64: g++: error: unrecognized command-line option
‘'-m64'
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 ow...@bugs.debian.org
immediately.)
--
1104825: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104825
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mame
Version: 0.277+dfsg.1-3
Severity: serious
Tags: ftbfs patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear Maintainer,
now mame has one ftbfs issue since 0.277+dfsg.1-1 due to:
```
Precompiling src/emu/emu.h...
g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/mame-0.277+dfsg.1=.
-fstack-protector-strong -Wformat -Werror=format-security -g0 -O2
-Wno-error=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/mame-0.277+dfsg.1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -MP -DNDEBUG
-DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_DLL -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1
-DLUA_COMPAT_5_2 -DPTR64=1 -I"../../../../../src/osd"
-I"../../../../../src/emu" -I"../../../../../src/lib/util" -m64 -std=c++17
-pipe -O1 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align
-Wformat-security -Wundef -Wwrite-strings -Wno-conversion -Wno-sign-compare
-Wno-error=deprecated-declarations -Wno-error=unused-result
-Wno-error=array-bounds -Wno-error=attributes -Wno-error=stringop-truncation
-Wno-stringop-overflow -Wno-nonnull -Wno-stringop-overread
-Wno-error=maybe-uninitialized -Wno-error=uninitialized -m64 -std=c++17
-Woverloaded-virtual -Wvla -Wimplicit-fallthrough -Wno-xor-used-as-pow
-Wsuggest-override -x c++-header -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H
-DFLAC__NO_DLL -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DPTR64=1
-I"../../../../../src/osd" -I"../../../../../src/emu"
-I"../../../../../src/lib/util" -o
"../../../../linux_gcc/obj/x64/Release/emu.h.gch" -c
"../../../../../src/emu/emu.h"
g++: error: unrecognized command-line option ‘-m64’
g++: error: unrecognized command-line option ‘-m64’
make[4]: *** [precompile.make:320:
../../../../linux_gcc/obj/x64/Release/emu.h.gch] Error 1
```
To see the full buildd log:
https://buildd.debian.org/status/fetch.php?pkg=mame&arch=riscv64&ver=0.277%2Bdfsg.1-3&stamp=1746406180&raw=0
It seems it need DRC_C_BACKEND on riscv64 currently and I have tested
it on my localy Unmatched board.
BTW, I have reverted the commit[0] on risv64 because it did not fix the FTBFS
on riscv64, but I am not confident about this, so please review it
carefully and let me know any issues.
[0]:
https://salsa.debian.org/games-team/mame/-/commit/d15e23dcba86be55c46352434b9c097b722cce87
--
Regards,
--
Bo YU
diff -Nru mame-0.277+dfsg.1/debian/changelog mame-0.277+dfsg.1/debian/changelog
--- mame-0.277+dfsg.1/debian/changelog 2025-05-04 20:28:24.000000000 +0000
+++ mame-0.277+dfsg.1/debian/changelog 2025-05-06 01:18:41.000000000 +0000
@@ -1,3 +1,10 @@
+mame (0.277+dfsg.1-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix fbtfs issue on riscv64. (Closes: #-1)
+
+ -- Bo YU <vi...@debian.org> Tue, 06 May 2025 01:18:41 +0000
+
mame (0.277+dfsg.1-3) unstable; urgency=medium
* Restore riscv64 part of a patch that was accidentally dropped during
diff -Nru mame-0.277+dfsg.1/debian/patches/ftbfs_alpha_ia64.patch
mame-0.277+dfsg.1/debian/patches/ftbfs_alpha_ia64.patch
--- mame-0.277+dfsg.1/debian/patches/ftbfs_alpha_ia64.patch 2025-05-04
20:28:24.000000000 +0000
+++ mame-0.277+dfsg.1/debian/patches/ftbfs_alpha_ia64.patch 2025-05-06
01:18:41.000000000 +0000
@@ -3,11 +3,9 @@
Forwarded: no
Last-Update: 2025-03-04
-Index: mame/makefile
-===================================================================
---- mame.orig/makefile
-+++ mame/makefile
-@@ -193,6 +193,14 @@ else ifneq ($(filter arm%,$(UNAME_M)),)
+--- a/makefile
++++ b/makefile
+@@ -193,6 +193,14 @@
PLATFORM := arm
else ifneq ($(filter arm%,$(UNAME_P)),)
PLATFORM := arm
@@ -22,7 +20,7 @@
else ifneq ($(filter powerpc,$(UNAME_P)),)
PLATFORM := powerpc
else ifneq ($(filter riscv64%,$(UNAME_M)),)
-@@ -409,6 +417,27 @@ else
+@@ -409,6 +417,33 @@
BIGENDIAN := 1
endif
endif
@@ -47,14 +45,18 @@
+ FORCE_DRC_C_BACKEND := 1
+endif
+endif
++ifeq ($(findstring riscv64,$(UNAME)),riscv64)
++ARCHITECTURE :=
++ifndef FORCE_DRC_C_BACKEND
++ FORCE_DRC_C_BACKEND := 1
++endif
++endif
ifneq (,$(findstring s390x,$(UNAME)))
BIGENDIAN := 1
endif
-Index: mame/scripts/genie.lua
-===================================================================
---- mame.orig/scripts/genie.lua
-+++ mame/scripts/genie.lua
-@@ -1089,6 +1089,18 @@ if (_OPTIONS["PLATFORM"]=="arm64") then
+--- a/scripts/genie.lua
++++ b/scripts/genie.lua
+@@ -1089,6 +1089,12 @@
}
end
@@ -62,12 +64,6 @@
+ defines {
+ "PTR64=1",
+ }
-+end
-+
-+if (_OPTIONS["PLATFORM"]=="riscv64") then
-+ defines {
-+ "PTR64=1",
-+ }
+end
+
local subdir
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: mame
Source-Version: 0.277+dfsg.1-4
Done: Jordi Mallach <jo...@debian.org>
We believe that the bug you reported is fixed in the latest version of
mame, 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 1104...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jo...@debian.org> (supplier of updated mame 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 14 May 2025 17:50:55 +0200
Source: mame
Architecture: source
Version: 0.277+dfsg.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jo...@debian.org>
Closes: 1104825
Changes:
mame (0.277+dfsg.1-4) unstable; urgency=medium
.
* Enable FORCE_DRC_C_BACKEND for riscv64, as was done for alpha and ia64
in the past (closes: #1104825).
Checksums-Sha1:
c6ed17fd395b40473f356e0aef6fb77242a870b3 2547 mame_0.277+dfsg.1-4.dsc
2fff81a935828ab9881fe213f34f901f79e33eaf 70028
mame_0.277+dfsg.1-4.debian.tar.xz
6c46e9dcf7b1b9e35fb0b3a6ad94c7d1d0be9388 20495
mame_0.277+dfsg.1-4_amd64.buildinfo
Checksums-Sha256:
e88882bed886fee92afe22c1aab3ae44efaabfe2902aaf064ff785446bfacd19 2547
mame_0.277+dfsg.1-4.dsc
fc7dcbbb435b2cc660c7296f8d07cfbdec00bc51d9ffa188f4e0e39b41458893 70028
mame_0.277+dfsg.1-4.debian.tar.xz
e191d090abb8cb58ace21d693d8fbd13f2f68d5812ae0b8cfc02f17504f264e1 20495
mame_0.277+dfsg.1-4_amd64.buildinfo
Files:
26aa999d01d1c7f8cb00c10e42aedb8d 2547 games optional mame_0.277+dfsg.1-4.dsc
39c8ce0d969da94c6e97c7eedbb9f727 70028 games optional
mame_0.277+dfsg.1-4.debian.tar.xz
c9393e73522eff8c4db0345037f09aac 20495 games optional
mame_0.277+dfsg.1-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6BdUhsApKYN8KGoWJVAvb8vjywQFAmgkwcIACgkQJVAvb8vj
ywSP9hAAjUgltxkq+BfaYxyyXNIDTo1y97Wz0HmGPmdWdTcgdOIw3Z23LC/t99t1
Kd0b9TlVQHd0NKfa5/jCnyd4+9bV6GrSJbTDl6FKbXdw4fji8aWoN8SrJ+YkuPqH
w/rYDdbWQR3jhShqSQhh5mZE9lXreh9IO3jWnUFWt1/W9o4m2w8cCQqIh01zNyC/
ptlQdJcmtZDx0WBiFzOr46YOeRNSEqMaEBCkYECo+hNX8y9vzasPYoXQA5h3CQmW
TZE3qrWNwn4YOPpuZ7DhUwGlmPYTzkq5AVBJTDAm7anZcoj7KdKDpHq1VVt3+NRA
d6RmDdxyZ1e8QsXtvKdSfgZVH282lozn9uXbgplb2YyNsVc/biQtH9lzGx/t3pIg
F6HSCsHEMwbSuZsbz3x0R3ZAgMao4vO2IQ5eet14QFEeaPTy854knP/Q7RCT9qNj
2lcJmLuYyz5JP5LnfYHjK7Ak7fgwnQrF4IAFvAFtmTFC+LbID9MLphUOn8S5u2Op
62Fl4i9zobL9Y37rOVrc642JA1ZZaaoUjg/58a55y8shqwvGb4JNkI14LCCQvGRy
LKQ/LOOPBjXUpLFTdcv2EGO0sXUsnf9nNRuV4eRPlEsvKJdKtx4r2t+zVlEoxQWt
+ZYpZAoNQSS90NWw1Udev1wtCywqr9gWzrW8jAWij/tMeYv85J4=
=TR7i
-----END PGP SIGNATURE-----
pgp4NsOa80ioq.pgp
Description: PGP signature
--- End Message ---