Gentoo Archives: gentoo-user

From: Alan Grimes <alonzotg@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] TensorFlow
Date: Tue, 12 Feb 2019 20:07:24
Message-Id: b67d1f98-665d-b327-cc27-9f19ca6ccf5d@verizon.net
1 I wanna take a whack at an AI challenge,
2
3 https://www.aicrowd.com/challenges/unity-obstacle-tower-challenge
4
5 Ok, so I'm like
6 "emerge tensorflow"
7
8 It has been about two weeks since I've sync'd so this may or may not
9 still be valid, updating is an extremely risky operation on my machine
10 so I'm on a once every 3-6 months schedule...
11
12 current state:
13
14 #############
15 tortoise /home/atg/source # emerge tensorflow
16
17 These are the packages that would be merged, in order:
18
19 Calculating dependencies... done!
20 [ebuild  N     ] net-libs/google-cloud-cpp-0.2.0-r1::gentoo  USE="test"
21 0 KiB
22 [ebuild  N     ] sci-visualization/tensorboard-1.12.1::gentoo 
23 PYTHON_TARGETS="python2_7 python3_6 -python3_5" 0 KiB
24 [ebuild  N     ] sci-libs/tensorflow-1.12.0::gentoo  USE="cuda python
25 -mpi" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2 -fma3 -fma4"
26 PYTHON_TARGETS="python2_7 python3_6 -python3_5" 0 KiB
27 [......]
28 [ 15%] Linking CXX executable internal_throw_delegate_test
29 cd
30 /var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build/google/cloud
31 && /usr/bin/cmake -E cmake_link_script
32 CMakeFiles/internal_throw_delegate_test.dir/link.txt --verbose=1
33 /usr/bin/x86_64-pc-linux-gnu-g++  -march=native -pipe -O3  -Wl,-O1
34 -Wl,--as-needed
35 CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o 
36 -o internal_throw_delegate_test
37 -Wl,-rpath,/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build/google/cloud:/usr/local/lib64
38 libgoogle_cloud_cpp_testing.so libgoogle_cloud_cpp_common.so.0.1.0
39 /usr/lib64/libgmock_main.so /usr/lib64/libgmock.so
40 /usr/local/lib64/libgtest.so -lpthread
41 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
42 CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI38ThrowDelegateTest_InvalidArgument_Test[_ZTI38ThrowDelegateTest_InvalidArgument_Test]+0x10):
43 undefined reference to `typeinfo for testing::Test'
44 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
45 CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI33ThrowDelegateTest_RangeError_Test[_ZTI33ThrowDelegateTest_RangeError_Test]+0x10):
46 undefined reference to `typeinfo for testing::Test'
47 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
48 CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI35ThrowDelegateTest_RuntimeError_Test[_ZTI35ThrowDelegateTest_RuntimeError_Test]+0x10):
49 undefined reference to `typeinfo for testing::Test'
50 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
51 CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI33ThrowDelegateTest_LogicError_Test[_ZTI33ThrowDelegateTest_LogicError_Test]+0x10):
52 undefined reference to `typeinfo for testing::Test'
53 collect2: error: ld returned 1 exit status
54 make[2]: ***
55 [google/cloud/CMakeFiles/internal_throw_delegate_test.dir/build.make:89:
56 google/cloud/internal_throw_delegate_test] Error 1
57 make[2]: Leaving directory
58 '/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build'
59 make[1]: *** [CMakeFiles/Makefile2:221:
60 google/cloud/CMakeFiles/internal_throw_delegate_test.dir/all] Error 2
61 make[1]: *** Waiting for unfinished jobs....
62 ####
63
64 I've tried toggling the "test" flag on the package, no change. Would
65 trying to get Nvidia's containers working be a better way to waste my
66 time on this? Or should I give up and use google's cloud service? =\
67
68 --
69 Please report bounces from this address to atg@×××××××××.com
70
71 Powers are not rights.

Replies

Subject Author
Re: [gentoo-user] TensorFlow Nils Freydank <nils.freydank@××××××.de>