From owner-freebsd-ports Tue Nov 4 02:33:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA02272 for ports-outgoing; Tue, 4 Nov 1997 02:33:21 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from messiah.cableinet.net ([194.117.157.68]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id CAA02267 for ; Tue, 4 Nov 1997 02:33:18 -0800 (PST) (envelope-from i.vaudrey@cableinet.co.uk) Received: (qmail 12959 invoked from network); 4 Nov 1997 11:36:09 -0000 Received: from lions.cableinet.net (193.38.113.5) by messiah with SMTP; 4 Nov 1997 11:36:09 -0000 Received: from nemkoltd.nildram.co.uk (usr153-cro.cableinet.co.uk [194.117.149.163]) by lions.cableinet.net (950413.SGI.8.6.12/951211.SGI) via SMTP id KAA18599; Tue, 4 Nov 1997 10:31:02 GMT Received: by nemkoltd.nildram.co.uk with Microsoft Mail id <01BCE90D.0B2741A0@nemkoltd.nildram.co.uk>; Tue, 4 Nov 1997 10:33:09 -0000 Message-ID: <01BCE90D.0B2741A0@nemkoltd.nildram.co.uk> From: Ian Vaudrey To: "'Jordan K. Hubbard'" Cc: "'Satoshi Asami'" , "'ports@freebsd.org'" Subject: RE: Ranlib Date: Tue, 4 Nov 1997 10:33:03 -0000 Encoding: 37 TEXT Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On 04 November 1997 10:06, Jordan K. Hubbard wrote: > > * > I can reproduce the problem with at least one existing port, libmalloc-1 > .18, > > * > I haven't tried any others but if I'm right about the cause it'll happen > > * > with any port that has an @exec ranlib line in the PLIST. > > * > > * I'll take a look at it. Like I said, @exec lines aren't even supposed > > * to be _run_ by pkg_delete so this would be a very peculiar situation > > * of so. > > > > No, he's right. "@exec ranlib" is run by pkg_add, and that changes > > the md5 checksum, which causes pkg_delete to choke. > > Ahhhh. Now that's different! He said that the @exec line was being > run by pkg_delete, not that it was fooling the md5 check into failing. No, I never said that the @exec line was being run by pkg_delete. In my first mail I wrote "the @exec line seems to break pkg_delete", I was deliberately brief because I just wanted to know if I could lose the @exec ranlib line. In my second mail I elaborated "I put this down to something (the md5 signature?) being changed by the @exec ranlib line - which is of course run by pkg_add, although the error isn't produced until pkg_delete is run.". My apologies if that still wasn't clear enough. > Yeah, I can see how that would happen. > > Hmmmm. Is the ranlib even necessary with the GNU loader? If not, why > not just take that out? That was the gist of my original mail :) > > Jordan > - Ian