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/liblrdf.spec'], chrootPath='/var/lib/mock/f40-build-785961-134129/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/liblrdf.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=1706140800 Wrote: /builddir/build/SRPMS/liblrdf-0.5.0-29.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liblrdf.spec'], chrootPath='/var/lib/mock/f40-build-785961-134129/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/liblrdf.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=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C70aT9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf liblrdf-0.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/liblrdf-0.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liblrdf-0.5.0 + rm -rf /builddir/build/BUILD/liblrdf-0.5.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/liblrdf-0.5.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/liblrdf-README.fedora README.fedora + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p7Ci5r + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 liblrdf-0.5.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for MD5 in -lcrypto... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for RAPTOR... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for getcwd... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes configure: creating ./config.status config.status: creating lrdf.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u6snIA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 liblrdf-0.5.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/liblrdf-0.5.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/raptor2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o lrdf.lo lrdf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/raptor2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c lrdf.c -fPIC -DPIC -o .libs/lrdf.o lrdf.c: In function 'lrdf_gen_hash': lrdf.c:64:5: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 64 | MD5((unsigned char *)str, strlen(str), (unsigned char *)data); | ^~~ In file included from lrdf.c:10: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ lrdf.c: In function 'lrdf_remove_triple_hash': lrdf.c:355:64: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'lrdf_hash' {aka 'long int'} [-Wformat=] 355 | "lrdf: tried to remove non-existant triple hash %llx\n", hash); | ~~~^ ~~~~ | | | | | lrdf_hash {aka long int} | long long unsigned int | %lx lrdf.c: In function 'lrdf_rebuild_taxonomic_closure': lrdf.c:457:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 457 | hit->str = (char *) class_count++; | ^ lrdf.c:464:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 464 | int c = (int) lrdf_find_string_hash(tmp, it->shash); | ^ lrdf.c:466:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 466 | int r = (int) lrdf_find_string_hash(tmp, it->ohash); | ^ lrdf.c: In function 'lrdf_add_preset': lrdf.c:1312:36: warning: '%ld' directive output may be truncated writing between 1 and 20 bytes into a region of size between 0 and 63 [-Wformat-truncation=] 1312 | snprintf(port_uri, 64, "%s.%ld", plugin_uri, vals->items[i].pid); | ^~~ lrdf.c:1312:32: note: using the range [-9223372036854775808, 9223372036854775807] for directive argument 1312 | snprintf(port_uri, 64, "%s.%ld", plugin_uri, vals->items[i].pid); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from lrdf.c:1: In function 'snprintf', inlined from 'lrdf_add_preset' at lrdf.c:1312:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 85 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/raptor2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o lrdf_multi.lo lrdf_multi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/raptor2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c lrdf_multi.c -fPIC -DPIC -o .libs/lrdf_multi.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -g -I.. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/include/raptor2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -version-info 2:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -o liblrdf.la -rpath /usr/lib64 lrdf.lo lrdf_multi.lo -lraptor2 -lcrypto -lcrypto -lraptor2 libtool: link: gcc -shared -fPIC -DPIC .libs/lrdf.o .libs/lrdf_multi.o -lcrypto -lraptor2 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,liblrdf.so.2 -o .libs/liblrdf.so.2.0.0 libtool: link: (cd ".libs" && rm -f "liblrdf.so.2" && ln -s "liblrdf.so.2.0.0" "liblrdf.so.2") libtool: link: (cd ".libs" && rm -f "liblrdf.so" && ln -s "liblrdf.so.2.0.0" "liblrdf.so") libtool: link: ( cd ".libs" && rm -f "liblrdf.la" && ln -s "../liblrdf.la" "liblrdf.la" ) make[2]: Entering directory '/builddir/build/BUILD/liblrdf-0.5.0/src' test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -p liblrdf.la '/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/liblrdf.so.2.0.0 /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64/liblrdf.so.2.0.0 libtool: install: (cd /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64 && { ln -s -f liblrdf.so.2.0.0 liblrdf.so.2 || { rm -f liblrdf.so.2 && ln -s liblrdf.so.2.0.0 liblrdf.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64 && { ln -s -f liblrdf.so.2.0.0 liblrdf.so || { rm -f liblrdf.so && ln -s liblrdf.so.2.0.0 liblrdf.so; }; }) libtool: install: /usr/bin/install -p .libs/liblrdf.lai /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64/liblrdf.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/liblrdf-0.5.0/src' make[1]: Leaving directory '/builddir/build/BUILD/liblrdf-0.5.0/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/liblrdf-0.5.0/examples' make[2]: Entering directory '/builddir/build/BUILD/liblrdf-0.5.0/examples' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/ladspa/rdf" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/ladspa/rdf" /usr/bin/install -p -m 644 ladspa.rdfs '/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/ladspa/rdf' make[2]: Leaving directory '/builddir/build/BUILD/liblrdf-0.5.0/examples' make[1]: Leaving directory '/builddir/build/BUILD/liblrdf-0.5.0/examples' make[1]: Entering directory '/builddir/build/BUILD/liblrdf-0.5.0' make[2]: Entering directory '/builddir/build/BUILD/liblrdf-0.5.0' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/include" /usr/bin/install -p -m 644 lrdf.h lrdf_types.h '/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/include' test -z "/usr/lib64/pkgconfig" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64/pkgconfig" /usr/bin/install -p -m 644 lrdf.pc '/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/liblrdf-0.5.0' make[1]: Leaving directory '/builddir/build/BUILD/liblrdf-0.5.0' + rm -f /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/lib64/liblrdf.la + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.5.0-29.fc40 --unique-debug-suffix -0.5.0-29.fc40.riscv64 --unique-debug-src-base liblrdf-0.5.0-29.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/liblrdf-0.5.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/liblrdf-0.5.0-29.fc40.riscv64 85 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: liblrdf-0.5.0-29.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3SHREi + umask 022 + cd /builddir/build/BUILD + cd liblrdf-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf + cp -pr /builddir/build/BUILD/liblrdf-0.5.0/AUTHORS /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf + cp -pr /builddir/build/BUILD/liblrdf-0.5.0/COPYING /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf + cp -pr /builddir/build/BUILD/liblrdf-0.5.0/NEWS /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf + cp -pr /builddir/build/BUILD/liblrdf-0.5.0/README /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf + RPM_EC=0 ++ jobs -p + exit 0 Provides: liblrdf = 0.5.0-29.fc40 liblrdf(riscv-64) = 0.5.0-29.fc40 liblrdf.so.2()(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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libraptor2.so.0()(64bit) rtld(GNU_HASH) Processing files: liblrdf-devel-0.5.0-29.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WkMVUI + umask 022 + cd /builddir/build/BUILD + cd liblrdf-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf-devel + cp -pr /builddir/build/BUILD/liblrdf-0.5.0/ChangeLog /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf-devel + cp -pr /builddir/build/BUILD/liblrdf-0.5.0/README.fedora /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64/usr/share/doc/liblrdf-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: liblrdf-devel = 0.5.0-29.fc40 liblrdf-devel(riscv-64) = 0.5.0-29.fc40 pkgconfig(lrdf) = 0.5.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config liblrdf.so.2()(64bit) Processing files: liblrdf-debugsource-0.5.0-29.fc40.riscv64 Provides: liblrdf-debugsource = 0.5.0-29.fc40 liblrdf-debugsource(riscv-64) = 0.5.0-29.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: liblrdf-debuginfo-0.5.0-29.fc40.riscv64 Provides: debuginfo(build-id) = 30c27d8ef2a16bb1560d9e2c59a1d6e4c2b0c3e5 liblrdf-debuginfo = 0.5.0-29.fc40 liblrdf-debuginfo(riscv-64) = 0.5.0-29.fc40 liblrdf.so.2.0.0-0.5.0-29.fc40.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: liblrdf-debugsource(riscv-64) = 0.5.0-29.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 Wrote: /builddir/build/RPMS/liblrdf-devel-0.5.0-29.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/liblrdf-0.5.0-29.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/liblrdf-debugsource-0.5.0-29.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/liblrdf-debuginfo-0.5.0-29.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tvbrA8 + umask 022 + cd /builddir/build/BUILD + cd liblrdf-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/liblrdf-0.5.0-29.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.6UZBWk + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/liblrdf-0.5.0-SPECPARTS + rm -rf liblrdf-0.5.0 liblrdf-0.5.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0