<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hello,<div><br></div><div>I am trying to install "fp-compiler" on a clean slate installation of Debian / Ubuntu. I am using Docker (from a M1 macbook) creating a clean container every time for reproducibility, and I am testing these different scenarios:<br></div><div><br></div><div>1) Buster: doesn't work, tries to install version 3.0.4:</div><div><font face="monospace">$ docker run -it --rm <b>debian:buster</b> sh -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y fp-compiler'<br></font></div><div><br></div><div>2) Bullseye: doesn't work, tries to install version 3.2.0:</div><div><font face="monospace">$ docker run -it --rm <b>debian:bullseye</b> sh -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y fp-compiler'<br></font></div><div><br></div><div>3) Bookworm: it works! installs version 3.2.2:</div><div><font face="monospace">$ docker run -it --rm <b>debian:bookworm</b> sh -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y fp-compiler'<br></font></div><div><br></div><div>So it seems that there is a problem in the package that was fixed in the 3.2.2 version.</div><div><br></div><div>This is the log of the installation error on bullseye:</div><div><br></div><div><font face="monospace">update-alternatives: using /usr/lib/aarch64-linux-gnu/fpc/3.2.0 to provide /usr/lib/aarch64-linux-gnu/fpc/default (fp-utils) in auto mode<br>Setting up fp-compiler-3.2.0:arm64 (3.2.0+dfsg-12) ...<br>An unhandled exception occurred at $0000000000470960:<br>EInvalidOp: Invalid floating point operation<br>  $0000000000470960<br>  $0000000000472FC0<br>  $0000000000472F04<br>  $0000000000470FA8<br>  $0000000000400EEC<br>  $0000000000402ACC<br>  $0000FFFFAA6E8E18<br>  $0000000000400668<br><br>dpkg: error processing package fp-compiler-3.2.0:arm64 (--configure):<br> installed fp-compiler-3.2.0:arm64 package post-installation script subprocess returned error exit status 217<br>dpkg: dependency problems prevent configuration of fp-compiler:arm64:<br> fp-compiler:arm64 depends on fp-compiler-3.2.0 (= 3.2.0+dfsg-12); however:<br>  Package fp-compiler-3.2.0:arm64 is not configured yet.<br></font></div><div><br></div><div><font face="arial, sans-serif">I would appreciate any help to point me in a direction to have this running on Buster / Bullseye on ARM64. I am willing to help to patch the package so that it works in those versions, my main need (for my workflow) is to have this working on Ubuntu 20.04.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thank you,</font></div><div><font face="arial, sans-serif">William</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">[1]: </font><a href="https://bugs.launchpad.net/ubuntu/+source/fpc/+bug/1999339" target="_blank">https://bugs.launchpad.net/ubuntu/+source/fpc/+bug/1999339</a></div></div>
</div></div>
</div></div>