Opened 8 years ago
Last modified 8 years ago
#52030 closed defect
py27-scipy-0.18.0_0+gfortran+openblas.darwin_15.x86_64.tbz2 fails to build — at Initial Version
Reported by: | paulomal@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | py-scipy |
Description
I'm trying to compile scipy linking it to openblas but it fails to build. I'm running OS X 10.11.6 (El Capitan). This seems to be related to a fixed ticket for numpy+openblas (Ticket #51250 https://trac.macports.org/ticket/51250) which also failed to build for the same reason: :info:build ld: unknown option: "-rpath=/opt/local/lib".
Here's the end of the log where the error is reported:
:info:build /opt/local/bin/gfortran-mp-5 -Wall -g -Wall -g -undefined dynamic_lookup -bundle build/temp.macosx-10.11-x86_64-2.7/scipy/integrate/_quadpackmodule.o -L/opt/local/lib -L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.4.0 -Lbuild/temp.macosx-10.11-x86_64-2.7 -Wl,-rpath="/opt/local/lib" -lquadpack -lmach -lopenblas -lopenblas -lgfortran -o build/lib.macosx-10.11-x86_64-2.7/scipy/integrate/_quadpack.so :info:build ld: unknown option: -rpath=/opt/local/lib :info:build collect2: error: ld returned 1 exit status :info:build ld: unknown option: -rpath=/opt/local/lib :info:build collect2: error: ld returned 1 exit status :info:build error: Command "/opt/local/bin/gfortran-mp-5 -Wall -g -Wall -g -undefined dynamic_lookup -bundle build/temp.macosx-10.11-x86_64-2.7/scipy/integrate/_quadpackmodule.o -L/opt/local/lib -L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.4.0 -Lbuild/temp.macosx-10.11-x86_64-2.7 -Wl,-rpath="/opt/local/lib" -lquadpack -lmach -lopenblas -lopenblas -lgfortran -o build/lib.macosx-10.11-x86_64-2.7/scipy/integrate/_quadpack.so" failed with exit status 1 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_python_py-scipy/py27-scipy/work/scipy-0.18.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec /opt/local/bin/gfortran-mp-5 --f77flags=' -Os -fno-second-underscore' --f90exec /opt/local/bin/gfortran-mp-5 --f90flags=' -Os -fno-second-underscore' config --cc /usr/bin/clang --include-dirs /opt/local/include --library-dirs /opt/local/lib build :info:build Exit code: 1 :error:build org.macports.build for port py27-scipy returned: command execution failed :debug:build Error code: CHILDSTATUS 98773 1 :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 "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for py27-scipy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Note: See
TracTickets for help on using
tickets.