Problem building gcc42 on 10.3.9.

William Gallafent william at gallaf.net
Wed Jun 27 02:17:28 PDT 2007


Ah, now I run a single threaded build, I see the real problem. 
Could this be that the version of make in the latest version of 
XCode for 10.3.9 (GNU make 3.79) is too old? In that case, this 
port should be made to depend on the gmake port.

Portfile changed since last build; discarding previous state.
--->  Fetching gcc42
--->  Verifying checksum(s) for gcc42
--->  Extracting gcc42
--->  Configuring gcc42
--->  Building gcc42 with target bootstrap
Error: Target com.apple.build returned: shell command " 
cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/build" 
&& make bootstrap " 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: *** [bootstrap] Error 2

Error: Status 1 encountered during processing.

-- 
Bill Gallafent.



More information about the macports-users mailing list