[MacPorts] #20197: Binutils 2.19 fails to build on Snow Leopard (10.6) x86_64

MacPorts noreply at macports.org
Mon Jul 6 07:55:25 PDT 2009


#20197: Binutils 2.19 fails to build on Snow Leopard (10.6) x86_64
-------------------------------+--------------------------------------------
 Reporter:  sparcdr@…          |       Owner:  pguyot@…           
     Type:  defect             |      Status:  new                
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:  1.8.0              
 Keywords:                     |        Port:  binutils           
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => pguyot@…
  * port:  => binutils


Old description:

> sparcdr at xray-lan ~$ sudo port install binutils
> --->  Computing dependencies for binutils
> --->  Building 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_devel_binutils/work/binutils-2.19"
> && /usr/bin/make -j2 all " returned error 2
> Command output: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I.
> -I. -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c wrstabs.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c addr2line.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c readelf.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c unwind-ia64.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c nm.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c is-strip.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c cxxfilt.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c size.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c bucomm.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c version.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c filemode.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c  .././binutils/objdump.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c dwarf.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c prdbg.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c rddbg.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c debug.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c stabs.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c ieee.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c rdcoff.c
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c arparse.c -Wno-error
> /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
> -I.././binutils -I../bfd -I.././binutils/../bfd
> -I.././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 -arch x86_64
> -c strings.c
> cc1: warnings being treated as errors
> strings.c: In function 'strings_file':
> strings.c:407: warning: 'stat64' is deprecated (declared at
> /usr/include/sys/stat.h:465)
> make[4]: *** [strings.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-binutils] Error 2
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.

New description:

 {{{
 sparcdr at xray-lan ~$ sudo port install binutils
 --->  Computing dependencies for binutils
 --->  Building 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_devel_binutils/work/binutils-2.19"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I.
 -I. -I.././binutils -I../bfd -I.././binutils/../bfd
 -I.././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 -arch x86_64 -c
 wrstabs.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 addr2line.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 readelf.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 unwind-ia64.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c nm.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c is-
 strip.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 cxxfilt.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 size.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 bucomm.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 version.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 filemode.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 .././binutils/objdump.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 dwarf.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 prdbg.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 rddbg.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 debug.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 stabs.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 ieee.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 rdcoff.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 arparse.c -Wno-error
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I.
 -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 -arch x86_64 -c
 strings.c
 cc1: warnings being treated as errors
 strings.c: In function 'strings_file':
 strings.c:407: warning: 'stat64' is deprecated (declared at
 /usr/include/sys/stat.h:465)
 make[4]: *** [strings.o] Error 1
 make[4]: *** Waiting for unfinished jobs....
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-binutils] Error 2
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Please use WikiFormatting.

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


More information about the macports-tickets mailing list