[MacPorts] #27600: problem installing bluefish (stuck building atlas)
#27600: problem installing bluefish (stuck building atlas) ------------------------------------+--------------------------------------- Reporter: ryantkoehler@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ------------------------------------+--------------------------------------- Hi I am trying to install bluefish and am getting stuck at the "Building atlas" stage of the process. What I mean by stuck is that the system just sort of hangs there (let it go for nearly an hour more than once, cleaning in between with "port clean atlas"). I've seen some messages (e.g. "needs lapack") that seem to be related, but don't really have a clue what to do about this? I'm new to macports (but not unix / linux) so maybe there are some "obvious" things to try on the mac? Here's the non-verbose output (verbose attached): Ryans-MacBook-Pro [~/play] 143> sudo port install atlas ---> Computing dependencies for atlas ---> Fetching atlas ---> Verifying checksum(s) for atlas ---> Extracting atlas ---> Applying patches to atlas ---> Configuring atlas ---> Building atlas -- Ticket URL: <https://trac.macports.org/ticket/27600> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: problem installing bluefish (stuck building atlas) ------------------------------------+--------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: atlas ------------------------------------+--------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => jameskyle@… * port: => atlas Old description:
Hi
I am trying to install bluefish and am getting stuck at the "Building atlas" stage of the process. What I mean by stuck is that the system just sort of hangs there (let it go for nearly an hour more than once, cleaning in between with "port clean atlas").
I've seen some messages (e.g. "needs lapack") that seem to be related, but don't really have a clue what to do about this? I'm new to macports (but not unix / linux) so maybe there are some "obvious" things to try on the mac?
Here's the non-verbose output (verbose attached):
Ryans-MacBook-Pro [~/play] 143> sudo port install atlas ---> Computing dependencies for atlas ---> Fetching atlas ---> Verifying checksum(s) for atlas ---> Extracting atlas ---> Applying patches to atlas ---> Configuring atlas ---> Building atlas
New description: Hi I am trying to install bluefish and am getting stuck at the "Building atlas" stage of the process. What I mean by stuck is that the system just sort of hangs there (let it go for nearly an hour more than once, cleaning in between with "port clean atlas"). I've seen some messages (e.g. "needs lapack") that seem to be related, but don't really have a clue what to do about this? I'm new to macports (but not unix / linux) so maybe there are some "obvious" things to try on the mac? Here's the non-verbose output (verbose attached): {{{ Ryans-MacBook-Pro [~/play] 143> sudo port install atlas ---> Computing dependencies for atlas ---> Fetching atlas ---> Verifying checksum(s) for atlas ---> Extracting atlas ---> Applying patches to atlas ---> Configuring atlas ---> Building atlas }}} -- Comment: Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: problem installing bluefish (stuck building atlas) -------------------------------------+-------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: atlas | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: There's no error in the attached log, you just ctrl-C'd the build process while it was still in progress. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: problem installing bluefish (stuck building atlas) -------------------------------------+-------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: atlas | -------------------------------------+-------------------------------------- Changes (by ryantkoehler@…): * status: closed => reopened * resolution: invalid => Comment: Replying to [comment:2 jmr@…]:
There's no error in the attached log, you just ctrl-C'd the build process while it was still in progress.
Yes, the attached log ends with a ^C but this was after ~20 minutes just sitting at that stage. Previously I let the install process sit for more than an hour several times but it never progressed past the "Building atlas" stage. Thus, it appears to me that something isn't right? -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | -------------------------------------+-------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 kadorken@…): I have observed the same problem trying to build GIMP (sudo port install gimp) on MACOS 10.6 (new machine). At least two processors have been busy for 3 hours on an otherwise idle machine.. Will ctrl-d it for now as I have other things to do. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ryandesign@…): Atlas is a large piece of software. It wouldn't surprise me if it needs several hours to build, depending on the machine. Just let it run. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 tiago@…): I think this ticket can be closed. I've just done the installation (Mac OX 10.6.6 intel i7 8Gb) and it took approximately 1hr and 30 minutes to finish the build and the installation was successful. So, yes, accordingly with Ryan, it might take more than 2 hours depending on the machine. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: atlas takes a long time to build -------------------------------------+-------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: atlas | -------------------------------------+-------------------------------------- Changes (by vince@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: atlas takes a long time to build -------------------------------------+-------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: atlas | -------------------------------------+-------------------------------------- Changes (by jmr@…): * cc: vince@… (added) Comment: What was done to fix this? If nothing, the resolution should be worksforme or invalid, not fixed. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: atlas takes a long time to build -------------------------------------+-------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: atlas | -------------------------------------+-------------------------------------- Comment(by vince@…): You're right (nothing was done, it just happens that 3.8.3 is outdated and is replaced by a newer version). I just mistakenly chose the wrong option and didn't realize it until it was committed… -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | -------------------------------------+-------------------------------------- Changes (by rakatan@…): * status: closed => reopened * resolution: fixed => Comment: does not work. for me, the building atlas process is stuck for 2 or more hours, I have i5 dual core, and there is no process, which would use that cpu (checked in top). -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 rakatan@…): retried several times, waited for it to do seemingly nothing :) after some retry I got compile error.. then cleared working dir (sudo port clean atlas) and retried again - and this time it started building, and it was high cpu usage for both compiling and tuning stages -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 rakatan@…): (forgot to mention, that the last time was actually successfull) -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#27600: atlas takes a long time to build -------------------------------------+-------------------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: atlas | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => wontfix Comment: Later comments in this ticket have nothing to do with the description given by the reporter. Yes, atlas can take a very long time to build, and it doesn't look like there's really anything that can be done about that in the port. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27600: atlas takes a long time to build -----------------------------+------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: atlas | -----------------------------+------------------------- Comment (by bpabbott@…): Atlas is taking a long time on my Intel i7 and is consuming less than 20% of my available CPU(s). Any reason the build process isn't using more cores? -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#27600: atlas takes a long time to build -----------------------------+------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: atlas | -----------------------------+------------------------- Comment (by vince@…): Atlas has its own parallel build process. Since all cores share L2 cache, it cannot safely run time measurements on two or more cores simultaneously, because this could cause spurious cache coherency and introduce a bias. That’s why it does compile several pieces of code in parallel, but tests each one serially. -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#27600: atlas takes a long time to build -----------------------------+------------------------- Reporter: ryantkoehler@… | Owner: jameskyle@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: atlas | -----------------------------+------------------------- Comment (by vince@…): Besides, at the end, you will get almost a 2x faster Atlas thanks to AVX- based kernels that are not compilable with MacOS GCCs. So it’s worth the patience! -- Ticket URL: <https://trac.macports.org/ticket/27600#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts