Opened 11 years ago

Last modified 10 years ago

#39177 closed defect

py-scipy build error: unrecognized command line option "-arch" — at Version 1

Reported by: mailforshao@… Owned by: sean@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: py-scipy

Description (last modified by mf2k (Frank Schima))

Hi here is the log file where the error happens:

:info:build gfortran-mp-4.5:f77: scipy/optimize/minpack/rwupdt.f
:info:build ar: adding 23 object files to build/temp.macosx-10.8-x86_64-2.7/libminpack.a
:info:build ranlib:@ build/temp.macosx-10.8-x86_64-2.7/libminpack.a
:info:build building 'rootfind' library
:info:build compiling C sources
:info:build C compiler: /Developer/usr/bin/gcc-mp-4.5 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
:info:build
:info:build creating build/temp.macosx-10.8-x86_64-2.7/scipy/optimize/Zeros
:info:build compile options: '-I/Developer/usr/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c'
:info:build gcc-mp-4.5: scipy/optimize/Zeros/ridder.c
:info:build cc1: error: unrecognized command line option "-arch"
:info:build cc1: error: unrecognized command line option "-arch"
:info:build error: Command "/Developer/usr/bin/gcc-mp-4.5 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Developer/usr/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -c scipy/optimize/Zeros/ridder.c -o build/temp.macosx-10.8-x86_64-2.7/scipy/optimize/Zeros/ridder.o" failed with exit status 1
:info:build Command failed:  cd "/Developer/usr/var/macports/build/_Developer_usr_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-scipy/py27-scipy/work/scipy-0.12.0" && /Developer/usr/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec /Developer/usr/bin/gfortran-mp-4.5 --f90exec /Developer/usr/bin/gfortran-mp-4.5 config --cc /Developer/usr/bin/gcc-mp-4.5 --include-dirs /Developer/usr/include --library-dirs /Developer/usr/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 87109 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
"$procedure $targetname"
:info:build Warning: targets not executed for py27-scipy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port py27-scipy for details:

Change History (3)

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

Description: modified (diff)
Keywords: py27-scipy removed
Owner: changed from macports-tickets@… to sean@…
Port: py-scipy added
Summary: scipy error: unrecognized command line option "-arch"py-scipy build error: unrecognized command line option "-arch"

Please attach the complete main.log and, in the future, use WikiFormatting, fill in the Port field and Cc the port maintainer(s).

Changed 11 years ago by mailforshao@…

Attachment: main.log added

log file

Changed 11 years ago by mailforshao@…

Attachment: main.2.log added

log file

Note: See TracTickets for help on using tickets.