archive wide rebuild with "-DCMAKE_SKIP_RPATH=ON"?

Mattia Rizzolo mattia at
Sat Aug 21 11:01:58 BST 2021

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
> >
> For reference, the relevant part of debhelper's 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
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.

                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:                             : :'  :
Launchpad user:                  `. `'`
Debian QA page:  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the Reproducible-builds mailing list