Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 805305

Summary: sci-libs/tensorflow-2.5.0 fails to build
Product: Gentoo Linux Reporter: Oscar <oscar.mueller>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: matthew
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=sci-libs/tensorflow-2.5.0::gentoo
build.log

Description Oscar 2021-07-30 22:11:59 UTC
Created attachment 728475 [details]
emerge --info '=sci-libs/tensorflow-2.5.0::gentoo

sci-libs/tensorflow-2.5.0 won't build. Tried with O3 and O2, and O2 an all pulled deps. (see bug: 790116).
Comment 1 Matthew Smith gentoo-dev 2021-07-31 11:13:11 UTC
Please attach the build log so that we can see the error message and everything leading up to it.

You can find this in '/var/tmp/portage/sci-libs/tensorflow-2.5.0/temp/build.log'.
Comment 2 Oscar 2021-07-31 16:45:22 UTC
Created attachment 728835 [details]
build.log
Comment 3 Matthew Smith gentoo-dev 2021-07-31 17:02:38 UTC
Thanks for that! Someone reported this a few weeks ago.

A forum poster (https://forums.gentoo.org/viewtopic-p-8638195.html?sid=628da0c62e7fe46dc33f99a18defb3ef#8638195) claims that downgrading dev-libs/protobuf to version 3.15.8. You can try putting '>dev-libs/protobuf-3.15.8' in /etc/portage/package.mask and re-emerging it as a temporary fix.

*** This bug has been marked as a duplicate of bug 800824 ***
Comment 4 Oscar 2021-08-01 13:23:41 UTC
Thanks!
the temporary fix works