Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 1997 14:56:05 -0500
From:      Edwin Culp <eculp@mexcom.net>
To:        Mike Smith <mike@smith.net.au>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Making a release...
Message-ID:  <344BB755.68FBBD33@mexcom.net>
References:  <199710200613.PAA01635@word.smith.net.au>

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
> ...
> > cvs checkout: cannot find module `src' - ignored
> 
> Despite all of the messages on this topic the last few days, and
> despite the instructions in the release Makefile, the handbook and the
> mailing list archives you still don't get it.
> 
> 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
*** 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
         *default prefix=/usr
         *default base=/usr/local/etc/cvsup
         *default release=cvs delete use-rel-suffix compress
         src-all
         cvs-crypto
My file:
	*default tag=.
	*default host=cvsup.FreeBSD.org
	*default base=/usr/local/etc/cvsup
	*default prefix=/usr
	*default release=cvs
	*default delete use-rel-suffix
	src-all
	cvs-crypto
	ports-all

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.

I have tried to make release both with and without a make world 
first with the same results.

I loose it at the following line in the Makefile in the release
directory.

.if !defined(RELEASETAG)
        cd ${CHROOTDIR}/usr && rm -rf src && \
                cvs -d ${CVSROOT} co -P src

It seems to want to find the src directory en the $CHROOTDIR/usr
that it erased.  I have gone into the directory directly and done
a check on each directory and it seems to work fine.

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 :-)

thanks

ed
 P.S. I have tried using the environment variables, the CVS Root and
Repository
variables, and the hard coded ones in the Makefile with the same
results.

> Once you have such a repository, read the CVS manpages regarding the
> use of the CVSROOT variable.
> 
> mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?344BB755.68FBBD33>