D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/drpm-0.5.2-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dZXc2q Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hpMSUX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + rm -rf drpm-0.5.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/drpm-0.5.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd drpm-0.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lLO3a2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd drpm-0.5.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 15.1.0 -- 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 -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so -- Looking for lzma_auto_decoder in /usr/lib64/liblzma.so - found -- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so -- Looking for lzma_easy_encoder in /usr/lib64/liblzma.so - found -- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so -- Looking for lzma_lzma_preset in /usr/lib64/liblzma.so - found -- Found LibLZMA: /usr/lib64/liblzma.so (found version "5.8.1") -- Checking for module 'rpm' -- Found rpm, version 4.20.1 -- Checking for module 'libcrypto' -- Found libcrypto, version 3.5.0 -- Checking for module 'libzstd' -- Found libzstd, version 1.5.7 -- Performing Test DRPM_HAVE_VISIBILITY -- Performing Test DRPM_HAVE_VISIBILITY - Success -- Found Doxygen: /usr/bin/doxygen (found version "1.13.2") found components: doxygen dot -- Checking for module 'cmocka' -- Found cmocka, version 1.1.7 -- Configuring done (1.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_C_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: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build + /usr/bin/cmake --build build -j16 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2 -B/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' /usr/bin/gmake -f src/CMakeFiles/drpm.dir/build.make src/CMakeFiles/drpm.dir/depend /usr/bin/gmake -f test/CMakeFiles/drpm_api_tests.dir/build.make test/CMakeFiles/drpm_api_tests.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2 /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src/CMakeFiles/drpm.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2 /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/test /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test/CMakeFiles/drpm_api_tests.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' /usr/bin/gmake -f src/CMakeFiles/drpm.dir/build.make src/CMakeFiles/drpm.dir/build /usr/bin/gmake -f test/CMakeFiles/drpm_api_tests.dir/build.make test/CMakeFiles/drpm_api_tests.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' [ 9%] Building C object test/CMakeFiles/drpm_api_tests.dir/drpm_api_tests.c.o [ 9%] Building C object src/CMakeFiles/drpm.dir/drpm_apply.c.o [ 9%] Building C object src/CMakeFiles/drpm.dir/drpm.c.o [ 12%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o [ 19%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm.c.o [ 19%] Building C object src/CMakeFiles/drpm.dir/drpm_compstrm.c.o [ 22%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o [ 29%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_decompstrm.c.o [ 29%] Building C object src/CMakeFiles/drpm.dir/drpm_block.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm.c.o -MF CMakeFiles/drpm.dir/drpm.c.o.d -o CMakeFiles/drpm.dir/drpm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/drpm_api_tests.c.o -MF CMakeFiles/drpm_api_tests.dir/drpm_api_tests.c.o.d -o CMakeFiles/drpm_api_tests.dir/drpm_api_tests.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/test/drpm_api_tests.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_apply.c.o -MF CMakeFiles/drpm.dir/drpm_apply.c.o.d -o CMakeFiles/drpm.dir/drpm_apply.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_compstrm.c.o -MF CMakeFiles/drpm.dir/drpm_compstrm.c.o.d -o CMakeFiles/drpm.dir/drpm_compstrm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_compstrm.c [ 35%] Building C object src/CMakeFiles/drpm.dir/drpm_decompstrm.c.o [ 35%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o [ 38%] Building C object src/CMakeFiles/drpm.dir/drpm_options.c.o [ 41%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_deltarpm.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c [ 45%] Building C object src/CMakeFiles/drpm.dir/drpm_diff.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_block.c.o -MF CMakeFiles/drpm.dir/drpm_block.c.o.d -o CMakeFiles/drpm.dir/drpm_block.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_block.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_block.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_decompstrm.c.o -MF CMakeFiles/drpm.dir/drpm_decompstrm.c.o.d -o CMakeFiles/drpm.dir/drpm_decompstrm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_options.c.o -MF CMakeFiles/drpm.dir/drpm_options.c.o.d -o CMakeFiles/drpm.dir/drpm_options.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_options.c [ 48%] Building C object src/CMakeFiles/drpm.dir/drpm_make.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_compstrm.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_diff.c.o -MF CMakeFiles/drpm.dir/drpm_diff.c.o.d -o CMakeFiles/drpm.dir/drpm_diff.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_diff.c [ 51%] Building C object src/CMakeFiles/drpm.dir/drpm_deltarpm.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_decompstrm.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_decompstrm.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_decompstrm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_deltarpm.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_deltarpm.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_deltarpm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_deltarpm.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_deltarpm.c.o -MF CMakeFiles/drpm.dir/drpm_deltarpm.c.o.d -o CMakeFiles/drpm.dir/drpm_deltarpm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_deltarpm.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_make.c.o -MF CMakeFiles/drpm.dir/drpm_make.c.o.d -o CMakeFiles/drpm.dir/drpm_make.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c: In function 'drpm_apply': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:638:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 638 | if (MD5_Init(&md5) != 1) { | ^~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c: In function 'drpm_apply': In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:23: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:638:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 638 | if (MD5_Init(&md5) != 1) { | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:23: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:648:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 648 | if (!no_full_md5 && MD5_Update(&md5, delta.tgt_leadsig, delta.tgt_leadsig_len) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:648:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 648 | if (!no_full_md5 && MD5_Update(&md5, delta.tgt_leadsig, delta.tgt_leadsig_len) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_block.c:285:52: warning: argument 2 of type 'unsigned char[8192]' with mismatched bound [-Warray-parameter=] 285 | int blocks_next(struct blocks *blks, unsigned char buffer[BLOCK_SIZE], size_t *buffer_len, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:662:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 662 | if (MD5_Update(&md5, header, header_size) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:662:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 662 | if (MD5_Update(&md5, header, header_size) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_block.c:23: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:142:34: note: previously declared as 'unsigned char *' 142 | int blocks_next(struct blocks *, unsigned char *, size_t *, uint64_t, size_t, | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:733:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 733 | if (MD5_Update(&md5, comp_data, comp_data_len) != 1 || | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:734:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 734 | MD5_Final(md5_digest, &md5) != 1) { | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:733:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 733 | if (MD5_Update(&md5, comp_data, comp_data_len) != 1 || | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm.c:734:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 734 | MD5_Final(md5_digest, &md5) != 1) { | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_block.c:285:52: warning: argument 2 of type 'unsigned char[8192]' with mismatched bound [-Warray-parameter=] 285 | int blocks_next(struct blocks *blks, unsigned char buffer[BLOCK_SIZE], size_t *buffer_len, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_block.c:23: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:142:34: note: previously declared as 'unsigned char *' 142 | int blocks_next(struct blocks *, unsigned char *, size_t *, uint64_t, size_t, | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'expand_sequence': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:168:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | if (MD5_Init(&seq_md5) != 1) { | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:23: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:195:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 195 | if (MD5_Update(&seq_md5, filename, strlen(filename) + 1) != 1 || | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:204:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 204 | if (MD5_Update(&seq_md5, files[i].linkto, strlen(files[i].linkto) + 1) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:215:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | if (MD5_Update(&seq_md5, digest, MD5_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:225:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 225 | if (MD5_Update(&seq_md5, digest, SHA256_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:248:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 248 | if (MD5_Final(seq_md5_digest, &seq_md5) != 1) { | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'expand_sequence': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:168:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | if (MD5_Init(&seq_md5) != 1) { | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:23: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:195:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 195 | if (MD5_Update(&seq_md5, filename, strlen(filename) + 1) != 1 || | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:204:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 204 | if (MD5_Update(&seq_md5, files[i].linkto, strlen(files[i].linkto) + 1) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:215:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | if (MD5_Update(&seq_md5, digest, MD5_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:225:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 225 | if (MD5_Update(&seq_md5, digest, SHA256_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'checksum_init': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:435:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 435 | if (MD5_Init(&chsm->ctx.md5) != 1) | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:439:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 439 | if (SHA256_Init(&chsm->ctx.sha256) != 1) | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'checksum_update': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:458:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 458 | return MD5_Update(&chsm->ctx.md5, buf, len) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:248:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 248 | if (MD5_Final(seq_md5_digest, &seq_md5) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:460:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 460 | return SHA256_Update(&chsm->ctx.sha256, buf, len) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'checksum_final': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:473:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 473 | return MD5_Final(digest, &chsm->ctx.md5) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:475:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | return SHA256_Final(digest, &chsm->ctx.sha256) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'checksum_init': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:435:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 435 | if (MD5_Init(&chsm->ctx.md5) != 1) | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:439:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 439 | if (SHA256_Init(&chsm->ctx.sha256) != 1) | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:34: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'checksum_update': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:458:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 458 | return MD5_Update(&chsm->ctx.md5, buf, len) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:460:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 460 | return SHA256_Update(&chsm->ctx.sha256, buf, len) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'checksum_final': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:473:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 473 | return MD5_Final(digest, &chsm->ctx.md5) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:475:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | return SHA256_Final(digest, &chsm->ctx.sha256) != 1 ? DRPM_ERR_OTHER : DRPM_ERR_OK; | ^~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:481:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 481 | if (strm->md5 != NULL && MD5_Update(strm->md5, buffer, in_len) != 1) | ^~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk': In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:23: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:481:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 481 | if (strm->md5 != NULL && MD5_Update(strm->md5, buffer, in_len) != 1) | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:23: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_bzip2': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:534:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 534 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_bzip2': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:534:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 534 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_gzip': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:588:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 588 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_gzip': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:588:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 588 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_lzma': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:648:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 648 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_lzma': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:648:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 648 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_zstd': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:775:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 775 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c: In function 'readchunk_zstd': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_decompstrm.c:775:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 775 | if (strm->md5 != NULL && MD5_Update(strm->md5, in_buffer, in_len) != 1) | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:197:33: warning: argument 2 of type 'const char[111]' with mismatched bound [-Warray-parameter=] 197 | const char buffer[CPIO_HEADER_SIZE + 1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:23: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:174:44: note: previously declared as 'const char *' 174 | int cpio_header_read(struct cpio_header *, const char *); | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:245:29: warning: argument 2 of type 'char[111]' with mismatched bound [-Warray-parameter=] 245 | char buffer[CPIO_HEADER_SIZE + 1]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:175:52: note: previously declared as 'char *' 175 | void cpio_header_write(const struct cpio_header *, char *); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c: In function 'parse_cpio_from_rpm_filedata': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:332:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | if (MD5_Init(&seq_md5) != 1) | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:486:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 486 | if (MD5_Update(&seq_md5, name, name_len) != 1 || | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:499:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | if (MD5_Update(&seq_md5, file.linkto, cpio_hdr.filesize + 1) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:510:21: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 510 | if (MD5_Update(&seq_md5, digest, MD5_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:520:21: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 520 | if (MD5_Update(&seq_md5, digest, SHA256_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:577:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 577 | if (MD5_Final(seq_md5_digest, &seq_md5) != 1) { | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ [ 54%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_diff.c.o /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:991:30: warning: argument 3 of type 'const char[33]' with mismatched bound [-Warray-parameter=] 991 | const char rpm_md5[MD5_DIGEST_LENGTH * 2 + 1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:90:68: note: previously declared as 'const char *' 90 | static bool is_unpatched(const struct rpm_patches *, const char *, const char *); | ^~~~~~~~~~~~ cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_diff.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_diff.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_diff.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_diff.c [ 58%] Building C object src/CMakeFiles/drpm.dir/drpm_read.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_read.c.o -MF CMakeFiles/drpm.dir/drpm_read.c.o.d -o CMakeFiles/drpm.dir/drpm_read.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_read.c [ 61%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_make.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_make.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_make.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_make.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:197:33: warning: argument 2 of type 'const char[111]' with mismatched bound [-Warray-parameter=] 197 | const char buffer[CPIO_HEADER_SIZE + 1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:23: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:174:44: note: previously declared as 'const char *' 174 | int cpio_header_read(struct cpio_header *, const char *); | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:245:29: warning: argument 2 of type 'char[111]' with mismatched bound [-Warray-parameter=] 245 | char buffer[CPIO_HEADER_SIZE + 1]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:175:52: note: previously declared as 'char *' 175 | void cpio_header_write(const struct cpio_header *, char *); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c: In function 'parse_cpio_from_rpm_filedata': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:332:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | if (MD5_Init(&seq_md5) != 1) | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:486:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 486 | if (MD5_Update(&seq_md5, name, name_len) != 1 || | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:499:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | if (MD5_Update(&seq_md5, file.linkto, cpio_hdr.filesize + 1) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:510:21: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 510 | if (MD5_Update(&seq_md5, digest, MD5_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:520:21: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 520 | if (MD5_Update(&seq_md5, digest, SHA256_DIGEST_LENGTH) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:577:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 577 | if (MD5_Final(seq_md5_digest, &seq_md5) != 1) { | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:991:30: warning: argument 3 of type 'const char[33]' with mismatched bound [-Warray-parameter=] 991 | const char rpm_md5[MD5_DIGEST_LENGTH * 2 + 1]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_make.c:90:68: note: previously declared as 'const char *' 90 | static bool is_unpatched(const struct rpm_patches *, const char *, const char *); | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'check_prelink': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:407:8: warning: 'read_len' may be used uninitialized [-Wmaybe-uninitialized] 407 | if (read_len < 0) { | ^ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:391:13: note: 'read_len' was declared here 391 | ssize_t read_len; | ^~~~~~~~ [ 64%] Building C object src/CMakeFiles/drpm.dir/drpm_rpm.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_rpm.c.o -MF CMakeFiles/drpm.dir/drpm_rpm.c.o.d -o CMakeFiles/drpm.dir/drpm_rpm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c: In function 'check_prelink': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:407:8: warning: 'read_len' may be used uninitialized [-Wmaybe-uninitialized] 407 | if (read_len < 0) { | ^ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_apply.c:391:13: note: 'read_len' was declared here 391 | ssize_t read_len; | ^~~~~~~~ [ 67%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_options.c.o [ 70%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_read.c.o [ 74%] Building C object src/CMakeFiles/drpm.dir/drpm_search.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_options.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_options.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_options.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_options.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_search.c.o -MF CMakeFiles/drpm.dir/drpm_search.c.o.d -o CMakeFiles/drpm.dir/drpm_search.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_search.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_read.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_read.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_read.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_read.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: In function 'rpm_read_archive': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:213:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | if ((seq_md5 != NULL && MD5_Update(seq_md5, buffer, bytes_read) != 1) || | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:22: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:214:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | (full_md5 != NULL && MD5_Update(full_md5, buffer, bytes_read) != 1)) { | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:247:28: warning: argument 5 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 247 | unsigned char seq_md5_digest[MD5_DIGEST_LENGTH], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:209:14: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:248:28: warning: argument 6 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 248 | unsigned char full_md5_digest[MD5_DIGEST_LENGTH]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:209:31: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: In function 'rpm_read': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:304:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | if (MD5_Init(&seq_md5) != 1 || | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:305:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 305 | MD5_Update(&seq_md5, header, header_len) != 1) { | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:315:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 315 | if (MD5_Init(&full_md5) != 1 || | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:316:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | MD5_Update(&full_md5, (*rpmst)->lead, RPMLEAD_SIZE) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:317:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 317 | MD5_Update(&full_md5, signature, signature_len) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:318:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 318 | MD5_Update(&full_md5, header, header_len) != 1) { | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:336:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 336 | if ((seq_md5_digest != NULL && MD5_Final(seq_md5_digest, &seq_md5) != 1) || | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:337:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 337 | (full_md5_digest != NULL && MD5_Final(full_md5_digest, &full_md5) != 1)) { | ^ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:485:92: warning: argument 4 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 485 | int rpm_write(struct rpm *rpmst, const char *filename, bool include_archive, unsigned char digest[MD5_DIGEST_LENGTH], bool full_md5) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:219:49: note: previously declared as 'unsigned char *' 219 | int rpm_write(struct rpm *, const char *, bool, unsigned char *, bool); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: In function 'rpm_write': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:514:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 514 | if (MD5_Init(&md5) != 1 || | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:516:14: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 516 | (MD5_Update(&md5, rpmst->lead, RPMLEAD_SIZE) != 1 || | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:517:15: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | MD5_Update(&md5, signature, signature_len) != 1)) || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:518:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 518 | MD5_Update(&md5, header, header_len) != 1) { | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:530:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | if (digest != NULL && MD5_Update(&md5, rpmst->archive, rpmst->archive_size) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:536:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if (digest != NULL && MD5_Final(digest, &md5) != 1) { | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:945:60: warning: argument 2 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 945 | int rpm_signature_set_md5(struct rpm *rpmst, unsigned char md5[MD5_DIGEST_LENGTH]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:215:41: note: previously declared as 'unsigned char *' 215 | int rpm_signature_set_md5(struct rpm *, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:975:60: warning: argument 2 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 975 | int rpm_signature_get_md5(struct rpm *rpmst, unsigned char md5[MD5_DIGEST_LENGTH], bool *has_md5) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:213:41: note: previously declared as 'unsigned char *' 213 | int rpm_signature_get_md5(struct rpm *, unsigned char *, bool *); | ^~~~~~~~~~~~~~~ [ 77%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_rpm.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_rpm.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_rpm.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_rpm.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c [ 80%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_search.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_search.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_search.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_search.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_search.c [ 83%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_utils.c.o [ 87%] Building C object src/CMakeFiles/drpm.dir/drpm_utils.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_utils.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_utils.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_utils.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_utils.c.o -MF CMakeFiles/drpm.dir/drpm_utils.c.o.d -o CMakeFiles/drpm.dir/drpm_utils.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:37:41: warning: argument 1 of type 'const unsigned char[2]' with mismatched bound [-Warray-parameter=] 37 | uint16_t parse_be16(const unsigned char buffer[2]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:23: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:236:21: note: previously declared as 'const unsigned char *' 236 | uint16_t parse_be16(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:43:41: warning: argument 1 of type 'const unsigned char[4]' with mismatched bound [-Warray-parameter=] 43 | uint32_t parse_be32(const unsigned char buffer[4]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:237:21: note: previously declared as 'const unsigned char *' 237 | uint32_t parse_be32(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:52:41: warning: argument 1 of type 'const unsigned char[8]' with mismatched bound [-Warray-parameter=] 52 | uint64_t parse_be64(const unsigned char buffer[8]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:238:21: note: previously declared as 'const unsigned char *' 238 | uint64_t parse_be64(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:65:45: warning: argument 2 of type 'unsigned char[4]' with mismatched bound [-Warray-parameter=] 65 | void create_be32(uint32_t in, unsigned char out[4]) | ~~~~~~~~~~~~~~^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:232:28: note: previously declared as 'unsigned char *' 232 | void create_be32(uint32_t, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:74:45: warning: argument 2 of type 'unsigned char[8]' with mismatched bound [-Warray-parameter=] 74 | void create_be64(uint64_t in, unsigned char out[8]) | ~~~~~~~~~~~~~~^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:233:28: note: previously declared as 'unsigned char *' 233 | void create_be64(uint64_t, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c: In function 'md5_update_be32': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:92:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | return MD5_Update(md5, be32, 4); | ^~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: In function 'rpm_read_archive': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:37:41: warning: argument 1 of type 'const unsigned char[2]' with mismatched bound [-Warray-parameter=] 37 | uint16_t parse_be16(const unsigned char buffer[2]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:213:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | if ((seq_md5 != NULL && MD5_Update(seq_md5, buffer, bytes_read) != 1) || | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:22: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:23: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:236:21: note: previously declared as 'const unsigned char *' 236 | uint16_t parse_be16(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:214:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | (full_md5 != NULL && MD5_Update(full_md5, buffer, bytes_read) != 1)) { | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:43:41: warning: argument 1 of type 'const unsigned char[4]' with mismatched bound [-Warray-parameter=] 43 | uint32_t parse_be32(const unsigned char buffer[4]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:237:21: note: previously declared as 'const unsigned char *' 237 | uint32_t parse_be32(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:52:41: warning: argument 1 of type 'const unsigned char[8]' with mismatched bound [-Warray-parameter=] 52 | uint64_t parse_be64(const unsigned char buffer[8]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:238:21: note: previously declared as 'const unsigned char *' 238 | uint64_t parse_be64(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:247:28: warning: argument 5 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 247 | unsigned char seq_md5_digest[MD5_DIGEST_LENGTH], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:209:14: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:248:28: warning: argument 6 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 248 | unsigned char full_md5_digest[MD5_DIGEST_LENGTH]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:209:31: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:65:45: warning: argument 2 of type 'unsigned char[4]' with mismatched bound [-Warray-parameter=] 65 | void create_be32(uint32_t in, unsigned char out[4]) | ~~~~~~~~~~~~~~^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:232:28: note: previously declared as 'unsigned char *' 232 | void create_be32(uint32_t, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:74:45: warning: argument 2 of type 'unsigned char[8]' with mismatched bound [-Warray-parameter=] 74 | void create_be64(uint64_t in, unsigned char out[8]) | ~~~~~~~~~~~~~~^~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:233:28: note: previously declared as 'unsigned char *' 233 | void create_be64(uint64_t, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c: In function 'md5_update_be32': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_utils.c:92:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | return MD5_Update(md5, be32, 4); | ^~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: In function 'rpm_read': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:304:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | if (MD5_Init(&seq_md5) != 1 || | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:305:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 305 | MD5_Update(&seq_md5, header, header_len) != 1) { | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:315:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 315 | if (MD5_Init(&full_md5) != 1 || | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:316:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | MD5_Update(&full_md5, (*rpmst)->lead, RPMLEAD_SIZE) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:317:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 317 | MD5_Update(&full_md5, signature, signature_len) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:318:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 318 | MD5_Update(&full_md5, header, header_len) != 1) { | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:336:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 336 | if ((seq_md5_digest != NULL && MD5_Final(seq_md5_digest, &seq_md5) != 1) || | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:337:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 337 | (full_md5_digest != NULL && MD5_Final(full_md5_digest, &full_md5) != 1)) { | ^ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:485:92: warning: argument 4 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 485 | int rpm_write(struct rpm *rpmst, const char *filename, bool include_archive, unsigned char digest[MD5_DIGEST_LENGTH], bool full_md5) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ [ 90%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_write.c.o /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:219:49: note: previously declared as 'unsigned char *' 219 | int rpm_write(struct rpm *, const char *, bool, unsigned char *, bool); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: In function 'rpm_write': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:514:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 514 | if (MD5_Init(&md5) != 1 || | ^~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:516:14: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 516 | (MD5_Update(&md5, rpmst->lead, RPMLEAD_SIZE) != 1 || | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:517:15: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | MD5_Update(&md5, signature, signature_len) != 1)) || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:518:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 518 | MD5_Update(&md5, header, header_len) != 1) { | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:530:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | if (digest != NULL && MD5_Update(&md5, rpmst->archive, rpmst->archive_size) != 1) { | ^~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:536:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if (digest != NULL && MD5_Final(digest, &md5) != 1) { | ^~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_write.c.o -MF CMakeFiles/drpm_api_tests.dir/__/src/drpm_write.c.o.d -o CMakeFiles/drpm_api_tests.dir/__/src/drpm_write.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c: At top level: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:945:60: warning: argument 2 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 945 | int rpm_signature_set_md5(struct rpm *rpmst, unsigned char md5[MD5_DIGEST_LENGTH]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:215:41: note: previously declared as 'unsigned char *' 215 | int rpm_signature_set_md5(struct rpm *, unsigned char *); | ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_rpm.c:975:60: warning: argument 2 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] 975 | int rpm_signature_get_md5(struct rpm *rpmst, unsigned char md5[MD5_DIGEST_LENGTH], bool *has_md5) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:213:41: note: previously declared as 'unsigned char *' 213 | int rpm_signature_get_md5(struct rpm *, unsigned char *, bool *); | ^~~~~~~~~~~~~~~ [ 93%] Building C object src/CMakeFiles/drpm.dir/drpm_write.c.o cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -std=c99 -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build -MD -MT src/CMakeFiles/drpm.dir/drpm_write.c.o -MF CMakeFiles/drpm.dir/drpm_write.c.o.d -o CMakeFiles/drpm.dir/drpm_write.c.o -c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c: In function 'write_deltarpm': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:214:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | if (MD5_Init(&md5) != 1 || | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:22: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:215:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | MD5_Update(&md5, header, header_size) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:216:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | MD5_Update(&md5, strm_data, strm_data_len) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:217:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | MD5_Final(md5_digest, &md5) != 1) | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c: In function 'write_deltarpm': /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:214:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | if (MD5_Init(&md5) != 1 || | ^~ In file included from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_private.h:33, from /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:22: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:215:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | MD5_Update(&md5, header, header_size) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:216:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | MD5_Update(&md5, strm_data, strm_data_len) != 1 || | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/src/drpm_write.c:217:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | MD5_Final(md5_digest, &md5) != 1) | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ [ 96%] Linking C shared library libdrpm.so cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/drpm.dir/link.txt --verbose=1 [100%] Linking C executable drpm_api_tests cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/drpm_api_tests.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,--dependency-file=CMakeFiles/drpm.dir/link.d -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libdrpm.so.0 -o libdrpm.so.0.5.2 CMakeFiles/drpm.dir/drpm.c.o CMakeFiles/drpm.dir/drpm_apply.c.o CMakeFiles/drpm.dir/drpm_block.c.o CMakeFiles/drpm.dir/drpm_compstrm.c.o CMakeFiles/drpm.dir/drpm_decompstrm.c.o CMakeFiles/drpm.dir/drpm_deltarpm.c.o CMakeFiles/drpm.dir/drpm_diff.c.o CMakeFiles/drpm.dir/drpm_make.c.o CMakeFiles/drpm.dir/drpm_options.c.o CMakeFiles/drpm.dir/drpm_read.c.o CMakeFiles/drpm.dir/drpm_rpm.c.o CMakeFiles/drpm.dir/drpm_search.c.o CMakeFiles/drpm.dir/drpm_utils.c.o CMakeFiles/drpm.dir/drpm_write.c.o -lz -lbz2 -llzma -lrpm -lrpmio -lpopt -lcrypto -lzstd cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/src && /usr/bin/cmake -E cmake_symlink_library libdrpm.so.0.5.2 libdrpm.so.0 libdrpm.so gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' /usr/bin/gcc -fvisibility=hidden -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -Wl,--dependency-file=CMakeFiles/drpm_api_tests.dir/link.d CMakeFiles/drpm_api_tests.dir/drpm_api_tests.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_decompstrm.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_deltarpm.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_diff.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_make.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_options.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_read.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_rpm.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_search.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_utils.c.o CMakeFiles/drpm_api_tests.dir/__/src/drpm_write.c.o -o drpm_api_tests -lz -lbz2 -llzma -lrpm -lrpmio -lpopt -lcrypto -lzstd -lcmocka gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' [100%] Built target drpm [100%] Built target drpm_api_tests gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build' /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N8iXcD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + mkdir /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd drpm-0.5.2 + '[' 1 -eq 1 ']' + DESTDIR=/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT + /usr/bin/cmake --install build -- Install configuration: "RelWithDebInfo" -- Installing: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/lib64/pkgconfig/drpm.pc -- Installing: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/lib64/libdrpm.so.0.5.2 -- Installing: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/lib64/libdrpm.so.0 -- Installing: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/lib64/libdrpm.so -- Installing: /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/include/drpm.h + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.5.2-1.mga10 --unique-debug-suffix -0.5.2-1.mga10.x86_64 --unique-debug-src-base drpm-0.5.2-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/drpm-0.5.2-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N7drW8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd drpm-0.5.2 + '[' 1 -eq 1 ']' + cd build + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j16 Test project /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/build Start 1: drpm_api_tests Start 3: drpm_memcheck 1/3 Test #1: drpm_api_tests ................... Passed 0.15 sec Start 2: drpm_cmp_files 2/3 Test #2: drpm_cmp_files ................... Passed 0.04 sec 3/3 Test #3: drpm_memcheck .................... Passed 4.27 sec 100% tests passed, 0 tests failed out of 3 Total Test time (real) = 4.27 sec + cd .. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lib64drpm0-0.5.2-1.mga10.x86_64 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GtXRLc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + cd drpm-0.5.2 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/share/licenses/lib64drpm0 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/share/licenses/lib64drpm0 + cp -pr /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/drpm-0.5.2/COPYING /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT/usr/share/licenses/lib64drpm0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64drpm0 = 0.5.2-1.mga10 lib64drpm0(x86-64) = 0.5.2-1.mga10 libdrpm.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) librpm.so.10()(64bit) librpmio.so.10()(64bit) libz.so.1()(64bit) libzstd.so.1()(64bit) Processing files: lib64drpm-devel-0.5.2-1.mga10.x86_64 Provides: devel(libdrpm(64bit)) drpm-devel = 0.5.2-1.mga10 drpm-devel(x86-64) = 0.5.2-1.mga10 lib64drpm-devel = 0.5.2-1.mga10 lib64drpm-devel(x86-64) = 0.5.2-1.mga10 pkgconfig(drpm) = 0.5.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libbz2(64bit)) devel(libcrypto(64bit)) devel(liblzma(64bit)) devel(librpm(64bit)) devel(librpmio(64bit)) devel(libz(64bit)) devel(libzstd(64bit)) pkgconfig Processing files: drpm-debugsource-0.5.2-1.mga10.x86_64 Provides: drpm-debugsource = 0.5.2-1.mga10 drpm-debugsource(x86-64) = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64drpm0-debuginfo-0.5.2-1.mga10.x86_64 Provides: debuginfo(build-id) = 1d46dfe7a33ef72219137343ef75d810649683c9 lib64drpm0-debuginfo = 0.5.2-1.mga10 lib64drpm0-debuginfo(x86-64) = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: drpm-debugsource(x86-64) = 0.5.2-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64drpm-devel-0.5.2-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64drpm0-0.5.2-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64drpm0-debuginfo-0.5.2-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/drpm-debugsource-0.5.2-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xbh50u + umask 022 + cd /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + test -d /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/drpm-0.5.2-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!