[MacPorts] #27600: atlas takes a long time to build
MacPorts
noreply at macports.org
Tue Jul 26 00:08:27 PDT 2011
#27600: atlas takes a long time to build
-------------------------------------+--------------------------------------
Reporter: ryantkoehler@… | Owner: jameskyle@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Resolution: | Keywords:
Port: atlas |
-------------------------------------+--------------------------------------
Comment(by marco.molteni@…):
On my MacBookPro, MacOSX 10.6.8, ports tree refreshed as of today
2011-07-26, the "hang" is actually a crash of the build process ("ld"
crashes!), that seems not to be detected by the macports driver, so that
it seems to hang. Quite severe IMO, the macports driver must be modified
to detect this kind of crash and a bug must be filed with Apple to fix
their ld, which crashes. Here is the end of the build log:
=======================
:info:build BEGIN STAGE 5-1-0: FINAL STATIC LIBRARY UPDATE at 08:47
:info:build make -f Makefile IBuildLibs IBuildPtlibs0 2>&1 | ./xatlas_tee
INSTALL_LOG/LIBUPDATE.LOG
:info:build DONE STAGE 5-1-0 at 08:47
:info:build
:info:build
:info:build
:info:build
:info:build ATLAS install complete. Examine
:info:build ATLAS/bin/<arch>/INSTALL_LOG/SUMMARY.LOG for details.
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/atlas/work/atlas-3.9.37/build'
:info:build /usr/bin/make clean
:info:build make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/atlas/work/atlas-3.9.37/build'
:info:build rm -rf *.dSYM
:info:build rm -rf *.o x* config?.out *core*
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/atlas/work/atlas-3.9.37/build'
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/atlas/work/atlas-3.9.37/build'
:debug:build Executing proc-post-org.macports.build-build-0
:info:build sh: line 1: 92765 Segmentation fault /usr/bin/ld -arch
x86_64 -dynamic -dylib -single_module -dead_strip -x -all_load -L.
-L/opt/local/lib/gcc44/x86_64 -L/opt/local/lib/gcc44 -ldylib1.o
-dylib_install_name /opt/local/lib/libatlas.dylib libatlas.a -o
libatlas.dylib -lSystem
:info:build shell command "cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/atlas/work/atlas-3.9.37/build/lib
&& ( test ! -e libatlas.a || /usr/bin/ld -arch x86_64 -dynamic -dylib
-single_module -dead_strip -x -all_load -L. -L/opt/local/lib/gcc44/x86_64
-L/opt/local/lib/gcc44 -ldylib1.o -dylib_install_name
/opt/local/lib/libatlas.dylib libatlas.a -o libatlas.dylib -lSystem )"
returned error 139
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"$post $targetname"
:info:build Warning: the following items did not execute (for atlas):
org.macports.install org.macports.build org.macports.destroot
======================
Here is how to reproduce by hand by reissuing the command from the log,
/usr/bin/ld crashes:
$ cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/atlas/work/atlas-3.9.37/build/lib
$ /usr/bin/ld -arch x86_64 -dynamic -dylib -single_module -dead_strip -x
-all_load -L. -L/opt/local/lib/gcc44/x86_64 -L/opt/local/lib/gcc44
-ldylib1.o -dylib_install_name /opt/local/lib/libatlas.dylib libatlas.a -o
libatlas.dylib -lSystem
Segmentation fault
--
Ticket URL: <https://trac.macports.org/ticket/27600#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list