Opened 19 years ago

Closed 18 years ago

#4122 closed defect (wontfix)

BUG: i386-mingw32-gcc fails to build on my system

Reported by: dave@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: dave@…, b.riefenstahl@…, markd@…
Port:

Description

I am very new to darwin ports, so it is entirely possible that I am wasting your time with a configuration error on my part. I've successfully installed some other ports, and built a few tarballs from scratch, so I am *reasonably* sure that isn't the case. Here's a little about me (OS X 10.4.2):

swan:~ dave$ uname -a Darwin swan 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc

swan:~ dave$ port version Version: 1.100

And finally: swan:~ dave$ sudo port install i386-mingw32-gcc Password: ---> Building i386-mingw32-gcc with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/build" && make all" returned error 2 Command output: make[2]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. : make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/local" "infodir=/opt/local/share/info" "libdir=/opt/local/lib" "prefix=/opt/local" "tooldir=/opt/local/i386-mingw32" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g - O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/build/gcc/xgcc -B/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/build/gcc/ -B/opt/local/i386-mingw32/bin/ -B/opt/local/i386-mingw32/lib/ - isystem /opt/local/i386-mingw32/include -isystem /opt/local/i386-mingw32/sys-include -O2 - DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes - Wold-style-definition -isystem ./include -I. -I. -I/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc -I/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/. -I/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/../include -g0 -finhibit-size-directive -fno-inline- functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \

-Dinhibit_libc -c /opt/local/var/db/dports/build/

file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/crtstuff.c -DCRT_BEGIN \

-o crtbegin.o

In file included from ./tm.h:10,

from /opt/local/var/db/dports/build/

file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/crtstuff.c:64: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/config/i386/cygming.h:53:19: stdio.h: No such file or directory In file included from ./tm.h:10,

from /opt/local/var/db/dports/build/

file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/crtstuff.c:64: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/config/i386/cygming.h:358: error: syntax error before '*' token /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_i386- mingw32-gcc/work/gcc-3.4.2-20040916-1/gcc/config/i386/cygming.h:358: warning: function declaration isn't a prototype make[1]: * [crtbegin.o] Error 1 make: * [all-gcc] Error 2

Change History (4)

comment:1 Changed 19 years ago by b.riefenstahl@…

Cc: b.riefenstahl@… added

[...]/cygming.h:53:19: stdio.h: No such file or directory

I just had that very problem on a linux system. In my case, I hadn't installed i386-mingw32-runtime before compiling. To compile gcc, the runtime must be already be installed (in the prefix given to configure) correctly.

benny

comment:2 Changed 19 years ago by david@…

This very thing came up in conversation with the maintainer. Unfortunately, i386-mingw32-runtime also does not compile/install on my system (as far I can tell, it's dependancies are met), but that is for a different bug. I recommend either closing this bug or setting it to "later", to be reviewed when i386- mingw32-runtime installs for me.

comment:3 Changed 19 years ago by mww@…

Summary: i386-mingw32-gcc fails to build on my systemBUG: i386-mingw32-gcc fails to build on my system

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: wontfix
Status: newclosed

(In reply to comment #2)

This very thing came up in conversation with the maintainer. Unfortunately, i386-mingw32-runtime also does not compile/install on my system (as far I can tell, it's dependancies are met), but that is for a different bug. I recommend either closing this bug or setting it to "later", to be reviewed when i386- mingw32-runtime installs for me.

Ok, I'll set it to wontfix for now. Thanks.

Note: See TracTickets for help on using tickets.