Mock Version: 2.14 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/vaapi-tegra-driver.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1636995130.680245/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qknkhm16:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qknkhm16:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bfa5ef1c5e3546b69dea8fe2f03c93c9', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1636995130.680245/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qknkhm16:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/vaapi-tegra-driver.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1636934400 Wrote: /builddir/build/SRPMS/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/vaapi-tegra-driver.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1636995130.680245/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qknkhm16:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qknkhm16:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd9204ca2e8a9433683f372af605e818d', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1636995130.680245/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qknkhm16:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/vaapi-tegra-driver.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1636934400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.auE4DG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + /usr/bin/gzip -dc /builddir/build/SOURCES/vaapi-tegra-driver-49a56d3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.APDOvv + umask 022 + cd /builddir/build/BUILD + cd vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX ++ pkgconf --variable=driverdir libva + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DLIBVA_DRIVERS_PATH=/usr/lib64/dri CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.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 -- Found PkgConfig: /usr/bin/pkgconf (found version "1.8.0") -- Checking for one of the modules 'libdrm' -- LIBVA_DRIVERS_PATH = /usr/lib64/dri -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba -B/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build/CMakeFiles /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/tegra_drv_video.dir/build.make CMakeFiles/tegra_drv_video.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build' cd /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build/CMakeFiles/tegra_drv_video.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/tegra_drv_video.dir/build.make CMakeFiles/tegra_drv_video.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build' [ 16%] Building CXX object CMakeFiles/tegra_drv_video.dir/main.cpp.o [ 33%] Building CXX object CMakeFiles/tegra_drv_video.dir/objects.cpp.o /usr/bin/g++ -Dtegra_drv_video_EXPORTS -I/usr/include/libdrm -I/usr/include/valgrind -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=gnu++17 -MD -MT CMakeFiles/tegra_drv_video.dir/objects.cpp.o -MF CMakeFiles/tegra_drv_video.dir/objects.cpp.o.d -o CMakeFiles/tegra_drv_video.dir/objects.cpp.o -c /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/objects.cpp [ 50%] Building CXX object CMakeFiles/tegra_drv_video.dir/gem.cpp.o [ 66%] Building CXX object CMakeFiles/tegra_drv_video.dir/engines/vic.cpp.o /usr/bin/g++ -Dtegra_drv_video_EXPORTS -I/usr/include/libdrm -I/usr/include/valgrind -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=gnu++17 -MD -MT CMakeFiles/tegra_drv_video.dir/main.cpp.o -MF CMakeFiles/tegra_drv_video.dir/main.cpp.o.d -o CMakeFiles/tegra_drv_video.dir/main.cpp.o -c /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/main.cpp /usr/bin/g++ -Dtegra_drv_video_EXPORTS -I/usr/include/libdrm -I/usr/include/valgrind -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=gnu++17 -MD -MT CMakeFiles/tegra_drv_video.dir/engines/vic.cpp.o -MF CMakeFiles/tegra_drv_video.dir/engines/vic.cpp.o.d -o CMakeFiles/tegra_drv_video.dir/engines/vic.cpp.o -c /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/vic.cpp /usr/bin/g++ -Dtegra_drv_video_EXPORTS -I/usr/include/libdrm -I/usr/include/valgrind -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=gnu++17 -MD -MT CMakeFiles/tegra_drv_video.dir/gem.cpp.o -MF CMakeFiles/tegra_drv_video.dir/gem.cpp.o.d -o CMakeFiles/tegra_drv_video.dir/gem.cpp.o -c /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/gem.cpp /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/vic.cpp: In member function 'int VicDevice::open()': /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/vic.cpp:140:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | fread(tmp, 1, sizeof(tmp)-1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 83%] Building CXX object CMakeFiles/tegra_drv_video.dir/engines/nvdec.cpp.o /usr/bin/g++ -Dtegra_drv_video_EXPORTS -I/usr/include/libdrm -I/usr/include/valgrind -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=gnu++17 -MD -MT CMakeFiles/tegra_drv_video.dir/engines/nvdec.cpp.o -MF CMakeFiles/tegra_drv_video.dir/engines/nvdec.cpp.o.d -o CMakeFiles/tegra_drv_video.dir/engines/nvdec.cpp.o -c /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp: In member function 'void NvdecDevice::SlotManager::clean(const VAPictureH264*, size_t)': /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp:255:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 255 | fprintf(stderr, "(pic=%d slot=%d) ", slots[slot], slot); | ~^ ~~~~ | | | | int size_t {aka long unsigned int} | %ld /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp: In member function 'void NvdecDevice::runH264(void*, NvdecOp&, std::vector&)': /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp:355:16: warning: unused variable 'frame' [-Wunused-variable] 355 | static int frame = 0; | ^~~~~ /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/main.cpp: In function 'tegra_RenderPicture': /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/main.cpp:518:59: warning: 'current_slice_param.slice_data_offset' may be used uninitialized in this function [-Wmaybe-uninitialized] 518 | buffer->data.data() + current_slice_param.slice_data_offset, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/main.cpp:521:39: warning: 'current_slice_param.slice_data_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 521 | current_slice_data_offset += current_slice_param.slice_data_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp: In member function 'int NvdecDevice::open()': /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp:103:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fread(tmp, 1, sizeof(tmp)-1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp: At global scope: /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/engines/nvdec.cpp:355:16: warning: 'frame' defined but not used [-Wunused-variable] 355 | static int frame = 0; | ^~~~~ [100%] Linking CXX shared module tegra_drv_video.so /usr/bin/cmake -E cmake_link_script CMakeFiles/tegra_drv_video.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -shared -o tegra_drv_video.so CMakeFiles/tegra_drv_video.dir/main.cpp.o CMakeFiles/tegra_drv_video.dir/objects.cpp.o CMakeFiles/tegra_drv_video.dir/gem.cpp.o CMakeFiles/tegra_drv_video.dir/engines/vic.cpp.o CMakeFiles/tegra_drv_video.dir/engines/nvdec.cpp.o -ldrm gmake[2]: Leaving directory '/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build' [100%] Built target tegra_drv_video gmake[1]: Leaving directory '/builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ns6zyy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 ++ dirname /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 + cd vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + DESTDIR=/builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/lib64/dri/tegra_drv_video.so + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0-0.620211020git49a56d3.fc36 --unique-debug-suffix -0-0.620211020git49a56d3.fc36.aarch64 --unique-debug-src-base vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba extracting debug info from /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/lib64/dri/tegra_drv_video.so original debug info size: 704kB, size after compression: 612kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 280 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ES8tPk + umask 022 + cd /builddir/build/BUILD + cd vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + DOCDIR=/builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/share/doc/vaapi-tegra-driver + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/share/doc/vaapi-tegra-driver + cp -pr README.md /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/share/doc/vaapi-tegra-driver + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mXsbuK + umask 022 + cd /builddir/build/BUILD + cd vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + LICENSEDIR=/builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/share/licenses/vaapi-tegra-driver + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/share/licenses/vaapi-tegra-driver + cp -pr LICENSE /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64/usr/share/licenses/vaapi-tegra-driver + RPM_EC=0 ++ jobs -p + exit 0 Provides: vaapi-tegra-driver = 0-0.620211020git49a56d3.fc36 vaapi-tegra-driver(aarch-64) = 0-0.620211020git49a56d3.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) rtld(GNU_HASH) Processing files: vaapi-tegra-driver-debugsource-0-0.620211020git49a56d3.fc36.aarch64 Provides: vaapi-tegra-driver-debugsource = 0-0.620211020git49a56d3.fc36 vaapi-tegra-driver-debugsource(aarch-64) = 0-0.620211020git49a56d3.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: vaapi-tegra-driver-debuginfo-0-0.620211020git49a56d3.fc36.aarch64 Provides: debuginfo(build-id) = 407d5d1947c62a75f2b9a1f0c6d0b2298598fc70 vaapi-tegra-driver-debuginfo = 0-0.620211020git49a56d3.fc36 vaapi-tegra-driver-debuginfo(aarch-64) = 0-0.620211020git49a56d3.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vaapi-tegra-driver-debugsource(aarch-64) = 0-0.620211020git49a56d3.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 Wrote: /builddir/build/RPMS/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64.rpm Wrote: /builddir/build/RPMS/vaapi-tegra-driver-debugsource-0-0.620211020git49a56d3.fc36.aarch64.rpm Wrote: /builddir/build/RPMS/vaapi-tegra-driver-debuginfo-0-0.620211020git49a56d3.fc36.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.733lzy + umask 022 + cd /builddir/build/BUILD + cd vaapi-tegra-driver-49a56d392a21ef3ff9ed848b6b98293572d14eba + /usr/bin/rm -rf /builddir/build/BUILDROOT/vaapi-tegra-driver-0-0.620211020git49a56d3.fc36.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0