FS#72262 - [sysdig] cannot resolve "libgrpc++_unsecure.so=1.39-64", a dependency of "sysdig"
Attached to Project:
Community Packages
Opened by Munzir Taha (munzirtaha) - Tuesday, 28 September 2021, 06:21 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 08 October 2021, 22:39 GMT
Opened by Munzir Taha (munzirtaha) - Tuesday, 28 September 2021, 06:21 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 08 October 2021, 22:39 GMT
|
Details
Description:
> sudo pacman -S sysdig [sudo] password for munzir: resolving dependencies... warning: cannot resolve "libgrpc++_unsecure.so=1.39-64", a dependency of "sysdig" :: The following package cannot be upgraded due to unresolvable dependencies: sysdig :: Do you want to skip the above package for this upgrade? [y/N] y looking for conflicting packages... there is nothing to do > pacman -Si sysdig Repository : community Name : sysdig Version : 0.27.1-7 |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Friday, 08 October 2021, 22:39 GMT
Reason for closing: Fixed
Additional comments about closing: sysdig-0.27.1-8
Friday, 08 October 2021, 22:39 GMT
Reason for closing: Fixed
Additional comments about closing: sysdig-0.27.1-8
To my understanding, this is due to ABI incompatibilities between grpc+abseilcpp which are both built with c++17 and sysdig which uses c++0x.
This has worked up until now, but it doesn't seem to be the case anymore.
grpc won't work unless both grpc and abseilcpp are built with c++17 but building sysdig with the same version fails with a different error.
Honestly, I have not been using sysdig in years and I just kept maintaining it out of obligation, but I might be forced to drop it now. I'll see if upstream can help fix this.
I would probably have dropped the package though, which would have had the same net result of having to manually remove it in order to be able to upgrade.
Of course that would have been *after* considering if I could fix it somehow, which I have already tried at this point...
It seems pacman can handle multiple packages having same library in `provides` array but with different versions...
It wants to also use a bunch of other bundled libraries even if you turn them all off explicitly, and even if you give up and tell it to use everything bundled it still fails!
I lost so much time on this crap, I just give up.
@Svenstaro: I see you assigned yourself to this issue, you want to give it a shot?
> have you replaced it with something better
No, not really, to me sysdig was handy to address hard to diagnose issues but I haven't been in the situation where I really needed such a powerful tool for a long time and I became unfamiliar with it as a consequence. I still find it pretty neat.
Can't tell if not stripped too far, I have no other use for `grcp` besides `sysdig` dep on my machine.
derive `grpc139{,-libs}` from `grpc`: http://ix.io/3AAZ
pin `grcp139` for sysdig: http://ix.io/3AAX