[MacPorts] #22328: i386-mingw32-gcc still fails to build on Snow Leopard

MacPorts noreply at macports.org
Wed Nov 25 11:35:06 PST 2009


#22328: i386-mingw32-gcc still fails to build on Snow Leopard
---------------------------------+------------------------------------------
  Reporter:  royliu@…            |       Owner:  landonf@…           
      Type:  defect              |      Status:  closed              
  Priority:  Normal              |   Milestone:                      
 Component:  ports               |     Version:  1.8.1               
Resolution:  fixed               |    Keywords:                      
      Port:  i386-mingw32-gcc    |  
---------------------------------+------------------------------------------

Comment(by xue.yong.zhi@…):

 Replying to [comment:11 aeh@…]:
 > many thanks
 >
 > building mingw32 on my snow leopard work fine now.
 >
 >
 > /alfred


 It does not work for me with mac port 1.8.1. How do you get it installed?

 $ gcc -v
 Using built-in specs.
 Target: i686-apple-darwin10
 Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking
 --enable-werror --prefix=/usr --mandir=/share/man --enable-
 languages=c,objc,c++,obj-c++ --program-transform-
 name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
 darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686
 -apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
 Thread model: posix
 gcc version 4.2.1 (Apple Inc. build 5646)

 $ uname -a
 Darwin mac.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10
 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

 $sudo port install i386-mingw32-gcc
 --->  Computing dependencies for i386-mingw32-gcc
 --->  Building i386-mingw32-binutils
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/build"
 && /usr/bin/make -j2 all " returned error 2
 Command output: Making info in po
 make[3]: Nothing to be done for `info'.
 make[3]: Nothing to be done for `info'.
 make[3]: Nothing to be done for `info-am'.
 /usr/bin/make  all-recursive
 make[3]: Nothing to be done for `info-am'.
 /usr/bin/make  all-recursive
 Making all in doc
 Making all in doc
 make[4]: Nothing to be done for `all'.
 Making all in po
 make[4]: Nothing to be done for `all'.
 Making all in po
 make[4]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all'.
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils
 -I. -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils
 -I../bfd
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils/../bfd
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils/../include
 -DLOCALEDIR="\"/opt/local/share/locale\""
 -Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -I/opt/local/include
 -arch x86_64 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils/strings.c
 make[4]: Nothing to be done for `all-am'.
 /usr/bin/make  all-recursive
 Making all in po
 make[4]: Nothing to be done for `all'.
 cc1: warnings being treated as errors
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils/strings.c:
 In function 'strings_file':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-mingw32-binutils/work/binutils-2.19.1/binutils/strings.c:407:
 warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465)
 make[4]: *** [strings.o] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-binutils] Error 2
 make[1]: *** Waiting for unfinished jobs....
 make[4]: Nothing to be done for `all-am'.
 make: *** [all] Error 2

 Error: The following dependencies failed to build: i386-mingw32-binutils
 i386-mingw32-runtime i386-mingw32-w32api
 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/22328#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list