From owner-freebsd-ports@FreeBSD.ORG Mon Jul 23 18:30:51 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA43616A421 for ; Mon, 23 Jul 2007 18:30:51 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id A70C813C461 for ; Mon, 23 Jul 2007 18:30:51 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l6NIUpx0005986 for ; Mon, 23 Jul 2007 14:30:51 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l6NIUip7058818 for ; Mon, 23 Jul 2007 14:30:44 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l6NIUiM6058817 for freebsd-ports@freebsd.org; Mon, 23 Jul 2007 14:30:44 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200707231830.l6NIUiM6058817@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-ports@freebsd.org Date: Mon, 23 Jul 2007 14:30:44 -0400 (EDT) X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Xorg upgrade issues, pulling wrong lib X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 18:30:52 -0000 Hi, I've asked this on questions, but thought maybe porters would have a better idea... I'm following the directions to upgrade Xorg (REALLY I AM, PROMISE!) and I'm seeing this fly by my screen : /usr/local/bin/bdftopcf -t lubR12-ISO8859-13.bdf | gzip > lubR12-ISO8859-13.pcf.gz /libexec/ld-elf.so.1: /usr/X11R6/lib/libXfont.so.1: Undefined symbol "serverClient" /usr/local/bin/ucs2any lubR14.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-13 ISO8859-13 Writing 192 characters into file 'lubR14-ISO8859-13.bdf'. (AND SO ON) I won't go any further as I'm sure this is indicating a problem. But where/how? -r-xr-xr-x 1 root wheel 5308 Jul 23 13:18 /usr/local/bin/bdftopcf /usr/local/bin/bdftopcf: libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x2807f000) libc.so.5 => /lib/libc.so.5 (0x280e5000) Looks like its picking up libXfont.so.1 from the /usr/X11R6 : -rwxr-xr-x 1 root wheel 424992 Oct 26 2006 /usr/X11R6/lib/libXfont.so.1 and not from the local : -rwxr-xr-x 1 root wheel 432705 Jul 23 13:18 /usr/local/lib/libXfont.so.1 What could cause it? How do I fix it mid build? Is there anything else I should be looking at? So I went to x11-fonts/bdftopcf. I set my XORG_UPGRADE variable (Just incase) and did : ===> Vulnerability check disabled, database not found ===> Extracting for bdftopcf-1.0.1 => MD5 Checksum OK for xorg/app/bdftopcf-1.0.1.tar.bz2. => SHA256 Checksum OK for xorg/app/bdftopcf-1.0.1.tar.bz2. ===> Patching for bdftopcf-1.0.1 ===> bdftopcf-1.0.1 depends on file: /usr/local/libdata/pkgconfig/xfont.pc - found ===> bdftopcf-1.0.1 depends on executable in : pkg-config - found ===> Configuring for bdftopcf-1.0.1 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if xorg-macros used to generate configure is at least 1.1... yes, 1.1.5 checking for i386-portbld-freebsd5.5-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for i386-portbld-freebsd5.5-pkg-config... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BDFTOPCF... yes checking build system type... i386-portbld-freebsd5.5 checking host system type... i386-portbld-freebsd5.5 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for bdftopcf-1.0.1 make all-am if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include/freetype2 -O -pipe -MT bdftopcf-bdftopcf.o -MD -MP -MF ".deps/bdftopcf-bdftopcf.Tpo" -c -o bdftopcf-bdftopcf.o `test -f 'bdftopcf.c' || echo './'`bdftopcf.c; then mv -f ".deps/bdftopcf-bdftopcf.Tpo" ".deps/bdftopcf-bdftopcf.Po"; else rm -f ".deps/bdftopcf-bdftopcf.Tpo"; exit 1; fi cc -O -pipe -o bdftopcf bdftopcf-bdftopcf.o -L/usr/local/lib -lXfont sed -e 's|__vendorversion__|"bdftopcf 1.0.1" "X Version 11"|' -e 's|__xorgversion__|"bdftopcf 1.0.1" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < bdftopcf.man > bdftopcf.1 himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf work/bdftopcf-1.0.1/bdftopcf: libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x28080000) libc.so.5 => /lib/libc.so.5 (0x280e6000) WHY when the cc step is stating -L/usr/local/lib is it bring the Xfont from /usr/X11R6/lib? It looks the library was installed at the request of bdftopcf, but there still is another version out there from the previous install of xorg-libraries-6.9.0 . Where do I go? Thanks, Tuc