[MacPorts] #18145: gcc42 build failure on Panther

MacPorts noreply at macports.org
Wed Jan 21 23:00:27 PST 2009


#18145: gcc42 build failure on Panther
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  mww@…           
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:  Port Bugs       
Component:  ports                    |     Version:  1.7.0           
 Keywords:                           |        Port:  gcc42           
-------------------------------------+--------------------------------------
 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 [http://lists.macosforge.org/pipermail/macports-
 users/2007-June/004109.html 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 [ticket:18144 problem encountered building
 gcc43 on Panther].

 There was also [ticket:7167 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.

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


More information about the macports-tickets mailing list