Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687396 - sci-libs/tensorflow-1.14.0_rc0[cuda] fails to build
Summary: sci-libs/tensorflow-1.14.0_rc0[cuda] fails to build
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: 2019-06-04 22:51 UTC by Harris Landgarten
Modified: 2019-06-24 13:31 UTC (History)
0 users

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


Attachments
build log (build.log!,53.06 KB, text/plain)
2019-06-04 22:51 UTC, Harris Landgarten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2019-06-04 22:51:06 UTC
Created attachment 578822 [details]
build log

It appears to the failing with:

/usr/include/google/protobuf/map.h:431:10: error: cannot call member function 'bool google::protobuf::Map<Key, T>::InnerMap::TableEntryIsTree(google::protobuf::Map<Key, T>::size_type) const [with Key = unsigned int; T = tensorflow::FunctionDef_ArgAttrs; google::protobuf::Map<Key, T>::size_type = long unsigned int]' without object
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-06-04 23:35:17 UTC
Which version of dev-libs/protobuf?
Comment 2 Harris Landgarten 2019-06-05 00:47:33 UTC
Protobuf-3.7.1
Comment 3 janjitse 2019-06-06 06:28:02 UTC
This is apparently due to a bug in the nvcc compiler, fixed in version 10.1.168 (currently not available in Gentoo, trying out to see if this really fixes the issue)

https://github.com/tensorflow/tensorflow/issues/26155
https://github.com/tensorflow/tensorflow/issues/28330
Comment 4 Liam Shepherd 2019-06-06 18:57:08 UTC
I can confirm bumping dev-util/nvidia-cuda-toolkit locally to 10.1.168 fixes this build for me.
Comment 5 Harris Landgarten 2019-06-06 19:11:04 UTC
same here. There is another issue with running tensorboard. I will post another bug
Comment 6 Jason Zaman gentoo-dev 2019-06-19 09:20:17 UTC
Can you try 1.14.0 final? I also fixed tensorboard.

I'll bump cuda in a while too.
Comment 7 Jason Zaman gentoo-dev 2019-06-24 13:31:14 UTC
Everything seems to work fine for me with the latest versions of all the nvidia things. I also bumped these:

commit d6c1e12e919b125bf362435588d1da4608ba95d4
Author: Jason Zaman <perfinion@g.o>
Date:   Sun Jun 23 20:23:59 2019

    dev-libs/cudnn: bump 7.6.0.64
    
    Signed-off-by: Jason Zaman <perfinion@g.o>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

commit 79c4c9ffcbdecef4bf36a914cb7ecf9cf16ffcfe
Author: Jason Zaman <perfinion@g.o>
Date:   Sun Jun 23 20:23:02 2019

    dev-util/nvidia-cuda-toolkit: bump 10.1.168
    
    Signed-off-by: Jason Zaman <perfinion@g.o>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

Please re-open or file another bug if there are other issues :)