Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Oct 2000 15:21:24 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        bmah@FreeBSD.ORG
Cc:        Gary Kline <kline@thought.org>, Marcel Moolenaar <marcel@cup.hp.com>, Warner Losh <imp@village.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: perl and installworld (was Re: Why is gcc version so old?)
Message-ID:  <39D90A64.F93ABAB8@urx.com>
References:  <39AC1866.6DA9F5EC@urx.com> <39AB5A46.9FB75350@urx.com> <Pine.BSF.3.96.1000829152951.14120A-100000@aurora.scoop.co.nz> <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>

next in thread | previous in thread | raw e-mail | index | archive | help


"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
> > > > > >     <many install messages later>
> > > > > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D90A64.F93ABAB8>