Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tensorflow-2.3.1 failed to compile"
Date: Sat, 17 Oct 2020 12:28:41
Message-Id: 1ea2439f-c222-3fcc-564d-bf94dfd8fec0@gentoo.org
In Reply to: [gentoo-user] tensorflow-2.3.1 failed to compile" by gevisz
1 On 10/17/20 8:10 AM, gevisz wrote:
2 >
3 > Any thoughts on how to proceed with this obstacle other than to
4 > depclean tensorflow and try to reinstall it again?
5 > > The problem is that all versions of tensorflow and almost all of its
6 > dependencies are masked by default. So it is almost impossible to
7 > guess which versions of them should be unmasked for the successful
8 > compilation.
9
10 My strategy was to run emerge with --autounmask=y and then to add the
11 dependencies to package.accept_keywords one-by-one. If any of the
12 dependencies that it suggests to you are actually incompatible, it's a
13 bug in the tensorflow ebuild (or the ebuild of one of its dependencies).
14
15 This is what I've currently got, but I originally generated the list for
16 tensorflow-2.2 and then upgraded, so it may not be perfect. (It takes me
17 three days to compile, so I'm not going to experiment!)
18
19 # tensorflow
20 =dev-python/pandas-1.1.2 ~amd64
21 =dev-python/gast-0.3.3 ~amd64
22 =dev-python/astunparse-1.6.3 ~amd64
23 =net-libs/grpc-1.28.1-r1 ~amd64
24 =sci-libs/tensorflow-2.3.1 ~amd64
25 =net-libs/google-cloud-cpp-0.10.0-r1 ~amd64
26 =sci-visualization/tensorboard-2.3.0 ~amd64
27 =dev-util/bazel-3.2.0 ~amd64
28 =sci-libs/tensorflow-estimator-2.3.0 ~amd64
29 =sys-apps/hwloc-2.1.0 ~amd64
30 =dev-python/grpcio-tools-1.28.1 ~amd64
31 =dev-cpp/abseil-cpp-20200225.2 ~amd64
32 =dev-python/google-auth-oauthlib-0.4.1 ~amd64
33 =dev-python/google-pasta-0.2.0 ~amd64

Replies

Subject Author
Re: [gentoo-user] tensorflow-2.3.1 failed to compile" gevisz <gevisz@×××××.com>