Source: pd-pdstring Version: 0.10.2-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: environment X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that pd-pdstring could not be built reproducibly as it embeds the current username. Patch attached that modifies that patch I previously sent in #833445. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/common/m4/ax_pd_external.m4 2017-05-03 17:06:26.820444508 +0100 --- b/common/m4/ax_pd_external.m4 2017-05-03 17:10:13.613304235 +0100 @@ -244,10 +244,11 @@ ## compiled if test -n "$SOURCE_DATE_EPOCH"; then AC_DEFINE_UNQUOTED(PACKAGE_BUILD_DATE, "`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`", [Date this package was configured]) + AC_DEFINE_UNQUOTED(PACKAGE_BUILD_USER, "unknown", [User who configured this package]) else AC_DEFINE_UNQUOTED(PACKAGE_BUILD_DATE, "`date`", [Date this package was configured]) + AC_DEFINE_UNQUOTED(PACKAGE_BUILD_USER, "$USER", [User who configured this package]) fi - AC_DEFINE_UNQUOTED(PACKAGE_BUILD_USER, "$USER", [User who configured this package]) ## /compiled ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^