Bug 2340123 - embree: FTBFS in Fedora rawhide/f42
Summary: embree: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: embree
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2339743 (view as bug list)
Depends On:
Blocks: F41FTBFS F42FTBFS 2337588
TreeView+ depends on / blocked
 
Reported: 2025-01-22 19:33 UTC by Fedora Release Engineering
Modified: 2025-02-02 22:52 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-02 22:52:31 UTC
Type: ---
Embargoed:


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

Description Fedora Release Engineering 2025-01-22 19:33:09 UTC
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/

Comment 1 Fedora Release Engineering 2025-01-22 19:33:11 UTC
Created attachment 2068956 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-01-22 19:33:13 UTC
Created attachment 2068957 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-01-22 19:33:14 UTC
Created attachment 2068958 [details]
state.log

Comment 4 Fedora Release Engineering 2025-01-22 21:05:19 UTC
*** Bug 2339743 has been marked as a duplicate of this bug. ***

Comment 5 Ben Beasley 2025-01-28 13:56:09 UTC
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.

Comment 6 Ben Beasley 2025-01-28 16:20:17 UTC
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.

Comment 7 Ben Beasley 2025-02-01 13:39:53 UTC
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

Comment 8 Ben Beasley 2025-02-02 12:21:06 UTC
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.

Comment 9 Ben Beasley 2025-02-02 22:52:31 UTC
Successfully rebuilt in https://bodhi.fedoraproject.org/updates/FEDORA-2025-7fe96ea92f.


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