[Pkg-pascal-devel] Can't install arm64 version of "fp-compiler" package on Buster / Bullseye, but it works on Bookworm

William Di Luigi williamdiluigi at gmail.com
Sun Dec 18 12:56:36 GMT 2022


Hello,

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:

1) Buster: doesn't work, tries to install version 3.0.4:
$ docker run -it --rm *debian:buster* sh -c 'apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install -y fp-compiler'

2) Bullseye: doesn't work, tries to install version 3.2.0:
$ docker run -it --rm *debian:bullseye* sh -c 'apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install -y fp-compiler'

3) Bookworm: it works! installs version 3.2.2:
$ docker run -it --rm *debian:bookworm* sh -c 'apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install -y fp-compiler'

So it seems that there is a problem in the package that was fixed in the
3.2.2 version.

This is the log of the installation error on bullseye:

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
Setting up fp-compiler-3.2.0:arm64 (3.2.0+dfsg-12) ...
An unhandled exception occurred at $0000000000470960:
EInvalidOp: Invalid floating point operation
  $0000000000470960
  $0000000000472FC0
  $0000000000472F04
  $0000000000470FA8
  $0000000000400EEC
  $0000000000402ACC
  $0000FFFFAA6E8E18
  $0000000000400668

dpkg: error processing package fp-compiler-3.2.0:arm64 (--configure):
 installed fp-compiler-3.2.0:arm64 package post-installation script
subprocess returned error exit status 217
dpkg: dependency problems prevent configuration of fp-compiler:arm64:
 fp-compiler:arm64 depends on fp-compiler-3.2.0 (= 3.2.0+dfsg-12); however:
  Package fp-compiler-3.2.0:arm64 is not configured yet.

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.

Thank you,
William

[1]: https://bugs.launchpad.net/ubuntu/+source/fpc/+bug/1999339
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20221218/3e5c5610/attachment.htm>


More information about the Pkg-pascal-devel mailing list