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
I wanna take a whack at an AI challenge,

https://www.aicrowd.com/challenges/unity-obstacle-tower-challenge

Ok, so I'm like
"emerge tensorflow"

It has been about two weeks since I've sync'd so this may or may not
still be valid, updating is an extremely risky operation on my machine
so I'm on a once every 3-6 months schedule...

current state:

#############
tortoise /home/atg/source # emerge tensorflow

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-libs/google-cloud-cpp-0.2.0-r1::gentoo  USE="test"
0 KiB
[ebuild  N     ] sci-visualization/tensorboard-1.12.1::gentoo 
PYTHON_TARGETS="python2_7 python3_6 -python3_5" 0 KiB
[ebuild  N     ] sci-libs/tensorflow-1.12.0::gentoo  USE="cuda python
-mpi" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2 -fma3 -fma4"
PYTHON_TARGETS="python2_7 python3_6 -python3_5" 0 KiB
[......]
[ 15%] Linking CXX executable internal_throw_delegate_test
cd
/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build/google/cloud
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/internal_throw_delegate_test.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -march=native -pipe -O3  -Wl,-O1
-Wl,--as-needed
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o 
-o internal_throw_delegate_test
-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
libgoogle_cloud_cpp_testing.so libgoogle_cloud_cpp_common.so.0.1.0
/usr/lib64/libgmock_main.so /usr/lib64/libgmock.so
/usr/local/lib64/libgtest.so -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI38ThrowDelegateTest_InvalidArgument_Test[_ZTI38ThrowDelegateTest_InvalidArgument_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI33ThrowDelegateTest_RangeError_Test[_ZTI33ThrowDelegateTest_RangeError_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI35ThrowDelegateTest_RuntimeError_Test[_ZTI35ThrowDelegateTest_RuntimeError_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/internal_throw_delegate_test.dir/internal/throw_delegate_test.cc.o:(.data.rel.ro._ZTI33ThrowDelegateTest_LogicError_Test[_ZTI33ThrowDelegateTest_LogicError_Test]+0x10):
undefined reference to `typeinfo for testing::Test'
collect2: error: ld returned 1 exit status
make[2]: ***
[google/cloud/CMakeFiles/internal_throw_delegate_test.dir/build.make:89:
google/cloud/internal_throw_delegate_test] Error 1
make[2]: Leaving directory
'/var/tmp/portage/net-libs/google-cloud-cpp-0.2.0-r1/work/google-cloud-cpp-0.2.0_build'
make[1]: *** [CMakeFiles/Makefile2:221:
google/cloud/CMakeFiles/internal_throw_delegate_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
####

I've tried toggling the "test" flag on the package, no change. Would
trying to get Nvidia's containers working be a better way to waste my
time on this? Or should I give up and use google's cloud service? =\

-- 
Please report bounces from this address to atg@×××××××××.com

Powers are not rights.

Replies

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