Bug 2340960 - onnxruntime: FTBFS in Fedora rawhide/f42
Summary: onnxruntime: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: onnxruntime
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Diego Herrera
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 21:10 UTC by Fedora Release Engineering
Modified: 2025-01-30 13:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-29 20:12:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 21:10 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 21:10 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2025-01-22 21:10 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 21:10:37 UTC
onnxruntime failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128023893


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix onnxruntime at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
onnxruntime will be orphaned. Before branching of Fedora 43,
onnxruntime will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 21:10:40 UTC
Created attachment 2071411 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 21:10:41 UTC
Created attachment 2071412 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 21:10:43 UTC
Created attachment 2071413 [details]
state.log

Comment 4 Ben Beasley 2025-01-29 11:38:51 UTC
I’ve been delaying announcement of a flatbuffers update[1], which would require rebuilding onnxruntime, to allow some time for you to work on this FTBFS. Since the flatbuffers update (as always) includes an SONAME version bump, it would convert this FTBFS into an FTI.

I made a suggestion to turn off CMAKE_COMPILE_WARNING_AS_ERROR[2] for onnxruntime, which helps, but I still ran into what looked like some GCC 15 regressions[3].

Are you planning to work on this in the near future, or should I just go ahead and announce the flatbuffers update? I don’t mind delaying a bit longer, but I do want to ship it eventually.

[1] https://src.fedoraproject.org/rpms/flatbuffers/pull-request/14
[2] https://src.fedoraproject.org/rpms/onnxruntime/pull-request/8
[3] https://src.fedoraproject.org/rpms/onnxruntime/pull-request/8#comment-241919

Comment 5 Diego Herrera 2025-01-29 19:13:26 UTC
Sorry for the delay on this, I just pushed a build that should fix things up on our side. If everything goes well we should be good to go!

Comment 6 Ben Beasley 2025-01-29 19:29:02 UTC
Thanks! I’m simultaneously test-building your latest fix in COPR with the upcoming flatbuffers. If all goes well, I’ll go ahead and announce the update.

https://copr.fedorainfracloud.org/coprs/music/flatbuffers/build/8585310/

Comment 7 Diego Herrera 2025-01-29 20:12:50 UTC
This is already ready in rawhide, so I'll close the bug :)

https://bodhi.fedoraproject.org/updates/FEDORA-2025-a28cd66b2a

Comment 8 Ben Beasley 2025-01-30 13:07:18 UTC
(In reply to Ben Beasley from comment #6)
> Thanks! I’m simultaneously test-building your latest fix in COPR with the
> upcoming flatbuffers. If all goes well, I’ll go ahead and announce the
> update.
> 
> https://copr.fedorainfracloud.org/coprs/music/flatbuffers/build/8585310/

That build was from my PR, so it failed. This one succeeded: https://copr.fedorainfracloud.org/coprs/music/flatbuffers/build/8585742/

I’ll go ahead and announce the flatbuffers update for F43/Rawhide and F42/Branched, one week from now, or perhaps slightly later due to the post-branch freeze.

Thanks again for investigating.


Note You need to log in before you can comment on or make changes to this bug.