Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751256 - sci-libs/tensorflow-2.3.x: MergeFrom errors with shared libprotobuf
Summary: sci-libs/tensorflow-2.3.x: MergeFrom errors with shared libprotobuf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-26 02:28 UTC by Michael Orlitzky
Modified: 2020-10-26 12:19 UTC (History)
0 users

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 Michael Orlitzky gentoo-dev 2020-10-26 02:28:21 UTC
Upstream bug report:

  https://github.com/tensorflow/tensorflow/issues/42596

Simple fix:

  https://github.com/tensorflow/tensorflow/commit/bad835f9af3f1e1e04f1ea69db902add1b5076f9

Users can safely add that line to /usr/lib/$python/site-packages/tensorflow/python/__init__.py manually to avoid rebuilding tensorflow if it's already installed.
Comment 1 Jason Zaman gentoo-dev 2020-10-26 03:38:18 UTC
I already added that to 2.3.1-r1

patches/0012-Re-add-pywrap_tensorflow-import-in-python-__init__.p.patch

Can you re-test that version again? (it wasnt in 2.3.1-r0)
Comment 2 Michael Orlitzky gentoo-dev 2020-10-26 12:19:46 UTC
Oh, I didn't see the out-of-tree patches. I'm still on -r0 because I have bi-weekly meetings with a student and it takes longer than half a week to recompile. I'm sure it's fine, thanks!