[MacPorts] #26733: sh-rtems-gcc @4.2.3 build-error

MacPorts noreply at macports.org
Tue Oct 5 07:46:48 PDT 2010


#26733: sh-rtems-gcc @4.2.3 build-error
-----------------------------------+----------------------------------------
 Reporter:  prelude@…              |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  High                   |   Milestone:                                       
Component:  base                   |     Version:  1.9.1                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 {{{
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main gettext 0.18.1.1_2 exists in the ports tree
 :debug:main gettext 0.18.1.1_2  is the latest installed
 :debug:main gettext 0.18.1.1_2  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
 :debug:main OS darwin/9.5.0 (Mac OS X 10.5) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main No need to upgrade! gettext 0.18.1.1_2 >= gettext 0.18.1.1_2
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main libiconv 1.13.1_0 exists in the ports tree
 :debug:main libiconv 1.13.1_0  is the latest installed
 :debug:main libiconv 1.13.1_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 :debug:main OS darwin/9.5.0 (Mac OS X 10.5) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main ncurses 5.7_0 exists in the ports tree
 :debug:main ncurses 5.7_0  is the latest installed
 :debug:main ncurses 5.7_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 :debug:main OS darwin/9.5.0 (Mac OS X 10.5) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main ncursesw 5.7_0 exists in the ports tree
 :debug:main ncursesw 5.7_0  is the latest installed
 :debug:main ncursesw 5.7_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 :debug:main OS darwin/9.5.0 (Mac OS X 10.5) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main universal variant already exists, so not adding the default
 one
 :debug:main No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main expat 2.0.1_1 exists in the ports tree
 :debug:main expat 2.0.1_1  is the latest installed
 :debug:main expat 2.0.1_1  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
 :debug:main OS darwin/9.5.0 (Mac OS X 10.5) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main No need to upgrade! expat 2.0.1_1 >= expat 2.0.1_1
 :debug:main epoch: in tree: 0 installed: 0
 :debug:main sh-rtems-binutils 2.18_0 exists in the ports tree
 :debug:main sh-rtems-binutils 2.18_0  is the latest installed
 :debug:main sh-rtems-binutils 2.18_0  is active
 :debug:main Merging existing variants '' into variants
 :debug:main new fully merged portvariants:
 :debug:main Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/sh-
 rtems-binutils
 :debug:main OS darwin/9.5.0 (Mac OS X 10.5) arch i386
 :debug:main org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 :debug:main org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 :debug:main adding the default universal variant
 :debug:main Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 :debug:main No need to upgrade! sh-rtems-binutils 2.18_0 >= sh-rtems-
 binutils 2.18_0
 :msg:main --->  Computing dependencies for sh-rtems-gcc:info:main
 .:debug:main Searching for dependency: gettext
 :debug:main Found Dependency: receipt exists for gettext
 :debug:main Searching for dependency: sh-rtems-binutils
 :debug:main Found Dependency: receipt exists for sh-rtems-binutils
 :debug:main Searching for dependency: sh-rtems-binutils
 :debug:main Found Dependency: receipt exists for sh-rtems-binutils
 :debug:main Searching for dependency: sh-rtems-binutils
 :debug:main Found Dependency: receipt exists for sh-rtems-binutils
 :debug:main Searching for dependency: sh-rtems-binutils
 :debug:main Found Dependency: receipt exists for sh-rtems-binutils
 :debug:main Searching for dependency: sh-rtems-binutils
 :debug:main Found Dependency: receipt exists for sh-rtems-binutils
 :msg:main
 :debug:main Executing org.macports.main (sh-rtems-gcc)
 :debug:main Skipping completed org.macports.fetch (sh-rtems-gcc)
 :debug:main Skipping completed org.macports.checksum (sh-rtems-gcc)
 :debug:main setting option extract.cmd to /usr/bin/bzip2
 :debug:main Skipping completed org.macports.extract (sh-rtems-gcc)
 :debug:main Skipping completed org.macports.patch (sh-rtems-gcc)
 :debug:main Skipping completed org.macports.configure (sh-rtems-gcc)
 :msg:main --->  Building sh-rtems-gcc
 :debug:build build phase started at Tue Oct  5 20:33:26 JST 2010
 :debug:build Executing org.macports.build (sh-rtems-gcc)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.5'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build" && /usr/bin/make all
 AR_FOR_TARGET=sh-rtems-ar AS_FOR_TARGET=sh-rtems-as LD_FOR_TARGET=sh-
 rtems-ld NM_FOR_TARGET=sh-rtems-nm RANLIB_FOR_TARGET=sh-rtems-ranlib'
 :info:build make[3]: Nothing to be done for `all'.
 :info:build make[2]: Nothing to be done for `all'.
 :info:build rm -f stamp-h1
 :info:build /bin/sh ./config.status config.h
 :info:build config.status: creating config.h
 :info:build config.status: config.h is unchanged
 :info:build test -f config.h || (rm -f stamp-h1 && /usr/bin/make stamp-h1)
 :info:build make[3]: Nothing to be done for `all'.
 :info:build make[2]: Nothing to be done for `all'.
 :info:build make[2]: Nothing to be done for `all'.
 :info:build make[2]: Nothing to be done for `all'.
 :info:build sed: s,^,sh-rtems-,;: No such file or directory
 :info:build sed: s,^,sh-rtems-,;: No such file or directory
 :info:build sed: s,^,sh-rtems-,;: No such file or directory
 :info:build /usr/bin/make \
 :info:build       CFLAGS="-O2 -arch i386 -W -Wall -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-
 format-attribute  " \
 :info:build       CONFIG_H="config.h  auto-host.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-
 gcc/work/gcc-4.2.3/gcc/../include/ansidecl.h" \
 :info:build       MAKEOVERRIDES= \
 :info:build       -f libgcc.mk all
 :info:build /usr/bin/make
 GCC_FOR_TARGET="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/./gcc/ -nostdinc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/sh-rtems/newlib/ -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/sh-rtems/newlib/targ-
 include -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/newlib/libc/include
 -B/opt/local/sh-rtems/bin/ -B/opt/local/sh-rtems/lib/ -isystem /opt/local
 /sh-rtems/include -isystem /opt/local/sh-rtems/sys-include" \
 :info:build       AR_FOR_TARGET="sh-rtems-ar" \
 :info:build       AR_CREATE_FOR_TARGET="sh-rtems-ar  rc" \
 :info:build       AR_EXTRACT_FOR_TARGET="sh-rtems-ar  x" \
 :info:build       AR_FLAGS_FOR_TARGET="" \
 :info:build       CC="/usr/bin/gcc-4.0" CFLAGS="-O2 -arch i386 -W -Wall
 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-
 definition -Wmissing-format-attribute  " \
 :info:build       BUILD_PREFIX="" \
 :info:build       BUILD_PREFIX_1="" \
 :info:build       LANGUAGES="" \
 :info:build       LIBGCC2_CFLAGS="-O2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-
 gcc/work/gcc-4.2.3/gcc/../newlib/libc/sys/rtems/include -O2 -O2 -arch i386
 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
 -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g
 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc "  \
 :info:build       MULTILIB_CFLAGS="" T= crt1.o crti.o crtn.o crtbegin.o
 crtend.o crtbeginS.o crtendS.o libic_invalidate_array_4-100.a
 libic_invalidate_array_4-200.a libic_invalidate_array_4a.a libgcc-
 Os-4-200.a
 :info:build sed: s,^,sh-rtems-,;: No such file or directory
 :info:build sed: s,^,sh-rtems-,;: No such file or directory
 :info:build sed: s,^,sh-rtems-,;: No such file or directory
 :info:build make[4]: `crti.o' is up to date.
 :info:build make[4]: `crtn.o' is up to date.
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/./gcc/ -nostdinc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/sh-rtems/newlib/ -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build/sh-rtems/newlib/targ-
 include -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/newlib/libc/include
 -B/opt/local/sh-rtems/bin/ -B/opt/local/sh-rtems/lib/ -isystem /opt/local
 /sh-rtems/include -isystem /opt/local/sh-rtems/sys-include -O2 -O2 -O2
 -arch i386  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-
 prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include
 -I. -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/gcc/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/gcc/../include
 -I./../intl
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/gcc/../libcpp/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/gcc/../libdecnumber
 -I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions
 -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
 -Dinhibit_libc  \
 :info:build       -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/gcc-4.2.3/gcc/crtstuff.c
 -DCRT_BEGIN \
 :info:build       -o crtbegin.o
 :info:build xgcc: i386: No such file or directory
 :info:build cc1: error: unrecognized command line option "-arch"
 :info:build make[4]: *** [crtbegin.o] Error 1
 :info:build make[3]: *** [extra] Error 2
 :info:build make[2]: *** [stmp-multilib] Error 2
 :info:build make[1]: *** [all-gcc] Error 2
 :info:build make: *** [all] Error 2
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/work/build" && /usr/bin/make all
 AR_FOR_TARGET=sh-rtems-ar AS_FOR_TARGET=sh-rtems-as LD_FOR_TARGET=sh-
 rtems-ld NM_FOR_TARGET=sh-rtems-nm RANLIB_FOR_TARGET=sh-rtems-ranlib "
 returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for sh-rtems-
 gcc): org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for sh-rtems-gcc is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_sh-rtems-gcc/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/26733>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list