Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828996 - sci-libs/tensorflow-2.7.0-r1: Fails to compile
Summary: sci-libs/tensorflow-2.7.0-r1: Fails to compile
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: 2021-12-12 12:50 UTC by Stefan Huber
Modified: 2021-12-13 01:30 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,20.28 KB, application/gzip)
2021-12-12 12:52 UTC, Stefan Huber
Details
build info (build.info.gz,3.27 KB, application/gzip)
2021-12-12 12:52 UTC, Stefan Huber
Details
emerge info (emerge.info.gz,169 bytes, application/gzip)
2021-12-12 12:54 UTC, Stefan Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2021-12-12 12:50:54 UTC
While I successfully emerged sci-libs/tensorflow-2.7.0 just yesterday, 2.7.0-r1 fails to build:

external/llvm-project/llvm/include/llvm/Support/Endian.h:188:47: error: expected ')' before numeric constant                                                                                                                         
  188 |     upperVal &= ((make_unsigned_t<value_type>)1 << startBit) - 1;

Reproducible: Always
Comment 1 Stefan Huber 2021-12-12 12:52:04 UTC
Created attachment 758693 [details]
build.log
Comment 2 Stefan Huber 2021-12-12 12:52:54 UTC
Created attachment 758694 [details]
build info
Comment 3 Stefan Huber 2021-12-12 12:54:25 UTC
Created attachment 758696 [details]
emerge info
Comment 4 Larry the Git Cow gentoo-dev 2021-12-13 01:30:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f822245c5185fd204c01a42a70989d5d7a070948

commit f822245c5185fd204c01a42a70989d5d7a070948
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2021-12-12 19:26:41 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2021-12-13 01:29:43 +0000

    sci-libs/tensorflow-2.7.0-r1: Fix non-cuda build and unbundle abseil-cpp
    
    Closes: https://bugs.gentoo.org/828996
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 sci-libs/tensorflow/tensorflow-2.7.0-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)