archive wide rebuild with "-DCMAKE_SKIP_RPATH=ON"?

Mattia Rizzolo mattia at debian.org
Tue Aug 17 14:41:47 BST 2021


On Thu, Aug 12, 2021 at 03:35:05PM +0200, Niels Thykier wrote:
> > On 2021-08-10 Holger Levsen <holger-Yq+U+nADzX/cAl+TvhycwA at public.gmane.org> wrote:
> >> [...]
> > 
> > Hello,
> > 
> > Isn't CMAKE_SKIP_RPATH a rather strange choice, what are the expected
> > benefits over CMAKE_SKIP_INSTALL_RPATH? There is potential for breaking
> > testsuites. 
> > 
> > Doesn't this break packages that intentionally use rpath for private
> > shared libraries?
> > 
> > cu Andreas
> 
> Hi Andreas,
> 
> The CMAKE_SKIP_RPATH was recommended in #962474
> (https://bugs.debian.org/962474) to improve reproducibility by default.
> The bug contains the rationale for that option and explains the
> underlying issue (plus links to the upstream bug tracker where that
> topic was also discussed).


Indeed, -DCMAKE_SKIP_RPATH=ON for me broke things in src:lib2geom:
https://salsa.debian.org/multimedia-team/lib2geom/-/commit/f8a4c06edbd64d4c77d69ef3aea93e978a7156e4

this is just an example, and I expect plenty of breakages.


May I recommend we do *not* enable this on the r-b builders, as I'm
positive it would break quite a few things here and there.  Rather, it
would be perfect for aws' comparative rebuilds.  Now, who is the
contact for those these days?

-- 
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  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20210817/add51b62/attachment.sig>


More information about the Reproducible-builds mailing list