On 9/14/19 2:08 PM, Jerry James wrote:
On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha <sanjay.an...@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?

The C++ headers are missing on ppc64le.  On other architectures, they
are in /usr/include/openmpi-<arch>/openmpi/ompi/mpi/cxx.  The cxx
subdirectory does not exist in the ppc64le build.  Indeed, if you look
at build.log from the latest openmpi build on ppc64le, you'll find
this line:

checking if want C++ bindings... no

You might want to contact the openmpi package maintainers to find out
if that is deliberate or an accident.

Regards,


Indeed, this was deliberate, but should have been reverted long ago:

commit 9f7f02128769699d51527f6c67f42885c2db8648
Author: Dan HorĂ¡k <d...@danny.cz>
Date:   Thu Oct 27 09:15:40 2016 +0200

    - Temporarily disable C++ bindings on ppc64/ppc64le (#1388561)

https://bugzilla.redhat.com/show_bug.cgi?id=1388561
https://github.com/open-mpi/ompi/issues/2055#issuecomment-256487077

I'm working on getting this fixed at least in rawhide.

- Orion

--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to