Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928041 - sci-libs/onnx please add a use flag to disable static schema registration
Summary: sci-libs/onnx please add a use flag to disable static schema registration
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: https://github.com/microsoft/onnxrunt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-28 09:32 UTC by Eugene Shalygin
Modified: 2024-05-07 06:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(+)