Opened 8 years ago

Closed 8 years ago

#52030 closed defect (duplicate)

py27-scipy-0.18.0_0+gfortran+openblas.darwin_15.x86_64.tbz2 fails to build

Reported by: paulomal@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: michaelld (Michael Dickens)
Port: py-scipy

Description (last modified by mf2k (Frank Schima))

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]) 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

Change History (3)

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

Cc: michaelld@… added
Keywords: scipy openblas removed
Owner: changed from macports-tickets@… to sean@…
Port: py-scipy added; scipy 0.18.0 removed

In the future, please Cc the port maintainers (port info --maintainers py27-scipy), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Duplicate of #51419.

Note: See TracTickets for help on using tickets.