On Fri, 13 Sep 2019 15:29:55 +0100
Ankur Sinha <sanjay.ankur(a)gmail.com> wrote:
Hello,
A tool I am trying to package is failing only on PPC somehow:
https://bugzilla.redhat.com/show_bug.cgi?id=1731487
> make[2]: Leaving directory
>
'/builddir/build/BUILD/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb-openmpi/src'
> BUILDSTDERR: error.cc: In function 'void MUSIC::error()':
> BUILDSTDERR: error.cc:36:5: error: 'MPI' has not been declared
> BUILDSTDERR: 36 | MPI::COMM_WORLD.Abort (1);
> BUILDSTDERR: | ^~~ BUILDSTDERR: error.cc: In function
> 'int MUSIC::getRank()': BUILDSTDERR: error.cc:70:9: error: 'MPI'
> has not been declared BUILDSTDERR: 70 | if
> (MPI::Is_initialized ()) BUILDSTDERR: | ^~~
> BUILDSTDERR: error.cc:71:14: error: 'MPI' has not been declared
> BUILDSTDERR: 71 | return MPI::COMM_WORLD.Get_rank ();
> BUILDSTDERR: | ^~~
> BUILDSTDERR: make[2]: *** [Makefile:739: libmusic_la-error.lo]
> Error 1
On all other arches, it builds just fine, so there's something
different with the openmpi package on ppc here. Any ideas?
can you try local (or mock) build on the Fedora public devel guest?
Seems something is wrong with MPI detection in configure
...
checking for rts_get_personality... no
checking for ompi_comm_free... yes
checking for MPI::Init_thread method... no
checking whether /usr/bin/python3 version is >= 2.6... yes
checking for /usr/bin/python3 version... (cached) 3.8
...
so you need to check config.log for the details why.
Dan