cvs update gives 'move away ....' on every file
- downloaded the linux-latest.tar.gz archive
- created /home/cvs/parisc and made sure I had enough permissions
- untarred the linux-latest.tar.gz archive there, creating /home/cvs/parisc/linux
- installed cvs
- made sure there's a variable CVSROOT in my environment, value:
":pserver:[email protected]:/home/cvs/parisc" (without the " of course)
- created ~/.cvsrc, containing:
cvs -z3 -q
diff -uNp
update -Pd
rm -f
- typed 'cd /home/cvs/parisc; cvs update'
result:
jurriaan@pa8200:/home/cvs/parisc$ cvs update -A cvs update: move away linux/.cvsignore; it is in the way C linux/.cvsignore cvs update: move away linux/COPYING; it is in the way C linux/COPYING cvs update: move away linux/CREDITS; it is in the way C linux/CREDITS cvs [update aborted]: received interrupt signal
and so on. Comments on www.google.com and various mailin-lists seem to indicate this is often a server-error. I can't really believe that, since it seems to work for everyone else.
I retried it with linux-20010830.tar.gz, and the same messages were printed.
What am I doing wrong?
Thanks,
Jurriaan
Signature · 3 lines
Cool is one thing, but you're frozen solid. Startrek DS9: Vic Fontaine to Odo. GNU/Linux 2.4.9-ac7 SMP/ReiserFS 2x1402 bogomips load av: 0.03 0.03 0.02
Quoted 2 lines · [email protected] wrote:
- downloaded the linux-latest.tar.gz archive
- created/home/cvs/pariscand made sure I had enough permissions
You can call this directory anything you want. I have my linux source trees under /linux/pa64/linux.
...
Quoted 1 line
- typed 'cd
/home/cvs/parisc; cvs update'
You didn't name the CVS repository to use and cvs got confused.
Try 'cd /home/cvs/parisc/linux; cvs update -APd'
Or 'cd /home/cvs/parisc; cvs update -APd linux'
I prefer "pwd" be the source tree I want updated from the repository.
grant
Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253
Quoth Grant Grundler:
Quoted 4 lines
You didn't name the CVS repository to use and cvs got confused.
Try 'cd
/home/cvs/parisc/linux; cvs update -APd'
Or 'cd/home/cvs/parisc; cvs update -APd linux'
... with "-d:pserver:[email protected]:/home/cvs/parisc" in there too, or your current environment's $CVSROOT set accordingly.
The -q and -z3 flags are good too, to avoid unnecessary chatter and to compress the data stream a bit. Avoid the temptation to crank up to -z9 as this just puts the server on its back for minimal gain.
Andrew.
Signature · 4 lines
Andrew Shugg <[email protected]> http://www.neep.com.au/ "Just remember, Mr Fawlty, there's always someone worse off than yourself." "Is there? Well I'd like to meet him. I could do with a good laugh."
Quoted 6 lines · Andrew Shugg
Quoth Grant Grundler:
Quoted 4 lines
You didn't name the CVS repository to use and cvs got confused.
Try 'cd
/home/cvs/parisc/linux; cvs update -APd'
Or 'cd/home/cvs/parisc; cvs update -APd linux'
Quoted 7 lines
... with "-d:pserver:[email protected]:/home/cvs/parisc" in there too, or your current environment's $CVSROOT set accordingly.
The -q and -z3 flags are good too, to avoid unnecessary chatter and to compress the data stream a bit. Avoid the temptation to crank up to -z9 as this just puts the server on its back for minimal gain.
So this shouldn't happen:
jurriaan@pa8200:/home/cvs/parisc$ tar zxf ~/source/linux-20010831.tar.gz jurriaan@pa8200:/home/cvs/parisc$ echo $CVSROOT :pserver:[email protected]:/home/cvs/parisc jurriaan@pa8200:/home/cvs/parisc$ cvs update -APd linux cvs update: move away linux/.cvsignore; it is in the way C linux/.cvsignore cvs update: move away linux/COPYING; it is in the way C linux/COPYING cvs update: move away linux/CREDITS; it is in the way C linux/CREDITS cvs [update aborted]: received interrupt signal jurriaan@pa8200:/home/cvs/parisc$
Unfortunately, I see it both with linux-20010830.tar gz and with linux-20010831.tar.gz
Jurriaan
Signature · 1 line
GNU/Linux 2.4.9-ac7 SMP/ReiserFS 2x1402 bogomips load av: 0.00 0.00 0.00
Quoted 8 lines · [email protected] wrote:
So this shouldn't happen:
jurriaan@pa8200:/home/cvs/parisc$ tar zxf ~/source/linux-20010831.tar.gz jurriaan@pa8200:/home/cvs/parisc$ echo $CVSROOT :pserver:[email protected]:/home/cvs/parisc jurriaan@pa8200:/home/cvs/parisc$ cvs update -APd linux cvs update: move away linux/.cvsignore; it is in the way C linux/.cvsignore
Sorry. It doesn't happen to me.
I get the following:
grundler <518>cvs update -APd linux
cvs update: in directory linux:
cvs update: ignoring CVS/Root because it specifies a non-existent repository /home/cvs/parisc
...
ad nauseum for every CVS/Root file in the tree.
One needs to:
1) echo $CVSROOT > ~/Root
2) find linux -name Root -exec cp ~/Root \{\} \;
(CVSROOT is the ":pserver:..." value posted several times earlier.)
I'm not sure who owns the script that make tarballs from cvs source trees. But adding those two steps would take care of this for most people.
Now I get:
grundler <523>cvs update -APd linux
P linux/Makefile
P linux/arch/parisc/kernel/hardware.c
grundler <524>pwd/home/grundler
grundler <525>cat ~/.cvsrc
cvs -z3 -q
diff -uNp
update -Pd
rm -f
grundler <526>head -4 linux/Makefile
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 9
EXTRAVERSION = -pa15
grundler <527>echo $CVSROOT :pserver:[email protected]:/home/cvs/parisc grundler <528>
I already forgot I don't need to specify "-Pd" options on the command line... :^)
grant
Quoted 5 lines
One needs to:
1) echo $CVSROOT > ~/Root
2) find linux -name Root -exec cp ~/Root \{\} \;(CVSROOT is the ":pserver:..." value posted several times earlier.)
easier is: for i in find linux -name Root; do echo $CVSROOT > $i; done
Quoted 1 line
I'm not sure who owns the script that make tarballs from cvs source trees.
Alex deVries...
Quoted 5 lines
grundler <525>cat ~/.cvsrc
cvs -z3 -q
diff -uNp
update -Pd
rm -f
you're not using the most uptodate cvsrc... i fubar the last line, needs to be remove', not rm'.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 11 lines · Matthew Wilcox
Quoted 5 lines
One needs to:
1) echo $CVSROOT > ~/Root
2) find linux -name Root -exec cp ~/Root \{\} \;(CVSROOT is the ":pserver:..." value posted several times earlier.)
easier is: for i in
find linux -name Root; do echo $CVSROOT > $i; doneyou're not using the most uptodate cvsrc... i fubar the last line, needs to be
remove', notrm'.
Thanks everyone, now it works. Is there interest in a short (20 lines) document describing the steps, starting with the download of linux-latest.tar.gz - 'how to get cvs running without stress' ?
Thanks,
Jurriaan
Signature · 3 lines
Now I will kill you until you die from it. Hot Shots II GNU/Linux 2.4.9-ac7 SMP/ReiserFS 2x1402 bogomips load av: 0.00 0.00 0.12
Quoth [email protected]:
Quoted 3 lines
Thanks everyone, now it works. Is there interest in a short (20 lines) document describing the steps, starting with the download of linux-latest.tar.gz - 'how to get cvs running without stress' ?
Certainly wouldn't hurt, the website could suffer an update ... =)
Andrew.
Signature · 4 lines
Andrew Shugg <[email protected]> http://www.neep.com.au/ "Just remember, Mr Fawlty, there's always someone worse off than yourself." "Is there? Well I'd like to meet him. I could do with a good laugh."
[parisc-linux] 'Getting a parisc-linux cvs kernel without stress'
This is a small update/addition to the 'kernel-building recipe'.
============================================================
If you want to test the latest kernel and don't want to download the enormous linux-latest.tar.gz file every time, use the cvs system to get just the changed files. This is a very short manual how to do this in 3 steps. Obviously, step 1 and 2 are only needed once. Step 3 can be repeated as you like.
Step 1 - create the right environment.
Make sure you have a variable 'CVSROOT' with value CVSROOT=:pserver:[email protected]:/home/cvs/parisc
To make it available on every boot, put it in ~/.bashrc like this:
CVSROOT=:pserver:[email protected]:/home/cvs/parisc export CVSROOT
Also create a .cvsrc file in your home directory with this content:
cvs -z3 -q
diff -uNp
update -Pd
remove -f
Also make sure you have cvs installed ('apt-get install cvs' if you have not). Before going on to step 2, make sure the CVSROOT variable is actually set - by logging out and logging in again.
Step 2 - prepare a linux source tree
Get linux-latest.tar.gz from the ftp-site, and untar. In this manual, I'll user ~/source/ as directory untar in, but any directory will do. Now you'll have to change some files in the source tree. Make sure your CVSROOT variable is set correctly and type:
for i in find linux -name Root; do echo $CVSROOT > $i; done
Step 3 - get the latest source code
Change directory to ~/source/ and type
cvs update -APd linux
You should see a list of files looking something like this:
P linux/Makefile
P linux/Documentation/parisc/registers
P linux/arch/parisc/vmlinux.lds
P linux/arch/parisc/vmlinux64.lds
P linux/arch/parisc/hpux/fs.c
etc.
To make sure something has changed you can always do:
grep -i version linux/Makefile | head -2
which will answer
VERSION = 2
EXTRAVERSION = -pa17
Now compile your new kernel as usual.
============================================================
This is by way of thanks to everyone who helped me to get it working, and to possibly prevent other people from endless trying.
Good luck,
Jurriaan
Signature · 2 lines
Satan: "Welcome to hell - Here's your DoubleSpaced 386SX and windows" GNU/Linux 2.4.9-ac10 SMP/ReiserFS 2x1402 bogomips load av: 0.31 0.08 0.02