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

Dominique Dumont dod at debian.org
Tue Jul 19 07:22:30 UTC 2011


Le Tuesday 19 July 2011 09:01:36, vous avez écrit :
>  'Recommends' field, reference to 'libmodule-corelist-perl': error in
> version: version string is empty dh_builddeb: dpkg-deb --build
> debian/libconfig-model-perl .. returned exit code 2 make: *** [binary]
> Error 1
> 
> It fails to open /var/cache/apt/pkgcache.bin and then the package lists and
> status file could not be parsed.
> 
> Could this be related to some apt changes?

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


  Recommends: bash-completion (>= 1:1.0-3), 
    libfuse-perl, 
    fuse-utils, 
    libmodule-corelist-perl (>= ${corelist:Depends})

${corelist:Depends} is computed in debian/rules:

  CORELIST = $(shell apt-cache policy libmodule-corelist-perl | awk 
'/Candidate/ {sub(/-[^-]+$$/,"",$$2); print $$2;}')
 	
 	%:
 	dh $@ --with bash-completion
 	
 	override_dh_gencontrol:
 	dh_gencontrol -- \
 	-Vcorelist:Depends="$(CORELIST)" 

Looks like CORELIST variable can be empty in the buildd. 

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

Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110719/2e824c18/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list