Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701334 - sci-libs/tensorflow-2.0.0 with dev-libs/jsoncpp-1.9.2-r1 fails to find /usr/include/jsoncpp/json/features.h as it has been renamed to /usr/include/jsoncpp/json/json_features.h
Summary: sci-libs/tensorflow-2.0.0 with dev-libs/jsoncpp-1.9.2-r1 fails to find /usr/i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-27 15:11 UTC by Helmut Jarausch
Modified: 2020-01-26 05:35 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2019-11-27 15:11:07 UTC
tensorflow creates a symlink
tensorflow-2.0.0-python3_8-bazel-base/execroot/org_tensorflow/bazel-out/k8-opt/genfiles/external/jsoncpp_git/include/json/features.h 
-> /usr/include/jsoncpp/json/features.h

but with dev-libs/jsoncpp-1.9.2-r1 this has been renamed to
/usr/include/jsoncpp/json/json_features.h

The following sed seems to fix this
	sed -i -e's|json/features.h|json/json_features.h|' \
        third_party/systemlibs/jsoncpp.BUILD third_party/jsoncpp.BUILD
Comment 1 LE GARREC Vincent 2019-12-07 20:52:03 UTC
I confirm the problem and the sed command. Thanks.
Comment 2 Harris Landgarten 2019-12-30 00:58:51 UTC
jsoncpp-1.9.1 has been removed from the tree. The fix for jsoncpp-1.9.2-r1 is needed now.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-03 08:54:23 UTC
Ping.
Comment 4 Larry the Git Cow gentoo-dev 2020-01-26 05:35:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d6d00f81b49112fcca4b91f2121878db355724

commit 81d6d00f81b49112fcca4b91f2121878db355724
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2020-01-25 14:21:01 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2020-01-26 05:35:17 +0000

    sci-libs/tensorflow: bump 2.1.0
    
    Closes: https://bugs.gentoo.org/701334
    Closes: https://bugs.gentoo.org/704490
    Closes: https://bugs.gentoo.org/701342
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 sci-libs/tensorflow/Manifest                       |  3 ++-
 .../files/tensorflow-2.1.0-external_libs.patch     | 26 ----------------------
 .../tensorflow-2.1.0-python3.8-pywrap_tensor.patch | 11 ---------
 ...ow-2.1.0_rc2.ebuild => tensorflow-2.1.0.ebuild} | 14 +++++-------
 4 files changed, 7 insertions(+), 47 deletions(-)