Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow doesn't build anymore #866

Open
sileht opened this issue Oct 7, 2020 · 2 comments
Open

tensorflow doesn't build anymore #866

sileht opened this issue Oct 7, 2020 · 2 comments

Comments

@sileht
Copy link
Contributor

sileht commented Oct 7, 2020

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
@p4paul
Copy link

p4paul commented Jul 28, 2023

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 ...

@beniz
Copy link
Collaborator

beniz commented Jul 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants