[MacPorts] #30825: mpich2 @1.4 Build error - build failure
#30825: mpich2 @1.4 Build error - build failure ------------------------------+--------------------------------------------- Reporter: fultz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: ------------------------------+--------------------------------------------- While installing mpich2 I get the following error: [[BR]] Error: Target org.macports.build returned: shell command failed (see log for details) [[BR]] Log for mpich2 is at: /o/l/v/m/logs/_o_l_v_m_s_rsync.macports.org_release_ports_science_mpich2/mpich2/main.log [[BR]] Error: Status 1 encountered during processing. The log file states: [[BR]] :info:build ( cd examples && make ) [[BR]] :info:build make[2]: Entering directory `/o/l/v/m/b/_o_l_v_m_s_rsync.macports.org_release_ports_science_ mpich2/mpich2/work/mpich2-1.4/examples' [[BR]] :info:build ../bin/mpicc -o cpi cpi.o -lm [[BR]] :info:build Undefined symbols: [[BR]] :info:build "_lam_mpi_sum", referenced from: [[BR]] :info:build _main in cpi.o [[BR]] :info:build "_lam_mpi_int", referenced from: [[BR]] :info:build _main in cpi.o [[BR]] :info:build "_lam_mpi_double", referenced from: [[BR]] :info:build _main in cpi.o [[BR]] :info:build "_lam_mpi_comm_world", referenced from: [[BR]] :info:build _main in cpi.o [[BR]] :info:build ld: symbol(s) not found [[BR]] :info:build collect2: ld returned 1 exit status [[BR]] :info:build make[2]: *** [cpi] Error 1 [[BR]] :info:build make[2]: Leaving directory `/o/l/v/m/b/_o_l_v_m_s_rsync.macports.org_release_ports_science_mpich2/mpich2/work/mpich2-1.4/examples' [[BR]] :info:build make[1]: *** [all-postamble] Error 2 [[BR]] :info:build make[1]: Leaving directory `/o/l/v/m/b/_o_l_v_m_sources_rsync.macports.org_release_ports_science_mpich2/mpich2/work/mpich2-1.4' -- Ticket URL: <https://trac.macports.org/ticket/30825> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30825: mpich2 @1.4 Build error - build failure ------------------------------+--------------------------------------------- Reporter: fultz@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: mpich2 ------------------------------+--------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => eborisch@… * port: => mpich2 Comment: Please remember to fill in the Port field and cc the maintainer. Note that WikiFormatting allows block quoting preformatted text with triple braces, e.g.: {{{ {{{ my text }}} }}} -- Ticket URL: <https://trac.macports.org/ticket/30825#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30825: mpich2 @1.4 Build error - build failure ------------------------------+--------------------------------------------- Reporter: fultz@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: mpich2 ------------------------------+--------------------------------------------- Comment(by eborisch@…): Could you attach the log? It looks like you have LAM/MPI installed and it's grabbing that during the compile.. Do you have lammpi installed? If so, try deactivating lammpi and then clean/build mpich2. If that fixes it I'll mark the conflict in the portfile. -- Ticket URL: <https://trac.macports.org/ticket/30825#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30825: mpich2 @1.4 Build error - build failure ------------------------------+--------------------------------------------- Reporter: fultz@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: mpich2 ------------------------------+--------------------------------------------- Comment(by eborisch@…): That log is from re-issuing the build, but no matter -- do you have LAM/MPI installed? I can recreate the issue with lammpi installed, so I'm assuming you have it. Please try deactivating lammpi and clean/build mpich2. -- Ticket URL: <https://trac.macports.org/ticket/30825#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30825: mpich2 @1.4 Build error - build failure ------------------------------+--------------------------------------------- Reporter: fultz@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: mpich2 ------------------------------+--------------------------------------------- Comment(by fultz@…): That indeed did work. Thanks a lot! -- Ticket URL: <https://trac.macports.org/ticket/30825#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30825: mpich2 @1.4 Build error - build failure -------------------------------+-------------------------------------------- Reporter: fultz@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: Port: mpich2 | -------------------------------+-------------------------------------------- Changes (by eborisch@…): * status: new => closed * resolution: => fixed Comment: Added compile- and build-time checks for conflicts with [82646:82653/trunk/dports/science/mpich2/Portfile]. -- Ticket URL: <https://trac.macports.org/ticket/30825#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts