[MacPorts] #51288: py27-astropy @1.0.4_0 Building Error: command execution failed

MacPorts noreply at macports.org
Sun May 1 14:26:42 PDT 2016


#51288: py27-astropy @1.0.4_0 Building Error: command execution failed
-------------------------------+--------------------------------
 Reporter:  alison.mansheim@…  |      Owner:  macports-tickets@…
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.3.4
 Keywords:                     |       Port:
-------------------------------+--------------------------------
 Hi! I am using Xcode 3.2.6 (1761) on OSX 10.6.8. I had a problem when
 updating my ports and went down a rabbit hole indicating the c compiler
 was the problem, so I switched compilers, and the immediate problem went
 away but now I can't get through port upgrade outdated without an error.
 The compiler may not be the problem here, but in case it is, I wanted to
 give that background. First I have pasted the error from the terminal
 after typing sudo port upgrade outdated. Below that I pasted the end of
 the main.log. I attached the entire main.log. Thank you for your help!!!:

 {{{
 --->  Building py27-astropy
 Error: org.macports.build for port py27-astropy returned: command
 execution failed

 }}}

 From main.log around where error messages start:

 {{{
 :info:build running pre_hook from astropy._erfa.setup_package for
 build_ext comm
 and
 :info:build running pre_hook from astropy.modeling.setup_package for
 build_ext c
 ommand
 :info:build WARNING: The autogenerated wrappers in
 astropy.modeling._projections
  seem to be older than the source templates used to create them. Because
 this is
  a release version we will use them anyway, but this might be a sign of
 some sor
 t of version mismatch or other tampering. Or it might just mean you moved
 some f
 iles around or otherwise accidentally changed timestamps.
 :info:build building 'astropy.modeling._projections' extension
 :info:build /usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -
 arch x86_64 -DECHO -DWCSTRIG_MACRO -DASTROPY_WCS_BUILD -D_GNU_SOURCE
 -DNDEBUG -U
 DEBUG
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.
 7/site-packages/numpy/core/include -I/opt/local/include/wcslib
 -Iastropy/modeling/src
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/pyth
 on2.7 -c astropy/modeling/src/projections.c -o
 build/temp.macosx-10.6-x86_64-2.7
 /astropy/modeling/src/projections.o -Wno-strict-prototypes -Wno-unused-
 function -Wno-unused-value -Wno-uninitialized -Wno-unused-but-set-variable
 :info:build cc1: error: unrecognized command line option "-Wno-unused-
 function -Wno-unused-value -Wno-uninitialized -Wno-unused-but-set-variable
 :info:build cc1: error: unrecognized command line option "-Wno-unused-but-
 set-variable"
 :info:build error: command '/usr/bin/gcc-4.2' failed with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 astropy/py27-astropy/work/astropy-1.1.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg --offline --no-git build --use-system-cfitsio
 --use-system-expat --use-system-wcslib --use-system-erfa
 :info:build Exit code: 1
 :error:build org.macports.build for port py27-astropy returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 34565 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-astropy:
 org.macports.install org.macports.build org.macports.destroot
 :notice:build Please see the log file for port py27-astropy for details:
     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync
 .morg_release_tarballs_ports_python_py-astropy/py27-astropy/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51288>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list