#1121261 bochs FTCBFS: multiple upstream reasons

Package:
src:bochs
Source:
src:bochs
Submitter:
Helmut Grohne
Date:
2025-11-23 21:49:05 UTC
Severity:
normal
Tags:
#1121261#5
Date:
2025-11-23 09:23:38 UTC
From:
To:
bochs regressed cross building in version 2.8+dfsg-1. Two distinct
problems have been introduced. One is the use of AC_RUN_IFELSE for
discovering readline. Running host code is not possible during cross
compilation. However, the relevant checks do not actually have a path
returning non-success. Therefore using AC_LINK_IFELSE should provide the
same results without running the program.

Later, detection of pulseaudio support is skipped when a cross build is
detected. Pulseaudio support is not incompatible with cross compilation
and the dh_install file actually requires the relevant plugin to be
installed. Dropping the cross compilation check fixes this.

I'm attaching a patch for your convenience. Please consider forwarding
it upstream in addition to applying it for Debian.

Helmut