Opened 12 years ago

Closed 12 years ago

#37121 closed defect (duplicate)

mpich2 can't update

Reported by: amadeus24 Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: mpich2

Description (last modified by mf2k (Frank Schima))

Updating my ports, the update stuck at mpich2 with the lines:

:info:build libtool: link: (cd "lib/.libs" && rm -f "libmpichcxx.dylib" && ln -s "libmpichcxx.8.dylib" "libmpichcxx.dylib")
:info:build libtool: link: ar Scr lib/.libs/libmpichcxx.a  src/binding/cxx/initcxx.o
:info:build libtool: link: ranlib lib/.libs/libmpichcxx.a
:info:build libtool: link: ( cd "lib/.libs" && rm -f "libmpichcxx.la" && ln -s "../libmpichcxx.la" "libmpichcxx.la" )
:info:build clang: error: unable to execute command: Segmentation fault: 11
:info:build clang: error: linker command failed due to signal (use -v to see invocation)
:info:build make[2]: *** [lib/libmpich.la] Error 254
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich2/mpich2/work/mpich2-1.5'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich2/mpich2/work/mpich2-1.5'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich2/mpich2/work/mpich2-1.5'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_mpich2/mpich2/work/mpich2-1.5" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port mpich2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 39671 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for mpich2: org.macports.install org.macports.build org.macports.destroot

Attachments (2)

main.log (5.5 MB) - added by amadeus24 12 years ago.
main.2.log (5.5 MB) - added by amadeus24 12 years ago.
main.log 2012-16-December

Change History (13)

Changed 12 years ago by amadeus24

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to eborisch@…
Port: mpich2 added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainer(s).

comment:2 Changed 12 years ago by eborisch (Eric A. Borisch)

This looks just like #36654. What does port echo active and clang-3.1 report? (It builds fine on my SL box with clang-3.1 @3.1_6+analyzer+python27.)

You are otherwise up-to-date?

comment:3 Changed 12 years ago by amadeus24

Cleaned the whole distro and tried again, with same result. Yes, everything else is up-to-date, Xcode and macports tree.

comment:4 Changed 12 years ago by amadeus24

Sorry, the output of echo is:

507 -> port echo active and clang-3.1

clang-3.1 @3.1_6+analyzer+python27

comment:5 Changed 12 years ago by eborisch (Eric A. Borisch)

This appears to be due to the ld64 update in r99185. It links just fine with the r98868, but crashes with the new one (commit message: "cctools*, ld64: Update to XCode 4.5 version") .... just like it won't build against the new clang (and associated ld) in ML in #36654.

You can either downgrade ld64, or compile a different variant.

comment:6 Changed 12 years ago by eborisch (Eric A. Borisch)

Cc: jeremyhu@… added

comment:7 Changed 12 years ago by amadeus24

This isn't a good bypass. Other variants doesn't work and downgrading ld64 cause problems with other packages.

comment:8 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Please attach the crash log.

Changed 12 years ago by amadeus24

Attachment: main.2.log added

main.log 2012-16-December

comment:9 Changed 12 years ago by amadeus24

Install of other variants are not accepted by mpich2, because of conflicts with clang31.
Finally I have again the primarily environment, so I can just attach the actual main.log, which was created today.
All other ports are up2date.

comment:10 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Please attach the *crash* log.

comment:11 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed

Actually, attach it to #36654.

Note: See TracTickets for help on using tickets.