#976494 blastem: FTBFS on arm64: z80_to_x86.c:634:21: error: invalid operands to binary - (have ‘code_ptr’ {aka ‘unsigned int *’} and ‘uint8_t *’ {aka ‘unsigned char *’})

Package:
src:blastem
Source:
blastem
Submitter:
Lucas Nussbaum
Date:
2025-02-08 17:21:07 UTC
Severity:
important
Tags:
#976494#5
Date:
2020-12-05 12:16:21 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64.

Relevant part (hopefully):
http://qa-logs.debian.net/2020/12/05/blastem_0.6.3.3-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

#976494#10
Date:
2020-12-05 21:33:27 UTC
From:
To:
Hi,

This package specifies Architecture: any (or a variant of it) but
currently FTBFS on arm64, while it is currently building fine on amd64.

If arm64 is not supposed to be supported by this package, it might be
better to specify a subset of architectures, see
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-architecture

For reference, a list of packages (and their Architecture field) falling
in this category:

bcachefs-tools_0.1+git20201025.742dbbdb-1_unstable.log:Architecture: linux-any
blastem_0.6.3.3-3_unstable.log:Architecture: any
bmtk_0.0+git20201018.018da0a+ds-1_unstable.log:Architecture: any all
bochs_2.6.11+dfsg-3_unstable.log:Architecture: any all
clippoly_0.11-9_unstable.log:Architecture: any
dune-pdelab_2.7~20200605-2_unstable.log:Architecture: any all
haskell-xml-html-qq_0.1.0.1-2_unstable.log:Architecture: any all
kafs-client_0.5-2_unstable.log:Architecture: any
libatomic-queue_0.0+git20201007.df79403-2_unstable.log:Architecture: any
libecpint_1.0.2-1_unstable.log:Architecture: any
libhmsbeagle_3.1.2+dfsg-8_unstable.log:Architecture: linux-any
libsis-base-java_18.09~pre1+git20180928.45fbd31+dfsg-1_unstable.log:Architecture: any all
libview_0.6.6-2.1_unstable.log:Architecture: any
mecat2_0.0+git20200428.f54c542+ds-2_unstable.log:Architecture: any
mes_0.22-5_unstable.log:Architecture: any
metabat_2.15-2_unstable.log:Architecture: any
mojoshader_0.0~hg1314+dfsg-1.1_unstable.log:Architecture: any
ngmlr_0.2.7+dfsg-2_unstable.log:Architecture: any
ompl_1.4.2+ds1-6_unstable.log:Architecture: any all
python-parasail_1.2.1-1_unstable.log:Architecture: any
r-cran-s2_1.0.3-1_unstable.log:Architecture: any
rust-generator_0.6.20-2_unstable.log:Architecture: any
rust-mach-o-sys_0.1.1-3_unstable.log:Architecture: any
scrappie_1.4.2-3_unstable.log:Architecture: any
siconos_4.3.0+dfsg-3_unstable.log:Architecture: any
sidplay_2.0.9-6_unstable.log:Architecture: any
spades_3.13.1+dfsg-2_unstable.log:Architecture: any
tinyarray_1.2.3-2_unstable.log:Architecture: any
xtpcpp_0.4.9-1_unstable.log:Architecture: any

Lucas

#976494#23
Date:
2025-02-08 17:19:19 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
blastem, 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 976494@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated blastem 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: Sat, 08 Feb 2025 18:04:20 +0100
Source: blastem
Architecture: source
Version: 0.6.3.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 976494 1037032 1089924
Changes:
 blastem (0.6.3.4-3) unstable; urgency=medium
 .
   * Team Upload
   * Limit to architectures supported by upstream (Closes: #976494)
 .
   [ Stéphane Blondon ]
   * re-add manpage as debian specific (Closes: #1037032)
   * Add synopsis section and reorder usage section
 .
   [ Patrice Duroux ]
   * Update debian/watch. (Closes: #1089924)
Checksums-Sha1:
 c6922bbe04afa4d8567d0edf7a6b0627580651ae 2030 blastem_0.6.3.4-3.dsc
 dc4e2716a6fa055510372b15620bf173a092cd05 13952 blastem_0.6.3.4-3.debian.tar.xz
 aefbb4ce6763d049542764c99e124aa30de50838 12488 blastem_0.6.3.4-3_source.buildinfo
Checksums-Sha256:
 62e2828a967196ac14b58b3c488b6169e28787d870050dc980758823fc724645 2030 blastem_0.6.3.4-3.dsc
 9315f403705ce7c1d95b4ca746c7bcfbea2379446783b0165ca24bf4e688da0f 13952 blastem_0.6.3.4-3.debian.tar.xz
 e7c329568050cdce8f164baf9e5e8287c6d9ac31036c05ca675dc049e959522d 12488 blastem_0.6.3.4-3_source.buildinfo
Files:
 9880acebfb1d1c66ba150789dfa2e892 2030 games optional blastem_0.6.3.4-3.dsc
 84a4534130a0bcb1b5e7331f86ff52cf 13952 games optional blastem_0.6.3.4-3.debian.tar.xz
 39673e886a025c97f914ef8963d98ff0 12488 games optional blastem_0.6.3.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmenj2ERHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrHGRAAiEZzHhxPWN2FgQ2Z9Imj3g3g//1kwrAp
aWMoN1zZAr5vu83rz2AL6J0gKmNd1Xkm3N6RdO0PDyVkA8jmEuwVFFipwXB3KhhI
IZYywMUnFqdYhVP5Nj3kwO3btiBGkdNOlcR4AvU5SuraAh01JASlxRmn4X/LQIDO
CWx6vDzAPwSXFGEFkZ8ZQbWkhljeQjZUDZPwSgP35KyGZgL6k8AEBgYyXerjmiT1
UIcCj3vvBQ5iawkdutf+UPeDm6BpVoNLzAJ1hSUJGQ/+I1ekBZ2EDf1CyzPjHCKh
+gzikcDQ4UUdj+2gD8NUku0ktKDfBaR3YHB1ukW9UPf85yekBVw9+7hCdFdzgKIw
3QdbDztjc7+NpcJi/0/8TexvUlo94mK/XXw54LEa2PEBXSvuogzfihXhRHdQ2zie
HpZ87fXoOZt/+EdoYkRFvtVo1DHjPpFDcsReotUVvD2/z+E79RyK6Sczga+d2yjZ
xLyJCmtOKQKczc7/NC3qKr4GZOXcm0emn9dMjosAMLSdaMa+08Mgfded/88b7X8q
62d7zFLs3G6+k4jSvgblmLZkIaRhbsLcL6ytfvnQzMyDVQkZL9NYYFGKaOAvHxZL
hP9aEfsKHLC0BVXON7dfjR238vZV7qHb2kefQU3eZ5W7RIr0CjqO0Bk45cdhxQIq
e3o46IwrMkA=
=m/ok
-----END PGP SIGNATURE-----