bartoszek / AUR-blender-2.7

0 stars 1 forks source link

Build error #3

Open kikislater opened 3 years ago

kikislater commented 3 years ago

yay -S blender-2.7 --mflags "DISABLE_CUDA=1" or env DISABLE_CUDA=1 makepkg -fsi

loading initial cache file /home/sylvain/.cache/yay/blender-2.7/src/blender/build_files/cmake/config/blender_release.cmake
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test SUPPORT_SSE_BUILD
-- Performing Test SUPPORT_SSE_BUILD - Success
-- SSE Support: detected.
-- Performing Test SUPPORT_SSE2_BUILD
-- Performing Test SUPPORT_SSE2_BUILD - Success
-- SSE2 Support: detected.
-- Found Git: /usr/bin/git (found version "2.31.1") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37") 
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.10.4") 
-- Found PythonLibsUnix: /usr/lib/libpython3.9.so  
-- #define OPENEXR_VERSION_STRING "3.0.1"
-- Found OpenEXR: OPENEXR_HALF_LIBRARY-NOTFOUND;/usr/lib/libIex-3_0.so;OPENEXR_ILMIMF_LIBRARY-NOTFOUND;/usr/lib/libIlmThread-3_0.so;/usr/lib/libImath-3_0.so  
-- Found OpenJPEG: /usr/lib/libopenjp2.so  
-- Found TIFF: /usr/lib/libtiff.so (found version "4.3.0")  
-- Found OpenAL: /usr/lib/libopenal.so  
-- Found SDL2: /usr/lib64/libSDL2.so  
-- Found Jack: /usr/lib/libjack.so  
-- Found SndFile: /usr/lib/libsndfile.so  
-- Found Fftw3: /usr/lib/libfftw3.so  
-- Found OpenCOLLADA: /usr/lib64/opencollada/libOpenCOLLADAStreamWriter.so;/usr/lib64/opencollada/libOpenCOLLADASaxFrameworkLoader.so;/usr/lib64/opencollada/libOpenCOLLADAFramework.so;/usr/lib64/opencollada/libOpenCOLLADABaseUtils.so;/usr/lib64/opencollada/libGeneratedSaxParser.so;/usr/lib64/opencollada/libMathMLSolver.so;/usr/lib64/opencollada/libbuffer.so;/usr/lib64/opencollada/libftoa.so;/usr/lib64/opencollada/libUTF.so  
-- Found XML2: /usr/lib/libxml2.so  
-- Found PCRE: /usr/lib/libpcre.so  
-- Found JeMalloc: /usr/lib/libjemalloc.so  
-- Found Spacenav: /usr/lib/libspnav.so  
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (OSL) does
  not match the name of the calling package (OpenShadingLanguage).  This can
  lead to problems in calling code that expects `find_package` result
  variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build_files/cmake/Modules/FindOpenShadingLanguage.cmake:75 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build_files/cmake/platform/platform_unix.cmake:50 (find_package)
  build_files/cmake/platform/platform_unix.cmake:227 (find_package_wrapper)
  CMakeLists.txt:935 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OSL: /usr/lib/liboslcomp.so;/usr/lib/liboslexec.so;/usr/lib/liboslquery.so  
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (OPENVDB)
  does not match the name of the calling package (OpenVDB).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build_files/cmake/Modules/FindOpenVDB.cmake:60 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build_files/cmake/platform/platform_unix.cmake:50 (find_package)
  build_files/cmake/platform/platform_unix.cmake:245 (find_package_wrapper)
  CMakeLists.txt:935 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OPENVDB: /usr/lib/libopenvdb.so  
-- Found TBB: /usr/lib/libtbb.so  
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (BLOSC) does
  not match the name of the calling package (Blosc).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build_files/cmake/Modules/FindBlosc.cmake:59 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build_files/cmake/platform/platform_unix.cmake:50 (find_package)
  build_files/cmake/platform/platform_unix.cmake:247 (find_package_wrapper)
  CMakeLists.txt:935 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found BLOSC: /usr/lib/libblosc.so  
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (ALEMBIC)
  does not match the name of the calling package (Alembic).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build_files/cmake/Modules/FindAlembic.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build_files/cmake/platform/platform_unix.cmake:50 (find_package)
  build_files/cmake/platform/platform_unix.cmake:259 (find_package_wrapper)
  CMakeLists.txt:935 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found ALEMBIC: /usr/lib/libAlembic.so  
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found suitable version "1.75.0", minimum required is "1.48") found components: filesystem regex thread date_time wave locale iostreams system 
-- Found OpenImageIO: /usr/lib/libOpenImageIO.so  
-- Found OpenColorIO: /usr/lib/libOpenColorIO.so;/usr/lib/libyaml-cpp.so;/usr/lib/libtinyxml.so  
-- Found LLVM: /usr/lib/libLLVM-11.1.0.so  
-- Found OpenSubdiv: /usr/lib/libosdGPU.so;/usr/lib/libosdCPU.so  
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Found Threads: TRUE  
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (Glew) does
  not match the name of the calling package (GLEW).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build_files/cmake/Modules/FindGLEW.cmake:66 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:1215 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Glew: /usr/lib/libGLEW.so  
-- Performing Test C_WARN_ALL
-- Performing Test C_WARN_ALL - Success
-- Performing Test C_WARN_CAST_ALIGN
-- Performing Test C_WARN_CAST_ALIGN - Success
-- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test C_WARN_ERROR_RETURN_TYPE
-- Performing Test C_WARN_ERROR_RETURN_TYPE - Success
-- Performing Test C_WARN_ERROR_VLA
-- Performing Test C_WARN_ERROR_VLA - Success
-- Performing Test C_WARN_STRICT_PROTOTYPES
-- Performing Test C_WARN_STRICT_PROTOTYPES - Success
-- Performing Test C_WARN_MISSING_PROTOTYPES
-- Performing Test C_WARN_MISSING_PROTOTYPES - Success
-- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS
-- Performing Test C_WARN_NO_CHAR_SUBSCRIPTS - Success
-- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS
-- Performing Test C_WARN_NO_UNKNOWN_PRAGMAS - Success
-- Performing Test C_WARN_POINTER_ARITH
-- Performing Test C_WARN_POINTER_ARITH - Success
-- Performing Test C_WARN_UNUSED_PARAMETER
-- Performing Test C_WARN_UNUSED_PARAMETER - Success
-- Performing Test C_WARN_WRITE_STRINGS
-- Performing Test C_WARN_WRITE_STRINGS - Success
-- Performing Test C_WARN_LOGICAL_OP
-- Performing Test C_WARN_LOGICAL_OP - Success
-- Performing Test C_WARN_UNDEF
-- Performing Test C_WARN_UNDEF - Success
-- Performing Test C_WARN_INIT_SELF
-- Performing Test C_WARN_INIT_SELF - Success
-- Performing Test C_WARN_NO_NULL
-- Performing Test C_WARN_NO_NULL - Success
-- Performing Test C_WARN_MISSING_INCLUDE_DIRS
-- Performing Test C_WARN_MISSING_INCLUDE_DIRS - Success
-- Performing Test C_WARN_NO_DIV_BY_ZERO
-- Performing Test C_WARN_NO_DIV_BY_ZERO - Success
-- Performing Test C_WARN_TYPE_LIMITS
-- Performing Test C_WARN_TYPE_LIMITS - Success
-- Performing Test C_WARN_FORMAT_SIGN
-- Performing Test C_WARN_FORMAT_SIGN - Success
-- Performing Test C_WARN_RESTRICT
-- Performing Test C_WARN_RESTRICT - Success
-- Performing Test C_WARN_UNINITIALIZED
-- Performing Test C_WARN_UNINITIALIZED - Success
-- Performing Test C_WARN_REDUNDANT_DECLS
-- Performing Test C_WARN_REDUNDANT_DECLS - Success
-- Performing Test CXX_WARN_REDUNDANT_DECLS
-- Performing Test CXX_WARN_REDUNDANT_DECLS - Success
-- Performing Test C_WARN_SHADOW
-- Performing Test C_WARN_SHADOW - Success
-- Performing Test C_WARN_NO_ERROR_UNUSED_BUT_SET_VARIABLE
-- Performing Test C_WARN_NO_ERROR_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test CXX_WARN_ALL
-- Performing Test CXX_WARN_ALL - Success
-- Performing Test CXX_WARN_NO_INVALID_OFFSETOF
-- Performing Test CXX_WARN_NO_INVALID_OFFSETOF - Success
-- Performing Test CXX_WARN_NO_SIGN_COMPARE
-- Performing Test CXX_WARN_NO_SIGN_COMPARE - Success
-- Performing Test CXX_WARN_LOGICAL_OP
-- Performing Test CXX_WARN_LOGICAL_OP - Success
-- Performing Test CXX_WARN_INIT_SELF
-- Performing Test CXX_WARN_INIT_SELF - Success
-- Performing Test CXX_WARN_MISSING_INCLUDE_DIRS
-- Performing Test CXX_WARN_MISSING_INCLUDE_DIRS - Success
-- Performing Test CXX_WARN_NO_DIV_BY_ZERO
-- Performing Test CXX_WARN_NO_DIV_BY_ZERO - Success
-- Performing Test CXX_WARN_TYPE_LIMITS
-- Performing Test CXX_WARN_TYPE_LIMITS - Success
-- Performing Test CXX_WARN_ERROR_RETURN_TYPE
-- Performing Test CXX_WARN_ERROR_RETURN_TYPE - Success
-- Performing Test CXX_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test CXX_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS
-- Performing Test CXX_WARN_NO_CHAR_SUBSCRIPTS - Success
-- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS
-- Performing Test CXX_WARN_NO_UNKNOWN_PRAGMAS - Success
-- Performing Test CXX_WARN_POINTER_ARITH
-- Performing Test CXX_WARN_POINTER_ARITH - Success
-- Performing Test CXX_WARN_UNUSED_PARAMETER
-- Performing Test CXX_WARN_UNUSED_PARAMETER - Success
-- Performing Test CXX_WARN_WRITE_STRINGS
-- Performing Test CXX_WARN_WRITE_STRINGS - Success
-- Performing Test CXX_WARN_UNDEF
-- Performing Test CXX_WARN_UNDEF - Success
-- Performing Test CXX_WARN_FORMAT_SIGN
-- Performing Test CXX_WARN_FORMAT_SIGN - Success
-- Performing Test CXX_WARN_RESTRICT
-- Performing Test CXX_WARN_RESTRICT - Success
-- Performing Test CXX_WARN_UNINITIALIZED
-- Performing Test CXX_WARN_UNINITIALIZED - Success
-- Performing Test CXX_WARN_MISSING_DECLARATIONS
-- Performing Test CXX_WARN_MISSING_DECLARATIONS - Success
-- Performing Test C_WARN_IMPLICIT_FALLTHROUGH
-- Performing Test C_WARN_IMPLICIT_FALLTHROUGH - Success
-- Performing Test CXX_WARN_IMPLICIT_FALLTHROUGH
-- Performing Test CXX_WARN_IMPLICIT_FALLTHROUGH - Success
-- Performing Test C_WARN_NO_DEPRECATED_DECLARATIONS
-- Performing Test C_WARN_NO_DEPRECATED_DECLARATIONS - Success
-- Performing Test C_WARN_NO_UNUSED_PARAMETER
-- Performing Test C_WARN_NO_UNUSED_PARAMETER - Success
-- Performing Test C_WARN_NO_UNUSED_FUNCTION
-- Performing Test C_WARN_NO_UNUSED_FUNCTION - Success
-- Performing Test C_WARN_NO_TYPE_LIMITS
-- Performing Test C_WARN_NO_TYPE_LIMITS - Success
-- Performing Test C_WARN_NO_INT_IN_BOOL_CONTEXT
-- Performing Test C_WARN_NO_INT_IN_BOOL_CONTEXT - Success
-- Performing Test C_WARN_NO_FORMAT
-- Performing Test C_WARN_NO_FORMAT - Success
-- Performing Test C_WARN_NO_SWITCH
-- Performing Test C_WARN_NO_SWITCH - Success
-- Performing Test CXX_WARN_NO_CLASS_MEMACCESS
-- Performing Test CXX_WARN_NO_CLASS_MEMACCESS - Success
-- Performing Test C_WARN_NO_IMPLICIT_FALLTHROUGH
-- Performing Test C_WARN_NO_IMPLICIT_FALLTHROUGH - Success
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) 
-- CUDA compiler not found, disabling WITH_CYCLES_CUDA_BINARIES
-- Performing Test CXX_HAS_SSE
-- Performing Test CXX_HAS_SSE - Success
-- Performing Test CXX_HAS_AVX
-- Performing Test CXX_HAS_AVX - Success
-- Performing Test CXX_HAS_AVX2
-- Performing Test CXX_HAS_AVX2 - Success
-- Performing Test _has_cxxflag_float_conversion
-- Performing Test _has_cxxflag_float_conversion - Success
-- Performing Test _has_cxxflag_double_promotion
-- Performing Test _has_cxxflag_double_promotion - Success
-- Performing Test _has_no_error_unused_macros
-- Performing Test _has_no_error_unused_macros - Success
-- Found opencollada: /usr/include/opencollada/COLLADAFramework/COLLADAFWAnimationClip.h 
-- Blender Skipping: (bf_intern_ctr;bf_intern_opencl;bf_intern_utfconv;extern_openjpeg;extern_sdlew)
-- Player Skipping: (bf_intern_utfconv;bf_intern_utfconv;extern_openjpeg;extern_sdlew)
-- Disabling Cycles tests because tests folder does not exist
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (ALEMBIC)
  does not match the name of the calling package (Alembic).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build_files/cmake/Modules/FindAlembic.cmake:57 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build_files/cmake/platform/platform_unix.cmake:50 (find_package)
  tests/python/CMakeLists.txt:601 (find_package_wrapper)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- RPM Build Not Found (rpmbuild). RPM generation will not be available
-- C Compiler:   "GNU"
-- C++ Compiler: "GNU"

Blender Configuration
=====================

  Build Options:
  - WITH_GAMEENGINE             ON
  - WITH_PLAYER                 ON
  - WITH_BULLET                 ON
  - WITH_IK_SOLVER              ON
  - WITH_IK_ITASC               ON
  - WITH_OPENCOLLADA            ON
  - WITH_FFTW3                  ON
  - WITH_INTERNATIONAL          ON
  - WITH_INPUT_NDOF             ON
  - WITH_CYCLES                 ON
  - WITH_FREESTYLE              ON
  - WITH_OPENCOLORIO            ON
  - WITH_OPENVDB                ON
  - WITH_ALEMBIC                ON

  Compiler Options:
  - WITH_BUILDINFO              ON
  - WITH_OPENMP                 ON
  - WITH_RAYOPTIMIZATION        ON

  System Options:
  - WITH_INSTALL_PORTABLE       OFF
  - WITH_X11_ALPHA              ON
  - WITH_X11_XF86VMODE          ON
  - WITH_X11_XFIXES             ON
  - WITH_X11_XINPUT             ON
  - WITH_MEM_JEMALLOC           ON
  - WITH_MEM_VALGRIND           OFF
  - WITH_SYSTEM_GLEW            ON

  Image Formats:
  - WITH_OPENIMAGEIO            ON
  - WITH_IMAGE_CINEON           ON
  - WITH_IMAGE_DDS              ON
  - WITH_IMAGE_HDR              ON
  - WITH_IMAGE_OPENEXR          ON
  - WITH_IMAGE_OPENJPEG         ON
  - WITH_IMAGE_TIFF             ON

  Audio:
  - WITH_OPENAL                 ON
  - WITH_SDL                    ON
  - WITH_SDL_DYNLOAD            OFF
  - WITH_JACK                   ON
  - WITH_JACK_DYNLOAD           OFF
  - WITH_CODEC_AVI              ON
  - WITH_CODEC_FFMPEG           ON
  - WITH_CODEC_SNDFILE          ON

  Compression:
  - WITH_LZMA                   ON
  - WITH_LZO                    ON

  Python:
  - WITH_PYTHON_INSTALL         OFF
  - WITH_PYTHON_INSTALL_NUMPY   
  - WITH_PYTHON_MODULE          OFF
  - WITH_PYTHON_SAFETY          OFF

  Modifiers:
  - WITH_MOD_REMESH             ON
  - WITH_MOD_FLUID              ON
  - WITH_MOD_OCEANSIM           ON

  OpenGL:
  - WITH_GLEW_ES                OFF
  - WITH_GLU                    ON
  - WITH_GL_EGL                 OFF
  - WITH_GL_PROFILE_COMPAT      ON
  - WITH_GL_PROFILE_CORE        OFF
  - WITH_GL_PROFILE_ES20        OFF

-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENEXR_HALF_LIBRARY (ADVANCED)
    linked by target "blender" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/creator
    linked by target "blender" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/creator
    linked by target "blenderplayer" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/blenderplayer
    linked by target "blenderplayer" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/blenderplayer
OPENEXR_ILMIMF_LIBRARY (ADVANCED)
    linked by target "blender" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/creator
    linked by target "blender" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/creator
    linked by target "blenderplayer" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/blenderplayer
    linked by target "blenderplayer" in directory /home/sylvain/.cache/yay/blender-2.7/src/blender/source/blenderplayer

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
psstoyanov commented 3 years ago

Can confirm the same happens here.

There appears to be a big jump from 2.x to 3.0 for OpenExr this April: https://github.com/AcademySoftwareFoundation/openexr/blob/master/CHANGES.md#version-301-april-1-2021

psstoyanov commented 3 years ago

Can't observe the issue anymore with the openexr3 commit. The opencolorio1 commit resolved my other compile issue.

I think it's safe to close the ticket?

Thank you for the awesome work!