From owner-freebsd-ports@FreeBSD.ORG Thu Aug 3 15:58:23 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3E1E816A4DA; Thu, 3 Aug 2006 15:58:23 +0000 (UTC) (envelope-from jaj13@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id B545F43D49; Thu, 3 Aug 2006 15:58:22 +0000 (GMT) (envelope-from jaj13@web.de) Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 5E196E1CCF7; Thu, 3 Aug 2006 17:58:21 +0200 (CEST) Received: from [83.99.89.191] (helo=[10.0.0.11]) by smtp05.web.de with esmtp (WEB.DE 4.107 #114) id 1G8faX-0004iU-00; Thu, 03 Aug 2006 17:58:21 +0200 Message-ID: <44D21D1C.3020908@web.de> Date: Thu, 03 Aug 2006 17:58:20 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.5 (X11/20060730) MIME-Version: 1.0 To: vd@FreeBSD.org References: <44D11DFF.7000103@web.de> <20060803074832.GA96800@qlovarnika.bg.datamax> <44D1F5BB.20105@web.de> <20060803133334.GA3117@qlovarnika.bg.datamax> In-Reply-To: <20060803133334.GA3117@qlovarnika.bg.datamax> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: jaj13@web.de X-Sender: jaj13@web.de Cc: freebsd-ports@FreeBSD.org Subject: Re: little problem with pkg-plist 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: Thu, 03 Aug 2006 15:58:23 -0000 Vasil Dimov wrote: > On Thu, Aug 03, 2006 at 03:10:19PM +0200, Jona Joachim wrote: >> Vasil Dimov wrote: >>> On Wed, Aug 02, 2006 at 11:49:51PM +0200, Jona Joachim wrote: >>>> Hi! >>>> I ported SGE (SDL Graphics Extension) to FreeBSD and ran into a strange >>>> problem with pkg-plist. >>>> Among others these files are listed in pkg-plist: >>>> lib/libSGE.a >>>> lib/libSGE.so >>>> lib/libSGE.so.0 >>>> lib/libSGE.so.0.030809 >>>> >>>> Those are the only files installed in lib. >>>> libSGE.so.0 is a symlink to libSGE.so.0.030809 and libSGE.so is a >>>> symlink to libSGE.so.0. >>>> When I try to deinstall the port the following happens: >>>> >>>> /usr/local/lib> ls -F | grep SGE >>>> libSGE.a >>>> libSGE.so@ >>>> libSGE.so.0@ >>>> libSGE.so.0.030809* >>>> /usr/local/lib> cd /home/default/SGE >>>> /home/default/SGE> sudo make deinstall >>>> ===> Deinstalling for devel/SGE >>>> ===> Deinstalling SGE-0.030809 >>>> pkg_delete: file '/usr/local/lib/libSGE.so.0' doesn't exist >>>> pkg_delete: couldn't entirely delete package (perhaps the packing list is >>>> incorrectly specified?) >>>> /home/default/SGE> cd /usr/local/lib >>>> /usr/local/lib> ls | grep SGE >>>> libSGE.so.0.030809 >>>> >>>> It looks like pkg_delete ignores what comes after the third dot in the >>>> filename. >>> No, it just quits when encounters the nonexistent libSGE.so.0 in >>> pkg-plist. >> It usually doesn't stop when it encounters a non-existing file, it just >> warns and continues. >> >>> Don't you have libSGE.so.0 listed twice in pkg-plist? >> It's not listed twice. >> Here is the whole content of pkg-plist: >> >> include/SDL11/sge.h >> include/SDL11/sge_blib.h >> include/SDL11/sge_bm_text.h >> include/SDL11/sge_collision.h >> include/SDL11/sge_config.h >> include/SDL11/sge_internal.h >> include/SDL11/sge_misc.h >> include/SDL11/sge_primitives.h >> include/SDL11/sge_rotation.h >> include/SDL11/sge_shape.h >> include/SDL11/sge_surface.h >> include/SDL11/sge_textpp.h >> include/SDL11/sge_tt_text.h >> lib/libSGE.a >> lib/libSGE.so >> lib/libSGE.so.0 >> lib/libSGE.so.0.030809 >> >> I can send you the whole port if you wish >> > > Yeah, if nothing else works feel free to send the shar archive for > review. You can find it here: http://webplaza.pt.lu/~mpjjjjsj/files/SGE.shar Jona