Re: Unable to update openmpi in MacOSX Version 11.6.3
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
On 2022-03-01 09:15, [email protected] wrote: > On 2022-02-28 13:08, James Kolata wrote: >> Hi, I submitted this via fink-beginners on 2/12/22. I haven’t yet >> heard if there is a fix. The same is true of a problem with gcc9 >> update submitted on >> 1/4/22 and again on 1/20/22. >> >> Making all in mpi/cxx >> CXX mpicxx.lo >> /opt/sw/bin/flag-sort: /usr/bin/clang++ -DHAVE_CONFIG_H >> -DOMPI_BUILDING_CXX_BINDINGS_LIBRARY=1 -DOMPI_SKIP_MPICXX=1 -O3 >> -DNDEBUG -finline-functions -MT mpicxx.lo -MD -MP -MF .deps/mpicxx.Tpo >> -c mpicxx.cc [1] -fno-common -DPIC -o .libs/mpicxx.o -I. >> -I../../../opal/include -I../../../orte/include >> -I../../../ompi/include -I../../../oshmem/include >> -I../../../opal/mca/hwloc/hwloc191/hwloc/include/private/autogen >> -I../../../opal/mca/hwloc/hwloc191/hwloc/include/hwloc/autogen >> -I../../.. >> -I/opt/sw/src/fink.build/openmpi-1.10.7-6/openmpi-1.10.7/opal/mca/event/libevent2021/libevent >> -I/opt/sw/src/fink.build/openmpi-1.10.7-6/openmpi-1.10.7/opal/mca/event/libevent2021/libevent/include >> -I/opt/sw/include >> In file included from mpicxx.cc:22 [2]: >> In file included from ./mpicxx.h:38: >> In file included from >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/map:481: >> In file included from >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tree:14: >> In file included from >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:419: >> In file included from >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:14: >> In file included from >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:420: >> In file included from >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37: >> ../../../version:1:3: error: invalid preprocessing directive >> # Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. >> ^ >> ../../../version:2:3: error: invalid preprocessing directive >> # Copyright (c) 2008-2011 Cisco Systems, Inc. All rights reserved. >> ^ >> ../../../version:3:3: error: invalid preprocessing directive >> # Copyright (c) 2011 NVIDIA Corporation. All rights reserved. >> ^ >> ../../../version:4:3: error: invalid preprocessing directive >> # Copyright (c) 2013 Mellanox Technologies, Inc. >> ^ > >> Also include the following system information: >> Package manager version: 0.45.99.git >> Distribution version: selfupdate-rsync Mon Feb 28 09:55:57 2022, 11.3, >> x86_64 >> Trees: local/main stable/main local/injected >> Xcode.app: 13.2.1 >> Xcode command-line tools: 13.2.0.0.1.1637719136 >> openmpi-1.10.7-6 is set to build with only one job. > > Someone in the c++ standards group decided that having a header called > <version> was a good idea. And if a package has a file 'version' (for > storing the pkg version), then it causes a failure such as this. > > I'm testing a fix. I pushed a fix and openpmi now builds for me on macOS12. Hanspeter _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users