embree failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=127947482 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix embree 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, embree will be orphaned. Before branching of Fedora 43, embree 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 2068956 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2068957 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2068958 [details] state.log
*** Bug 2339743 has been marked as a duplicate of this bug. ***
This is failing due to a GCC 15 internal compiler error. On aarch64 only: [ 73%] Building CXX object tutorials/quaternion_motion_blur/CMakeFiles/embree_quaternion_motion_blur.dir/quaternion_motion_blur.cpp.o cd /builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/quaternion_motion_blur && /usr/bin/g++ -DEMBREE_TARGET_SSE2 -DIMGUI_DISABLE_SSE -DTASKING_TBB -DUSE_GLFW -I/builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3 -I/builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/kernels/../include -I/builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/common/imgui/. -I/builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/common/imgui/./backends -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--as-needed -fsigned-char -flax-vector-conversions -Wall -Wformat -Wformat-security -Wno-class-memaccess -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv -fsigned-char -fPIE -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-aliasing -fno-tree-vectorize -D_FORTIFY_SOURCE=2 -fsigned-char -DNDEBUG -O3 -D__SSE__ -D__SSE2__ -MD -MT tutorials/quaternion_motion_blur/CMakeFiles/embree_quaternion_motion_blur.dir/quaternion_motion_blur.cpp.o -MF CMakeFiles/embree_quaternion_motion_blur.dir/quaternion_motion_blur.cpp.o.d -o CMakeFiles/embree_quaternion_motion_blur.dir/quaternion_motion_blur.cpp.o -c /builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/quaternion_motion_blur/quaternion_motion_blur.cpp *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbols during RTL pass: ldp_fusion /builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/bvh_access/bvh_access.cpp: In function ‘embree::print_bvh4_triangle4v(embree::NodeRefPtr<4>, unsigned long) [clone .constprop.3]’: /builddir/build/BUILD/embree-4.3.3-build/embree-4.3.3/tutorials/bvh_access/bvh_access.cpp:176:3: internal compiler error: Segmentation fault 176 | } | ^ Please submit a full bug report, with preprocessed source. See <http://bugzilla.redhat.com/bugzilla> for instructions.
I opened https://src.fedoraproject.org/rpms/embree/pull-request/5 with a proposed workaround for the FTBFS, and opened 2342604 to track the compiler bug separate from the FTBFS.
The compiler bug 2342604 was fixed, so the workaround is no longer needed. However, we shouldn’t rebuild this right now against OpenImageIO 3, since it would probably have to be rebuilt again later: https://bugzilla.redhat.com/show_bug.cgi?id=2339934#c23
The OpenImageIO rollback landed in https://bodhi.fedoraproject.org/updates/FEDORA-2025-897b07ab39. Now we just need to wait for the GCC update https://bodhi.fedoraproject.org/updates/FEDORA-2025-0c4b748361, which is held up in CI gating, before we can actually do a rebuild.
Successfully rebuilt in https://bodhi.fedoraproject.org/updates/FEDORA-2025-7fe96ea92f.