[Buildd-tools-devel] Bug#470440: Processed: Re: Bug#470440: python-django: FTBFS: MD5SUM mismatch for .diff.gz

Raphael Hertzog hertzog at debian.org
Fri Mar 28 16:57:44 UTC 2008


On Fri, 28 Mar 2008, Roger Leigh wrote:
> > Sure:
> > $ apt-get source python-django
> 
> OK, thanks.  I see what's wrong.
> 
> I guess we should probably be using "dscverify" rather than parsing the
> .dsc ourselves.  Has dscverify been updated to validate the SHA1 and
> SHA256 sums?

I doubt so. 

But you know dpkg-source refuses to unpack the source package if one of
the checks fails... and it checks all those headers. So I'm not sure what
gains it gives you to do the check yourself before-hand.

> However, we also need to parse it to get the list of files to copy from
> the chroot back to the host system.  Is there a tool available that can
> do this automatically, or do I need to keep parsing the .dsc myself?  A
> tool that can copy entire .dsc and .changes file sets would be equally
> useful, because that's what we want to do.

Well, we have a perl API in dpkg-dev to parse all of this, but we haven't
decided yet to promote it "stable" so if you use it, you have no guaranty
that it will stay that way in the years to come. :)

Dpkg::Source::Package is the module that could be used in this case (but
it's only in the git tree right now, it will be in the next upload).

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/





More information about the Buildd-tools-devel mailing list