[MacPorts] #25313: DSDP-5.8 Build failure
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: Snow Leopard | Port: DSDP 5.8 ----------------------------------+----------------------------------------- Build fails for DSDP 5.8. Using OS 10.6.3, Xcode 3.2.2. Log excerpt: {{{ :info:build i686-apple-darwin10-gcc-4.0.1: maxcut.o: No such file or directory :info:build make[3]: *** [maxcut] Error 1 :info:build make[2]: *** [most] Error 2 :info:build make[1]: *** [example] Error 2 :info:build make: *** [dsdpapi] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_DSDP/work/DSDP5.8" && /usr/bin/make -j2 dsdpapi " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for DSDP): org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} -- Ticket URL: <http://trac.macports.org/ticket/25313> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Changes (by jmr@…): * keywords: Snow Leopard => snowleopard * owner: macports-tickets@… => mnick@… * port: DSDP 5.8 => DSDP Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Changes (by snc@…): * cc: snc@… (added) Comment: This looks like a parallel build issue. Can you try the following and let us know how it goes? {{{ sudo port clean DSDP sudo port install DSDP build.jobs=1 }}} -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Comment(by dustin.314@…): Replying to [comment:2 snc@…]:
This looks like a parallel build issue. Can you try the following and let us know how it goes? {{{ sudo port clean DSDP sudo port install DSDP build.jobs=1 }}}
Tried cleaning and reinstalling as described above, but the build failed with another error. Thanks again for your help. Log excerpt: {{{ :info:build ld: warning: in /opt/local/lib/liblapack.dylib, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols: :info:build "_dstevr_", referenced from: :info:build _DSDPGetTriDiagonalEigs in libdsdp.a(dsdpstep.o) :info:build _ComputeStepFAST in libdsdp.a(dsdpstep.o) :info:build "_dsyevr_", referenced from: :info:build _DSDPGetEigs in libdsdp.a(dufull.o) :info:build "_dsyevx_", referenced from: :info:build _DTRUMatEigs in libdsdp.a(dufull.o) :info:build "_dspevx_", referenced from: :info:build _DTPUMatEigs in libdsdp.a(dlpack.o) :info:build "_dpptrf_", referenced from: :info:build _DTPUMatCholeskyFactor in libdsdp.a(dlpack.o) :info:build "_dpptri_", referenced from: :info:build _DTPUMatInvert in libdsdp.a(dlpack.o) :info:build _DTPUMatInvert in libdsdp.a(dlpack.o) :info:build "_dpptrs_", referenced from: :info:build _DTPUMatSolve in libdsdp.a(dlpack.o) :info:build "_dstev_", referenced from: :info:build _DSDPGetTriDiagonalEigs in libdsdp.a(dsdpstep.o) :info:build _ComputeStepFAST in libdsdp.a(dsdpstep.o) :info:build "_dsyev_", referenced from: :info:build _DSDPGetEigs in libdsdp.a(dufull.o) :info:build _DvecumatFactor in libdsdp.a(dufull.o) :info:build _DSDPGetEigs2 in libdsdp.a(dufull.o) :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build make[3]: *** [maxcut] Error 1 :info:build make[2]: *** [most] Error 2 :info:build make[1]: *** [example] Error 2 :info:build make: *** [dsdpapi] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_DSDP/work/DSDP5.8" && /usr/bin/make dsdpapi " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for DSDP): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for DSDP is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_DSDP/main.log }}} -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Comment(by snc@…): Looks like it has a unknown dependency on liblapack.dylib. I'm not familiar with the port has that file. What does this show: {{{ port provides /opt/local/lib/liblapack.dylib }}} -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Comment(by dustin.314@…): Replying to [comment:4 snc@…]:
Looks like it has a unknown dependency on liblapack.dylib. I'm not familiar with the port has that file. What does this show: {{{ port provides /opt/local/lib/liblapack.dylib }}}
output: /opt/local/lib/liblapack.dylib is provided by: atlas -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Comment(by snc@…): That's strange. For me, atlas builds that file x86_64 and for you it's i386, right? We can double check by running `file /opt/local/lib/liblapack.dylib` -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Comment(by dustin.314@…): Replying to [comment:6 snc@…]:
That's strange. For me, atlas builds that file x86_64 and for you it's i386, right? We can double check by running `file /opt/local/lib/liblapack.dylib`
Looks like it builds x86_64 for me as well: /opt/local/lib/liblapack.dylib: Mach-O 64-bit dynamically linked shared library x86_64 Not sure what to make of that. -- Ticket URL: <http://trac.macports.org/ticket/25313#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 Build failure ----------------------------------+----------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: snowleopard | Port: DSDP ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: I tried over a dozen times and am unable to reproduce any parallel build failure. Since DSDP clearly does use atlas, I added a dependency on it in r75968. @dustin.314: you are on Snow Leopard... is your computer 64-bit capable, and if so, have you set your build_arch to i386 in macports.conf to request 32-bit builds instead of 64-bit builds? If so, that could explain the problem, since DSDP does not appear to respect build_arch and will try to build for the native architecture no matter what. -- Ticket URL: <https://trac.macports.org/ticket/25313#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25313: DSDP-5.8 does not support build_arch -----------------------------------+---------------------------------------- Reporter: dustin.314@… | Owner: mnick@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Resolution: fixed | Keywords: Port: DSDP | -----------------------------------+---------------------------------------- Changes (by jmr@…): * keywords: snowleopard => * status: new => closed * resolution: => fixed Comment: Assuming that was the problem, it should be fixed by r79608. -- Ticket URL: <https://trac.macports.org/ticket/25313#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts