DP & Fontconfig Issues

Anthony Agelastos <[email protected]> Sat, 19 Aug 2006 11:07:35 -0400
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Hello all,

I have several issues going on simultaneously. Any ideas? Thank you  
for your assistance.

1. Even with the upgrade to MacPorts 1.320, I still had to rename my / 
usr/local directory to /usr/localtmp to get it to compile (not just  
the offending file or two... but the whole directory) and not use  
anything from /usr/local.

2. I don't have fontconfig installed and when I do a `sudo port  
upgrade installed` it tries to install fontconfig and then fails on it.

macko:~ iqgrande$ port outdated
The following installed ports are outdated:
macko:~ iqgrande$ port installed
The following ports are currently installed:
   aquaterm @1.0.0_0+darwin_8 (active)
   atk @1.11.4_0 (active)
   bzip2 @1.0.3_0 (active)
   cdrtools @2.01_2 (active)
   clamav @0.88.4_0 (active)
   dejagnu @1.4.4_0 (active)
   docbook-xml-scrollkeeper @4.2_0 (active)
   expat @2.0.0_1 (active)
   fftw-3 @3.1.1_0 (active)
   fortune @4.6.2-RELEASE_7 (active)
   freetype @2.2.1_0 (active)
   gawk @3.1.5_2 (active)
   gcc42 @4.2-20060729_0+darwin_8 (active)
   gd2 @2.0.33_2 (active)
   gettext @0.14.6_0 (active)
   ghostscript @8.54_0 (active)
   glib2 @2.12.0_1 (active)
   gmp @4.2.1_4+darwin_i386+test (active)
   gnuplot @4.0.0_2+darwin_8 (active)
   grace @5.1.18_0 (active)
   gsed @4.1.5_0 (active)
   hdf5 @1.6.4_0 (active)
   ImageMagick @6.2.7-5_0+darwin_8+jbig+jpeg2+mpeg+wmf (active)
   intltool @0.35.0_0 (active)
   jasper @1.701.0_0 (active)
   jbigkit @1.6_0 (active)
   jpeg @6b_1 (active)
   libcompat @4.6.2-RELEASE_0+darwin_8 (active)
   libiconv @1.10_1+darwin_8 (active)
   libpixman @0.1.6_0 (active)
   libpng @1.2.10_2+darwin_8 (active)
   libusb @0.1.12_0 (active)
   libwmf @0.2.8.4_0 (active)
   libxml2 @2.6.23_0 (active)
   maxima @5.9.3_1+test (active)
   mpeg2vidcodec @1.2_0+x11 (active)
   mpfr @2.2.0_3+darwin_8+darwin_i386 (active)
   odcctools @20060413_0 (active)
   openmotif @2.3.0-20060106_0+darwin_8 (active)
   p5-xml-parser @2.34_3 (active)
   pdflib @6.0.3_0+darwin_8 (active)
   perl5.8 @5.8.8_0+darwin_8 (active)
   pkgconfig @0.20_0 (active)
   readline @5.1.004_0 (active)
   render @0.9_0 (active)
   sane-backends @1.0.17_0+local-backends (active)
   sbcl @0.9.14_0+test (active)
   teTeX @3.0_2 (active)
   texi2html @1.76_3 (active)
   texinfo @4.8_1 (active)
   tiff @3.8.2_0+darwin_8 (active)
   Xft2 @2.1.7_0 (active)
   xrender @0.9.0_0+darwin_8 (active)
   zlib @1.2.3_0 (active)
macko:~ iqgrande$ sudo port clean --all fontconfig
--->  Cleaning fontconfig
macko:~ iqgrande$ sudo port upgrade installed
--->  Fetching fontconfig
--->  Attempting to fetch fontconfig-2.3.2.tar.gz from http:// 
fontconfig.org/release/
--->  Verifying checksum(s) for fontconfig
--->  Extracting fontconfig
--->  Configuring fontconfig
--->  Building fontconfig with target all
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_dp 
orts_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned  
error 2
Command output: fcfreetype.c:2710: error: (Each undeclared identifier  
is reported only once
fcfreetype.c:2710: error: for each function it appears in.)
fcfreetype.c:2710: error: parse error before 'tt_face'
fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this  
function)
fcfreetype.c:2722: warning: implicit declaration of function  
'FT_STREAM_POS'
fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS'
fcfreetype.c:2726: warning: implicit declaration of function  
'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: nested extern declaration of  
'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: implicit declaration of function  
'FT_FRAME_ENTER'
fcfreetype.c:2726: warning: nested extern declaration of  
'FT_FRAME_ENTER'
fcfreetype.c:2729: warning: implicit declaration of function  
'FT_GET_USHORT'
fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT'
fcfreetype.c:2731: warning: implicit declaration of function  
'FT_FRAME_EXIT'
fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT'
fcfreetype.c:2747: warning: implicit declaration of function  
'FT_SET_ERROR'
fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR'
fcfreetype.c:2747: warning: implicit declaration of function  
'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: warning: nested extern declaration of  
'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: error: parse error before 'FT_ULong'
fcfreetype.c:2756: warning: implicit declaration of function  
'FT_GET_ULONG'
fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG'
fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE'
fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE'
fcfreetype.c:2714: warning: unused variable 'memory'
fcfreetype.c: In function 'FcFontCapabilities':
fcfreetype.c:2823: warning: pointer targets in passing argument 1 of  
'strcpy' differ in signedness
fcfreetype.c:2800: warning: unused variable 'memory'
make[2]: *** [fcfreetype.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

--->  Building fontconfig with target all
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_dp 
orts_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned  
error 2
Command output: fcfreetype.c:2710: error: (Each undeclared identifier  
is reported only once
fcfreetype.c:2710: error: for each function it appears in.)
fcfreetype.c:2710: error: parse error before 'tt_face'
fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this  
function)
fcfreetype.c:2722: warning: implicit declaration of function  
'FT_STREAM_POS'
fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS'
fcfreetype.c:2726: warning: implicit declaration of function  
'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: nested extern declaration of  
'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: implicit declaration of function  
'FT_FRAME_ENTER'
fcfreetype.c:2726: warning: nested extern declaration of  
'FT_FRAME_ENTER'
fcfreetype.c:2729: warning: implicit declaration of function  
'FT_GET_USHORT'
fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT'
fcfreetype.c:2731: warning: implicit declaration of function  
'FT_FRAME_EXIT'
fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT'
fcfreetype.c:2747: warning: implicit declaration of function  
'FT_SET_ERROR'
fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR'
fcfreetype.c:2747: warning: implicit declaration of function  
'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: warning: nested extern declaration of  
'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: error: parse error before 'FT_ULong'
fcfreetype.c:2756: warning: implicit declaration of function  
'FT_GET_ULONG'
fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG'
fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE'
fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE'
fcfreetype.c:2714: warning: unused variable 'memory'
fcfreetype.c: In function 'FcFontCapabilities':
fcfreetype.c:2823: warning: pointer targets in passing argument 1 of  
'strcpy' differ in signedness
fcfreetype.c:2800: warning: unused variable 'memory'
make[2]: *** [fcfreetype.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

--->  Building fontconfig with target all
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_dp 
orts_graphics_fontconfig/work/fontconfig-2.3.2" && make all" returned  
error 2
Command output: fcfreetype.c:2710: error: (Each undeclared identifier  
is reported only once
fcfreetype.c:2710: error: for each function it appears in.)
fcfreetype.c:2710: error: parse error before 'tt_face'
fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this  
function)
fcfreetype.c:2722: warning: implicit declaration of function  
'FT_STREAM_POS'
fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS'
fcfreetype.c:2726: warning: implicit declaration of function  
'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: nested extern declaration of  
'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: implicit declaration of function  
'FT_FRAME_ENTER'
fcfreetype.c:2726: warning: nested extern declaration of  
'FT_FRAME_ENTER'
fcfreetype.c:2729: warning: implicit declaration of function  
'FT_GET_USHORT'
fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT'
fcfreetype.c:2731: warning: implicit declaration of function  
'FT_FRAME_EXIT'
fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT'
fcfreetype.c:2747: warning: implicit declaration of function  
'FT_SET_ERROR'
fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR'
fcfreetype.c:2747: warning: implicit declaration of function  
'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: warning: nested extern declaration of  
'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: error: parse error before 'FT_ULong'
fcfreetype.c:2756: warning: implicit declaration of function  
'FT_GET_ULONG'
fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG'
fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE'
fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE'
fcfreetype.c:2714: warning: unused variable 'memory'
fcfreetype.c: In function 'FcFontCapabilities':
fcfreetype.c:2823: warning: pointer targets in passing argument 1 of  
'strcpy' differ in signedness
fcfreetype.c:2800: warning: unused variable 'memory'
make[2]: *** [fcfreetype.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2