Summary: | sci-libs/tensorflow-2.10.0 failed to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Jason Zaman <perfinion> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bertrand, kitenok, yrusinov |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 922374 | ||
Attachments: |
build.log
tf-2.11.0 buil.log |
Description
Leonid Kopylov
2022-09-28 14:25:23 UTC
Created attachment 814486 [details]
build.log
I had the same problem when using bazel-5.1.1 with openjdk-bin-17. I chose openjdk-bin-11, and tf-2.10 has built. (In reply to Aleksander Zatserkovnyy from comment #2) > I had the same problem when using bazel-5.1.1 with openjdk-bin-17. > I chose openjdk-bin-11, and tf-2.10 has built. Your workaround worked for me, but only with USE=-cuda. When USE=cuda it still fails: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc]: Invalid gcc path. /usr/*pc-linux-gnu/gcc-bin/11.3*/x86_64-pc-linux-gnu-gcc cannot be found. Traceback (most recent call last): File "/var/tmp/portage/sci-libs/tensorflow-2.10.0/work/tensorflow-2.10.0-python3_10/./configure.py", line 1354, in <module> main() File "/var/tmp/portage/sci-libs/tensorflow-2.10.0/work/tensorflow-2.10.0-python3_10/./configure.py", line 1300, in main set_gcc_host_compiler_path(environ_cp) File "/var/tmp/portage/sci-libs/tensorflow-2.10.0/work/tensorflow-2.10.0-python3_10/./configure.py", line 777, in set_gcc_host_compiler_path gcc_host_compiler_path = prompt_loop_or_load_from_env( File "/var/tmp/portage/sci-libs/tensorflow-2.10.0/work/tensorflow-2.10.0-python3_10/./configure.py", line 618, in prompt_loop_or_load_from_env raise UserInputError('Invalid %s setting was provided %d times in a row. ' __main__.UserInputError: Invalid GCC_HOST_COMPILER_PATH setting was provided 10 times in a row. Assuming to be a scripting mistake. Created attachment 847308 [details]
tf-2.11.0 buil.log
(In reply to Leonid Kopylov from comment #0) Hello, I had same issue with build TF2.11.0 with CUDA. and solve it by switching java-vm to openjdk-bin-11 (from 17) by eselect. After that it builded successfilly (In reply to kitenok@gmail.com from comment #5) > (In reply to Leonid Kopylov from comment #0) > > Hello, > > I had same issue with build TF2.11.0 with CUDA. and solve it by switching > java-vm to openjdk-bin-11 (from 17) by eselect. After that it builded > successfilly Thanks a lot, I have a similar problem, now I try to switch java-vm to openjdk-bin-11. Now I am compiling tensorflow-2.11, this error does not reproduce. *** Bug 890712 has been marked as a duplicate of this bug. *** I think java-pkg-2 eclass is able to set the slot correctly. Just set: RDEPEND="virtual/jre:17" The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57039ebc84c40eddf9f6a63afbbf86a8b3c42da commit f57039ebc84c40eddf9f6a63afbbf86a8b3c42da Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-02-24 12:47:06 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-02-24 12:47:06 +0000 sci-libs/tensorflow: treeclean Bug: https://bugs.gentoo.org/807625 Closes: https://bugs.gentoo.org/906609 Closes: https://bugs.gentoo.org/905673 Closes: https://bugs.gentoo.org/913731 Closes: https://bugs.gentoo.org/882617 Closes: https://bugs.gentoo.org/881445 Closes: https://bugs.gentoo.org/915621 Closes: https://bugs.gentoo.org/909002 Closes: https://bugs.gentoo.org/705712 Closes: https://bugs.gentoo.org/873295 Closes: https://bugs.gentoo.org/907031 Closes: https://bugs.gentoo.org/909003 Closes: https://bugs.gentoo.org/909767 Closes: https://bugs.gentoo.org/913534 Closes: https://bugs.gentoo.org/818766 Closes: https://bugs.gentoo.org/830167 Closes: https://bugs.gentoo.org/854354 Closes: https://bugs.gentoo.org/851573 Closes: https://bugs.gentoo.org/780468 Closes: https://bugs.gentoo.org/910029 Closes: https://bugs.gentoo.org/897228 Closes: https://bugs.gentoo.org/844196 Closes: https://bugs.gentoo.org/910030 Closes: https://bugs.gentoo.org/897230 Closes: https://bugs.gentoo.org/788064 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/package.mask | 1 - sci-libs/tensorflow/Manifest | 57 -- ...dd-rules-docker-http_archive-bazel-toolch.patch | 37 - ...emlib-Latest-absl-LTS-has-split-cord-libs.patch | 32 - ...Must-link-against-libm-for-round-and-log2.patch | 29 - ...ensorflow_cc-Add-systemlib-nsync-linkopts.patch | 35 - ...systemlib-Updates-for-Abseil-20220623-LTS.patch | 71 -- ...0006-systemlib-Update-targets-for-absl_py.patch | 24 - ...temlib-Add-well_known_types_py_pb2-target.patch | 28 - ...-0008-Relax-setup.py-version-requirements.patch | 86 -- ....0-0009-systemlib-update-targets-for-absl.patch | 365 -------- ...010-systemlib-fix-missing-osx-in-pybind11.patch | 25 - ...temlib-fix-missing-LICENSE-in-flatbuffers.patch | 25 - ...nstallation-remove-cp_local_config_python.patch | 68 -- ...2.15.0-0013-build-use-non-hermetic-python.patch | 990 --------------------- sci-libs/tensorflow/metadata.xml | 15 - sci-libs/tensorflow/tensorflow-2.15.0.ebuild | 464 ---------- 17 files changed, 2352 deletions(-) |