Created attachment 575546 [details] build log This regression only started with the last ebuild changes. >>> Starting src_compile bazel --bazelrc=/var/tmp/paludis/sci-libs-tensorflow-1.13.1/temp//bazelrc --output_base=/var/tmp/paludis/sci-libs-tensorflow-1.13.1/work/tensorflow-1.13.1-python3_6-bazel-base build --nobuild //tensorflow:libtensorflow_framework.so //tensorflow:libtensorflow.so //tensorflow:libtensorflow_cc.so //tensorflow/tools/pip_package:build_pip_package WARNING: ignoring LD_PRELOAD in environment. WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". Loading: 0 packages loaded Error: * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sci-libs/tensorflow-1.13.1:0::gentoo --destination installed --replacing =sci-libs/tensorflow-1.13.1:0::installed --x-of-y 1 of 1: * When installing 'sci-libs/tensorflow-1.13.1:0::gentoo' replacing { 'sci-libs/tensorflow-1.13.1:0::installed' }: * When running an ebuild command on 'sci-libs/tensorflow-1.13.1:0::gentoo': * Install failed for 'sci-libs/tensorflow-1.13.1:0::gentoo' (paludis::ActionFailedError) ERROR: /var/tmp/paludis/sci-libs-tensorflow-1.13.1/work/tensorflow-1.13.1-python3_6-bazel-base/external/io_bazel_rules_closure/closure/private/defs.bzl:18:17: FileType function is not available. You may use a list of strings instead. You can temporarily reenable the function by passing the flag --incompatible_disallow_filetype=false
Thank you for the report. Please recompile and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket The logs must be part of the ticket, but not on external websites. We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
I already posted what I have. The ebuild references several external resources in setting up the workspace. It is possible something changed in an external resource.
This bug is related to bazel-0.24.1. The upgrade to bazel is causing this issue. Downgrading to bazel-0.22.0 allows tensorflow to build successfully. Please change the title of this bug to reference bazel-0.24.1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e796eb3282002db984134ba540602e34cda34b20 commit e796eb3282002db984134ba540602e34cda34b20 Author: Jason Zaman <perfinion@gentoo.org> AuthorDate: 2019-05-11 21:11:42 +0000 Commit: Jason Zaman <perfinion@gentoo.org> CommitDate: 2019-05-11 22:29:36 +0000 sci-libs/tensorflow: set max version of bazel dep Closes: https://bugs.gentoo.org/685386 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Jason Zaman <perfinion@gentoo.org> sci-libs/tensorflow/tensorflow-1.13.1.ebuild | 1 + 1 file changed, 1 insertion(+)