Page MenuHomeFreeBSD

rubygem-google-protobuf: Use hidden symbols
ClosedPublic

Authored by dan.mcgregor_usask.ca on Oct 26 2022, 9:17 PM.
Tags
None
Referenced Files
F109732211: D37140.diff
Sat, Feb 8, 8:48 PM
Unknown Object (File)
Dec 3 2024, 1:35 PM
Unknown Object (File)
Oct 7 2024, 11:42 PM
Unknown Object (File)
Oct 7 2024, 10:21 AM
Unknown Object (File)
Oct 3 2024, 3:59 PM
Unknown Object (File)
Sep 11 2024, 1:12 PM
Unknown Object (File)
Sep 11 2024, 1:03 PM
Unknown Object (File)
Sep 8 2024, 6:03 AM

Details

Summary

The Linux and Darwin builds hide the symbols in the native shared
object. This prevents some symbol collisions if this gem is loaded
alongside certain others (that should probably also hide their symbols).

This fixes numerous issues with gitaly and protobuf 3.20 and newer.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 48013
Build 44900: arc lint + arc unit

Event Timeline

Thanks a lot, I tested it and can confirm that fixes the problem. @sunpoet could you please commit this, as you are the maintainer of these ports.
Thanks a lot.

This revision is now accepted and ready to land.Oct 28 2022, 2:32 PM

Thanks for taking a look. I don't think the change to the 3.19 port is strictly necessary, but as I said in a private email to @mfechner, I do believe that hiding symbols is good practice for ruby gems.

The change to 3.2x *is* necessary, though.