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/
Created attachment 2071411 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2071412 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2071413 [details] state.log
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
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!
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/
This is already ready in rawhide, so I'll close the bug :) https://bodhi.fedoraproject.org/updates/FEDORA-2025-a28cd66b2a
(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.