Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928041

Summary: sci-libs/onnx please add a use flag to disable static schema registration
Product: Gentoo Linux Reporter: Eugene Shalygin <eugene.shalygin>
Component: Current packagesAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: eugene.shalygin, tupone
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/microsoft/onnxruntime/issues/8556
Whiteboard:
Package list:
Runtime testing required: ---

Description Eugene Shalygin 2024-03-28 09:32:09 UTC
When onnxruntime wants to register its own schema, and when it is linked to onnx.so, that leads to an attempt to register the schema twice (which fails). Please add a use flag to turn off ONNX_DISABLE_STATIC_REGISTRATION CMake option.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-05-07 06:20:45 UTC
The bug has been closed via the following commit(s):

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

commit 032cba57e50bcdb9785ba532198cb8ad236f52b4
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-05-07 06:19:41 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-05-07 06:20:28 +0000

    sci-libs/onnx: add IUSE to disable static registration
    
    Closes: https://bugs.gentoo.org/928041
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/onnx/metadata.xml       | 3 +++
 sci-libs/onnx/onnx-1.16.0.ebuild | 3 +++
 2 files changed, 6 insertions(+)