From owner-freebsd-ports@FreeBSD.ORG Thu Jul 3 01:15:57 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0E3137B401 for ; Thu, 3 Jul 2003 01:15:57 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3057943FA3 for ; Thu, 3 Jul 2003 01:15:57 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h638Fsk30074; Thu, 3 Jul 2003 01:15:54 -0700 From: Kent Stewart To: Ben Laurie Date: Thu, 3 Jul 2003 01:15:54 -0700 User-Agent: KMail/1.5.2 References: <3F02CA51.1030808@algroup.co.uk> <200307020724.36724.kstewart@owt.com> <3F03DBE4.4060307@algroup.co.uk> In-Reply-To: <3F03DBE4.4060307@algroup.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307030115.54071.kstewart@owt.com> cc: ports@freebsd.org Subject: Re: portupgrade -Rra fails on 4.8-RELEASE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 08:15:58 -0000 On Thursday 03 July 2003 12:31 am, Ben Laurie wrote: > Kent Stewart wrote: > > On Wednesday 02 July 2003 05:04 am, Ben Laurie wrote: > >>with cvsupped ports tree as of just now. > >> > >>Building for XFree86-clients-4.3.0_2 > >>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 -L/usr/X11R6/lib/ -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 > >> > >>the reason? portupgrade appears to have blown away libXfont.a: > >> > >>-su-2.05b# locate Xfont > >>/usr/X11R6/lib/libXfont.a > >>/usr/X11R6/lib/libXfont.so > >>/usr/X11R6/lib/libXfont.so.1 > >>/usr/X11R6/lib/libXfontcache.a > >>-su-2.05b# ls -l /usr/X11R6/lib/libXfont.a > >>ls: /usr/X11R6/lib/libXfont.a: No such file or directory > >> > >>I guess I can install it by hand (if I can figure out where it comes > >>from), but surely this shouldn't happen? > > > > Portupgrade didn't do it. You had an old version of XFree86-server and > > deinstalling it deleted the font. You have to reinstall XFree86-libraries > > to reinstall the fonts. > > Shouldn't portupgrade take care of that, though? Not in this case because as a sequence you upgrade the library and then, at a later point, you upgrade the server. When you upgrade the server, the damage is done and portupgrade can't possibly know about it. It depends on the files in the -plist and when files are moved from one segment of the meta-port to another, portupgrade doesn't know about that. It was the deinstall of the older XFree86-server with the bad(?) plist that did it. The same thing would have happened if you had done the upgrade yourself. You wouldn't have had any problem if you had deleted all of the XFree86 ports and then installed them but you couldn't have used portupgrade to do that. Kent Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html