Bug#634529: libconfig-model-perl: FTBFS: dpkg-deb: error: parsing file 'debian/libconfig-model-perl/DEBIAN/control' near line 7 package 'libconfig-model-perl':

gregor herrmann gregoa at debian.org
Tue Jul 19 09:23:43 UTC 2011


On Tue, 19 Jul 2011 09:22:30 +0200, Dominique Dumont wrote:

> > It fails to open /var/cache/apt/pkgcache.bin and then the package lists and
> > status file could not be parsed.

> I think it's related to this debian/control snippet introduced in last version 
> of libconfig-model-perl package:

> ${corelist:Depends} is computed in debian/rules:
>   CORELIST = $(shell apt-cache policy libmodule-corelist-perl | awk 
> '/Candidate/ {sub(/-[^-]+$$/,"",$$2); print $$2;}')

Yes, of course, that's the point where it's failing ...
  	
> Looks like CORELIST variable can be empty in the buildd. 

... because of the "fails to open /var/cache/apt/pkgcache.bin".
Now the interesting question is _why_ this happens.

> We need to re-think how this dependency is computed.

Hm, yeah, as Lucas has proven that might be too fragile ...

Any ideas on how to get the version without using apt-cache?
Or should we use a default version if we don't get the real one?
Or something completley different?

Cheers,
gregor

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - PGP/GPG key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    BOFH excuse #61:  not approved by the FCC 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110719/bba8e7e2/attachment.pgp>


More information about the pkg-perl-maintainers mailing list