The log:
$ paru
Aur (1) lib32-x265-3.6-1
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: lib32-x265 3.6-1 (Sat 26 Oct 2024 08:44:24 AM PST)
==> Retrieving sources...
-> Updating x265 git repo...
==> Validating source files with sha256sums...
x265 ... Skipped
==> Making package: lib32-x265 3.6-1 (Sat 26 Oct 2024 08:44:27 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating x265 git repo...
==> Validating source files with sha256sums...
x265 ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of x265 git repo...
Cloning into 'x265'...
done.
Switched to a new branch 'makepkg'
==> Sources are ready.
lib32-x265-3.6-1: parsing pkg list...
==> Making package: lib32-x265 3.6-1 (Sat 26 Oct 2024 08:44:33 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- cmake version 3.30.5
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy):
The OLD behavior for policy CMP0025 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy):
The OLD behavior for policy CMP0054 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Warning (dev) at CMakeLists.txt:19 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
The package name passed to `find_package_handle_standard_args` (NUMA) does
not match the name of the calling package (Numa). 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):
cmake/FindNuma.cmake:43 (find_package_handle_standard_args)
CMakeLists.txt:109 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found NUMA: /usr
-- Looking for numa_node_of_cpu
-- Looking for numa_node_of_cpu - not found
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFiles.cmake:116 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
numa
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
CMakeLists.txt:184 (check_include_files)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Performing Test CC_HAS_NO_STRICT_OVERFLOW
-- Performing Test CC_HAS_NO_STRICT_OVERFLOW - Failed
-- Performing Test CC_HAS_NO_NARROWING
-- Performing Test CC_HAS_NO_NARROWING - Failed
-- Performing Test CC_HAS_NO_ARRAY_BOUNDS
-- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Failed
-- Performing Test CC_HAS_FAST_MATH
-- Performing Test CC_HAS_FAST_MATH - Failed
-- Performing Test CC_HAS_STACK_REALIGN
-- Performing Test CC_HAS_STACK_REALIGN - Failed
-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG
-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Failed
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
The package name passed to `find_package_handle_standard_args` (nasm) does
not match the name of the calling package (Nasm). 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):
cmake/FindNasm.cmake:23 (find_package_handle_standard_args)
CMakeLists.txt:378 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found nasm: /usr/bin/nasm (found version "2.16.03")
-- Found Nasm 2.16.03 to build assembly primitives
CMake Deprecation Warning at dynamicHDR10/CMakeLists.txt:13 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- GIT_EXECUTABLE /usr/bin/git
-- GIT LIVE REPO VERSION RETRIEVED
-- X265 RELEASE VERSION 3.6
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/bin/nasm
-- Looking for strtok_r
-- Looking for strtok_r - not found
-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Configuring done (22.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/manj/.cache/paru/clone/lib32-x265/src/build
make: Entering directory '/home/manj/.cache/paru/clone/lib32-x265/src/build'
[ 1%] Building CXX object dynamicHDR10/CMakeFiles/dynamicHDR10.dir/json11/json11.cpp.o
[ 2%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixel-a.asm.o
[ 3%] Building CXX object dynamicHDR10/CMakeFiles/dynamicHDR10.dir/JsonHelper.cpp.o
[ 4%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/const-a.asm.o
[ 5%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/cpu-a.asm.o
[ 6%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/ssd-a.asm.o
[ 7%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/mc-a.asm.o
[ 8%] Building CXX object dynamicHDR10/CMakeFiles/dynamicHDR10.dir/metadataFromJson.cpp.o
[ 9%] Building CXX object dynamicHDR10/CMakeFiles/dynamicHDR10.dir/SeiMetadataDictionary.cpp.o
[ 10%] Building CXX object dynamicHDR10/CMakeFiles/dynamicHDR10.dir/api.cpp.o
[ 10%] Built target dynamicHDR10
[ 11%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.o
[ 12%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/mc-a2.asm.o
[ 13%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixel-util8.asm.o
/home/manj/.cache/paru/clone/lib32-x265/src/x265/source/encoder/analysis.cpp: In member function ‘x265::Mode& x265::Analysis::compressCTU(x265::CUData&, x265::Frame&, const x265::CUGeom&, const x265::Entropy&)’:
/home/manj/.cache/paru/clone/lib32-x265/src/x265/source/encoder/analysis.cpp:160:51: warning: comparing the result of pointer addition ‘((*((x265::Analysis*)this)->x265::Analysis::x265::Search.x265::Search::m_frame->x265::Frame::m_ctuInfo) + ((sizetype)(ctu.x265::CUData::m_cuAddr * 264)))’ and NULL [-Waddress]
160 | if (m_param->bCTUInfo && (*m_frame->m_ctuInfo + ctu.m_cuAddr))
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[ 14%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.o
[ 15%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/blockcopy8.asm.o
[ 16%] Building CXX object encoder/CMakeFiles/encoder.dir/bitcost.cpp.o
[ 17%] Building CXX object encoder/CMakeFiles/encoder.dir/motion.cpp.o
[ 18%] Building CXX object encoder/CMakeFiles/encoder.dir/slicetype.cpp.o
[ 19%] Building CXX object encoder/CMakeFiles/encoder.dir/frameencoder.cpp.o
[ 20%] Building CXX object encoder/CMakeFiles/encoder.dir/framefilter.cpp.o
[ 21%] Building CXX object encoder/CMakeFiles/encoder.dir/level.cpp.o
[ 22%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixeladd8.asm.o
[ 23%] Building CXX object encoder/CMakeFiles/encoder.dir/nal.cpp.o
[ 25%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/dct8.asm.o
[ 26%] Building CXX object encoder/CMakeFiles/encoder.dir/sei.cpp.o
[ 27%] Building CXX object encoder/CMakeFiles/encoder.dir/sao.cpp.o
[ 28%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/seaintegral.asm.o
[ 29%] Building CXX object encoder/CMakeFiles/encoder.dir/entropy.cpp.o
[ 30%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/sad-a.asm.o
[ 31%] Building CXX object encoder/CMakeFiles/encoder.dir/dpb.cpp.o
[ 32%] Building CXX object encoder/CMakeFiles/encoder.dir/ratecontrol.cpp.o
[ 33%] Building CXX object encoder/CMakeFiles/encoder.dir/reference.cpp.o
[ 34%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.o
[ 35%] Building CXX object encoder/CMakeFiles/encoder.dir/api.cpp.o
[ 36%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.o
[ 36%] Built target encoder
[ 37%] Linking CXX static library libhdr10plus.a
[ 37%] Built target hdr10plus-static
[ 38%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/intrapred8.asm.o
[ 39%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/intrapred8_allangs.asm.o
[ 40%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/v4-ipfilter8.asm.o
[ 41%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/h-ipfilter8.asm.o
[ 42%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/ipfilter8.asm.o
[ 43%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/loopfilter.asm.o
[ 44%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixel-32.asm.o
[ 45%] Building CXX object common/CMakeFiles/common.dir/x86/asm-primitives.cpp.o
[ 46%] Building CXX object common/CMakeFiles/common.dir/vec/vec-primitives.cpp.o
[ 47%] Building CXX object common/CMakeFiles/common.dir/vec/dct-sse3.cpp.o
[ 48%] Building CXX object common/CMakeFiles/common.dir/vec/dct-ssse3.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/vec/dct-sse41.cpp.o
[ 51%] Building CXX object common/CMakeFiles/common.dir/primitives.cpp.o
[ 52%] Building CXX object common/CMakeFiles/common.dir/pixel.cpp.o
[ 53%] Linking CXX shared library libhdr10plus.so
[ 53%] Built target hdr10plus-shared
[ 54%] Building CXX object common/CMakeFiles/common.dir/dct.cpp.o
[ 55%] Building CXX object common/CMakeFiles/common.dir/lowpassdct.cpp.o
[ 56%] Building CXX object common/CMakeFiles/common.dir/ipfilter.cpp.o
[ 57%] Building CXX object common/CMakeFiles/common.dir/intrapred.cpp.o
[ 58%] Building CXX object common/CMakeFiles/common.dir/loopfilter.cpp.o
[ 59%] Building CXX object common/CMakeFiles/common.dir/constants.cpp.o
[ 60%] Building CXX object common/CMakeFiles/common.dir/cpu.cpp.o
[ 61%] Building CXX object common/CMakeFiles/common.dir/version.cpp.o
[ 62%] Building CXX object common/CMakeFiles/common.dir/threading.cpp.o
[ 63%] Building CXX object common/CMakeFiles/common.dir/threadpool.cpp.o
[ 64%] Building CXX object common/CMakeFiles/common.dir/wavefront.cpp.o
[ 65%] Building CXX object common/CMakeFiles/common.dir/md5.cpp.o
[ 66%] Building CXX object common/CMakeFiles/common.dir/bitstream.cpp.o
[ 67%] Building CXX object common/CMakeFiles/common.dir/yuv.cpp.o
[ 68%] Building CXX object common/CMakeFiles/common.dir/shortyuv.cpp.o
[ 69%] Building CXX object common/CMakeFiles/common.dir/picyuv.cpp.o
[ 70%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o
[ 71%] Building CXX object common/CMakeFiles/common.dir/param.cpp.o
/home/manj/.cache/paru/clone/lib32-x265/src/x265/source/common/param.cpp:57:14: error: ‘char* strtok_r(char*, const char*, char**)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
57 | static char* strtok_r(char* str, const char* delim, char** nextp)
| ^~~~~~~~
In file included from /usr/include/c++/14.2.1/cstring:43,
from /home/manj/.cache/paru/clone/lib32-x265/src/x265/source/common/common.h:35,
from /home/manj/.cache/paru/clone/lib32-x265/src/x265/source/common/param.cpp:25:
/usr/include/string.h:366:14: note: previous declaration of ‘char* strtok_r(char*, const char*, char**)’
366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
| ^~~~~~~~
make[2]: *** [common/CMakeFiles/common.dir/build.make:507: common/CMakeFiles/common.dir/param.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:384: common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/home/manj/.cache/paru/clone/lib32-x265/src/build'
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'lib32-x265-3.6-1':
error: packages failed to build: lib32-x265-3.6-1