-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dirk,

Dirk Eddelbuettel wrote:
> | I can install and use R 2.10.1 from the CRAN source, so it must be
> | something with a dependency of r-base-core. Does
> | 
> | apt-get source -b r-base-core
> 
> But that's now how I do it -- I use pbuilder (as do the build daemons).

Okay, I set up one of those pbuilder thingies (amd64, unstable), tried
to build r-base, and it failed at the same place the mipsel buildd failed:

make[5]: Leaving directory `/tmp/buildd/r-base-2.10.1/src/library/tools'
Error in read.dcf(file = descfile) : Line starting 'P ...' is malformed!
Calls: makeLazyLoading ... code2LazyLoadDB -> loadNamespace ->
parseNamespaceFile -> read.dcf
Execution halted
make[4]: *** [all] Error 1
make[4]: Leaving directory `/tmp/buildd/r-base-2.10.1/src/library/tools'
make[3]: *** [R] Error 1
make[3]: Leaving directory `/tmp/buildd/r-base-2.10.1/src/library'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/tmp/buildd/r-base-2.10.1/src'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/tmp/buildd/r-base-2.10.1'
make: *** [make-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//22224 and its
subdirectories

Does that help any? To my untrained eye, the problem seems the same
whether one is trying to do pbuilder or apt-get source -b .

> So let's backtrack. It so happens that I had just used read.dcf in the
> context of a package. So let's try something simple:
> 
>     R> read.dcf(system.file("DESCRIPTION", package="lattice"), "Package")
>          Package  
>     [1,] "lattice"
>     R>  

And I am getting

> read.dcf(system.file("DESCRIPTION", package="lattice"), "Package")
Error in read.dcf(system.file("DESCRIPTION", package = "lattice"),
"Package") :
  Line starting 'P ...' is malformed!

> That works on my testing system just fine, in the running R session or on the
> cmdline: 
> 
>     e...@ron:~$ r -p -e'read.dcf(system.file("DESCRIPTION", 
> package="lattice"), "Package")'
>          Package
>     [1,] "lattice"
>     e...@ron:~$

goodr...@x41laptop:/tmp$ r -p -e'read.dcf(system.file("DESCRIPTION",
package="lattice"), "Package")'
Error in read.dcf(system.file("DESCRIPTION", package = "lattice"),
"Package") :
  Line starting 'P ...' is malformed!

That error message comes from the C function do_readDCF when it falls into

else {
    /* Must be a regular line with no tag ... */
    line[20] = '\0';
    error(_("Line starting '%s ...' is malformed!"), line);

So, due to some dependency that changed at approximately Christmas, it
does not parse a line in a DESCRIPTION file like

Package: lattice

as having the Package tag, but the problem may be higher up in that
function. I tried adding some more print statements in do_readDCF to see
what was happening but this error prevents me from building r-base-core
from source and I am not hitting the error when using the CRAN source.

Thanks,
Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAks4RK8ACgkQzQDSXIcN85lXUQCfS56GndL9xVQA6LvaIRIsVn1p
OFEAnA3DavAry0ny3bMxbphjs09Ph/34
=cq7/
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to