From owner-freebsd-x11@FreeBSD.ORG Mon May 28 14:16:55 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40DCE16A47D for ; Mon, 28 May 2007 14:16:55 +0000 (UTC) (envelope-from mgtour@gmail.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1890613C45D for ; Mon, 28 May 2007 14:16:55 +0000 (UTC) (envelope-from mgtour@gmail.com) Received: from [67.86.196.230] (ool-4356c4e6.dyn.optonline.net [67.86.196.230]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JIR0055Z906ZEI0@mta1.srv.hcvlny.cv.net> for freebsd-x11@freebsd.org; Mon, 28 May 2007 10:16:54 -0400 (EDT) Date: Mon, 28 May 2007 10:16:56 -0400 From: Matt In-reply-to: <200705281218.02529.dejan.lesjak@ijs.si> To: Dejan Lesjak , freebsd-x11@freebsd.org Message-id: <465AE458.9040502@gmail.com> MIME-version: 1.0 References: <465A0FA9.3040900@gmail.com> <200705281218.02529.dejan.lesjak@ijs.si> User-Agent: Thunderbird 1.5.0.10 (X11/20070221) Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: xorg upgrade problem - fontconfig won't compile X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 14:16:55 -0000 > On Monday 28 of May 2007, Matt wrote: > >> Hi, I followed Kris' instruction on upgrading, but was stuck with the >> following error when running "portupgrade -Rf libXft" on this headless, >> 6.1-SECURITY: >> >> ... >> cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/freetype2 >> -I/usr/local/include -I/usr/local/include -Wall -Wpointer-arith >> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations >> -Wnested-externs -fno-strict-aliasing >> -DFONTCONFIG_PATH=\"/usr/local/etc/fonts\" -I.. -I../src -O2 >> -fno-strict-aliasing -pipe -MT fcfreetype.lo -MD -MP -MF >> .deps/fcfreetype.Tpo -c fcfreetype.c -fPIC -DPIC -o .libs/fcfreetype.o >> fcfreetype.c:53:10: #include expects "FILENAME" or >> fcfreetype.c:58:10: #include expects "FILENAME" or >> fcfreetype.c:59:10: #include expects "FILENAME" or >> fcfreetype.c:60:10: #include expects "FILENAME" or >> fcfreetype.c: In function `FcGetPixelSize': >> fcfreetype.c:958: error: dereferencing pointer to incomplete type >> fcfreetype.c: In function `FcFreeTypeQuery': >> fcfreetype.c:1435: error: dereferencing pointer to incomplete type >> fcfreetype.c:1442: error: dereferencing pointer to incomplete type >> fcfreetype.c:1465: error: dereferencing pointer to incomplete type >> fcfreetype.c:1545: error: dereferencing pointer to incomplete type >> ... many more similar lines >> gmake[2]: *** [fcfreetype.lo] Error 1 >> gmake[2]: Leaving directory >> `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.3.2/src' >> gmake[1]: *** [all-recursive] Error 1 >> gmake[1]: Leaving directory >> `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.3.2' >> gmake: *** [all] Error 2 >> *** Error code 2 >> >> Stop in /usr/ports/x11-fonts/fontconfig. >> ** Command failed [exit code 1]: /usr/bin/script -qa >> /tmp/portupgrade.3578.4 env UPGRADE_TOOL=portupgrade >> UPGRADE_PORT=fontconfig-2.3.2_3,1 UPGRADE_PORT_VER=2.3.2_3,1 make >> ** Fix the problem and try again. >> ---> Skipping 'x11/xorg-libraries' (xorg-libraries-6.9.0) because a >> requisite package 'fontconfig-2.3.2_3,1' (x11-fonts/fontconfig) failed >> (specify -k to force) >> ---> Skipping 'x11-fonts/libXft' (libXft-2.1.7_1) because a requisite >> package 'xorg-libraries-6.9.0' (x11/xorg-libraries) failed (specify -k >> to force) >> ** Listing the failed packages (*:skipped / !:failed) >> ! x11-fonts/fontconfig (fontconfig-2.3.2_3,1) (compiler error) >> * x11/xorg-libraries (xorg-libraries-6.9.0) >> * x11-fonts/libXft (libXft-2.1.7_1) >> ---> Packages processed: 4 done, 0 ignored, 2 skipped and 1 failed >> >> Did I miss something? >> > > Updating your ports tree apparently. There should be fontconfig 2.4.2_2,1 and > libXft 2.1.12 there. > > Dejan > Doing "make" in x11-fonts/fontconfig/ resulted into exactly the same error. There appears to be some reporting elsewhere, see, for example, http://lists.freedesktop.org/archives/xorg/2006-September/018127.html , which appears to be related to xorg upgrading itself, not necessarily a Freebsd port issue. But not clear to me how to get around that. Do you have more advice? Thanks, Matt