tensorflow: http://zlib.net/zlib-1.2.8.tar.gz no longer available
I’m attempting to install tensorflow 0.12.1 from the r0.12 branch from source.
zlib has been updated from 1.2.8 to 1.2.9 so it appears the link must be updated from: http://zlib.net/zlib-1.2.8.tar.gz
edit: per later comments, this has been moved to http://zlib.net/fossils/zlib-1.2.8.tar.gz
one solution may be to update to:
~~http://zlib.net/zlib-1.2.9.tar.gz~~
here is the error I’m getting:
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
........
ERROR: /home/ahundt/src/tensorflow/tensorflow/core/BUILD:970:1: no such package '@zlib_archive//': Error downloading [http://zlib.net/zlib-1.2.8.tar.gz] to /home/ahundt/.cache/bazel/_bazel_ahundt/beca172f341045bf57b6baf5296669b3/external/zlib_archive/zlib-1.2.8.tar.gz: GET returned 404 Not Found and referenced by '//tensorflow/core:lib_internal'.
ERROR: /home/ahundt/src/tensorflow/tensorflow/core/BUILD:970:1: no such package '@zlib_archive//': Error downloading [http://zlib.net/zlib-1.2.8.tar.gz] to /home/ahundt/.cache/bazel/_bazel_ahundt/beca172f341045bf57b6baf5296669b3/external/zlib_archive/zlib-1.2.8.tar.gz: GET returned 404 Not Found and referenced by '//tensorflow/core:lib_internal'.
ERROR: Evaluation of query "deps((//tensorflow/... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.
In addition to the breakage fix, perhaps it would also make sense to make a change that would prevent future breakage of this sort?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 13
- Comments: 17 (5 by maintainers)
Commits related to this issue
- worspace.bzl uses zlib permalink zlib permalinks including the current version are always in http://zlib.net/fossils/zlib-*.*.*.tar.gz links in http://zlib.net/zlib-*.*.*.tar.gz are removed when no ... — committed to ahundt/tensorflow by ahundt 7 years ago
- worspace.bzl uses zlib permalink (#6612) * worspace.bzl uses zlib permalink zlib permalinks including the current version are always in http://zlib.net/fossils/zlib-*.*.*.tar.gz links in http://z... — committed to tensorflow/tensorflow by ahundt 7 years ago
- Workaround: Patch TensorFlow zlib dependency Pull zlib from http://zlib.net/fossils/zlib-1.2.8.tar.gz rather than http://zlib.net/zlib-1.2.8.tar.gz. This is a workaround for https://github.com/tensor... — committed to adamcrume/tensorflow-rust by adamcrume 7 years ago
- Update workspace.bzl According https://github.com/tensorflow/tensorflow/issues/6594 1.Permanent link for the current version: http://zlib.net/current/zlib.tar.gz 2. http://zlib.net/fossils/ is st... — committed to bhbai/tensorflow by bhbai 7 years ago
This fix does not work for me. Instead, both zlib-1.2.8.tar.gz and zlib-1.2.9.tar.gz are moved under http://zlib.net/fossils/ So it needs to be
For those wanderers with the same problem it can be fixed changing
tensorflow/tensorflow/workspace.bzlfromTo
Simple fix that has been working for me for days:
tensorflow/workspace.bzlzlib-1.2.8withzlib-1.2.10sha256lineor use this patch:
Thanks @Omnipresent
After applying your edit to workspace.bzl,I got: Prefix zlib-1.2.8 was given, but not found in the archive and referenced by ‘//tensorflow/core:lib_internal’.
Changing the entry as follows worked for me:
I am using TFAMI.v3 (ami-52bb0c32)
As already noted, all of the versions are in http://zlib.net/fossils/ , including the current version.
Suggested options for a permanent fix:
😃
The below works. Thanks @ahundt for updating the edit