Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894436 - sci-libs/caffe2-1.13.0 fails to compile: kineto_shim.h:15:10: fatal error: ActivityType.h: No such file or directory
Summary: sci-libs/caffe2-1.13.0 fails to compile: kineto_shim.h:15:10: fatal error: Ac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 20:37 UTC by Agostino Sarubbo
Modified: 2023-02-15 07:18 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,35.12 KB, application/x-xz)
2023-02-14 20:37 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 2023-02-14 20:37:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/caffe2-1.13.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-14 20:37:55 UTC
Created attachment 851138 [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 2023-02-14 20:37:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could not find CUDA with FP16 support, compiling without torch.CudaHalfTensor
-- Could not find hardware support for NEON on this machine.
-- Could NOT find Numa (missing: Numa_INCLUDE_DIR Numa_LIBRARIES) 
FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/sci-libs/caffe2-1.13.0/work/pytorch-1.13.0/torch/csrc/profiler/kineto_shim.h:15:10: fatal error: ActivityType.h: No such file or directory
/var/tmp/portage/sci-libs/caffe2-1.13.0/work/pytorch-1.13.0/torch/csrc/profiler/kineto_shim.h:15:10: fatal error: ActivityType.h: No such file or directory
Comment 3 Tupone Alfredo gentoo-dev 2023-02-14 21:16:29 UTC
I updated sci-libs/kineto to 0.4.0 and I dropped 2021.11.17 (as old)

I guess you still have the old kineto there
Comment 4 Agostino Sarubbo gentoo-dev 2023-02-15 06:56:59 UTC
the current ebuild does not pull kineto here.
Comment 5 Larry the Git Cow gentoo-dev 2023-02-15 07:18:41 UTC
The bug has been closed via the following commit(s):

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

commit 076708ac7139e30709bf7cb99d9e82c9bcfaec6d
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-02-15 07:13:46 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-02-15 07:18:24 +0000

    sci-libs/caffe2: depends on kineto
    
    Closes: https://bugs.gentoo.org/894436
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/caffe2/Manifest                                          | 1 +
 sci-libs/caffe2/{caffe2-1.13.0.ebuild => caffe2-1.13.0-r1.ebuild} | 1 +
 2 files changed, 2 insertions(+)