Bug 2172445 - F39FailsToInstall: blender
Summary: F39FailsToInstall: blender
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-02-22 11:46 UTC by Fedora Fails To Install
Modified: 2023-03-09 16:35 UTC (History)
7 users (show)

Fixed In Version: blender-3.4.1-14.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 16:35:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2023-02-22 11:46:11 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (blender) Fails To Install in Fedora 39:

can't install blender:
  - nothing provides libembree3.so.3()(64bit) needed by blender-1:3.4.1-11.fc39.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install blender


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Ben Beasley 2023-02-24 13:24:31 UTC
We can disable USD support until bug 2172762 is worked out, but it still doesn’t seem like Blender is successfully patched for embree 4.x.

$ fedpkg prep
$ grep -FrnI embree3 blender-3.4.1
blender-3.4.1/build_files/build_environment/cmake/embree.cmake:55:      COMMAND ${CMAKE_COMMAND} -E copy ${LIBDIR}/embree/lib/embree3.lib ${HARVEST_TARGET}/embree/lib/embree3_d.lib
blender-3.4.1/build_files/cmake/Modules/FindEmbree.cmake:26:    embree3/rtcore.h
blender-3.4.1/build_files/cmake/Modules/FindEmbree.cmake:42:  embree3
blender-3.4.1/build_files/cmake/platform/platform_win32.cmake:795:      optimized ${LIBDIR}/embree/lib/embree3.lib
blender-3.4.1/build_files/cmake/platform/platform_win32.cmake:805:      debug ${LIBDIR}/embree/lib/embree3_d.lib
blender-3.4.1/intern/cycles/bvh/embree.cpp:20:#  include <embree3/rtcore_geometry.h>
blender-3.4.1/intern/cycles/bvh/embree.h:9:#  include <embree3/rtcore.h>
blender-3.4.1/intern/cycles/bvh/embree.h:10:#  include <embree3/rtcore_scene.h>
blender-3.4.1/intern/cycles/device/cpu/device_impl.cpp:17:#  include <embree3/rtcore.h>
blender-3.4.1/intern/cycles/device/cpu/device_impl.h:14:#  include <embree3/rtcore.h>
blender-3.4.1/intern/cycles/kernel/device/cpu/bvh.h:8:#include <embree3/rtcore_ray.h>
blender-3.4.1/intern/cycles/kernel/device/cpu/bvh.h:9:#include <embree3/rtcore_scene.h>
blender-3.4.1/intern/cycles/kernel/types.h:7:#  include <embree3/rtcore.h>
blender-3.4.1/intern/cycles/kernel/types.h:8:#  include <embree3/rtcore_scene.h>

Do you have a plan? Do you need help?

Comment 2 Fedora Fails To Install 2023-03-02 00:50:33 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug.

Comment 3 Luya Tshimbalanga 2023-03-08 03:08:53 UTC
(In reply to Ben Beasley from comment #1)
> We can disable USD support until bug 2172762 is worked out, but it still
> doesn’t seem like Blender is successfully patched for embree 4.x.
>

Sorry for delay. I packed embree3 to keep compatibility for both blender and luxcorerender. It seems USD still caused failure and needs rebuild. See https://koschei.fedoraproject.org/package/blender

Comment 4 Ben Beasley 2023-03-08 22:40:55 UTC
Now that USD is patched and rebuilt, the problem is a missing #include:

/builddir/build/BUILD/blender-3.4.1/intern/locale/boost_locale_wrapper.cpp:112:1
0: error: 'cout' is not a member of 'std'
  112 |     std::cout << "bl_locale_set(" << locale << "): " << e.what() << " \n
"; 
      |          ^~~~
/builddir/build/BUILD/blender-3.4.1/intern/locale/boost_locale_wrapper.cpp:12:1:
 note: 'std::cout' is defined in header '<iostream>'; did you forget to '#includ
e <iostream>'?
   11 | #include "boost_locale_wrapper.h"
  +++ |+#include <iostream>
   12 |
/builddir/build/BUILD/blender-3.4.1/intern/locale/boost_locale_wrapper.cpp:115:1
0: error: 'cout' is not a member of 'std'
  115 |     std::cout << "bl_locale_set(" << locale << "): " << e.what() << " \n";
      |          ^~~~
/builddir/build/BUILD/blender-3.4.1/intern/locale/boost_locale_wrapper.cpp:115:10: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?

Comment 5 Luya Tshimbalanga 2023-03-09 03:55:27 UTC
Will you take care on addressing the issue? I currently lack the time fix it this week. Thanks.

Comment 6 Ben Beasley 2023-03-09 13:15:25 UTC
I’ve backported https://projects.blender.org/blender/blender/commit/79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0. If test-builds (mock then scratch) succeed, a real build should close this bug sometime today.

I’m happy to see that Blender has very recently switched from Phabricator to a customized GitHub system. That will make it a lot less frustrating to send small fixes upstream.

Comment 7 Ben Beasley 2023-03-09 14:06:55 UTC
(In reply to Ben Beasley from comment #6)
> I’ve backported
> https://projects.blender.org/blender/blender/commit/
> 79837c5ed4b57925bf6c6bb9e7c2248f6f52bbb0. If test-builds (mock then scratch)
> succeed, a real build should close this bug sometime today.

The mock build succeeded without further changes. The scratch build is starting. Barring any real surprises, we can expect the real build to complete a couple of hours from now.

Comment 8 Fedora Update System 2023-03-09 16:30:59 UTC
FEDORA-2023-8742ca346d has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8742ca346d

Comment 9 Fedora Update System 2023-03-09 16:35:03 UTC
FEDORA-2023-8742ca346d has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


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