Project

General

Profile

Bug #2374

[blender]: needs rebuild

bill-auger - 2 months ago - . Updated about 2 months ago.

Status:
in progress
Priority:
broken
Assignee:
% Done:

50%


Description

on x86_64

$ blender
blender: error while loading shared libraries: libosdGPU.so.3.3.3: cannot open shared object file: No such file or directory

History

#1

Updated by bill-auger about 2 months ago

i forgot to update this one - i built the latest version in arch v2.79b-git7 but i did not publish it because it looked unreasonably large - 250MB for the binary package with the installed size of 1.5GB and 500MB for the source-ball - i assumed something is not quite right - the arch package is only 44MB/217MB installed

anyways, it needs a rebuild now because of libopenimageio

$ blender
blender: error while loading shared libraries: libOpenImageIO.so.1.8:
cannot open shared object file: No such file or directory
#2

Updated by bill-auger about 2 months ago

freemor got this error:

 |    102 |         #error ABI <= 3 is deprecated, define OPENVDB_USE_DEPRECATED_ABI to suppress this error
 |        |          ^~~~~
 |  make[2]: *** [intern/openvdb/CMakeFiles/bf_intern_openvdb.dir/build.make:63: intern/openvdb/CMakeFiles/bf_intern_openvdb.dir/intern/openvdb_dense_convert.cc.o] Error 1
 |  make[1]: *** [CMakeFiles/Makefile2:1747: intern/openvdb/CMakeFiles/bf_intern_openvdb.dir/all] Error 2
 |  make: *** [Makefile:163: all] Error 2
 |  ==> ERROR: A failure occurred in build().
 |      Aborting...

<freemor> tried adding -DOPENVDB_USE_DEPRECATED_ABI=ON
<freemor> to the cmake line in the blender build .. that didn't help, same error.

i looked at the history of the blender PKGBUILD and i noticed a couple things that maybe relevant

https://git.parabola.nu/abslibre.git/commit/libre/blender/PKGBUILD?id=59cad02d19a88411cedbfc6f8ba21e4cf041321d
on 2018-06-25 ovruni removed this sed command:

-  # openvdb 5 fix
-  sed -i "s/OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER == 3/OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER >= 3/g" intern/openvdb/intern/openvdb_writer.cc

https://git.parabola.nu/abslibre.git/commit/libre/blender/PKGBUILD?id=424bd40d884f503692d2bcab945375ecae07542e
on 2019-02-02 i added this config switch:

+    -DWITH_OPENVDB_3_ABI_COMPATIBLE=ON \

maybe something like that previous sed command needs to go back in; or maybe the config switch i added is the cause of the error freemor saw, or is conflicting with the one freemor added

#3

Updated by freemor about 2 months ago

  • % Done changed from 0 to 50
  • Assignee set to freemor
  • Status changed from confirmed to in progress

Remved:

+    -DWITH_OPENVDB_3_ABI_COMPATIBLE=ON \

and it built fine.
x86_64 Released
ARM build starting.

Assigning to me for now so I can close if the ARM build works

#4

Updated by freemor about 2 months ago

Prepare() fails for ARM:

|  ==> Starting prepare()...
 |  Submodule 'release/datafiles/locale' (/startdir/blender-translations.git) registered for path 'release/datafiles/locale'
 |  Submodule 'release/scripts/addons' (/startdir/blender-addons.git) registered for path 'release/scripts/addons'
 |  Submodule 'release/scripts/addons_contrib' (/startdir/blender-addons-contrib.git) registered for path 'release/scripts/addons_contrib'
 |  Submodule 'source/tools' (/startdir/blender-dev-tools.git) registered for path 'source/tools'
 |  Cloning into '/build/blender/src/blender-2.79.b.git7.054dbb83/release/datafiles/locale'...
 |  done.
 |  Unsupported setsockopt level=270 optname=3
 |  Cloning into '/build/blender/src/blender-2.79.b.git7.054dbb83/release/scripts/addons'...
 |  done.
 |  Unsupported setsockopt level=270 optname=3
 |  Cloning into '/build/blender/src/blender-2.79.b.git7.054dbb83/release/scripts/addons_contrib'...
 |  done.
 |  Unsupported setsockopt level=270 optname=3
 |  Cloning into '/build/blender/src/blender-2.79.b.git7.054dbb83/source/tools'...
 |  done.
 |  Unsupported setsockopt level=270 optname=3
 |  From /build/blender/src/blender-translations
 |   * branch            fec9a7e88c8686830e9210099818a61489e699e4 -> FETCH_HEAD
 |  Unsupported setsockopt level=270 optname=3
 |  Submodule path 'release/datafiles/locale': checked out 'fec9a7e88c8686830e9210099818a61489e699e4'
 |  From /build/blender/src/blender-addons
 |   * branch              97bd21860f110abb72e9f8ed8530bfe565470264 -> FETCH_HEAD
 |  Unsupported setsockopt level=270 optname=3
 |  Submodule path 'release/scripts/addons': checked out '97bd21860f110abb72e9f8ed8530bfe565470264'
 |  Unsupported setsockopt level=270 optname=3
 |  Submodule path 'release/scripts/addons_contrib': checked out '68a2d28b24430133946f21d7deede1312d181aaf'
 |  Unsupported setsockopt level=270 optname=3
 |  Submodule path 'source/tools': checked out 'a64a4237d820c72c9f22e5ee7069c791f7ceb42b'
 |  patching file release/scripts/addons/io_mesh_stl/blender_utils.py
 |  patching file object_facemap_auto/auto_fmap_widgets.py
 |  patching file intern/cycles/device/device_cpu.cpp
 |  Hunk #1 FAILED at 719.
 |  1 out of 1 hunk FAILED -- saving rejects to file intern/cycles/device/device_cpu.cpp.rej
 |  ==> ERROR: A failure occurred in prepare().
 |      Aborting...
==> Copying log and package files out of the chroot...

Too tired.. going to bed

#5

Updated by freemor about 2 months ago

seems the arm-no-sse2.patch is no longer required. file it was applied against doesn't seem to exist.
Tried without the patch.. got further.. but suddenly seems to depend X11 or part of it

|  
 |  
 |  -- Performing Test SUPPORT_SSE_BUILD
 |  -- Performing Test SUPPORT_SSE_BUILD - Failed
 |  -- SSE Support: missing.
 |  -- Performing Test SUPPORT_SSE2_BUILD
 |  -- Performing Test SUPPORT_SSE2_BUILD - Failed
 |  -- SSE2 Support: missing.
 |  -- Found Git: /usr/bin/git (found version "2.22.0") 
 |  CMake Error at /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
 |    Could NOT find X11 (missing: X11_X11_LIB)
 |  Call Stack (most recent call first):
 |    /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
 |    /usr/share/cmake-3.15/Modules/FindX11.cmake:366 (find_package_handle_standard_args)
 |    CMakeLists.txt:880 (find_package)
 |  
 |  
 |  -- Configuring incomplete, errors occurred!
 |  See also "/build/blender/src/blender-2.79.b.git7.054dbb83/build/CMakeFiles/CMakeOutput.log".
 |  See also "/build/blender/src/blender-2.79.b.git7.054dbb83/build/CMakeFiles/CMakeError.log".
 |  ==> ERROR: A failure occurred in build().
 |      Aborting...
==> Copying log and package files out of the chroot...

Also available in: Atom PDF