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

MacPorts noreply at macports.org
Fri Nov 6 02:54:11 PST 2009


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

Comment(by aeh@…):

 building on snow leopard:


 cc1: warnings being treated as errors

 is it possible to disable -Werror in the makefile ?


 {{{
 ibm-20887c0f571:i386-mingw32-w32api alfredh$ sudo port install
 i386-mingw32-binutils
 --->  Computing dependencies for i386-mingw32-binutils
 --->  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: make[3]: Nothing to be done for `info'.
 Making info in po
 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
 make[4]: Nothing to be done for `all'.
 Making all in po
 make[4]: Nothing to be done for `all'.
 Making all in doc
 make[4]: Nothing to be done for `all'.
 Making all in po
 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
 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....
 Making all in po
 make[4]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all-am'.
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list