On 2023-02-23, Chris Lamb wrote:
> This is because the gawkbug script contained the contents of the CFLAGS
> environment variable, and this can contain the full build path via/by
> embedding -ffile-prefix-map.
...
> --- a/debian/rules    2023-02-23 10:40:16.745966821 -0800
> --- b/debian/rules    2023-02-23 10:58:04.377850011 -0800
> @@ -34,6 +34,8 @@
>       rm -f debian/gawk/usr/bin/awk
>       # Remove fake info files (see README.source).
>       rm -rf debian/gawk/usr/share/info
> +     # Make gawkbug reproducible
> +     sed -i -e 's@$(CURDIR)@/build/dir@g' debian/gawk/usr/bin/gawkbug
>  
>  override_dh_auto_clean:
>       dh_auto_clean

I can confirm the issue is still present, and the suggeste patch works
around the issue.

We are no longer testing build paths on tests.reproducible-builds.org,
though other tooling such as reprotest or sbuild still do out of the
box, so it would be nice to get fixed regardless.

live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to