#9172 closed defect (worksforme)
fontconfig failed to build
Reported by: | as@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | as@… | |
Port: |
Description
I try to install ethereal port, and fontconfig build failed with the following errors: $ sudo port -v install ethereal Password: ---> Building fontconfig with target all make all-recursive Making all in fontconfig make[2]: Nothing to be done for `all'. Making all in fc-case make[2]: Nothing to be done for `all'. Making all in fc-lang make[2]: Nothing to be done for `all'. Making all in fc-glyphname make[2]: Nothing to be done for `all'. Making all in src if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/freetype2 -I/opt/local/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH='"/opt/local/etc/fonts"' -I.. -I../src -I/opt/local/include -g -O2 -MT fcfreetype.lo -MD -MP -MF ".deps/fcfreetype.Tpo" \
-c -o fcfreetype.lo
test -f 'fcfreetype.c' || echo './'
fcfreetype.c; \
then mv -f ".deps/fcfreetype.Tpo" ".deps/fcfreetype.Plo"; \ else rm -f ".deps/fcfreetype.Tpo"; exit 1; \ fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/freetype2 -I/opt/local/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/opt/local/etc/fonts\" -I.. -I../src -I/opt/local/include -g -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c -fno-common -DPIC -o .libs/fcfreetype.o
fcfreetype.c:53:10: error: #include expects "FILENAME" or <FILENAME>
<many strings with errors and warnings on fcfreetype.c snipped>
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
Warning: the following items did not execute (for fontconfig): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: The following dependencies failed to build: gtk2 cairo fontconfig libpixman libpng render xrender pango Xft2 tiff jpeg libpcap openssl Error: /opt/local/bin/port: Status 1 encountered during processing.
The same error I got also after "sudo port -v install fontconfig". Of course, I run "port -d sync" before "port install ethereal".
Change History (4)
comment:1 Changed 18 years ago by blb@…
comment:2 Changed 18 years ago by as@…
Cc: | as@… added |
---|
iBook:~ as$ port installed freetype The following ports are currently installed:
freetype @2.2.1_0 (active)
comment:3 Changed 18 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
That would be the problem; you need to revert to the 2.1.10 version of freetype (the Portfile has been moved back to that version, once you sync your install); see bug 9149, as well as
http://opendarwin.org/pipermail/darwinports/2006-May/034349.html http://opendarwin.org/pipermail/darwinports/2006-May/034364.html
Which version of freetype do you have (use 'port installed freetype' to find out)?