Opened 11 years ago

Closed 9 years ago

#42615 closed defect (duplicate)

arm-none-linux-gnueabi-gcc build failure

Reported by: gusong1215@… Owned by: stuartwesterman (Stuart Westerman)
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

Attachments (1)

main.log (820.5 KB) - added by gusong1215@… 11 years ago.

Download all attachments as: .zip

Change History (6)

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

comment:2 Changed 11 years ago by gusong1215@…

I have reuploaded the main.log. And I have finished "clean and try again", the same error message still displays.

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

The new log shows new errors:

:info:build In file included from /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/gcc-2005q3/gcc/cp/decl.c:11405:
:info:build ./gtype-cp.h:410:7: warning: switch condition has boolean value
:info:build       switch (((*x).u).h.is_lang_type_class)
:info:build       ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gtype-cp.h:412:14: warning: overflow converting case value to switch condition type (2 to 0) [-Wswitch]
:info:build         case 2:
:info:build              ^
:info:build ./gtype-cp.h:431:14: error: duplicate case value '0'
:info:build         case 0:
:info:build              ^
:info:build ./gtype-cp.h:412:14: note: previous case defined here
:info:build         case 2:
:info:build              ^
:info:build /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/gcc-2005q3/gcc/cp/pt.c:367:7: warning: case value not in enumerated type 'enum tree_code' [-Wswitch]
:info:build         case TEMPLATE_DECL:
:info:build              ^
:info:build ./gtype-cp.h:857:7: warning: switch condition has boolean value
:info:build       switch (((*x).u).h.is_lang_type_class)
:info:build       ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gtype-cp.h:859:14: warning: overflow converting case value to switch condition type (2 to 0) [-Wswitch]
:info:build         case 2:
:info:build              ^
:info:build ./gtype-cp.h:879:14: error: duplicate case value '0'
:info:build         case 0:
:info:build              ^
:info:build ./gtype-cp.h:859:14: note: previous case defined here
:info:build         case 2:
:info:build              ^
:info:build ./gtype-cp.h:1475:3: warning: switch condition has boolean value
:info:build   switch (((*x).u).h.is_lang_type_class)
:info:build   ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./gtype-cp.h:1477:10: warning: overflow converting case value to switch condition type (2 to 0) [-Wswitch]
:info:build     case 2:
:info:build          ^
:info:build ./gtype-cp.h:1511:10: error: duplicate case value '0'
:info:build     case 0:
:info:build          ^
:info:build ./gtype-cp.h:1477:10: note: previous case defined here
:info:build     case 2:
:info:build          ^
:info:build 65 warnings and 3 errors generated.

comment:4 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stuartwesterman@…

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
:info:build ./gtype-cp.h:431:14: error: duplicate case value '0'

The error is already being tracked in #35112.

Note: See TracTickets for help on using tickets.