#1150011 dosbox-x: FTBFS on loong64, ppc64el, s390x due to FPU handling

Package:
src:dosbox-x
Source:
src:dosbox-x
Submitter:
Stephen Kitt
Date:
2026-10-05 08:41:03 UTC
Severity:
normal
Tags:
#1150011#5
Date:
2026-10-05 08:39:00 UTC
From:
To:
Source: dosbox-x
Version: 2026.10.01+dfsg-1
Severity: serious
Tags: ftbfs upstream patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-loongarch@lists.debian.org, debian-powerpc@lists.debian.org, debian-s390@lists.debian.org
User: debian-s390@lists.debian.org
Usertags: s390x
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
User: debian-loongarch@lists.debian.org
Usertags: loong64

Dear Maintainer,

The latest release of dosbox-x fails to build on a number of
architectures, with the same error:

../../../src/fpu/fpu.cpp: In function ‘void FPU_ESC1_Normal(Bitu)’:
../../../src/fpu/fpu.cpp:790:25: error: ‘FPU_FTST’ was not declared in this scope; did you mean ‘FPU_FST’?
  790 |                         FPU_FTST();
      |                         ^~~~~~~~
      |                         FPU_FST

This is probably fixed by the major FPU rework done in
https://github.com/joncampbell123/dosbox-x/pull/6629 (which feels too
big to add as a patch for now).

Regards,

Stephen