archive wide rebuild with "-DCMAKE_SKIP_RPATH=ON"?
mattia at debian.org
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
> > 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 ? (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  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.
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 `-
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Reproducible-builds