From owner-freebsd-stable Mon Oct 2 15:21:37 2000 Delivered-To: freebsd-stable@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 9DABA37B66C; Mon, 2 Oct 2000 15:21:30 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id PAA01140; Mon, 02 Oct 2000 15:21:24 -0700 Message-ID: <39D90A64.F93ABAB8@urx.com> Date: Mon, 02 Oct 2000 15:21:24 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: bmah@FreeBSD.ORG Cc: Gary Kline , Marcel Moolenaar , Warner Losh , freebsd-stable@FreeBSD.ORG Subject: Re: perl and installworld (was Re: Why is gcc version so old?) References: <39AC1866.6DA9F5EC@urx.com> <39AB5A46.9FB75350@urx.com> <200008291838.MAA10618@harmony.village.org> <200008292012.OAA11124@harmony.village.org> <39AC1A43.7FD07745@urx.com> <39AC2097.4592B952@cup.hp.com> <39AC2324.6EC53F85@urx.com> <20000829171824.B47623@tao.thought.org> <39AC6C87.C87B1E11@urx.com> <200010021935.e92JZMI00908@bmah-freebsd-0.cisco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Bruce A. Mah" wrote: > > If memory serves me right, Kent Stewart wrote: > > > Gary Kline wrote: > > > > > > On Tue, Aug 29, 2000 at 01:55:00PM -0700, Kent Stewart wrote: > > > > > > > > > > > > Marcel Moolenaar wrote: > > > > > > > > > > Kent Stewart wrote: > > > > > > > > > > > > > > > > > ===> gnu/usr.bin/perl/perl > > > > > > > > > > > > cd sdbm && make all > > > > > > rm -rf libsdbm.a > > > > > > ar cr libsdbm.a sdbm.o pair.o hash.o && : libsdbm.a > > > > > > chmod 755 libsdbm.a > > > > > > chmod:No such file or directory > > > > > > *** Error code 1 > > > > > > > > > > Should we have a chmod here in the first place? > > > > > > > > > > It seems to me that a mod of 755 is wrong for archives. > > > > > > > > That may be true but, for right now, the Makefile for perl is using > > > > chmod and the lack of its presence is killing the 4-stable > > > > installworld. > > [snip] > > > I wouldn't worry about it. I have tried it on two machines. You cvsup > > stable and then edit /usr/src/Makefile.inc1. You only have to look for > > the installworld section (line 313) and add chmod in front of chown. > > It works like a charm at that point. > > Dumb question: Did this ever get fixed in the repository? Short answer is no. I think people didn't like chmod being involved with an install. > > Reason I'm asking is that I just finished a cvsup to update my local > respository, did a cvs update of my RELENG_4 sources from that > repository, then a buildworld, buildkernel, reboot, installworld, and > ran into this same problem (can't install libsdbm.a because it relies > on chmod). > > Since this thread came up over a month ago, I'd be perfectly happy to > find out it has indeed been fixed, and that I somehow bungled the cvs > operations. I can't find any history for src/Makefile.inc1 that would > imply adoption of the workaround patch, and I don't understand the perl > build process enough to know where to look in there. In this case, a > whack of the clue-stick would be much appreciated. Something else causes it. I know I was misinterpreting the message. I thought libsdbm.a didn't exist and it was chmod that was missing from the make modules. You add the chmod and you may not have to do it again. I had a patch that added it and I was patching Makefile.inc1 after every cvsup. That isn't necessary. Warner (imp) suggested the fix to me and it worked. The next time I built a system, I captured the buildworld and the chmod was done there and properly. Why it wasn't done on the one that failed is beyond me. I didn't capture it of course :). I had been doing builds every few days and I didn't see anything new introduced. > > (The workaround still works, however.) I think that is what the archive is really for. Kent > > Thanks! > > Bruce. > > ---------------------------------------------------------------------- > Part 1.2Type: application/pgp-signature -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message