Install_deps.sh fails one Alembic on Fedora 31

This is the second time I’ve gotten this error, on two different computers now with fresh dependency installations folders, so I’m confident enough that it’s repeatable to report it.

It seems to be not finding ilmbase, but I do have it installed installed on the system. It mentions not finding pthread_create in the error file but it looks like it actually is found.

Unpacking Alembic-1.7.8
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE SYSTEM NAME: Linux
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- The install dir is /opt/lib/alembic-1.7.8
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
ILMBASE_ROOT is undefined
CMake Warning at cmake/Modules/FindIlmBase.cmake:125 (MESSAGE):
  Could not determine ILMBase library version, assuming .
Call Stack (most recent call first):
  cmake/AlembicIlmBase.cmake:36 (FIND_PACKAGE)
  CMakeLists.txt:223 (INCLUDE)


CMake Error at cmake/Modules/FindIlmBase.cmake:135 (STRING):
  STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  cmake/AlembicIlmBase.cmake:36 (FIND_PACKAGE)
  CMakeLists.txt:223 (INCLUDE)


-- ILMBASE INCLUDE PATH: /usr/include/OpenEXR
-- HALF LIB: /usr/lib64/libHalf.so
-- IEX LIB: /usr/lib64/libIex.so
-- IEXMATH LIB: /usr/lib64/libIexMath.so
-- ILMTHREAD LIB: /usr/lib64/libIlmThread.so
-- IMATH LIB: /usr/lib64/libImath.so
-- Skipping AbcConvert: it requires USE_HDF5

   * Alembic Configuration          ===
   * USE_ARNOLD                     OFF
   * USE_BINARIES                   ON
   * USE_EXAMPLES                   OFF
   * USE_HDF5                       OFF
   * USE_MAYA                       OFF
   * USE_PRMAN                      OFF
   * USE_PYALEMBIC                  OFF
   * USE_STATIC_BOOST               OFF
   * USE_STATIC_HDF5                OFF
   * USE_TESTS                      ON
   * ALEMBIC_ILMBASE_LINK_STATIC    OFF
   * ALEMBIC_SHARED_LIBS            ON
   * ALEMBIC_LIB_USES_BOOST         OFF
   * ALEMBIC_LIB_USES_TR1           OFF
-- Configuring incomplete, errors occurred!
See also "/home/hans/src/blender-deps/alembic-1.7.8/CMakeFiles/CMakeOutput.log".
See also "/home/hans/src/blender-deps/alembic-1.7.8/CMakeFiles/CMakeError.log".
make: *** No rule to make target 'install'.  Stop.
make: *** No rule to make target 'clean'.  Stop.
ERROR! Alembic-1.7.8 failed to compile, exiting

If it’s helpful here are the two files it mentions:
Output: https://hastebin.com/uyefakaquj.coffeescript
Error: https://hastebin.com/uwijisuxiw.sql

Hey I’m having the same issue, all I could find is this thread

Pointing on this git diff

However I can’t find which one of the FindIlmBase.cmake files I should edit with it, as I find 14 of them in my filesystem.

Did you manage to solve it?
Cheers

I think I did some hack in the system libs folder, creating a symlink to a different version of a library. It’s been a while and I don’t remember so well.

Honestly though the install_deps.sh method never worked very well for me, every system update or library change in Blender seemed to have a large change of screwing something up. They’ve since introduced a precompiled libraries option which is described on the building wiki. I know it’s probably not the help you wanted but I would suggest switching to that method, it’s so much easier and the libraries will update if they need to every time you use make update.

1 Like

That could be causing the error. See what happens when you uninstall libilmbase-dev (or a similarly named package on your system).