[Cran2deb-discuss] Strange behavior with case of the directory for GLAD package

Michael Rutter mar36 at psu.edu
Mon Jul 11 00:53:10 CEST 2011


I am getting some strange behavior when I (in a chroot) or Launchpad 
trys to build the GLAD package from the source package I create using 
cran2deb.  When launchpad attempts to build the binary, I get the 
following error:

R CMD INSTALL -l 
/usr/local/src/test/glad-2.14.0/debian/r-bioc-glad/usr/lib/R/site-library --clean 
.
* installing *source* package ‘GLAD’ ...
configure: error: cannot find sources (GLAD) in . or ..
ERROR: configuration failed for package ‘GLAD’

The Bioconductor package name is "GLAD" but cran2deb creates "glad". 
What is strange that things work fine for the SIN package, the first all 
caps package I could find.  I don't have other problems with any other 
all caps packages.

I can get the package to build properly if I change the source directory 
from "glad" to "GLAD" in a chroot, then run 'dpkg-buildpackage -tc -uc -us'.

Any suggestions on how to fix this issue?  The technical question I have 
is when you run 'R CMD INSTALL -l 
/usr/local/src/test/glad-2.14.0/debian/r-bioc-glad/usr/lib/R/site-library --clean 
.' inside the package directory, how does R determine what directory to 
look for the source package?  Am I having a problem because GLAD is a 
Bioconductor package while SIN and others are CRAN packages?

Thanks for any help,
Michael
-- 
Dr. Michael A. Rutter
School of Science
Penn State Erie, The Behrend College
Station Road
Erie, PA 16563
http://math.bd.psu.edu/faculty/rutter


More information about the Cran2deb-discuss mailing list