Opened 14 years ago

Closed 14 years ago

#26442 closed defect (duplicate)

gdc: unrecognized command line option "-arch"

Reported by: da.br.oz+gdcfail@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: gdc

Description

--->  Computing dependencies for gdc
--->  Building gdc
Error: Target org.macports.build returned: shell command failed
Log for gdc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

point to

:debug:main Executing org.macports.main (gdc)
:debug:main Skipping completed org.macports.fetch (gdc)
:debug:main Skipping completed org.macports.checksum (gdc)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (gdc)
:debug:main Skipping completed org.macports.patch (gdc)
:debug:main Skipping completed org.macports.configure (gdc)
:msg:main --->  Building gdc
:debug:build build phase started at Sat Sep 11 12:26:33 CEST 2010
:debug:build Executing org.macports.build (gdc)
: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_lang_gdc/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/build" && /usr/bin/gnumake -j2 all'
:info:build gnumake[2]: Nothing to be done for `all'.
:info:build gnumake[3]: Nothing to be done for `all'.
:info:build gnumake[2]: Nothing to be done for `all'.
:info:build gnumake[3]: Nothing to be done for `all'.
:info:build gnumake[2]: Nothing to be done for `all'.
:info:build test -f config.h || (rm -f stamp-h1 && /usr/bin/gnumake stamp-h1)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/build/./gcc/ -B/opt/local/i386-apple-darwin10.4.0/bin/ -B/opt/local/i386-apple-darwin10.4.0/lib/ -isystem /opt/local/i386-apple-darwin10.4.0/include -isystem /opt/local/i386-apple-darwin10.4.0/sys-include -O2 -pipe -O2 -arch x86_64   -DIN_GCC    -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_lang_gdc/work/gcc-4.1.2/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/gcc-4.1.2/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/gcc-4.1.2/gcc/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/gcc-4.1.2/gcc/../libcpp/include   \
:info:build 	  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/gcc-4.1.2/gcc/config/darwin-crt2.c -o crt2.o
:info:build cc1: error: unrecognized command line option "-arch"
:info:build gnumake[2]: *** [crt2.o] Error 1
:info:build gnumake[1]: *** [all-gcc] Error 2
:info:build gnumake: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/work/build" && /usr/bin/gnumake -j2 all " 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 gdc): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for gdc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc/main.log

Change History (2)

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

Owner: changed from macports-tickets@… to mww@…
Port: gdc added
Summary: gdc @0.24, Revision 2 (lang) - build failuregdc: unrecognized command line option "-arch"

Please fill in the Port field, Cc the port's maintainers, and most importantly, search for existing tickets. This is already reported as #22168.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.