AdaCore / gprbuild

GPRbuild is an advanced build system designed to help automate the construction of multi-language systems.
Other
65 stars 21 forks source link

Naming conflict with grpc produced library #120

Closed mohammed-n-shamsi closed 1 year ago

mohammed-n-shamsi commented 1 year ago

Not sure if this is the correct location to raise the issue, I didn't find another similar issue in this git repository so I am deciding to post an issue here.

As reference I am on the Manjaro Linux distribution.

I attempted to install this library through the AUR, https://aur.archlinux.org/packages/libgpr. Which is a dependency for some other packages I want to install (Ada Language Server).

However, there is a conflict with a library produced by another framework I am using, GRPC, https://archlinux.org/packages/community/x86_64/grpc/.

From a quick google search I found: https://github.com/grpc/grpc/issues/27850. Which seems to suggests that this issue was fixed by renaming libgpr.so (for gprbuild) into libgnatprj.so. However, looking at gpr/gpr.gpr that doesn't appear to be the case.

Are there any easy workarounds that I can do to get around this conflict? That don't involve me getting rid of grpc? Or possibly manually editing and building all of the other packages I wish to install that depend on libgpr.so (the gprbuild variant)?

mohammed-n-shamsi commented 1 year ago

I was unaware that I could've used alire to go down this path. Less of an issue for me.