Date: Mon, 24 Nov 2003 22:15:23 -0800 From: James Long <james_mapson@umpquanet.com> To: freebsd-stable@freebsd.org Subject: portupgrade error: cannot find -lXfont Message-ID: <20031125061523.GA11902@ns.museum.rain.com>
next in thread | raw e-mail | index | archive | help
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 <format:bdb1_btree> 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 <format:bdb1_btree> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031125061523.GA11902>