Fix it adding to src_prepare sed -i 's/fsqrt/fixsqrt/g;s/fcos/fixcos/g;s/fsin/fixsin/' src/distor.c src/fighter.c src/palette.c See: https://bugs.debian.org/916037 Reproducible: Always
It would help to have a full build.log and know which version it fails with.
Could you clarify when it started failing (with what version of allegro), and give a log of the exact failure?
(In reply to Sam James from comment #1) > It would help to have a full build.log and know which version it fails with. Build error is exactly the same as in debian bug 916037: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: distor.o: in function `create_wave_line.constprop.0': distor.c:(.text+0xb7): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: distor.c:(.text+0xc0): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: distor.c:(.text+0x128): undefined reference to `fsin' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: distor.c:(.text+0x137): undefined reference to `fcos' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: distor.c:(.text+0x24e): undefined reference to `fcos' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fighter.o: in function `move_fighters': fighter.c:(.text+0x495): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fighter.c:(.text+0x49e): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fighter.c:(.text+0x4cd): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fighter.c:(.text+0x4d6): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fighter.c:(.text+0x57e): undefined reference to `fsqrt' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: fighter.o:fighter.c:(.text+0x587): more undefined references to `fsqrt' follow collect2: error: ld returned 1 exit status I may have to use pybugz for reporting, my web browser setup is far too restrictive (that's why I prefer copy - paste). About exact version of allegro involving compile issue, I don't remember, but as this report opened on the 20200404, I assume a new version of allegro was marked stable some days before this report.
Issue seems from this commit: https://github.com/gentoo/gentoo/commit/3be906b6d1bf00080db368eff9cef997604e4862 allegro-4.4.2-glibc228.patch was truncated from all AL_ALIAS liquidwar still uses them and the submitted sed line just unaliases calls.
If this is already failing with 4.4.2-r2 then it certainly does not block stabilisation of 4.4.3.1.
Especially since this package isn't even stable.
There was a new liquidwar-5.6.5 release last December, and it fixes this issue upstream. Could we do a version bump please? I'll attach the updated ebuild and underlink patch. The overflow fix patch is not needed anymore. (Sorry, not sure if I should create a separate issue for this.) Also #676068 is a dup of this.
Created attachment 661605 [details] liquidwar-5.6.5.ebuild
Created attachment 661608 [details, diff] liquidwar-5.6.5-underlink.patch
This bug (and #676068) are fixed now that liquidwar-5.6.5 is in the main tree.