Thanks for the help. I looked into it further and noticed that the src/RGtk2 directory was actually a symlink. The perl find() does not follow symlinks, as invoked, but tar, as invoked, does. Thus, when the tar/untar effectively copies the files, there is a mismatch with the exclude paths.
Is there some reason why the exclude paths cannot be calculated on the untar'd version rather than the original package directory? If this sounds reasonable, I'll submit a patch. Thanks, Michael On 10/1/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > > It does this via an exclude list which it uses to remove files from a > staged build. Printing out the exclude list (at ca line 232) should be > informative. One possibility is simply that there is a permissions issue > in deleting that directory. > > On Sun, 30 Sep 2007, Michael Lawrence wrote: > > > Hi, > > > > In my package RGtk2, there's a directory called 'src/RGtk2' that > contains, > > like all the other directories in the package, a '.svn' directory. It > seems > > that R CMD build is somehow missing that one '.svn' in 'src/RGtk2', even > > though it excludes all the other instances of '.svn'. > > > > I've tried putting 'src/RGtk2/.svn' into the .Rbuildignore, but it does > not > > have any effect. I've also looked into the R CMD build script, but I > can't > > find where this problem might occur (but then again, perl is not exactly > my > > thing). Perhaps it has something to do with having a directory with the > same > > name as the package under the 'src' directory? > > Pretty unlikely. > > > > Thanks for the help, > > Michael > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Brian D. Ripley, [EMAIL PROTECTED] > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.