On Fri, Aug 20, 2021 at 03:06:55PM +0100, Chris Lamb wrote:
> Hi Lucas et al.,
> 
> > yes, to do a comparative rebuild, I just need such a script that adjusts
> > the build environment to whatever is needed. See other examples in
> > https://salsa.debian.org/lucas/collab-qa-tools/-/tree/master/modes
> 
> For reference, the relevant part of debhelper's cmake.pm is:
> 
>     push(@flags, "-DCMAKE_SKIP_RPATH=ON", 
> '-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON') if not compat(13);
> 
> Two quick questions arising from this:
> 
> 1. Am I right in thinking we take out the "if not compat(13)"
>    conditional as part of this experiment?
> 
> 2. Would the best way of introducing this be a custom rebuild of the
>    src:debhelper package, similar to the way, for example, boost was
>    tested earlier this year [0]?  (I suspect this is the case if
>    customisation script is run before installation of packages,
>    otherwise we could simply sed the relevant file, similar to how we
>    tested fixfilepath [1] where we could rely on dpkg being installed.)

I've just filed
    https://salsa.debian.org/lucas/collab-qa-tools/-/merge_requests/12
with a script that, as I expect, should be enough to run this test.


It's similar in spirit on how vagrant run the last test rebuild,
`sed`ing a "live" file instead of providing a patched package, as I
understand that's a good enough way to do it.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to