CMake Generate step failed. Build files cannot be regenerated correctly. ==> ERROR: A failure occurred in build()

I got a .gz file of Blender 2.7 from a guy (I extracted it) and then I ran
makepkg -si
in that file and got this in terminal -

[aryan@aryanpc blender-2.7]$ makepkg -si
==> Making package: blender-2.7 2.79b.r71421.e045fe53f1b-3 (Tuesday 01 June 2021 08:20:38 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning blender git repo...
Cloning into bare repository '/home/aryan/Downloads/blender-2.7/blender'...
remote: Enumerating objects: 1838756, done.
remote: Counting objects: 100% (1838756/1838756), done.
remote: Compressing objects: 100% (218043/218043), done.
remote: Total 1838756 (delta 1618802), reused 1834754 (delta 1615564), pack-reused 0
Receiving objects: 100% (1838756/1838756), 572.88 MiB | 338.00 KiB/s, done.
Resolving deltas: 100% (1618802/1618802), done.
  -> Cloning blender-addons.git git repo...
Cloning into bare repository '/home/aryan/Downloads/blender-2.7/blender-addons.git'...
remote: Enumerating objects: 42050, done.
remote: Counting objects: 100% (42050/42050), done.
remote: Compressing objects: 100% (14648/14648), done.
remote: Total 42050 (delta 29124), reused 39442 (delta 27297), pack-reused 0
Receiving objects: 100% (42050/42050), 42.29 MiB | 232.00 KiB/s, done.
Resolving deltas: 100% (29124/29124), done.
  -> Cloning blender-addons-contrib.git git repo...
Cloning into bare repository '/home/aryan/Downloads/blender-2.7/blender-addons-contrib.git'...
remote: Enumerating objects: 10912, done.
remote: Counting objects: 100% (10912/10912), done.
remote: Compressing objects: 100% (3783/3783), done.
remote: Total 10912 (delta 6962), reused 10827 (delta 6913), pack-reused 0
Receiving objects: 100% (10912/10912), 29.72 MiB | 281.00 KiB/s, done.
Resolving deltas: 100% (6962/6962), done.
  -> Cloning blender-translations.git git repo...
Cloning into bare repository '/home/aryan/Downloads/blender-2.7/blender-translations.git'...
remote: Enumerating objects: 8381, done.
remote: Counting objects: 100% (8381/8381), done.
remote: Compressing objects: 100% (1540/1540), done.
remote: Total 8381 (delta 7747), reused 7407 (delta 6841), pack-reused 0
Receiving objects: 100% (8381/8381), 63.98 MiB | 301.00 KiB/s, done.
Resolving deltas: 100% (7747/7747), done.
  -> Cloning blender-dev-tools.git git repo...
Cloning into bare repository '/home/aryan/Downloads/blender-2.7/blender-dev-tools.git'...
remote: Enumerating objects: 1696, done.
remote: Counting objects: 100% (1696/1696), done.
remote: Compressing objects: 100% (639/639), done.
remote: Total 1696 (delta 1094), reused 1523 (delta 979), pack-reused 0
Receiving objects: 100% (1696/1696), 3.61 MiB | 323.00 KiB/s, done.
Resolving deltas: 100% (1094/1094), done.
  -> Found SelectCudaComputeArch.patch
  -> Found stl_export_iter.patch
  -> Found python3.7.patch
  -> Found python3.8.patch
  -> Found python3.9.patch
  -> Found python3.9_2.patch
  -> Found openvdb7.patch
  -> Found openvdb8.patch
  -> Found cycles.patch
==> Validating source files with sha256sums...
    blender ... Skipped
    blender-addons.git ... Skipped
    blender-addons-contrib.git ... Skipped
    blender-translations.git ... Skipped
    blender-dev-tools.git ... Skipped
    SelectCudaComputeArch.patch ... Passed
    stl_export_iter.patch ... Passed
    python3.7.patch ... Passed
    python3.8.patch ... Passed
    python3.9.patch ... Passed
    python3.9_2.patch ... Passed
    openvdb7.patch ... Passed
    openvdb8.patch ... Passed
    cycles.patch ... Passed
==> Extracting sources...
  -> Creating working copy of blender git repo...
Cloning into 'blender'...
done.
Updating files: 100% (11321/11321), done.
Updating files: 100% (12921/12921), done.
Switched to a new branch 'makepkg'
  -> Creating working copy of blender-addons.git git repo...
Cloning into 'blender-addons.git'...
done.
  -> Creating working copy of blender-addons-contrib.git git repo...
Cloning into 'blender-addons-contrib.git'...
done.
  -> Creating working copy of blender-translations.git git repo...
Cloning into 'blender-translations.git'...
done.
  -> Creating working copy of blender-dev-tools.git git repo...
Cloning into 'blender-dev-tools.git'...
done.
==> Starting prepare()...
Submodule 'release/datafiles/locale' (/home/aryan/Downloads/blender-2.7/blender-translations.git) registered for path 'release/datafiles/locale'
Submodule 'release/scripts/addons' (/home/aryan/Downloads/blender-2.7/blender-addons.git) registered for path 'release/scripts/addons'
Submodule 'release/scripts/addons_contrib' (/home/aryan/Downloads/blender-2.7/blender-addons-contrib.git) registered for path 'release/scripts/addons_contrib'
Submodule 'source/tools' (/home/aryan/Downloads/blender-2.7/blender-dev-tools.git) registered for path 'source/tools'
Cloning into '/home/aryan/Downloads/blender-2.7/src/blender/release/datafiles/locale'...
done.
Cloning into '/home/aryan/Downloads/blender-2.7/src/blender/release/scripts/addons'...
done.
Cloning into '/home/aryan/Downloads/blender-2.7/src/blender/release/scripts/addons_contrib'...
done.
Cloning into '/home/aryan/Downloads/blender-2.7/src/blender/source/tools'...
done.
Submodule path 'release/datafiles/locale': checked out '5ab29b1331d2103dae634b987f121c4599459d7f'
Submodule path 'release/scripts/addons': checked out '78bf358bf0805f69bc7317c4c5d1e10c0ece4dca'
Submodule path 'release/scripts/addons_contrib': checked out '68a2d28b24430133946f21d7deede1312d181aaf'
Submodule path 'source/tools': checked out '01f51a0e551ab730f0934dc6488613690ac4bf8f'
Checking patch release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py...
Applied patch release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py cleanly.
Checking patch release/scripts/addons/io_mesh_stl/blender_utils.py...
Applied patch release/scripts/addons/io_mesh_stl/blender_utils.py cleanly.
Checking patch source/blender/python/generic/py_capi_utils.c...
Applied patch source/blender/python/generic/py_capi_utils.c cleanly.
Checking patch source/blender/python/mathutils/mathutils_Matrix.c...
Checking patch source/blender/python/mathutils/mathutils_Quaternion.c...
Checking patch source/blender/python/mathutils/mathutils_Vector.c...
Applied patch source/blender/python/mathutils/mathutils_Matrix.c cleanly.
Applied patch source/blender/python/mathutils/mathutils_Quaternion.c cleanly.
Applied patch source/blender/python/mathutils/mathutils_Vector.c cleanly.
Checking patch source/blender/python/generic/bpy_threads.c...
Applied patch source/blender/python/generic/bpy_threads.c cleanly.
Checking patch intern/openvdb/CMakeLists.txt...
Checking patch intern/openvdb/intern/openvdb_writer.cc...
Applied patch intern/openvdb/CMakeLists.txt cleanly.
Applied patch intern/openvdb/intern/openvdb_writer.cc cleanly.
Checking patch intern/openvdb/openvdb_util.cc...
Hunk #1 succeeded at 28 (offset 1 line).
Applied patch intern/openvdb/openvdb_util.cc cleanly.
Checking patch intern/cycles/kernel/osl/osl_services.h...
Applied patch intern/cycles/kernel/osl/osl_services.h cleanly.
==> Starting pkgver()...
==> Starting build()...
==> python version detected: 3.9
loading initial cache file /home/aryan/Downloads/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 - Failed
-- Unsupported CFLAG: -Wno-format
-- 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
-- Found CUDA: /opt/cuda (found version "11.3") 
-- CUDA nvcc = /opt/cuda/bin/nvcc
-- 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
CMake Warning at intern/cycles/kernel/CMakeLists.txt:351 (message):
  CUDA version 11.3 detected, build may succeed but only CUDA 10.1 is
  officially supported


-- 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/aryan/Downloads/blender-2.7/src/blender/source/creator
    linked by target "blender" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/creator
    linked by target "blenderplayer" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/blenderplayer
    linked by target "blenderplayer" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/blenderplayer
OPENEXR_ILMIMF_LIBRARY (ADVANCED)
    linked by target "blender" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/creator
    linked by target "blender" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/creator
    linked by target "blenderplayer" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/blenderplayer
    linked by target "blenderplayer" in directory /home/aryan/Downloads/blender-2.7/src/blender/source/blenderplayer

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...

It clearly states it can not find OpenEXR.

I remember @Pak0st also had issues getting Blender 2.7 to build recently.

But then I ran

sudo pacman -S base-devel

Now, I’m not getting CMake Error… Now I’m getting a new error, please tell what to do.

[aryan@aryanpc blender-2.7]$ makepkg -s
==> Making package: blender-2.7 2.79b.r71421.e045fe53f1b-3 (Tuesday 01 June 2021 10:22:40 AM)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
-> Updating blender git repo…
Fetching origin
-> Updating blender-addons.git git repo…
Fetching origin
-> Updating blender-addons-contrib.git git repo…
Fetching origin
-> Updating blender-translations.git git repo…
Fetching origin
-> Updating blender-dev-tools.git git repo…
Fetching origin
-> Found SelectCudaComputeArch.patch
-> Found stl_export_iter.patch
-> Found python3.7.patch
-> Found python3.8.patch
-> Found python3.9.patch
-> Found python3.9_2.patch
-> Found openvdb7.patch
-> Found openvdb8.patch
-> Found cycles.patch
==> Validating source files with sha256sums…
blender … Skipped
blender-addons.git … Skipped
blender-addons-contrib.git … Skipped
blender-translations.git … Skipped
blender-dev-tools.git … Skipped
SelectCudaComputeArch.patch … Passed
stl_export_iter.patch … Passed
python3.7.patch … Passed
python3.8.patch … Passed
python3.9.patch … Passed
python3.9_2.patch … Passed
openvdb7.patch … Passed
openvdb8.patch … Passed
cycles.patch … Passed
==> Extracting sources…
-> Creating working copy of blender git repo…
Reset branch ‘makepkg’
-> Creating working copy of blender-addons.git git repo…
Reset branch ‘makepkg’
-> Creating working copy of blender-addons-contrib.git git repo…
Reset branch ‘makepkg’
-> Creating working copy of blender-translations.git git repo…
Reset branch ‘makepkg’
-> Creating working copy of blender-dev-tools.git git repo…
Reset branch ‘makepkg’
==> Starting prepare()…
Checking patch release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py…
error: while searching for:

    # foo;bar=baz;bonzo=bingo --> {"bar": baz", "bonzo": bingo}
    mpr.fmap_target_rules = dict(
        item.partition("=")[::2] for item in fmap_rules,
    )

    # XXX, we might want to have some way to extract a 'center' from a face-map

error: patch failed: release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py:324
error: release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py: patch does not apply
==> ERROR: A failure occurred in prepare().
Aborting…

I’ve tried a few things but I haven’t been successful at resolving it yet.

The same issue is reported on the parent AUR package:

Then… I think I’ll have to stop trying to install 2.79b on Linux… I’ve installed it im Windows 7 (dual boot) it is working there… I’ve not tried making anything but atleast it opens and I can move that cube.

I thought that it would run smoother on Linux but it is a pain to even Install (not that I’m criticising Linux, but as my Hardware is very old and I don’t know anything).

You might have better luck on a release schedule distro, instead of a rolling release, since rolling release will only concentrate on the newest software.

Sorry but I couldn’t understand anything… What is release schedule and rolling release ?
Maybe you are trying to say that Arch focus on Latest and Greatest and for this scenario Debian based would be better ?
But some guys told me that Manjaro would be better for my very old hardware (my cpu is Single core Amd sempron but my mobo has core unlocking, 2GB ram, 256mb on board gpu and that 256mb is shared from main 2gb ram).

Arch and Manjaro are rolling release distros - they don’t have fixed release schedule where updates are accumulated for a few months or years. This has the benefit of having the latest goodies but things can break as things are changing often. For example, my GPU needed kernel 5.10 to work - I won’t wait until Debian or Mint get to that stage and instead I had it almost immediately with Manjaro :smiley: The problem with Blender 2.79b is an example of things breaking after a mainline update.

If you looks at Debian, there is a big update every few years where everything changes. Between those big jumps, the software remains relatively the same. The benefit (in the case of Debian for sure) is the amount of time where the software is tested and problems are ironed out before the release. The con is the same - it takes time for any update to be introduced.

Now on to your particular issue - you can try to use the snap version as it has 2.79b in there:

In theory, the Snap version will be independent from the system and you will be able to run it.

I couldn’t find a flatpak or appimage version of 2.79b but it’s possible that there are some.

Ok, thanks for the explanation…
So I think this command will work
sudo snap install blender --channel=2.79/stable --classic

What’s wrong with installing Blender from the repo?

His GPU is too old for the OpenGL requirement of Blender 2.8X.

1 Like

Also I tried installing the 130mb file (from here) and then extracting it… There is an Executable Blender in that folder… It also opens the software, but that welcome box is cutted more than half and also if I try to make it Full Screen, screen freezes few seconds and then I get a Grey pattern of lines on my screen then I have to restart PC.

I have previously experienced this also, of getting the pattern with lines on whole screen, I think I have some kind of GPU or Driver issue from a long time (I’ve installed Manjaro from few days only, but previously I’ve tried Linux mint for 1 or days and then removed, at that time also I had this kind of Issue, where the screen is completely covered with some lines and it kind of look like a pattern).

Have you setup Snaps on your system? Read more here:

The reason why I’m suggesting Snaps is because the executable will come with all required libraries to run as expected.

Who knows what the executable on Blender’s download page you’ve linked is compiled against. I’m a bit surprised it runs at all - it’s from 2017.

Ok, I’ll try this tomorrow as I have limited data per day.
Also once I’ve downloaded 2.92 from snap (after snapd setup) but then the new version didn’t even Opened so I removed all the snaps and the snap itself from a command a guy told me on telegram Manjaro group (his name is fabby, maybe if you know him).

So I’ll again setup snap and then install 2.79 from snap tomorrow.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.