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/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to