Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924878 - sci-libs/onnx-1.14.1-r2 fails to compile: checker.cc:191:23: error: aggregate onnx::checker::check_tensor(const onnx::TensorProto&, const CheckerContext&)::stat64 buffer has incomplete type and cannot be defined
Summary: sci-libs/onnx-1.14.1-r2 fails to compile: checker.cc:191:23: error: aggregate...
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: musl-1.2.4
  Show dependency tree
 
Reported: 2024-02-18 08:28 UTC by Agostino Sarubbo
Modified: 2024-02-18 14:35 UTC (History)
0 users

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


Attachments
build.log (build.log,68.20 KB, text/plain)
2024-02-18 08:28 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-02-18 08:28:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/onnx-1.14.1-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-18 08:28:49 UTC
Created attachment 885296 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-18 08:28:50 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: CMakeFiles/onnx.dir/onnx/checker.cc.o 
/var/tmp/portage/sci-libs/onnx-1.14.1-r2/work/onnx-1.14.1/onnx/checker.cc:191:23: error: aggregate 'onnx::checker::check_tensor(const onnx::TensorProto&, const CheckerContext&)::stat64 buffer' has incomplete type and cannot be defined
Comment 3 Larry the Git Cow gentoo-dev 2024-02-18 14:35:10 UTC
The bug has been closed via the following commit(s):

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

commit a197fa798970b37e4adfca9fbe6a7303f47b47d6
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-02-18 14:34:19 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-02-18 14:34:50 +0000

    sci-libs/onnx: fix build on musl
    
    Closes: https://bugs.gentoo.org/924878
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/onnx/files/onnx-1.14.1-musl.patch | 11 +++++++++++
 sci-libs/onnx/onnx-1.14.1-r2.ebuild        |  5 ++++-
 2 files changed, 15 insertions(+), 1 deletion(-)