archive wide rebuild with "-DCMAKE_SKIP_RPATH=ON"?
Niels Thykier
niels at thykier.net
Sat Aug 21 09:39:31 BST 2021
Chris Lamb:
> 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?
>
That is correct.
> 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 will leave this to Lucas to answer as it seems to be more in his
scope. Though I can mention that Mattia was playing with a sed command
on IRC earlier to do this - you may want to coordinate internally to
avoid duplicate work/redundant efforts.
>
> [0] https://salsa.debian.org/lucas/collab-qa-tools/-/blob/master/modes/boost
> [1] https://salsa.debian.org/lucas/collab-qa-tools/-/blob/master/modes/dpkg-reproducible-fixfilepath
>
>
>> I have a few rebuilds to run and process, and little time for Debian
>> currently, but I'll find the time eventually.
>
> Thanks :)
>
>
> Best wishes,
>
> --
> o
> ⬋ ⬊ Chris Lamb
> o o reproducible-builds.org 💠
> ⬊ ⬋
> o
>
More information about the Reproducible-builds
mailing list