[buildd-tools-devel] Bug#843773: Bug#843773: Bug#843773: Bug#843773: misleading timestamps in binnmus

Johannes Schauer josch at debian.org
Wed Nov 16 11:50:21 UTC 2016


Hi,

Quoting Holger Levsen (2016-11-14 18:25:34)
> To me it seems a binNMU should change SOURCE_DATE_EPOCH, as debian/changelog
> gets modified by changelog.$arch, so it's actually a different source which
> is being build.

debian/changelog doesn't get modified by changelog.$arch. The latter is
generated by dh_installchangelogs from debian/changelog and gets installed into
the binary package. The order is (currently) the following:

 - "nmu" command is sent to wanna-build
 - sbuild is executed with the --make-binNMU on the buildds
 - sbuild modifies debian/changelog in the source package by adding a new
   changelog entry at the top, copying the timestamp of the last entry
 - sbuild executes dpkg-buildpackage
 - dpkg-buildpackage parses debian/changelog and calculates SOURCE_DATE_EPOCH
   from the top-most entry
 - debian/rules calls dh_installchangelogs which creates changelog.$arch

Maybe you were talking about reproducing the package build from the timestamp
in changelog.$arch?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20161116/b657d36f/attachment.sig>


More information about the Buildd-tools-devel mailing list