jolibrain / deepdetect

Deep Learning API and Server in C++14 support for Caffe, PyTorch,TensorRT, Dlib, NCNN, Tensorflow, XGBoost and TSNE

Home Page:https://www.deepdetect.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tensorflow doesn't build anymore

sileht opened this issue · comments

tensorflow doesn't build anymore because eigen have moved to Gitlab: https://bitbucket.org/eigen/eigen/ -> https://gitlab.com/libeigen/eigen

TF patch exists here: tensorflow/tensorflow#43499

Error message (if any) / steps to reproduce the problem:

#21 19.04 -- Build files have been written to: /opt/deepdetect/build/tensorflow_cc/src/tensorflow_cc/tensorflow_cc/build
#21 19.06 Scanning dependencies of target tensorflow_base
#21 19.07 [  6%] Creating directories for 'tensorflow_base'
#21 19.09 [ 12%] Performing download step (git clone) for 'tensorflow_base'
#21 19.10 Cloning into 'tensorflow'...
#21 412.3 Note: checking out 'v1.15.0'.
#21 412.3 
#21 412.3 You are in 'detached HEAD' state. You can look around, make experimental
#21 412.3 changes and commit them, and you can discard any commits you make in this
#21 412.3 state without impacting any branches by performing another checkout.
#21 412.3 
#21 412.3 If you want to create a new branch to retain commits you create, you may
#21 412.3 do so (now or later) by using -b with the checkout command again. Example:
#21 412.3 
#21 412.3   git checkout -b <new-branch-name>
#21 412.3
#21 412.3 HEAD is now at 590d6eef7e Merge pull request #31861 from tensorflow-jenkins/relnotes-1.15.0rc0-16184
#21 412.8 [ 18%] No update step for 'tensorflow_base'
#21 412.8 [ 25%] No patch step for 'tensorflow_base'
#21 412.8 [ 31%] Performing configure step for 'tensorflow_base'
#21 412.9 PROTOC = "protoc"
#21 412.9 CC_PREFIX = ""
#21 413.5 downloading https://bitbucket.org/eigen/eigen/get/49177915a14a.tar.gz
#21 414.5 
#21 414.5 gzip: stdin: not in gzip format
#21 414.5 tar: Child returned status 1
#21 414.5 tar: Error is not recoverable: exiting now
#21 414.5 make[5]: *** [tensorflow-stamp/tensorflow_base-configure] Error 2
#21 414.5 CMakeFiles/tensorflow_base.dir/build.make:125: recipe for target 'tensorflow-stamp/tensorflow_base-configure' failed
#21 414.5 CMakeFiles/Makefile2:123: recipe for target 'CMakeFiles/tensorflow_base.dir/all' failed
#21 414.5 make[4]: *** [CMakeFiles/tensorflow_base.dir/all] Error 2
#21 414.5 Makefile:148: recipe for target 'all' failed
#21 414.5 make[3]: *** [all] Error 2
#21 414.5 make[2]: *** [tensorflow_cc/src/tensorflow_cc-stamp/tensorflow_cc-configure] Error 2
#21 414.5 CMakeFiles/tensorflow_cc.dir/build.make:124: recipe for target 'tensorflow_cc/src/tensorflow_cc-stamp/tensorflow_cc-configure' failed
#21 414.5 CMakeFiles/Makefile2:145: recipe for target 'CMakeFiles/tensorflow_cc.dir/all' failed
#21 414.5 make[1]: *** [CMakeFiles/tensorflow_cc.dir/all] Error 2
#21 414.5 Makefile:102: recipe for target 'all' failed
#21 414.5 make: *** [all] Error 2
#21 ERROR: executor failed running [/bin/sh -c mkdir build && cd build && ../build.sh]: exit code: 2

Same issue building with:
docker build --build-arg DEEPDETECT_BUILD=tf -t jolibrain/deepdetect_cpu --no-cache -f docker/cpu.Dockerfile .

... snip ...
#0 86.18 HEAD is now at 590d6eef7e9 Merge pull request #31861 from tensorflow-jenkins/relnotes-1.15.0rc0-16184
#0 86.25 [ 18%] No update step for 'tensorflow_base'
#0 86.26 [ 25%] No patch step for 'tensorflow_base'
#0 86.27 [ 31%] Performing configure step for 'tensorflow_base'
#0 86.27 make[6]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
#0 86.29 PROTOC = "protoc"
#0 86.29 CC_PREFIX = ""
#0 86.54 downloading https://bitbucket.org/eigen/eigen/get/49177915a14a.tar.gz
#0 86.55 [ 92%] Building CXX object CMakeFiles/libprotoc.dir/opt/deepdetect/build/protobuf/src/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o
#0 86.80 [ 93%] Building CXX object CMakeFiles/libprotoc.dir/opt/deepdetect/build/protobuf/src/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o
#0 86.95 
#0 86.95 gzip: stdin: not in gzip format
#0 86.95 tar: Child returned status 1
#0 86.95 tar: Error is not recoverable: exiting now
... snip ...

hi @p4paul TF is deprecated on our side, the torch (C++) backend is the way to go.