Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787188 - net-libs/grpc-1.37.1 version bump
Summary: net-libs/grpc-1.37.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 18:39 UTC by Thomas Capricelli
Modified: 2021-05-07 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2021-04-30 18:39:48 UTC
portage has an old version (1.32.0, released in sept 2020). I'm hit by some bugs in it.

The last version is 1.37.1 (released 20 hours ago :-)

https://github.com/grpc/grpc/releases

Reproducible: Always
Comment 1 Thomas Capricelli 2021-04-30 18:41:11 UTC
I tried just copying the ebuild, but it fails as the patch (use-pkg-config-to-find-re2.patch) doesn't apply cleanly anymore

I removed the patch from the ebuild, and it now fails with lot of cmake errors like:


CMake Error at CMakeLists.txt:2974 (add_library):
  Target "grpc++_alts" links to target "absl::statusor" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at CMakeLists.txt:2247 (add_library):
  Target "grpc_unsecure" links to target "absl::statusor" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
...


Now i'm stuck.
Comment 2 Georgy Yakovlev archtester gentoo-dev 2021-04-30 19:08:49 UTC
It's in the tree.
patch no longer needed as it was fixed upstream.
Comment 3 Georgy Yakovlev archtester gentoo-dev 2021-04-30 19:15:15 UTC
as for absl error, you need  new absl and both grpc and absl compiled with cxx17 standard.
new ebuild takes care of that so it'll just work.
Comment 4 Thomas Capricelli 2021-05-07 22:47:10 UTC
And i can confirm it works. Thanks a lot !