Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 1997 09:10:18 +0930
From:      Mike Smith <mike@smith.net.au>
To:        Edwin Culp <eculp@mexcom.net>
Cc:        Mike Smith <mike@smith.net.au>, stable@FreeBSD.ORG
Subject:   Re: Making a release... 
Message-ID:  <199710202340.JAA02484@word.smith.net.au>
In-Reply-To: Your message of "Mon, 20 Oct 1997 14:56:05 EST." <344BB755.68FBBD33@mexcom.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Mike Smith wrote:
> > 
> > > eculp wrote:
> > > > cvs [checkout aborted]: /usr/src/CVSROOT: No such file or directory

Hasn't this given it away to you yet?

> > What do we have to do?  Stencil it on your forehead? 8)
> 
> Yes Please, I feel that I deserve it.  If you would be so kind as to use
> a hammer and chisel and make a mirror image so that I don't forget :-)
> because after reading the handbook, the FAQ, the Makefile and 51 printed 
> pages of the man entry for cvs, I still can't get a release. 
> 
> > 
> > YOU MUST HAVE A CVS REPOSITORY IN ORDER TO BUILD A RELEASE.
> > 
> Here is my error
> 
> for i in /sbin/mount /sbin/umount /usr/bin/cpio ; do  cp -p /squid2$i
> /squid2//bootstrap ;  done
> cd /squid2/usr && rm -rf src &&  cvs -d /usr/src co -P src
> cvs checkout: cannot find module `src' - ignored

See here.  These are error messages from a program called 'cvs'. 

> *** Error code 1
> 
> Stop.
> 
> Here's what I am doing.
> I do exactly as the manual recomends:
> Manual:
> 	 *default tag=.
>          *default host=cvsup.FreeBSD.org

This is the configuration for a program called 'CVSup'.

> With this I do a cvsup -p -L 2 cvs-supfile as the cvs-supfile recomends
> and I assume that this creates the repository that you mention.

No, it does not.  You are bringing down the source tree; witness the 
fact that you are then able to compile it.

> I'm sure that I have skipped over the result that I will gladly engrave
> with a hammer and chisel as a mirror image on my forehead if you will
> just tell me what to engrave :-)

Get a copy of the CVS repository.  DO NOT put it in /usr/src.  If you 
have successfully completed a 'make world', there are CVSup examples in 
/usr/share/examples which clearly detail the differences between 
bringing down the head of the tree (what you are doing now) and the 
repository.

Check out a copy of the source on the RELENG_2_2 tag into /usr/src.  
Set your CVSROOT variable to the location of the repository.  Build the 
release as before (you appear to have most of it right).

You will probably want to set NOPORTS as well.

mike

(I'm trying very hard to have you work this out yourself, as it seems 
 to be the only way to guarantee that new knowledge sticks 8)




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