Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939069 - sci-libs/caffe2-2.3.1 fails to compile: string_utils.cc:50:12: error: uint8_t was not declared in this scope
Summary: sci-libs/caffe2-2.3.1 fails to compile: string_utils.cc:50:12: error: uint8_t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-04 13:52 UTC by Agostino Sarubbo
Modified: 2024-09-05 08:03 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,43.42 KB, application/x-xz)
2024-09-04 13:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-04 13:52:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/caffe2-2.3.1 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-04 13:52:49 UTC
Created attachment 902069 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-04 13:52:50 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Numa (missing: Numa_INCLUDE_DIR Numa_LIBRARIES) 
-- Could not find hardware support for NEON on this machine.
FAILED: caffe2/CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/sci-libs/caffe2-2.3.1/work/pytorch-2.3.1/caffe2/utils/string_utils.cc:50:12: error: ‘uint8_t’ was not declared in this scope
Comment 3 Larry the Git Cow gentoo-dev 2024-09-05 07:10:53 UTC
The bug has been closed via the following commit(s):

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

commit f3d19697e96e0ce4d32484dc6ebf88c139ac710c
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-09-05 07:06:30 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-09-05 07:07:06 +0000

    sci-libs/caffe2: fix for gcc-15
    
    Closes: https://bugs.gentoo.org/939069
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/caffe2/caffe2-2.4.0-r1.ebuild           |  1 +
 sci-libs/caffe2/files/caffe2-2.4.0-cstdint.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)
Comment 4 Tupone Alfredo gentoo-dev 2024-09-05 08:03:47 UTC
Fixed in 2.4.0.
I'm going to retire older versions