| Summary: | sci-libs/tensorflow-1.13.1 - In file included from tensorflow/core/platform/cloud/gcs_file_system.cc:29: bazel-out/k8-opt/genfiles/external/jsoncpp_git/include/json/config.h:132:10: fatal error: allocator.h: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matthias Coppens <coppens.matthias.abc> |
| Component: | Current packages | Assignee: | Jason Zaman <perfinion> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | Keywords: | PullRequest |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/12634 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
This patch for the ebuild fixed it for me |
||
|
Description
Matthias Coppens
2019-08-05 13:12:02 UTC
In file included from bazel-out/k8-opt/genfiles/external/jsoncpp_git/include/json/autolink.h:9,
from bazel-out/k8-opt/genfiles/external/jsoncpp_git/include/json/json.h:9,
from tensorflow/core/platform/cloud/gcs_file_system.cc:29:
bazel-out/k8-opt/genfiles/external/jsoncpp_git/include/json/config.h:132:10: fatal error: allocator.h: No such file or directory
#include "allocator.h"
^~~~~~~~~~~~~
compilation terminated.
Seems to be a dupe of bug 689282 (In reply to Thomas Beutin from comment #2) > Seems to be a dupe of bug 689282 I am currently compiling in my localrepo, where I've cp'ed all files/tensorflow-1.14.0* to files/tensorflow-1.13.0*, and I've had no errors so far. This indeed seems to be the solution. (In reply to coppens.matthias.abc from comment #3) > (In reply to Thomas Beutin from comment #2) > > Seems to be a dupe of bug 689282 > > I am currently compiling in my localrepo, where I've cp'ed all > files/tensorflow-1.14.0* to files/tensorflow-1.13.0*, and I've had no errors > so far. This indeed seems to be the solution. Nevermind, didn't work. Created attachment 585840 [details, diff] This patch for the ebuild fixed it for me This fixed it for me by using 4 of the patches from bug 689282. I'm not sure if all patches are necessary, but it now builds without problems. (In reply to coppens.matthias.abc from comment #5) > Created attachment 585840 [details, diff] [details, diff] > This patch for the ebuild fixed it for me > > This fixed it for me by using 4 of the patches from bug 689282. I'm not > sure if all patches are necessary, but it now builds without problems. I can confirm the successful compilation of sci-libs/tensorflow-1.13.1 on my system. I suggest to change the bug summary to something more descriptive (see bug 689282) and than close it. I removed tf-1.13 already, thanks tho. |