Opened 11 years ago

Last modified 9 years ago

#42615 closed defect

arm-none-linux-gnueabi-gcc build failure — at Version 1

Reported by: gusong1215@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: arm-none-linux-gnueabi-gcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS 10.9.1

XCODE 5.0.2

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

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

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: command execution failed removed

The log is incomplete; remember to 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.

Changed 11 years ago by gusong1215@…

Attachment: main.log added
Note: See TracTickets for help on using tickets.