Opened 15 years ago

Closed 14 years ago

#21588 closed defect (wontfix)

binutils fails to build +universal

Reported by: mirko.g@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: mirko.grewing@…
Port: binutils

Description

I tried to install binutils universal on Leopard and I got this error:

$ sudo port uninstall libcryptopp
--->  Deactivating libcryptopp @5.5.2_0
--->  Uninstalling libcryptopp @5.5.2_0
mac-factory:aMule-2.2.6 macfactory$ sudo port install binutils +universal
--->  Computing dependencies for binutils
--->  Fetching binutils
--->  Attempting to fetch binutils-2.19.tar.bz2 from ftp://ftp.lip6.fr/pub/gnu/binutils
--->  Verifying checksum(s) for binutils
--->  Extracting binutils
--->  Configuring binutils
--->  Configuring binutils for architecture i386
--->  Configuring binutils for architecture ppc
--->  Building binutils
--->  Building binutils for architecture i386
--->  Building binutils for architecture ppc
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-ppc" && /usr/bin/make -j2 all " returned error 2
Command output: 	  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic   .././libiberty/xstrndup.c -o pic/xstrndup.o; \
	else true; fi
if [ x"" != x ]; then \
	  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic   .././libiberty/mempcpy.c -o pic/mempcpy.o; \
	else true; fi
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/xstrndup.c -o xstrndup.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/mempcpy.c -o mempcpy.o
if [ x"" != x ]; then \
	  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic   .././libiberty/stpncpy.c -o pic/stpncpy.o; \
	else true; fi
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/stpncpy.c -o stpncpy.o
if [ x"" != x ]; then \
	  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic   .././libiberty/strndup.c -o pic/strndup.o; \
	else true; fi
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/strndup.c -o strndup.o
if [ x"" != x ]; then \
	  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic   .././libiberty/strverscmp.c -o pic/strverscmp.o; \
	else true; fi
if [ x"" != x ]; then \
	  /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic   .././libiberty/strncmp.c -o pic/strncmp.o; \
	else true; fi
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/strncmp.c -o strncmp.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -O2 -arch ppc -I. -I.././libiberty/../include  -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/strverscmp.c -o strverscmp.o
rm -f ./libiberty.a pic/./libiberty.a
powerpc-apple-darwin9.8.0-ar rc ./libiberty.a \
	  ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./mempcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./strncmp.o
make[2]: powerpc-apple-darwin9.8.0-ar: Command not found
make[2]: *** [libiberty.a] Error 127
make[1]: *** [all-libiberty] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: binutils universal Leopard removed
Owner: changed from macports-tickets@… to pguyot@…

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from pguyot@… to macports-tickets@…
Summary: binutils universal on Leopardbinutils fails to build +universal

#22345 says it also fails on 10.6.

comment:3 in reply to:  2 Changed 15 years ago by mirko.g@…

Replying to jmr@…:

#22345 says it also fails on 10.6.

Just a note: I verified again #22345 occurs with 10.5+ and MacPorts 1.8.1...

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

Cc: mirko.grewing@… added

Has duplicate #27630.

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

Disabled universal variant in r74298.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

Closing given how long this ticket has been open without anyone supplying a patch (and the port has no maintainer).

Note: See TracTickets for help on using tickets.