Summary: | sci-libs/tensorflow-2.5.0-r1 build fails with dev-libs/cudnn-8.2.4.15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oscar <oscar.mueller> |
Component: | Current packages | Assignee: | Jason Zaman <perfinion> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agrigo2001, jstein, kfm, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Oscar
2021-09-28 16:23:06 UTC
Please share the build.log in full (compressed if necessary). Created attachment 741798 [details]
build.log
I've encountered the same build error, which seems to be fixed upstream starting with version 2.6.0, 2.5.1 is still broken (still has the buggy code). I found the explanation here https://www.gitmemory.com/issue/tensorflow/tensorflow/48652/823594730 (sory this doesn't seem to be the original post) (In reply to scantlight from comment #3) > I've encountered the same build error, which seems to be fixed upstream > starting with version 2.6.0, 2.5.1 is still broken (still has the buggy > code). I found the explanation here > https://www.gitmemory.com/issue/tensorflow/tensorflow/48652/823594730 (sory > this doesn't seem to be the original post) Hi, thanks for the tip. I followed the suggested instructions and swapped from output.append(outputs) to outputs.append(output), which seems to make more sense concerning the function's return value. It compiles!, well, it started compiling... (In reply to Oscar from comment #4) > (In reply to scantlight from comment #3) > > I've encountered the same build error, which seems to be fixed upstream > > starting with version 2.6.0, 2.5.1 is still broken (still has the buggy > > code). I found the explanation here > > https://www.gitmemory.com/issue/tensorflow/tensorflow/48652/823594730 (sory > > this doesn't seem to be the original post) > > Hi, > thanks for the tip. I followed the suggested instructions and swapped from > output.append(outputs) > to > outputs.append(output), > which seems to make more sense concerning the function's return value. > It compiles!, well, it started compiling... this seems to be the fix https://github.com/tensorflow/tensorflow/commit/c8e4f2aa633c4f9b803fdeb5d8463f002387a2bf.patch or at least as you said compilation starts (and still going on) (In reply to foufou33 from comment #5) > this seems to be the fix > https://github.com/tensorflow/tensorflow/commit/ > c8e4f2aa633c4f9b803fdeb5d8463f002387a2bf.patch > or at least as you said compilation starts (and still going on) yes, that's the one. The build finished The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee1f4fa9a7bae90ab9452aa9570775cc7c15f00 commit 3ee1f4fa9a7bae90ab9452aa9570775cc7c15f00 Author: Jason Zaman <perfinion@gentoo.org> AuthorDate: 2021-10-24 21:34:06 +0000 Commit: Jason Zaman <perfinion@gentoo.org> CommitDate: 2021-10-25 01:08:44 +0000 sci-libs/tensorflow: Fix build with >=CUDA-11.3 Closes: https://bugs.gentoo.org/815244 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Jason Zaman <perfinion@gentoo.org> sci-libs/tensorflow/Manifest | 3 +- .../files/0008-patch-ruy-for-gcc-11.patch | 37 -- sci-libs/tensorflow/tensorflow-2.5.0-r1.ebuild | 413 --------------------- ...-2.5.0-r2.ebuild => tensorflow-2.5.0-r3.ebuild} | 8 +- 4 files changed, 5 insertions(+), 456 deletions(-) |