From owner-freebsd-stable@FreeBSD.ORG Mon Nov 24 22:15:32 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 950CB16A4CE for ; Mon, 24 Nov 2003 22:15:32 -0800 (PST) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [206.29.169.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF62943FEA for ; Mon, 24 Nov 2003 22:15:27 -0800 (PST) (envelope-from james_mapson@umpquanet.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.12.10/8.12.10) with ESMTP id hAP6FOML011915 for ; Mon, 24 Nov 2003 22:15:24 -0800 (PST) (envelope-from james@umpquanet.com) Received: (from james@localhost) by ns.museum.rain.com (8.12.10/8.12.10/Submit) id hAP6FN2S011914 for freebsd-stable@freebsd.org; Mon, 24 Nov 2003 22:15:24 -0800 (PST) (envelope-from james) Date: Mon, 24 Nov 2003 22:15:23 -0800 From: James Long To: freebsd-stable@freebsd.org Message-ID: <20031125061523.GA11902@ns.museum.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ns.museum.rain.com Subject: portupgrade error: cannot find -lXfont X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2003 06:15:32 -0000 I am running 4.8-STABLE last cvs'ed Aug 8 20:38 on an IBM ThinkPad T21. My ports tree was last cvs'ed on Nov 9 at 23:55. The project at hand is to portupgrade all my ports. I'm down to only two remaining: + x11-servers/XFree86-4-FontServer (XFree86-FontServer-4.3.0) + x11/XFree86-4-clients (XFree86-clients-4.3.0_1) portupgrading either one fails with an error message reading: /usr/libexec/elf/ld: cannot find -lXfont A fuller context of the error message appears below. My knowledge of X is spotty at best, but since ld is reporting this, I'm guessing this is a library file I'm missing. Regardless, how can I pin down the missing link (sorry) and fix it? Thanks! (portupgrade XFree86-clients) rman -f HTML < appres._man > appres.1-html && mv -f appres.1-html appres.1.html macro "in" not recognized -- ignoring making all in programs/bdftopcf... cc -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -I/usr/ports/x11/XFree86-4-clients/work/xc/include/fonts -I/usr/ports/x11/XFree86-4-clients/work/xc/lib/font/include -I/usr/ports/x11/XFree86-4-clients/work/xc/lib/font/bitmap -I/usr/ports/x11/XFree86-4-clients/work/xc -I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c bdftopcf.c In file included from /usr/include/string.h:50, from /usr/ports/x11/XFree86-4-clients/work/xc/exports/include/X11/Xfuncs.h:49, from /usr/ports/x11/XFree86-4-clients/work/xc/lib/font/include/fontmisc.h:38, from bdftopcf.c:34: /usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined /usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined rm -f bdftopcf cc -o bdftopcf -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib bdftopcf.o -lXfont -lfntstubs -L/usr/X11R6/lib -lz -lm -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/bdftopcf. *** Error code 1 -- and may not be deinstalled (but I'll delete it anyway): XFree86-4.3.0,1 [Updating the pkgdb in /var/db/pkg ... - 132 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Building for XFree86-clients-4.3.0_3 making all in lib/lbxutil/lbx_zlib... making all in lib/lbxutil/delta... making all in lib/lbxutil/image... making all in programs/appres... making all in programs/bdftopcf... rm -f bdftopcf cc -o bdftopcf -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib bdftopcf.o -lXfont -lfntstubs -L/usr/X11R6/lib -lz -lm -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/bdftopcf. *** Error code 1 -- (portupgrade XFree86-4-FontServer) rm -f atom.o LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib cc -c -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -I../include -I/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/include/fonts -I/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/include/extensions -I/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/lib/font/include -I/usr/ports/x11-servers/XFree86-4-FontServer/work/xc -I/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO atom.c In file included from /usr/include/string.h:50, from /usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/include/X11/Xfuncs.h:49, from ../include/misc.h:52, from atom.c:55: /usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined /usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined rm -f libdifs.a ar clq libdifs.a main.o dispatch.o extensions.o globals.o events.o tables.o fontinfo.o charinfo.o swapreq.o swaprep.o resource.o fonts.o difsutils.o cache.o initfonts.o atom.o ranlib libdifs.a LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib cc -o xfs -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib difs/libdifs.a difs/libdifs.a os/libos.a -L/usr/X11R6/lib -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib -lXfont -lfntstubs -lm -lz -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 Stop in /usr/ports/x11-servers/XFree86-4-FontServer/work/xc/programs/xfs. *** Error code 1 -- ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'XFree86-FontServer-4.3.0' pkg_delete: package 'XFree86-FontServer-4.3.0' is required by these other packages and may not be deinstalled (but I'll delete it anyway): XFree86-4.3.0,1 [Updating the pkgdb in /var/db/pkg ... - 132 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Building for XFree86-FontServer-4.3.0_1 making all in programs/xfs/os... making all in programs/xfs/difs... LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib cc -o xfs -O -pipe -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib difs/libdifs.a difs/libdifs.a os/libos.a -L/usr/X11R6/lib -L/usr/ports/x11-servers/XFree86-4-FontServer/work/xc/exports/lib -L/usr/X11R6/lib -lXfont -lfntstubs -lm -lz -Wl,-rpath,/usr/X11R6/lib /usr/libexec/elf/ld: cannot find -lXfont *** Error code 1 Stop in /usr/ports/x11-servers/XFree86-4-FontServer/work/xc/programs/xfs. *** Error code 1