Opened 10 years ago

Closed 10 years ago

#18145 closed defect (wontfix)

gcc42 build failure on Panther

Reported by: ryandesign (Ryan Schmidt) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: panther Cc: gallafent
Port: gcc42

Description

gcc42 doesn't build on Mac OS X 10.3.9 Panther with Xcode 1.5 and MacPorts 1.7.0 on a Power Mac G4:

--->  Fetching gcc42
--->  Verifying checksum(s) for gcc42
--->  Extracting gcc42
--->  Configuring gcc42
--->  Building gcc42
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc42/work/build" && nice -n 10 make all " returned error 2
Command output: checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether vasprintf is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking for nl_langinfo and CODESET... yes
checking whether NLS is requested... no
checking for uchar... 
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depdir commands
Makefile:190: *** Insufficient number of arguments (2) to function `patsubst'.  Stop.
make[2]: *** [all-stage1-libcpp] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

This was also reported on macports-users in June 2007 where it was determined that a build dependency on gmake and the line "build.cmd gmake" is needed to give Panther a newer GNU make, but that then one runs into the error:

/usr/bin/libtool: unknown option character `m' 
in: -macosx_version_min

This sounds similar to the problem encountered building gcc43 on Panther.

There was also a ticket filed for problems building gcc42 4.2-20060204 on Panther which was never resolved, but those errors look different and may have been taken care of via newer versions of gcc 4.2.

Change History (5)

comment:1 Changed 10 years ago by ryandesign (Ryan Schmidt)

r46292: added gmake dependency on Panther (maintainer timeout)

comment:2 Changed 10 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 10 years ago by tobypeterson

Keywords: panther added

comment:4 Changed 10 years ago by tobypeterson

Resolution: wontfix

panther is dead

comment:5 Changed 10 years ago by tobypeterson

Status: newclosed
Note: See TracTickets for help on using tickets.