[MacPorts] #42615: arm-none-linux-gnueabi-gcc build failure

MacPorts noreply at macports.org
Tue Feb 25 00:38:24 PST 2014


#42615: arm-none-linux-gnueabi-gcc build failure
-----------------------------------------+--------------------------------
  Reporter:  gusong1215@…                |      Owner:  macports-tickets@…
      Type:  defect                      |     Status:  new
  Priority:  Normal                      |  Milestone:
 Component:  ports                       |    Version:  2.2.1
Resolution:                              |   Keywords:
      Port:  arm-none-linux-gnueabi-gcc  |
-----------------------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  command execution failed =>


Old description:

> OS 10.9.1[[BR]]
>
> XCODE 5.0.2[[BR]]
>
> When I run "sudo port install arm-none-linux-gnueabi-gcc"[[BR]]
>

>

> make[1]: *** [crtendS.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [crtend.o] Error 1
> make[1]: *** [crtbeginT.o] Error 1
> make[1]: *** [crtbegin.o] Error 1
> make[1]: *** [crtbeginS.o] Error 1
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
> linux-gnueabi-gcc/work/build/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
> linux-gnueabi-gcc/work/build'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
> linux-gnueabi-gcc/work/build" && /usr/bin/make -j5 -w all AR_FOR_TARGET
> =arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux-gnueabi-as
> LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm-none-linux-
> gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib
> Exit code: 2
> Error: org.macports.build for port arm-none-linux-gnueabi-gcc returned:
> command execution failed
> DEBUG: Error code: CHILDSTATUS 35514 2
> DEBUG: 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"
> Warning: targets not executed for arm-none-linux-gnueabi-gcc:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Please see the log file for port arm-none-linux-gnueabi-gcc for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
> linux-gnueabi-gcc/main.log

New description:

 OS 10.9.1[[BR]]

 XCODE 5.0.2[[BR]]

 When I run "sudo port install arm-none-linux-gnueabi-gcc"[[BR]]



 {{{
 make[1]: *** [crtendS.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: *** [crtend.o] Error 1
 make[1]: *** [crtbeginT.o] Error 1
 make[1]: *** [crtbegin.o] Error 1
 make[1]: *** [crtbeginS.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
 linux-gnueabi-gcc/work/build/gcc'
 make: *** [all-gcc] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
 linux-gnueabi-gcc/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
 linux-gnueabi-gcc/work/build" && /usr/bin/make -j5 -w all AR_FOR_TARGET
 =arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux-gnueabi-as
 LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm-none-linux-
 gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib
 Exit code: 2
 Error: org.macports.build for port arm-none-linux-gnueabi-gcc returned:
 command execution failed
 DEBUG: Error code: CHILDSTATUS 35514 2
 DEBUG: 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"
 Warning: targets not executed for arm-none-linux-gnueabi-gcc:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Please see the log file for port arm-none-linux-gnueabi-gcc for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
 linux-gnueabi-gcc/main.log
 }}}

--

Comment:

 The log is incomplete; remember to
 [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites
 clean and try again] before submitting a ticket.

 However, the log says:

 {{{
 stdio.h: No such file or directory
 }}}

 Does /usr/include/stdio.h exist? If not, you haven't installed the Xcode
 command line tools, which are required. Run `xcode-select --install` to
 install them.

-- 
Ticket URL: <https://trac.macports.org/ticket/42615#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list