Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720032 - dev-util/bazel-0.27.2 fails to build with glibc-2.30+
Summary: dev-util/bazel-0.27.2 fails to build with glibc-2.30+
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL: https://github.com/bazelbuild/bazel/i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 18:13 UTC by Kerin Millar
Modified: 2020-05-15 03:21 UTC (History)
2 users (show)

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


Attachments
bazel-0.27-rename-gettid-functions.patch (bazel-0.27-rename-gettid-functions.patch,3.23 KB, patch)
2020-04-29 18:14 UTC, Kerin Millar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kerin Millar 2020-04-29 18:13:07 UTC
For the same reasons as detailed by bug 712718, bazel-0.27.2 fails to build against glibc-2.30. See also:

  https://github.com/bazelbuild/bazel/issues/8666

Note that the tensorflow-1.15.0 ebuild still requires either of =bazel-0.27* or =bazel-0.24*. I have not tested any other version of bazel than 0.27.2 but it is probable that this bug applies to some other versions presently carried by gentoo. As such, I would recommend testing them.

I am attaching a patch extracted from https://github.com/clearlinux-pkgs/bazel/commit/adefd90. It can be applied by adding the following code to src_prepare:

  cd third_party/grpc || return
  eapply -p0 "${FILESDIR}/bazel-0.27-rename-gettid-functions.patch"
Comment 1 Kerin Millar 2020-04-29 18:14:54 UTC
Created attachment 635224 [details, diff]
bazel-0.27-rename-gettid-functions.patch