[Debian-med-packaging] Bug#1107485: ampliconnoise FTCBFS: misses mpi flags
Étienne Mollier
emollier at debian.org
Mon Nov 17 22:25:47 GMT 2025
Hi Helmut,
> ampliconnoise fails to cross build from source as it misses mpi compiler
> flags. In theory, it uses mpicc, but cross builds override CC with a
> non-mpi cross compiler and that's where flags go missing. Fundamentally,
> mpicc and cross building are incompatible. For openmpi, the solution is
> to use pkgconf, but mpich does not provide mpi-c anymore. I'm proposing
> a compromise here: Attempt to use pkgconf to add the flags, but do not
> fail when pkgconf doesn't work (e.g. on 32bit archs that use mpich).
> Then native building will continue to work everywhere (as it continues
> to use mpicc) while cross building will work for 64bit targets (where
> openmpi is used). Cross builds to 32bit architectures remain broken for
> now. What do you think?
I think that this is brillant and fair enough while lacking
better options. I am in the process of integrating your patch.
Thank you for your work on packages cross-buildability!
Have a nice day, :)
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/2, please excuse my verbosity
`- on air: Saga - The Human Condition
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20251117/97d29d0c/attachment.sig>
More information about the Debian-med-packaging
mailing list