Bug 2236801 - blender: FTBFS in Fedora Rawhide
Summary: blender: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: 2237533
TreeView+ depends on / blocked
 
Reported: 2023-09-01 14:57 UTC by Ben Beasley
Modified: 2023-09-30 01:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-30 01:41:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2023-09-01 14:57:26 UTC
Package blender fails to build from source in Fedora Rawhide since openxr was updated to 1.0.29.

Version-Release number of selected component (if applicable):
3.6.1-2.fc39

Reproducible: Always

Steps to Reproduce:
koji build --scratch f40 blender-3.6.1-2.fc39.src.rpm
Actual Results:  
FAILED: intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_XrGraphicsBinding.cc.o 
/usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MEMFD_CREATE -DHAVE_POLL -DNDEBUG -DPREFIX=\"/usr\" -DWITH_ASSERT_ABORT -DWITH_GHOST_WAYLAND -DWITH_GHOST_WAYLAND_DBUS -DWITH_GHOST_WAYLAND_DYNLOAD -DWITH_GHOST_WAYLAND_LIBDECOR -DWITH_GHOST_X11 -DWITH_INPUT_NDOF -DWITH_OPENGL -DWITH_X11_XF86VMODE -DWITH_X11_XFIXES -DWITH_X11_XINPUT -DWITH_XDND -DWITH_XF86KEYSYM -DWITH_XR_OPENXR -DXR_OS_LINUX -DXR_USE_GRAPHICS_API_OPENGL -DXR_USE_PLATFORM_EGL -DXR_USE_PLATFORM_WAYLAND -DXR_USE_PLATFORM_XLIB -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/builddir/build/BUILD/blender-3.6.1/intern/ghost -I/builddir/build/BUILD/blender-3.6.1/intern/clog -I/builddir/build/BUILD/blender-3.6.1/source/blender/blenlib -I/builddir/build/BUILD/blender-3.6.1/source/blender/imbuf -I/builddir/build/BUILD/blender-3.6.1/source/blender/makesdna -I/builddir/build/BUILD/blender-3.6.1/extern/xdnd -isystem /builddir/build/BUILD/blender-3.6.1/intern/wayland_dynload/extern -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/libdecor-0 -isystem /builddir/build/BUILD/blender-3.6.1/redhat-linux-build/intern/ghost/libwayland -isystem /builddir/build/BUILD/blender-3.6.1/extern/json/include -isystem /builddir/build/BUILD/blender-3.6.1/extern/tinygltf -isystem /usr/include/eigen3 -Wuninitialized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wno-stringop-overread -Wno-stringop-overflow -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -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  -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--as-needed -fopenmp -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -msse2 -fmacro-prefix-map="/builddir/build/BUILD/blender-3.6.1/"="" -fmacro-prefix-map="/builddir/build/BUILD/blender-3.6.1/redhat-linux-build/"="" -Wno-maybe-uninitialized -DNDEBUG -std=c++17 -MD -MT intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_XrGraphicsBinding.cc.o -MF intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_XrGraphicsBinding.cc.o.d -o intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_XrGraphicsBinding.cc.o -c /builddir/build/BUILD/blender-3.6.1/intern/ghost/intern/GHOST_XrGraphicsBinding.cc
In file included from /usr/include/epoxy/egl.h:46,
                 from /builddir/build/BUILD/blender-3.6.1/intern/ghost/intern/GHOST_ContextEGL.hh:13,
                 from /builddir/build/BUILD/blender-3.6.1/intern/ghost/intern/GHOST_XrGraphicsBinding.cc:12:
/builddir/build/BUILD/blender-3.6.1/intern/ghost/intern/GHOST_XrGraphicsBinding.cc: In member function 'virtual void GHOST_XrGraphicsBindingOpenGL::initFromGhostContext(GHOST_Context&)':
/builddir/build/BUILD/blender-3.6.1/intern/ghost/intern/GHOST_XrGraphicsBinding.cc:154:42: error: invalid conversion from 'void (* (*)(const char*))()' to 'PFN_xrEglGetProcAddressMNDX' {aka 'void* (*)(const char*)'} [-fpermissive]
  154 |         oxr_binding.egl.getProcAddress = eglGetProcAddress;
      |                                          ^~~~~~~~~~~~~~~~~
      |                                          |
      |                                          void (* (*)(const char*))()


This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/blender

I was going to rebuild blender in f40-build-side-73039 for usd 23.08, and I found that this openxr update broke blender after the usd update was tested and announced.

Comment 1 Ben Beasley 2023-09-02 18:39:31 UTC
What should I do about the USD update in progress in a side tag in Rawhide/F40?

- Should I merge the side tag without a successful Blender rebuild, which would convert the FTBFS to a FTI?
- Do you have a fix in mind?
- Do you want to downgrade openxr with an Epoch bump until the problem is resolved in one of the upstreams?

Comment 2 Luya Tshimbalanga 2023-09-04 01:41:02 UTC
- Go ahead and then we can downgrade openxr with Epoch bump
- Not yet

Comment 3 Ben Beasley 2023-09-04 14:55:31 UTC
(In reply to Luya Tshimbalanga from comment #2)
> - Go ahead and then we can downgrade openxr with Epoch bump
> - Not yet

Thanks! As you requested, I’ve submitted the USD update without Blender: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e8a3c5df39

Comment 4 Luya Tshimbalanga 2023-09-30 01:41:38 UTC
Closing this report as the issue seems resolved.


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