On 2022-11-18, Dirk Eddelbuettel wrote:
> On 18 November 2022 at 11:49, Vagrant Cascadian wrote:
> | The build path is embedded in /usr/bin/xrprof:
> | 
> |   
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/xrprof.html
> | 
> |   /build/1st/xrprof-0.3.1/src/xrprof.c:71
> |   vs.
> |   /build/2/xrprof-0.3.1/2nd/src/xrprof.c:71
> | 
> | The attached patch to debian/rules fixes this by passing the default
> | CFLAGS to dh_auto_build, which includes the -ffile-prefix-map argument.
>
> Nice!
>
> If it is that simple .. I will happily do so.  Thanks for the patch!

For clarity, I have only done build testing, not testing that the
installed program behaves correctly, but most of the default debian
flags *should* be fine... :)

If you want to be extra careful you might want to review the build logs
and check which flags are actually used with and without the patch.

Another option might be to patch the upstream Makefile(s) to use "CFLAGS
+=" instead of "CFLAGS =", though that still may change which flags are
actually used.

live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to