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

Salvatore Bonaccorso carnil at debian.org
Tue Jul 19 07:01:36 UTC 2011


Hi Lucas

On Tue, Jul 19, 2011 at 08:28:32AM +0200, Lucas Nussbaum wrote:
> Source: libconfig-model-perl
> Version: 1.249-1
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20110718 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > make[1]: Entering directory `/build/libconfig-model-perl-3NCJ1J/libconfig-model-perl-1.249'
> > dh_gencontrol -- \
> > 		-Vcorelist:Depends=""
> > make[1]: Leaving directory `/build/libconfig-model-perl-3NCJ1J/libconfig-model-perl-1.249'
> >    dh_md5sums
> >    dh_builddeb
> > dpkg-deb: error: parsing file 'debian/libconfig-model-perl/DEBIAN/control' near line 7 package 'libconfig-model-perl':
> >  '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

Looking at the build log, there is some more relevant part:

   debian/rules override_dh_gencontrol
E: Could not open file /var/cache/apt/pkgcache.bin - open (13: Permission denied)
E: Failed to truncate file - ftruncate (9: Bad file descriptor)
E: The package lists or status file could not be parsed or opened.
make[1]: Entering directory `/build/libconfig-model-perl-3NCJ1J/libconfig-model-perl-1.249'
dh_gencontrol -- \
		-Vcorelist:Depends=""
make[1]: Leaving directory `/build/libconfig-model-perl-3NCJ1J/libconfig-model-perl-1.249'
   dh_md5sums
   dh_builddeb
dpkg-deb: error: parsing file 'debian/libconfig-model-perl/DEBIAN/control' near line 7 package 'libconfig-model-perl':
 '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?

The last obvious change to pkgcache.bin in changes for apt is only in 0.8.15:
 
  * apt-pkg/deb/dpkgpm.cc:
    - replace obsolete usleep with nanosleep
    - remove invalid pkgcache.bin and rebuild it if possible
    - log reinstall commands in history.log
 
Regards
Salvatore
-------------- 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/bbf311f7/attachment.pgp>


More information about the pkg-perl-maintainers mailing list