Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/drpm.spec'], chrootPath='/var/lib/mock/f37-build-651091-72755/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/drpm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/drpm-0.5.1-2.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/drpm.spec'], chrootPath='/var/lib/mock/f37-build-651091-72755/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/drpm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uTBZkS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf drpm-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/drpm-0.5.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd drpm-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/drpm-0.3.0-workaround-ppc64le-gcc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IzNnKD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DWITH_ZSTD:BOOL=ON -DHAVE_LZLIB_DEVEL:BOOL=OFF CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.12") -- 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.2.5") -- Checking for module 'rpm' -- Found rpm, version 4.18.0 -- Checking for module 'libcrypto' -- Found libcrypto, version 3.0.5 -- Checking for module 'libzstd' -- Found libzstd, version 1.5.2 -- Performing Test DRPM_HAVE_VISIBILITY -- Performing Test DRPM_HAVE_VISIBILITY - Success -- Found Doxygen: /usr/bin/doxygen (found version "1.9.5") found components: doxygen dot -- Checking for module 'cmocka' -- Found cmocka, version 1.1.5 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/drpm-0.5.1 -B/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/CMakeFiles /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/drpm-0.5.1 /builddir/build/BUILD/drpm-0.5.1/src /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src/CMakeFiles/drpm.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/drpm-0.5.1 /builddir/build/BUILD/drpm-0.5.1/test /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test/CMakeFiles/drpm_api_tests.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' [ 12%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm.c.o [ 12%] Building C object src/CMakeFiles/drpm.dir/drpm.c.o [ 12%] Building C object test/CMakeFiles/drpm_api_tests.dir/drpm_api_tests.c.o [ 12%] Building C object src/CMakeFiles/drpm.dir/drpm_apply.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm.c cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/test/drpm_api_tests.c cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm.c /builddir/build/BUILD/drpm-0.5.1/src/drpm.c: In function 'drpm_apply': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm.c: In function 'drpm_apply': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'expand_sequence': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'checksum_init': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'checksum_update': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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, | ^~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'checksum_final': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'check_prelink': /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c:407:8: warning: 'read_len' may be used uninitialized [-Wmaybe-uninitialized] 407 | if (read_len < 0) { | ^ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c:391:13: note: 'read_len' was declared here 391 | ssize_t read_len; | ^~~~~~~~ [ 16%] Building C object src/CMakeFiles/drpm.dir/drpm_block.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_block.c [ 19%] Building C object src/CMakeFiles/drpm.dir/drpm_compstrm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_compstrm.c /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_block.c:23: /builddir/build/BUILD/drpm-0.5.1/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, | ^~~~~~~~~~~~~~~ [ 22%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c [ 25%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_block.c /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'expand_sequence': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'checksum_init': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'checksum_update': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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, | ^~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'checksum_final': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_block.c:23: /builddir/build/BUILD/drpm-0.5.1/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, | ^~~~~~~~~~~~~~~ [ 29%] Building C object src/CMakeFiles/drpm.dir/drpm_decompstrm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_bzip2': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_gzip': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_lzma': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_zstd': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c: In function 'check_prelink': /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c:407:8: warning: 'read_len' may be used uninitialized [-Wmaybe-uninitialized] 407 | if (read_len < 0) { | ^ /builddir/build/BUILD/drpm-0.5.1/src/drpm_apply.c:391:13: note: 'read_len' was declared here 391 | ssize_t read_len; | ^~~~~~~~ [ 32%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_compstrm.c [ 35%] Building C object src/CMakeFiles/drpm.dir/drpm_deltarpm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_deltarpm.c [ 38%] Building C object src/CMakeFiles/drpm.dir/drpm_diff.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_diff.c [ 41%] Building C object src/CMakeFiles/drpm.dir/drpm_make.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c:23: /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:174:44: note: previously declared as 'const char *' 174 | int cpio_header_read(struct cpio_header *, const char *); | ^~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:175:52: note: previously declared as 'char *' 175 | void cpio_header_write(const struct cpio_header *, char *); | ^~~~~~ [ 45%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_decompstrm.c.o /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c: In function 'parse_cpio_from_rpm_filedata': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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 *); | ^~~~~~~~~~~~ [ 48%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_deltarpm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_deltarpm.c /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_bzip2': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_gzip': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_lzma': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_decompstrm.c: In function 'readchunk_zstd': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ [ 51%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_diff.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_diff.c [ 54%] Building C object src/CMakeFiles/drpm.dir/drpm_options.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_options.c [ 58%] Building C object src/CMakeFiles/drpm.dir/drpm_read.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_read.c [ 61%] Building C object src/CMakeFiles/drpm.dir/drpm_rpm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_header_unload_region': /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c:159:9: warning: 'headerCopyLoad' is deprecated [-Wdeprecated-declarations] 159 | hdr = headerCopyLoad(td->data); | ^~~ In file included from /usr/include/rpm/rpmlib.h:12, from /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c:28: /usr/include/rpm/header.h:114:8: note: declared here 114 | Header headerCopyLoad(const void * uh); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_read_archive': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ [ 64%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_make.c.o /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: At top level: cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c /builddir/build/BUILD/drpm-0.5.1/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], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:209:14: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:209:31: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_read': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:219:49: note: previously declared as 'unsigned char *' 219 | int rpm_write(struct rpm *, const char *, bool, unsigned char *, bool); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_write': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:215:41: note: previously declared as 'unsigned char *' 215 | int rpm_signature_set_md5(struct rpm *, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:213:41: note: previously declared as 'unsigned char *' 213 | int rpm_signature_get_md5(struct rpm *, unsigned char *, bool *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c:23: /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:174:44: note: previously declared as 'const char *' 174 | int cpio_header_read(struct cpio_header *, const char *); | ^~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:175:52: note: previously declared as 'char *' 175 | void cpio_header_write(const struct cpio_header *, char *); | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c: In function 'parse_cpio_from_rpm_filedata': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_make.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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 *); | ^~~~~~~~~~~~ [ 67%] Building C object src/CMakeFiles/drpm.dir/drpm_search.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_search.c [ 70%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_options.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_options.c [ 74%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_read.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_read.c [ 77%] Building C object src/CMakeFiles/drpm.dir/drpm_utils.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_utils.c /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_utils.c:23: /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:236:21: note: previously declared as 'const unsigned char *' 236 | uint16_t parse_be16(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:237:21: note: previously declared as 'const unsigned char *' 237 | uint32_t parse_be32(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:238:21: note: previously declared as 'const unsigned char *' 238 | uint64_t parse_be64(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:232:28: note: previously declared as 'unsigned char *' 232 | void create_be32(uint32_t, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:233:28: note: previously declared as 'unsigned char *' 233 | void create_be64(uint64_t, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_utils.c: In function 'md5_update_be32': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ [ 80%] Building C object src/CMakeFiles/drpm.dir/drpm_write.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/gcc -Ddrpm_EXPORTS -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c: In function 'write_deltarpm': /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:93:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 93 | src_nevr_len = strlen(delta->src_nevr) + 1; | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:29:1: note: include '' or provide a declaration of 'strlen' 28 | #include +++ |+#include 29 | /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:93:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 93 | src_nevr_len = strlen(delta->src_nevr) + 1; | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:93:20: note: include '' or provide a declaration of 'strlen' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:213:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | if (MD5_Init(&md5) != 1 || | ^~ In file included from /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:214:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | 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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:215:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | 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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:216:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | 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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c: In function 'compstrm_wrapper_write': /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 358 | memcpy(csw->uncomp_data + csw->uncomp_len - csw->uncomp_left, buffer, write_len); | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: note: include '' or provide a declaration of 'memcpy' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: note: include '' or provide a declaration of 'memcpy' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c: In function 'compstrm_wrapper_finish': /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 383 | memmove(data_tmp + csw->uncomp_len, data_tmp, *data_len); | ^~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: note: include '' or provide a declaration of 'memmove' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: note: include '' or provide a declaration of 'memmove' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:384:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 384 | memcpy(data_tmp, csw->uncomp_data, csw->uncomp_len); | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:384:5: note: include '' or provide a declaration of 'memcpy' [ 83%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_rpm.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c [ 87%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_search.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_search.c [ 90%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_utils.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_utils.c /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_utils.c:23: /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:236:21: note: previously declared as 'const unsigned char *' 236 | uint16_t parse_be16(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:237:21: note: previously declared as 'const unsigned char *' 237 | uint32_t parse_be32(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:238:21: note: previously declared as 'const unsigned char *' 238 | uint64_t parse_be64(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:232:28: note: previously declared as 'unsigned char *' 232 | void create_be32(uint32_t, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:233:28: note: previously declared as 'unsigned char *' 233 | void create_be64(uint64_t, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_utils.c: In function 'md5_update_be32': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_header_unload_region': /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c:159:9: warning: 'headerCopyLoad' is deprecated [-Wdeprecated-declarations] 159 | hdr = headerCopyLoad(td->data); | ^~~ In file included from /usr/include/rpm/rpmlib.h:12, from /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c:28: /usr/include/rpm/header.h:114:8: note: declared here 114 | Header headerCopyLoad(const void * uh); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_read_archive': /builddir/build/BUILD/drpm-0.5.1/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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:209:14: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:209:31: note: previously declared as 'unsigned char *' 209 | unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_read': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:219:49: note: previously declared as 'unsigned char *' 219 | int rpm_write(struct rpm *, const char *, bool, unsigned char *, bool); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: In function 'rpm_write': /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_rpm.c: At top level: /builddir/build/BUILD/drpm-0.5.1/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]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:215:41: note: previously declared as 'unsigned char *' 215 | int rpm_signature_set_md5(struct rpm *, unsigned char *); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/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) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:213:41: note: previously declared as 'unsigned char *' 213 | int rpm_signature_get_md5(struct rpm *, unsigned char *, bool *); | ^~~~~~~~~~~~~~~ [ 93%] Linking C shared library libdrpm.so cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/drpm.dir/link.txt --verbose=1 [ 96%] Building C object test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_write.c.o cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=c99 -fno-builtin-strcmp -pedantic -Wall -Wextra -DHAVE_CONFIG_H -I/builddir/build/BUILD/drpm-0.5.1/redhat-linux-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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c /usr/bin/gcc -fPIC -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libdrpm.so.0 -o libdrpm.so.0.5.1 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 /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c: In function 'write_deltarpm': /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:93:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 93 | src_nevr_len = strlen(delta->src_nevr) + 1; | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:29:1: note: include '' or provide a declaration of 'strlen' 28 | #include +++ |+#include 29 | /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:93:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 93 | src_nevr_len = strlen(delta->src_nevr) + 1; | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:93:20: note: include '' or provide a declaration of 'strlen' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:213:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | if (MD5_Init(&md5) != 1 || | ^~ In file included from /builddir/build/BUILD/drpm-0.5.1/src/drpm_private.h:33, from /builddir/build/BUILD/drpm-0.5.1/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); | ^~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:214:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | 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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:215:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | 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); | ^~~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:216:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | 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); | ^~~~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c: In function 'compstrm_wrapper_write': /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 358 | memcpy(csw->uncomp_data + csw->uncomp_len - csw->uncomp_left, buffer, write_len); | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: note: include '' or provide a declaration of 'memcpy' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:358:9: note: include '' or provide a declaration of 'memcpy' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c: In function 'compstrm_wrapper_finish': /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 383 | memmove(data_tmp + csw->uncomp_len, data_tmp, *data_len); | ^~~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: note: include '' or provide a declaration of 'memmove' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:383:5: note: include '' or provide a declaration of 'memmove' /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:384:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 384 | memcpy(data_tmp, csw->uncomp_data, csw->uncomp_len); | ^~~~~~ /builddir/build/BUILD/drpm-0.5.1/src/drpm_write.c:384:5: note: include '' or provide a declaration of 'memcpy' [100%] Linking C executable drpm_api_tests cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/drpm_api_tests.dir/link.txt --verbose=1 /usr/bin/gcc -fvisibility=hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic 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 cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library libdrpm.so.0.5.1 libdrpm.so.0 libdrpm.so gmake[2]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' [100%] Built target drpm gmake[2]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' [100%] Built target drpm_api_tests gmake[1]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/CMakeFiles 0 + /usr/bin/cmake --build redhat-linux-build -j4 --verbose --target doc /usr/bin/cmake -S/builddir/build/BUILD/drpm-0.5.1 -B/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/gmake -f CMakeFiles/Makefile2 doc gmake[1]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' /usr/bin/cmake -S/builddir/build/BUILD/drpm-0.5.1 -B/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/CMakeFiles 1 /usr/bin/gmake -f CMakeFiles/Makefile2 doc/CMakeFiles/doc.dir/all gmake[2]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' /usr/bin/gmake -f doc/CMakeFiles/doc.dir/build.make doc/CMakeFiles/doc.dir/depend gmake[3]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/drpm-0.5.1 /builddir/build/BUILD/drpm-0.5.1/doc /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/CMakeFiles/doc.dir/DependInfo.cmake --color= gmake[3]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' /usr/bin/gmake -f doc/CMakeFiles/doc.dir/build.make doc/CMakeFiles/doc.dir/build gmake[3]: Entering directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' [100%] Generating API documentation with Doxygen cd /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc && /usr/bin/doxygen /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile warning: Tag 'TCL_SUBST' at line 31 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 144 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'FORMULA_TRANSPARENT' at line 193 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'LATEX_SOURCE_CODE' at line 225 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 296 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 302 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 303 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTNAME' at line 308 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTSIZE' at line 309 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_TRANSPARENT' at line 331 of file '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/doc/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" /builddir/build/BUILD/drpm-0.5.1/src/drpm.h:41: warning: Member DRPM_VISIBLE (macro definition) of file drpm.h is not documented. Doxygen version used: 1.9.5 Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/drpm-0.5.1/src/drpm.h... Parsing file /builddir/build/BUILD/drpm-0.5.1/src/drpm.h... Building macro definition list... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Building concept list... Computing nesting relations for classes... Associating documentation with classes... Associating documentation with concepts... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Setting anonymous enum type... Computing dependencies between directories... Generating citations page... Counting members... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Correcting members for VHDL... Computing tooltip texts... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Generating code for file drpm.h... Generating file documentation... Generating docs for file drpm.h... Generating page documentation... Generating group documentation... Generating class documentation... Generating concept documentation... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating concept index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running plantuml with JAVA... type lookup cache used 40/65536 hits=340 misses=40 symbol lookup cache used 113/65536 hits=334 misses=113 finished... gmake[3]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' [100%] Built target doc gmake[2]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build/CMakeFiles 0 gmake[1]: Leaving directory '/builddir/build/BUILD/drpm-0.5.1/redhat-linux-build' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ycMpH7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.1 + DESTDIR=/builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/lib64/pkgconfig/drpm.pc -- Installing: /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/lib64/libdrpm.so.0.5.1 -- Installing: /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/lib64/libdrpm.so.0 -- Installing: /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/lib64/libdrpm.so -- Installing: /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/include/drpm.h + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.5.1-2.fc37 --unique-debug-suffix -0.5.1-2.fc37.riscv64 --unique-debug-src-base drpm-0.5.1-2.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/drpm-0.5.1 extracting debug info from /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/lib64/libdrpm.so.0.5.1 original debug info size: 1068kB, size after compression: 1052kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 613 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sfQB1M + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.1 + cd redhat-linux-build + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j4 Test project /builddir/build/BUILD/drpm-0.5.1/redhat-linux-build Start 1: drpm_api_tests 1/2 Test #1: drpm_api_tests ................... Passed 0.96 sec Start 2: drpm_cmp_files 2/2 Test #2: drpm_cmp_files ................... Passed 0.17 sec 100% tests passed, 0 tests failed out of 2 Total Test time (real) = 1.14 sec + cd - /builddir/build/BUILD/drpm-0.5.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: drpm-0.5.1-2.fc37.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HnmjRf + umask 022 + cd /builddir/build/BUILD + cd drpm-0.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/licenses/drpm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/licenses/drpm + cp -pr COPYING /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/licenses/drpm + cp -pr LICENSE.BSD /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/licenses/drpm + RPM_EC=0 ++ jobs -p + exit 0 Provides: drpm = 0.5.1-2.fc37 drpm(riscv-64) = 0.5.1-2.fc37 libdrpm.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(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.9()(64bit) librpmio.so.9()(64bit) libz.so.1()(64bit) libzstd.so.1()(64bit) rtld(GNU_HASH) Processing files: drpm-devel-0.5.1-2.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BbEQJG + umask 022 + cd /builddir/build/BUILD + cd drpm-0.5.1 + DOCDIR=/builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/doc/drpm-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/doc/drpm-devel + cp -pr redhat-linux-build/doc/html/ /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64/usr/share/doc/drpm-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: drpm-devel = 0.5.1-2.fc37 drpm-devel(riscv-64) = 0.5.1-2.fc37 pkgconfig(drpm) = 0.5.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdrpm.so.0()(64bit) Processing files: drpm-debugsource-0.5.1-2.fc37.riscv64 Provides: drpm-debugsource = 0.5.1-2.fc37 drpm-debugsource(riscv-64) = 0.5.1-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: drpm-debuginfo-0.5.1-2.fc37.riscv64 Provides: debuginfo(build-id) = 9af65ed9cdfda08bcdbcd5a9257f16cd9962e51a drpm-debuginfo = 0.5.1-2.fc37 drpm-debuginfo(riscv-64) = 0.5.1-2.fc37 libdrpm.so.0.5.1-0.5.1-2.fc37.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: drpm-debugsource(riscv-64) = 0.5.1-2.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 Wrote: /builddir/build/RPMS/drpm-0.5.1-2.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/drpm-debuginfo-0.5.1-2.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/drpm-debugsource-0.5.1-2.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/drpm-devel-0.5.1-2.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4QuhAa + umask 022 + cd /builddir/build/BUILD + cd drpm-0.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/drpm-0.5.1-2.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.JGXHCG + umask 022 + cd /builddir/build/BUILD + rm -rf drpm-0.5.1 drpm-0.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0