Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662958 - sci-libs/tensorflow-1.9.0 ebuild does not depend on numpy, absl-py and protobuf-python without system-libs enabled causing various issues
Summary: sci-libs/tensorflow-1.9.0 ebuild does not depend on numpy, absl-py and protob...
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:
Depends on:
Blocks:
 
Reported: 2018-08-06 17:15 UTC by Bas Weelinck
Modified: 2018-08-12 11:06 UTC (History)
1 user (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 Bas Weelinck 2018-08-06 17:15:45 UTC
Merging TensorFlow on a system that does not have the system-enabled useflag on, but also with no numpy installed, causes TensorFlow to fail at build time, with bazel not detecting numpy and then bailing.

The same goes for absl-py and protobuf-python, in this case tensorflow does build, however actually importing TF and using it from Python fails due to the missing dependencies.

I would recommend moving these packages into unconditional dependencies whenever the python useflag is enabled.
Comment 1 Jason Zaman gentoo-dev 2018-08-09 16:22:55 UTC
Fixed in tensorflow-1.10.0
Comment 2 Bas Weelinck 2018-08-12 11:06:07 UTC
(In reply to Jason Zaman from comment #1)
> Fixed in tensorflow-1.10.0

Looked at the ebuild, definitely looks fixed, thanks.