Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1270571

Bug#1107485: ampliconnoise FTCBFS: misses mpi flags

From Étienne Mollier <emollier@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1107485: ampliconnoise FTCBFS: misses mpi flags
Date 2025-11-17 23:30 +0100
Message-ID <LSfTr-dJA2-9@gated-at.bofh.it> (permalink)
References <KVk2J-95cv-3@gated-at.bofh.it> <KVk2J-95cv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1107485: ampliconnoise FTCBFS: misses mpi flags Étienne Mollier <emollier@debian.org> - 2025-11-17 23:30 +0100

csiph-web