[MacPorts] #18959: openmpi 1.3.1 build error
#18959: openmpi 1.3.1 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: openmpi ------------------------------------------+--------------------------------- I see the following build error with openmpi 1.3.1: Running Mac OS X 10.5.6 Intel. Xcode 3.1.2. Building with the g95 variant works though. {{{ $ sudo port install openmpi ---> Fetching openmpi ---> Verifying checksum(s) for openmpi ---> Extracting openmpi ---> Configuring openmpi ---> Building openmpi Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/build" && make all " returned error 2 Command output: /bin/sh ../../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -module -avoid-version -export-dynamic -L/opt/local/lib -o mca_routed_linear.la -rpath /opt/local/lib/openmpi routed_linear.lo routed_linear_component.lo -lutil libtool: link: ar cru .libs/mca_routed_linear.a routed_linear.o routed_linear_component.o libtool: link: ranlib .libs/mca_routed_linear.a libtool: link: ( cd ".libs" && rm -f "mca_routed_linear.la" && ln -s "../mca_routed_linear.la" "mca_routed_linear.la" ) Making all in tools/orte-checkpoint make[2]: Nothing to be done for `all'. Making all in tools/orte-clean depbase=`echo orte-clean.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools /orte-clean -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1 -I../../.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/opal/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/ompi/include -I/opt/local/include -D_REENTRANT -DNDEBUG -O2 -finline-functions -fno- strict-aliasing -fvisibility=hidden -MT orte-clean.o -MD -MP -MF $depbase.Tpo -c -o orte-clean.o /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools /orte-clean/orte-clean.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -export- dynamic -L/opt/local/lib -o orte-clean orte-clean.o ../../../orte /libopen-rte.la -lutil libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno- strict-aliasing -fvisibility=hidden -o orte-clean orte-clean.o -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/build/opal/.libs /libopen-pal.a -lutil Creating orte-clean.1 man page... Making all in tools/orte-iof depbase=`echo orte-iof.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools /orte-iof -I../../../opal/include -I../../../orte/include -I../../../ompi/include -I../../../opal/mca/paffinity/linux/plpa/src/libplpa -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1 -I../../.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/opal/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/ompi/include -I/opt/local/include -D_REENTRANT -DNDEBUG -O2 -finline-functions -fno- strict-aliasing -fvisibility=hidden -MT orte-iof.o -MD -MP -MF $depbase.Tpo -c -o orte-iof.o /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/openmpi-1.3.1/orte/tools /orte-iof/orte-iof.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -export- dynamic -L/opt/local/lib -o orte-iof orte-iof.o ../../../orte/libopen- rte.la -lutil libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno- strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_openmpi/work/build/opal/.libs /libopen-pal.a -lutil Undefined symbols: "_orte_iof", referenced from: _orte_iof$non_lazy_ptr in orte-iof.o "_orte_routed", referenced from: _orte_routed$non_lazy_ptr in libopen-rte.a(hnp_contact.o) _orte_routed$non_lazy_ptr in libopen-rte.a(rml_base_contact.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [orte-iof] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/18959> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18959: openmpi 1.3.1 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: openmpi ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): It looks like this problem is still happening with version 1.3.2. -- Ticket URL: <http://trac.macports.org/ticket/18959#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18959: openmpi 1.3.1 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: openmpi ------------------------------------------+--------------------------------- Changes (by macsforever2000@…): * cc: lvcargnini@… (added) Comment: Cc'ing reporter of duplicate #19422. -- Ticket URL: <http://trac.macports.org/ticket/18959#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18959: openmpi 1.3.1 build error -----------------------------------------+---------------------------------- Reporter: macsforever2000@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Component: ports Version: 1.7.0 | Keywords: Port: openmpi | -----------------------------------------+---------------------------------- Comment(by lvcargnini@…): Probelm related. Why it do not use MacPort Compiler even using gcc_select ? /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -export- dynamic -L/opt/local/lib -o orte-iof orte-iof.o ../../../orte/libopen- rte.la -lutil libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno- strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/.libs /libopen-pal.a -lutil Undefined symbols: "_orte_iof", referenced from: _orte_iof$non_lazy_ptr in orte-iof.o "_orte_routed", referenced from: _orte_routed$non_lazy_ptr in libopen-rte.a(hnp_contact.o) _orte_routed$non_lazy_ptr in libopen-rte.a(rml_base_contact.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [orte-iof] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 -- Ticket URL: <http://trac.macports.org/ticket/18959#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18959: openmpi 1.3.1 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: Port: openmpi | -------------------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme Comment: This is no longer a problem for me with version 1.4.1. At least on Snow Leopard. -- Ticket URL: <http://trac.macports.org/ticket/18959#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts