Opened 15 years ago

Last modified 15 years ago

#19422 closed defect

Problem compiling openmpi-1.3.2 — at Initial Version

Reported by: lvcargnini@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: openmpi

Description

Here follows the problem reported by my ports. command: sudo port upgrade outdated

output: ---> Fetching openmpi ---> Attempting to fetch openmpi-1.3.2.tar.bz2 from ftp://ftp5.freebsd.org/pub/FreeBSD/ports/distfiles/ ---> Attempting to fetch openmpi-1.3.2.tar.bz2 from ftp://ftp5.freebsd.org/pub/FreeBSD/ports/local-distfiles/ ---> Attempting to fetch openmpi-1.3.2.tar.bz2 from http://www.open-mpi.org/software/ompi/v1.3/downloads/ ---> 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_rsync.macports.org_release_ports_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_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/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_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2 -I../../.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/opal/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/orte/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/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_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/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_rsync.macports.org_release_ports_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_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/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_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2 -I../../.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/opal/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/orte/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/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_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/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_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

Error: Unable to upgrade port: 1 ---> Building openmpi Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && make all " returned error 2 Command output: Making all in mca/rmaps/round_robin make[2]: Nothing to be done for `all'. Making all in mca/rmaps/seq make[2]: Nothing to be done for `all'. Making all in mca/rml/oob make[2]: Nothing to be done for `all'. Making all in mca/routed/binomial make[2]: Nothing to be done for `all'. Making all in mca/routed/direct make[2]: Nothing to be done for `all'. Making all in mca/routed/linear make[2]: Nothing to be done for `all'. Making all in tools/orte-checkpoint make[2]: Nothing to be done for `all'. Making all in tools/orte-clean make[2]: Nothing to be done for `all'. Making all in tools/orte-iof /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

Error: Unable to upgrade port: 1 ---> Configuring petsc Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/configure.py --prefix=/opt/local --with-python --with-debugging=0 --with-c-support=1 --with-c++-support=1 --with-pic=fPIC --prefix=/opt/local/lib/petsc --with-cc=/opt/local/bin/openmpicc --with-cxx=/opt/local/bin/openmpicxx --with-fc=/opt/local/bin/openmpif90 COPTFLAGS=-O3 CXXOPTFLAGS=-O3 FOPTFLAGS=-O3 " returned error 1 Command output: TESTING: configureMkdir from config.programs(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/programs.py:21) TESTING: configurePrograms from config.programs(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/programs.py:43) TESTING: configureDebuggers from PETSc.utilities.debuggers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/debuggers.py:22) TESTING: configureMake from PETSc.utilities.Make(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/Make.py:21) TESTING: configureCLanguage from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/languages.py:43) TESTING: configureLanguageSupport from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/languages.py:49) TESTING: configureExternC from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/languages.py:66) TESTING: configureFortranLanguage from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/languages.py:72) TESTING: configureMercurial from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/sourceControl.py:23) TESTING: configureCVS from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/sourceControl.py:30) TESTING: configureSubversion from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/sourceControl.py:35) TESTING: configureDirectories from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/petscdir.py:37) TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/petscdir.py:109) TESTING: configureInstallationMethod from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/petscdir.py:116) TESTING: configureETags from PETSc.utilities.Etags(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/Etags.py:27) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/PETSc/utilities/dataFilesPath.py:29) TESTING: checkMPICompilerOverride from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:1290) TESTING: checkVendor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:273) TESTING: checkInitialFlags from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:283) TESTING: checkCCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:394) TESTING: checkCPreprocessor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:451) TESTING: checkCxxCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:557) TESTING: checkCxxPreprocessor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:616) TESTING: checkFortranCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.0.0-p5/config/BuildSystem/config/setCompilers.py:726) *

UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):


Fortran compiler you provided with --with-fc=/opt/local/bin/openmpif90 does not work *

Error: Unable to upgrade port: 1

Change History (0)

Note: See TracTickets for help on using tickets.