[Reproducible-builds] dpkg_1.18.1.0~reproducible5 ftbfs

Guillem Jover guillem at debian.org
Wed Aug 5 04:11:31 UTC 2015


On Tue, 2015-08-04 at 08:42:48 -0700, Vagrant Cascadian wrote:
> On 2015-07-31, Guillem Jover wrote:
> > Right, I noticed this quite some time ago, but forgot to bring it up.
> > W/o having checked anything, it might be that whoever prepared the
> > release perhaps forgot to «autoreconf -f -i» the sources and prepared
> > it from a previous .dsc instead of a git tree?
> 
> I *think* what's happening is the reproducible builds git tree doesn't
> include tags for the version, and .dist-version isn't present, so
> ./get-version is returning an empty string (it can't get it from git or
> From .dist-version), so "autoreconf -f -i" fails... running:
> 
>   echo 1.18.1.0~reproducible5 > .dist-version
>   autoreconf -f -i
>   debuild -us -uc # or your build of choice
> 
> Seems to fix/workaround the issue.

Ah, the problem is that the releases are being made directly from
git with dpkg-buildpackage. The correct way to release dpkg is to
«make dist» and then build Debian packages from that tarball.

The detailed instructions on releasing can be found on the “How to
release“ section here:

  <https://wiki.debian.org/Teams/Dpkg/GitUsage>

although several points might not be relevant here.

Thanks,
Guillem



More information about the Reproducible-builds mailing list