Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868576 - sci-libs/caffe2-1.12.0 fails to compile: onnx-ml.pb.h:26:10: fatal error: generated_message_table_driven.h: No such file or directory
Summary: sci-libs/caffe2-1.12.0 fails to compile: onnx-ml.pb.h:26:10: fatal error: gen...
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:
 
Reported: 2022-09-05 12:36 UTC by Agostino Sarubbo
Modified: 2022-09-05 19:17 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,44.05 KB, application/x-xz)
2022-09-05 12:36 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 2022-09-05 12:36:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/caffe2-1.12.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-05 12:36:48 UTC
Created attachment 803278 [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 2022-09-05 12:36:49 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/jit/serialization/export.cpp.o 
FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/usr/include/onnx/onnx-ml.pb.h:26:10: fatal error: google/protobuf/generated_message_table_driven.h: No such file or directory
/usr/include/onnx/onnx-ml.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-05 12:37:26 UTC
I'm not sure if the error is what reported in the summary rather than:


/usr/include/onnx/onnx-ml.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
   17 | #error This file was generated by an older version of protoc which is
      |  ^~~~~
/usr/include/onnx/onnx-ml.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
   18 | #error incompatible with your Protocol Buffer headers. Please
      |  ^~~~~
/usr/include/onnx/onnx-ml.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
   19 | #error regenerate this file with a newer version of protoc.
Comment 4 Larry the Git Cow gentoo-dev 2022-09-05 19:17:28 UTC
The bug has been closed via the following commit(s):

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

commit 764ac8c0ebda9e392bac2cf0fa609a94aaf45972
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-09-05 19:17:17 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-09-05 19:17:17 +0000

    sci-libs/onnx: depend on protbuf slot
    
    Closes: https://bugs.gentoo.org/868576
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/onnx/{onnx-1.11.0-r1.ebuild => onnx-1.11.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)