[MacPorts] #39177: py-scipy build error: unrecognized command line option "-arch" (was: scipy error: unrecognized command line option "-arch")
MacPorts
noreply at macports.org
Tue May 21 06:38:54 PDT 2013
#39177: py-scipy build error: unrecognized command line option "-arch"
----------------------------+--------------------
Reporter: mailforshao@… | Owner: sean@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: py-scipy |
----------------------------+--------------------
Changes (by macsforever2000@…):
* keywords: py27-scipy =>
* owner: macports-tickets@… => sean@…
* port: => py-scipy
Old description:
> 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:
New description:
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:
}}}
--
Comment:
Please attach the complete main.log and, in the future, use
WikiFormatting, fill in the Port field and Cc the port maintainer(s).
--
Ticket URL: <https://trac.macports.org/ticket/39177#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list