#1010148 openmsx: FTBFS on riscv64

Package:
openmsx
Source:
openmsx
Description:
MSX emulator that aims for perfection
Submitter:
Bo YU
Date:
2022-06-13 21:42:03 UTC
Severity:
normal
Tags:
#1010148#5
Date:
2022-04-25 10:33:51 UTC
From:
To:
Dear Maintainer,

The openmsx_17.0-2 has a ftbfs issue on riscv64 arch:

```
dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -mriscv64 Build Daemon (rv-mullvad-03) <buildd_riscv64-rv-mullvad-03@buildd.debian.org> -B -rfakeroot
dpkg-buildpackage: info: source package openmsx
dpkg-buildpackage: info: source version 17.0-2
dpkg-buildpackage: info: source distribution unstable
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture riscv64
fakeroot debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_testdir
dh_testroot
/usr/bin/make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Using Python: python3
Unsupported or unrecognised CPU "riscv64"
build/main.mk:126: *** No platform specified using OPENMSX_TARGET_CPU and OPENMSX_TARGET_OS and autodetection of local platform failed.  Stop.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:15: override_dh_auto_clean] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2022-04-22T12:03:01Z
```

The full buildd log is:

https://buildd.debian.org/status/fetch.php?pkg=openmsx&arch=riscv64&ver=17.0-2&stamp=1650628993&raw=0

#1010148#12
Date:
2022-04-25 10:54:00 UTC
From:
To:

#1010148#17
Date:
2022-04-25 11:02:11 UTC
From:
To:
Dear Maintainer,

This is my patch for solving openmsx ftbfs on riscv64 arch.
And I can build riscv64 debian package locally with it.
If you need me do test about openmsx on riscv64, please tell me.
I have real riscv64 hardware by hand:)

#1010148#22
Date:
2022-04-25 11:07:02 UTC
From:
To:
Dear Maintainer,

sorry, I don't know why can attach patch if `repotbug --mutt`?
send patch again.

#1010148#29
Date:
2022-04-27 20:39:41 UTC
From:
To:
FYI, this has been already fixed upstream and the next release will
incorporate the fix. It is expected within a few weeks.

Op 25-04-2022 om 13:07 schreef Bo YU:

#1010148#34
Date:
2022-04-30 18:09:08 UTC
From:
To:
Thanks for the patch. I'm on vacation at the moment. I'll upload it after next
week, unless the new release is out sooner, in which case I'll upload that
which apparently also fixes this problem.

#1010148#39
Date:
2022-05-03 04:23:40 UTC
From:
To:
Hi,

Thank you also. The damn gmail move email from @debian.org to spam automatically :(

There I noticed the same ftbfs for openmsx-debugger:

https://buildd.debian.org/status/package.php?p=openmsx-debugger&suite=sid

I will compile it locally with one-line patch and send it for you if everything
is ok.

BR,
Bo

#1010148#44
Date:
2022-05-03 23:51:20 UTC
From:
To:
‌

Hi,

Sorry if I don't answer the good way, I'm new in patch contribution of Debian.

‌Here is a patch for OpenMSX 17.0 on RISCV64, not specific to Debian. in the hope it can help you.

Regards.

#1010148#49
Date:
2022-05-04 01:56:36 UTC
From:
To:
The Debian baseline is rv64gc and is the default, so I don’t understand
why this is here?

Jess

#1010148#54
Date:
2022-05-04 19:16:51 UTC
From:
To:
‌

Thank you for the answer,, sorry for the repost, I wasn't aware of this rule, is here a second version of the patch.
 
Olivier
 
De : "Jessica Clarke"
A : olivier-gondouin@laposte.net,debian-riscv@lists.debian.org,1010148@bugs.debian.org
Envoyé: mercredi 4 Mai 2022 03:56
Objet : Re: Bug#1010148: openmsx: FTBFS on riscv64
 

The Debian baseline is rv64gc and is the default, so I don’t understand
why this is here?

Jess
 

#1010148#59
Date:
2022-06-13 21:39:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
openmsx, 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 1010148@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Wijnen <wijnen@debian.org> (supplier of updated openmsx 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 13 Jun 2022 21:41:00 +0200
Source: openmsx
Architecture: source
Version: 18.0-1
Distribution: unstable
Urgency: medium
Maintainer: Bas Wijnen <wijnen@debian.org>
Changed-By: Bas Wijnen <wijnen@debian.org>
Closes: 1010148
Changes:
 openmsx (18.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * Build system now supports riscv64. Closes: #1010148
   * Update standards version to 4.6.1. No changes needed.
Checksums-Sha1:
 4bcad8a68d017b768a6e90fbb277063afc2754b6 2141 openmsx_18.0-1.dsc
 4ddfff0fe7bceed9a836be3f9daf4b5b98c405f2 5759586 openmsx_18.0.orig.tar.gz
 da0bb73405ec87253dbb93a5e8a99680f0d72a7f 13400 openmsx_18.0-1.debian.tar.xz
Checksums-Sha256:
 d9024221ebc89a50582abd886485cddc20322a3339d4f0f80277449fec1eb092 2141 openmsx_18.0-1.dsc
 46af192daa55360e8ebbd260abde9973323ba7c150caa4eaa58cc9068218a903 5759586 openmsx_18.0.orig.tar.gz
 b9a17a8414e7042574556f8e80d2dda71db602c63c46eca623442ef7f4507195 13400 openmsx_18.0-1.debian.tar.xz
Files:
 053631a995dba1ef2b982e4504faca85 2141 otherosfs optional openmsx_18.0-1.dsc
 ee308ac045aec0a80acb2292ae618a0c 5759586 otherosfs optional openmsx_18.0.orig.tar.gz
 9fa36c10b44f5e234a40271fe794dc5f 13400 otherosfs optional openmsx_18.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEKI9JSvHOfJKJyDQanNF9WAfAcToFAmKnqY8SHHdpam5lbkBk
ZWJpYW4ub3JnAAoJEJzRfVgHwHE6yiwP/RA/0u1qkiVgJdbbsBnvGqSTYUCTHXYu
3TWEK5u2YfULUKktUy+Czx+SCDU3YFtNPvDVmRTivsKHaSFDnanVxSueZ/gbH/2u
bxAU95m+WmaKMdN28YGxsSfz/5WBopYKwO5AUyowUIW0QG6MtfHfbMyMKAxOf/Ob
9LjXODDMcpPdHi+kVUbfdOK7INTMYks0zV6aFHW//EgCvOq9yqrIFfVpqFBUuamJ
qhq0DGhF5EHox22w9DmHQeyCTuCRuJKc9VkowXwgvfeoOA8kaHOeC1/1D+jdiol5
zEQWDYDURqKu5nwIx2PXgjqoaU9Oiy9QSZqqta/prf2hQIttHweezZWaYvg45drD
QT+COugqQzIytx6uT6J1tdLVW6Ewoqt7VHlwjxJYRpqdRBy/FIyJLrOmismu6fSE
ZI2lRyiotbObAh5Ult8Ul71Va4RBtC0U7SRrKv4b38k0lQo/yRu4USZv8Y2Exyyq
Vvw4IPh1GiV0+z54qX/F01mDPES/io0zOLz/0xWJvEzR6E6XiwfeMl1iYxpsbVeZ
s2FY5NZjkoRleNFEOQIDBR5yXyxW5LxFZC2wQ7I+Lr6ZYX/U3a5IFcfjh1+AYqF5
jSQa0mWH8VOxFxYmtJXbIO85atw055Kzdui5FuKlm72sRmuzIRLE2/ldKbBG8YMH
zB2nNjtlJt3p
=G/q4
-----END PGP SIGNATURE-----