1 |
сб, 17 окт. 2020 г. в 15:28, Michael Orlitzky <mjo@g.o>: |
2 |
> On 10/17/20 8:10 AM, gevisz wrote: |
3 |
> > |
4 |
> > Any thoughts on how to proceed with this obstacle other than to |
5 |
> > depclean tensorflow and try to reinstall it again? |
6 |
> > > The problem is that all versions of tensorflow and almost all of its |
7 |
> > dependencies are masked by default. So it is almost impossible to |
8 |
> > guess which versions of them should be unmasked for the successful |
9 |
> > compilation. |
10 |
> |
11 |
> My strategy was to run emerge with --autounmask=y and then to add the |
12 |
> dependencies to package.accept_keywords one-by-one. If any of the |
13 |
> dependencies that it suggests to you are actually incompatible, it's a |
14 |
> bug in the tensorflow ebuild (or the ebuild of one of its dependencies). |
15 |
> |
16 |
> This is what I've currently got, but I originally generated the list for |
17 |
> tensorflow-2.2 and then upgraded, so it may not be perfect. (It takes me |
18 |
> three days to compile, so I'm not going to experiment!) |
19 |
> |
20 |
> # tensorflow |
21 |
> =dev-python/pandas-1.1.2 ~amd64 |
22 |
> =dev-python/gast-0.3.3 ~amd64 |
23 |
> =dev-python/astunparse-1.6.3 ~amd64 |
24 |
> =net-libs/grpc-1.28.1-r1 ~amd64 |
25 |
> =sci-libs/tensorflow-2.3.1 ~amd64 |
26 |
> =net-libs/google-cloud-cpp-0.10.0-r1 ~amd64 |
27 |
> =sci-visualization/tensorboard-2.3.0 ~amd64 |
28 |
> =dev-util/bazel-3.2.0 ~amd64 |
29 |
> =sci-libs/tensorflow-estimator-2.3.0 ~amd64 |
30 |
> =sys-apps/hwloc-2.1.0 ~amd64 |
31 |
> =dev-python/grpcio-tools-1.28.1 ~amd64 |
32 |
> =dev-cpp/abseil-cpp-20200225.2 ~amd64 |
33 |
> =dev-python/google-auth-oauthlib-0.4.1 ~amd64 |
34 |
> =dev-python/google-pasta-0.2.0 ~amd64 |
35 |
|
36 |
Thank you. I have depcleaned all masked packages and in line with your |
37 |
suggestions started to build a list of package unmask rules for |
38 |
emerging tensorflow-2.3.1. However, I do it manually using |
39 |
emerge -vp tensorflow |
40 |
As the result, so far I've got the following list: |
41 |
>=sci-libs/tensorflow-2.2.0-r2::gentoo ~amd64 |
42 |
>=net-libs/grpc-1.28::gentoo ~amd64 |
43 |
>=sys-apps/hwloc-2::gentoo ~amd64 |
44 |
>=dev-python/astunparse-1.6.3::gentoo ~amd64 |
45 |
>=dev-python/gast-0.3.3::gentoo ~amd64 |
46 |
>=dev-python/google-pasta-0.1.8::gentoo ~amd64 |
47 |
>=net-libs/google-cloud-cpp-0.10.0::gentoo ~amd64 |
48 |
>=sci-visualization/tensorboard-2.3.0::gentoo ~amd64 |
49 |
>=sci-libs/tensorflow-estimator-2.3.0::gentoo ~amd64 |
50 |
=dev-util/bazel-3*::gentoo ~amd64 |
51 |
>=dev-python/grpcio-tools-1.28::gentoo ~amd64 |
52 |
~dev-python/grpcio-1.32.0::gentoo ~amd64 |
53 |
>=dev-python/google-auth-oauthlib-0.4.1::gentoo ~amd64 |
54 |
=dev-cpp/abseil-cpp-20200225*:=::gentoo ~amd64 |
55 |
>=dev-libs/protobuf-3.13.0:=::gentoo ~amd64 |
56 |
|
57 |
However, now I have got the following |
58 |
WARNING: One or more updates/rebuilds have been skipped due to a |
59 |
dependency conflict: |
60 |
|
61 |
dev-libs/protobuf:0 |
62 |
|
63 |
(dev-libs/protobuf-3.13.0:0/24::gentoo, ebuild scheduled for merge) |
64 |
USE="zlib -emacs -examples -static-libs -test" ABI_X86="(64) -32 |
65 |
(-x32)" conflicts with |
66 |
~dev-libs/protobuf-3.12.4 required by |
67 |
(dev-python/protobuf-python-3.12.4-r1:0/23::gentoo, ebuild scheduled |
68 |
for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python3_6 |
69 |
-python3_8 (-python3_9)" |
70 |
|
71 |
I am going to solve it by adding the line |
72 |
>=dev-python/protobuf-python-3.13.0-r1::gentoo ~amd64 |
73 |
(and it indeed solves the dependency conflict) |
74 |
However, in this case I am quite close to my previous configuration |
75 |
when compilation of tensorflow failed. |
76 |
|
77 |
Now, I am going to compile. On my computer, it will also take a lot of |
78 |
time. So, I will report the result till the end of the next week. :) |