From owner-freebsd-x11@FreeBSD.ORG Mon May 28 15:39:27 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 9C57B16A476 for ; Mon, 28 May 2007 15:39:27 +0000 (UTC) (envelope-from mgtour@gmail.com) Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.4.199]) by mx1.freebsd.org (Postfix) with ESMTP id 6294813C4BB for ; Mon, 28 May 2007 15:39:27 +0000 (UTC) (envelope-from mgtour@gmail.com) Received: from [67.86.196.230] (ool-4356c4e6.dyn.optonline.net [67.86.196.230]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JIR00C1DCTE5730@mta4.srv.hcvlny.cv.net> for freebsd-x11@freebsd.org; Mon, 28 May 2007 11:39:15 -0400 (EDT) Date: Mon, 28 May 2007 11:39:17 -0400 From: Matt In-reply-to: <200705281625.45749.dejan.lesjak@ijs.si> To: Dejan Lesjak Message-id: <465AF7A5.6070104@gmail.com> MIME-version: 1.0 References: <465A0FA9.3040900@gmail.com> <200705281218.02529.dejan.lesjak@ijs.si> <465AE458.9040502@gmail.com> <200705281625.45749.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: freebsd-x11@freebsd.org 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 15:39:27 -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. >> > > What does "make -V PKGNAME" in that directory say? > > Dejan > That's it! It turned out, I commented all x11 stuff in my ports-supfile on this headless mail server, so the new x11 was not cvs'ed. After uncommenting those the upgrade works fine. Thanks very much! Now I need to figure out how to trim all those newly installed x11 ports. This server does not need X11 at all, only because metamail demanded some X11 libraries, so that dozens of X11 ports are installed after the upgrade ... Thanks, Matt