#21539: fontconfig-2.7.3 build error on snow leopard ------------------------------------------+--------------------------------- Reporter: imgroxx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: fontconfig snow leopard 10.6 | Port: fontconfig-2.7.3 ------------------------------------------+--------------------------------- NOT a duplicate of ticket #21470, as this isn't erring on libxml2. #21470 states that forcing libxml2 to darwin_10 variant solves, but this occurs before libxml2 is even installed (all installed ports listed below error text). I wish I could say what I think it ''is'', but alas, cannot. I'll attempt to install libxml2, and will re-do this build with a comment to follow soon on its success/failure. This entire process was started from a completely erased 1.8.0 MacPort install. I installed bzip2, and was in the process of installing ddd when this error occurred. {{{ ---> Building fontconfig Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.3" && /usr/bin/make -j2 all " returned error 2 Command output: fcxml.c:2344: error: expected ';', ',' or ')' before '*' token fcxml.c: In function 'FcConfigParseAndLoad': fcxml.c:2457: error: 'xmlParserCtxtPtr' undeclared (first use in this function) fcxml.c:2457: error: expected ';' before 'p' fcxml.c:2465: error: 'xmlSAXHandler' undeclared (first use in this function) fcxml.c:2465: error: expected ';' before 'sax' fcxml.c:2504: error: 'sax' undeclared (first use in this function) fcxml.c:2506: error: 'FcInternalSubsetDecl' undeclared (first use in this function) fcxml.c:2507: error: 'FcExternalSubsetDecl' undeclared (first use in this function) fcxml.c:2508: error: 'FcStartElement' undeclared (first use in this function) fcxml.c:2509: error: 'FcEndElement' undeclared (first use in this function) fcxml.c:2510: error: 'FcCharacterData' undeclared (first use in this function) fcxml.c:2512: error: 'p' undeclared (first use in this function) fcxml.c:2512: warning: implicit declaration of function 'xmlCreatePushParserCtxt' fcxml.c:2512: warning: nested extern declaration of 'xmlCreatePushParserCtxt' fcxml.c:2521: error: too many arguments to function 'FcConfigInit' fcxml.c:2551: warning: implicit declaration of function 'xmlParseChunk' fcxml.c:2551: warning: nested extern declaration of 'xmlParseChunk' fcxml.c:2557: warning: implicit declaration of function 'xmlCtxtGetLastError' fcxml.c:2557: warning: nested extern declaration of 'xmlCtxtGetLastError' fcxml.c:2557: error: invalid type argument of '->' fcxml.c:2565: warning: implicit declaration of function 'xmlFreeParserCtxt' fcxml.c:2565: warning: nested extern declaration of 'xmlFreeParserCtxt' make[3]: *** [fcxml.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict- aliasing -DFC_CACHEDIR=\"/opt/local/var/cache/fontconfig\" -DFONTCONFIG_PATH=\"/opt/local/etc/fonts\" -I/opt/local/include -O2 -arch x86_64 -MT fcpat.lo -MD -MP -MF .deps/fcpat.Tpo -c fcpat.c -o fcpat.o
/dev/null 2>&1 mv -f .deps/fcpat.Tpo .deps/fcpat.Plo make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: The following dependencies failed to build: openmotif Xft2 fontconfig pkgconfig xorg-xproto xrender xorg-libX11 autoconf help2man gettext p5-locale-gettext perl5 perl5.8 m4 automake libtool xorg- bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg- util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg- xtrans xorg-renderproto jpeg libpng xbitmaps xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXp xorg-printproto xorg-libXaw xpm Error: Status 1 encountered during processing. Goodbye Navi:~ Groxx$ sudo port Password: MacPorts 1.8.0 Entering interactive mode... ("help" for help, "quit" to quit) [Users/Groxx] > list installed bzip2 @1.0.5 archivers/bzip2 expat @2.0.1 textproc/expat freetype @2.3.9 print/freetype gperf @3.0.4 devel/gperf libiconv @1.13 textproc/libiconv ncurses @5.7 devel/ncurses ncursesw @5.7 devel/ncursesw zlib @1.2.3 archivers/zlib }}} -- Ticket URL: <http://trac.macports.org/ticket/21539> MacPorts <http://www.macports.org/> Ports system for Mac OS