In trying to build tensorflow-1.15.0, my initial attempt was unsuccessful due to bug 708498. Having attended to that particular bug, further attempts were also unsuccessful due to errors such as these: ERROR: /var/tmp/portage/sci-libs/tensorflow-1.15.0-r1/work/tensorflow-1.15.0-python3_7/tensorflow/lite/tools/optimize/BUILD:32:1: undeclared inclusion(s) in rule '//tensorflow/lite/tools/optimize:model_utils': this rule is missing dependency declarations for the following files included by 'tensorflow/lite/tools/optimize/model_utils.cc': 'external/com_google_absl/absl/strings/string_view.h' 'external/com_google_absl/absl/base/internal/throw_delegate.h' This is not the only such error, merely the first that happens to be fatal. The problem is that there are multiple sections in which a dependency ought to be declared upon "@com_google_absl//absl/strings" but is missing instead. The two files affected are: tensorflow/lite/python/interpreter_wrapper/BUILD tensorflow/lite/tools/optimize/BUILD I am attaching a patch that covers all of these cases. After applying this patch, I was (finally) able to build tensorflow. Please consider this patch for inclusion. Please note that the "-r1" revision is to distinguish my copy of the ebuild from the one in gentoo's repo. I did this in order to be able to apply my patch, but commented out the reference to the patch for the purpose of re-generating a build error to include in this report.
Created attachment 635340 [details] build.log
Created attachment 635342 [details, diff] tensorflow-1.15.0-fix-tensorflow-lite-build-error.patch
As tensorflow has a complex dependency graph and is rather volatile, allow me to also present the list of ~amd64 packages that I permitted to be installed in order to satisfy tensorflow-1.15.0: dev-java/icedtea-3.15.0:8 dev-python/google-pasta-0.1.7 dev-python/grpcio-1.24.3-r1::kerframil dev-python/grpcio-tools-1.24.3-r1::kerframil dev-python/pybind11-2.4.3 net-libs/google-cloud-cpp-0.10.0-r1 net-libs/grpc-1.24.3-r1::kerframil sci-libs/scipy-1.4.1 sci-libs/tensorflow-1.15.0-r1::kerframil sci-libs/tensorflow-estimator-1.15.1 sci-visualization/tensorboard-1.15.0 sys-apps/hwloc-2.0.4:0/15 Any references to my "kerframil" repo are as a result of needing to resurrect dropped packages (bug 708498) or to apply a patch (tensorflow).
I should also add that all build attempts - both successful and unsuccessful - were conducted with dev-util/bazel-0.27.2.
I am closing this bug because Jason has dropped the tensorflow-1.15 series.