[MacPorts] #27247: openmpi +gcc45 won't build in Mac OS X 10.5.8
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: openmpi -------------------------------+-------------------------------------------- I've been trying to build openmpi using macports. The command: % sudo port install openmpi +gcc45 Works fine on another machine with Mac OS X 10.6.4 but fails with 10.5.8 (Xcode 3.1.4). I've tried this on two separate machines with 10.5.8 with the same result and looked through most of the newer tickets without success. The log (attached) shows the build does go very far and there are a number of warnings and errors in the configuration log. I'm not experienced enough to know how to fix these. Some highlights: 1) --with-xgrid not recognized 2) why does build proceed with gcc-4.0 when gcc45 is an install prerequisite? 3) errors for a number of missing includes: vtf3.h BPatch.h f2c.h jvmti.h papi.h libcpc.h malloc.h ctool/ctool.h 4) warnings with: -fno-strict-aliasing added to CFLAGS -finline-functions added to CXXFLAGS -fvisibility=hidden added to CFLAGS The build proceeds to: :info:build CCLD libopen-pal.la :info:build CCLD libopen-pal-lt.la :info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/e vent/.libs/libevent.a: Resource temporarily unavailable :info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/m ca/base/.libs/libmca_base.a: Resource temporarily unavailable :info:build make[2]: *** [libopen-pal.la] Error 1 I've tried to build with the default: openmpi +gcc44 but get a similar errors -- Ticket URL: <https://trac.macports.org/ticket/27247> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: openmpi -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mww@… Old description:
I've been trying to build openmpi using macports. The command:
% sudo port install openmpi +gcc45
Works fine on another machine with Mac OS X 10.6.4 but fails with 10.5.8 (Xcode 3.1.4). I've tried this on two separate machines with 10.5.8 with the same result and looked through most of the newer tickets without success.
The log (attached) shows the build does go very far and there are a number of warnings and errors in the configuration log. I'm not experienced enough to know how to fix these. Some highlights:
1) --with-xgrid not recognized 2) why does build proceed with gcc-4.0 when gcc45 is an install prerequisite? 3) errors for a number of missing includes: vtf3.h BPatch.h f2c.h jvmti.h papi.h libcpc.h malloc.h ctool/ctool.h 4) warnings with: -fno-strict-aliasing added to CFLAGS -finline-functions added to CXXFLAGS -fvisibility=hidden added to CFLAGS
The build proceeds to:
:info:build CCLD libopen-pal.la :info:build CCLD libopen-pal-lt.la :info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/e vent/.libs/libevent.a: Resource temporarily unavailable :info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/m ca/base/.libs/libmca_base.a: Resource temporarily unavailable :info:build make[2]: *** [libopen-pal.la] Error 1
I've tried to build with the default: openmpi +gcc44 but get a similar errors
New description: I've been trying to build openmpi using macports. The command: {{{ % sudo port install openmpi +gcc45 }}} Works fine on another machine with Mac OS X 10.6.4 but fails with 10.5.8 (Xcode 3.1.4). I've tried this on two separate machines with 10.5.8 with the same result and looked through most of the newer tickets without success. The log (attached) shows the build does go very far and there are a number of warnings and errors in the configuration log. I'm not experienced enough to know how to fix these. Some highlights: 1. --with-xgrid not recognized 1. why does build proceed with gcc-4.0 when gcc45 is an install prerequisite? 1. errors for a number of missing includes: vtf3.h BPatch.h f2c.h jvmti.h papi.h libcpc.h malloc.h ctool/ctool.h 1. warnings with: * fno-strict-aliasing added to CFLAGS * finline-functions added to CXXFLAGS * fvisibility=hidden added to CFLAGS The build proceeds to: {{{ :info:build CCLD libopen-pal.la :info:build CCLD libopen-pal-lt.la :info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/e vent/.libs/libevent.a: Resource temporarily unavailable :info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/m ca/base/.libs/libmca_base.a: Resource temporarily unavailable :info:build make[2]: *** [libopen-pal.la] Error 1 }}} I've tried to build with the default: openmpi +gcc44 but get a similar errors -- -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: openmpi -------------------------------+-------------------------------------------- Comment(by jcharris@…): I have encountered a very similar error on a Mac Pro running OS X Server 10.5.8 (Xcode 3.1.2). In my case, I am just building openmpi with gcc44, but I believe the situation is similar. I don't think any of the 4 messages mentioned are critical to building openmpi. In my case, the "resource temporarily unavailable" was: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/orte/mca/ess/.libs/libmca_ess.a' which I can confirm exists. In my case, attempting to install it three times in a row, it eventually proceeds (i.e., sometimes "sudo port install openmpi" works, sometimes it doesn't). I can tell that during the build process multiple cores are being used in parallel, suggesting to me that perhaps at some point two processes are trying to access the file at the same time, thus explaining the random nature of whether it works or not, but I can't confirm this, and a fix to this problem would be most welcome. It is frustrating to uninstall something that was working, and reinstall, and suddenly have problems. -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: openmpi -------------------------------+-------------------------------------------- Comment(by serra@…): I have had the same issue and agree with jcharris, macports eventually worked on the 3rd try. In my case I was installing openmpi +gcc45. -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: openmpi -------------------------------+-------------------------------------------- Comment(by rbeyer@…): Just supporting previous posters. Attempting to port install openmpi (without a variant specifier) on my 10.5.8 system also resulted in several of these 'Resource temporarily unavailable' errors. I tried uninstalling and cleaning several times but kept getting these errors. Upon finally finding this ticket, I just tried repeatedly port installing, and it took three times of issuing the same command (port install) which got farther every time, and finally installed. -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: leopard | Port: openmpi -------------------------------+-------------------------------------------- Changes (by jmr@…): * keywords: => leopard -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: leopard | Port: openmpi -------------------------------+-------------------------------------------- Comment(by takeshi@…): I encountered the same problem with +g95, which means that the choice of the fortran compiler is not an issue. I was able to successfully complete the build process with {{{ $ sudo port -d install openmpi +g95 use_parallel_build=no }}} With the patch I was able to build +gcc44 (default_variants). -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 -------------------------------+-------------------------------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: leopard | Port: openmpi -------------------------------+-------------------------------------------- Changes (by jmr@…): * cc: takeshi@… (added) Comment: Is this still needed with 1.5.5? If so, you should just go ahead and commit the fix. -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27247: openmpi +gcc45 won't build in Mac OS X 10.5.8 ---------------------------+--------------------- Reporter: ksnelgrove@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: leopard Port: openmpi | ---------------------------+--------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: Should be fixed now with the new port groups. -- Ticket URL: <https://trac.macports.org/ticket/27247#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts