Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/detox.spec'], chrootPath='/var/lib/mock/f41-build-828214-155551/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a2y0g5oh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a2y0g5oh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8263ee60c9a24be78005c8a79d9e07cd', '-D', '/var/lib/mock/f41-build-828214-155551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a2y0g5oh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/detox.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/detox-1.4.5-8.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/detox.spec'], chrootPath='/var/lib/mock/f41-build-828214-155551/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a2y0g5oh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a2y0g5oh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'affd1c4efddf497b894d1cb6df884164', '-D', '/var/lib/mock/f41-build-828214-155551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a2y0g5oh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/detox.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jR7Gn0 + umask 022 + cd /builddir/build/BUILD/detox-1.4.5-build + test -d /builddir/build/BUILD/detox-1.4.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/detox-1.4.5-build + /usr/bin/rm -rf /builddir/build/BUILD/detox-1.4.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/detox-1.4.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/detox-1.4.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nqYWBL + umask 022 + cd /builddir/build/BUILD/detox-1.4.5-build + cd /builddir/build/BUILD/detox-1.4.5-build + rm -rf detox-1.4.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/detox-1.4.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd detox-1.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Yy1kNy + umask 022 + cd /builddir/build/BUILD/detox-1.4.5-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + 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 detox-1.4.5 + autoreconf --install + 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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + 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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking whether yytext is a pointer... yes checking for bison... no checking for byacc... no checking for getopt_long... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for struct stat.st_blocks... yes checking for gcc option to enable large file support... none needed checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands + /usr/bin/make -O -j64 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o config_file_spoof.o config_file_spoof.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o config_file_dump.o config_file_dump.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o table.o table.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o parse_table.o parse_table.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o parse_options.o parse_options.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o detox.o detox.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' detox.c: In function ‘main’: detox.c:316:64: warning: pointer targets in passing argument 1 of ‘parse_file’ differ in signedness [-Wpointer-sign] 316 | file_work = parse_file(*file_walk, main_options); | ^~~~~~~~~~ | | | char * In file included from detox.c:23: file.h:15:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 15 | extern unsigned char *parse_file(unsigned char *filename, struct detox_options *options); | ~~~~~~~~~~~~~~~^~~~~~~~ detox.c:316:51: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 316 | file_work = parse_file(*file_walk, main_options); | ^ detox.c:317:51: warning: pointer targets in passing argument 1 of ‘parse_dir’ differ in signedness [-Wpointer-sign] 317 | parse_dir(file_work, main_options); | ^~~~~~~~~ | | | char * file.h:17:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 17 | extern void parse_dir(unsigned char *indir, struct detox_options *options); | ~~~~~~~~~~~~~~~^~~~~ detox.c:321:52: warning: pointer targets in passing argument 1 of ‘parse_file’ differ in signedness [-Wpointer-sign] 321 | parse_file(*file_walk, main_options); | ^~~~~~~~~~ | | | char * file.h:15:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 15 | extern unsigned char *parse_file(unsigned char *filename, struct detox_options *options); | ~~~~~~~~~~~~~~~^~~~~~~~ detox.c:324:55: warning: pointer targets in passing argument 1 of ‘parse_special’ differ in signedness [-Wpointer-sign] 324 | parse_special(*file_walk, main_options); | ^~~~~~~~~~ | | | char * file.h:19:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 19 | extern void parse_special(unsigned char *in, struct detox_options *options); | ~~~~~~~~~~~~~~~^~ detox.c:343:62: warning: pointer targets in passing argument 1 of ‘parse_inline’ differ in signedness [-Wpointer-sign] 343 | parse_inline(*file_walk, main_options); | ^~~~~~~~~~ | | | char * file.h:21:41: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 21 | extern void parse_inline(unsigned char *filename, struct detox_options *options); | ~~~~~~~~~~~~~~~^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o file.o file.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' file.c: In function ‘parse_file’: file.c:52:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 52 | len = strlen(filename) + 1; | ^~~~~~~~ | | | unsigned char * In file included from file.c:17: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ file.c:60:36: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 60 | old_filename_ptr = strrchr(old_filename, '/'); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:273:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ file.c:60:26: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 60 | old_filename_ptr = strrchr(old_filename, '/'); | ^ file.c:82:23: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 82 | work = strdup(old_filename_ptr); | ^~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ file.c:82:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 82 | work = strdup(old_filename_ptr); | ^ file.c:99:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 99 | if (strcmp(old_filename_ptr, work) == 0) { | ^~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ file.c:99:38: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 99 | if (strcmp(old_filename_ptr, work) == 0) { | ^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ file.c:104:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 104 | new_filename = malloc(len + strlen(work) + 1); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ file.c:112:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 112 | strncpy(new_filename, old_filename, len); | ^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/sys/stat.h:25, from file.c:12: /usr/include/bits/string_fortified.h:96:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:112:31: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 112 | strncpy(new_filename, old_filename, len); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ file.c:113:29: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 113 | strcpy(new_filename + len, work); | ~~~~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:113:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 113 | strcpy(new_filename + len, work); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ file.c:117:21: warning: pointer targets in passing argument 1 of ‘lstat’ differ in signedness [-Wpointer-sign] 117 | err = lstat(old_filename, &stat_info_old); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/sys/stat.h:313:42: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 313 | extern int lstat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ file.c:123:21: warning: pointer targets in passing argument 1 of ‘lstat’ differ in signedness [-Wpointer-sign] 123 | err = lstat(new_filename, &stat_info_new); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/sys/stat.h:313:42: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 313 | extern int lstat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ file.c:145:22: warning: pointer targets in passing argument 1 of ‘rename’ differ in signedness [-Wpointer-sign] 145 | err = rename(old_filename, new_filename); | ^~~~~~~~~~~~ | | | unsigned char * In file included from file.c:13: /usr/include/stdio.h:160:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 160 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ file.c:145:36: warning: pointer targets in passing argument 2 of ‘rename’ differ in signedness [-Wpointer-sign] 145 | err = rename(old_filename, new_filename); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/stdio.h:160:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 160 | extern int rename (const char *__old, const char *__new) __THROW; | ~~~~~~~~~~~~^~~~~ file.c: In function ‘parse_dir’: file.c:170:21: warning: pointer targets in passing argument 1 of ‘lstat’ differ in signedness [-Wpointer-sign] 170 | err = lstat(indir, &stat_info); | ^~~~~ | | | unsigned char * /usr/include/sys/stat.h:313:42: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 313 | extern int lstat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ file.c:179:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 179 | new_file_length = strlen(indir) + 1024; | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ file.c:180:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 180 | new_file = (char *)malloc(new_file_length); | ^ file.c:190:30: warning: pointer targets in passing argument 1 of ‘opendir’ differ in signedness [-Wpointer-sign] 190 | dir_handle = opendir(indir); | ^~~~~ | | | unsigned char * In file included from file.c:16: /usr/include/dirent.h:141:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 141 | extern DIR *opendir (const char *__name) __nonnull ((1)) | ~~~~~~~~~~~~^~~~~~ file.c:204:52: warning: pointer targets in passing argument 1 of ‘ignore_file’ differ in signedness [-Wpointer-sign] 204 | check_file = !ignore_file(dir_entry->d_name, options); | ~~~~~~~~~^~~~~~~~ | | | char * file.c:35:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 35 | static int ignore_file(unsigned char *filename, struct detox_options *options); | ~~~~~~~~~~~~~~~^~~~~~~~ file.c:207:34: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 207 | snprintf(new_file, new_file_length, "%s/%s", indir, dir_entry->d_name); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ file.c:209:31: warning: pointer targets in passing argument 1 of ‘lstat’ differ in signedness [-Wpointer-sign] 209 | lstat(new_file, &stat_info); | ^~~~~~~~ | | | unsigned char * /usr/include/sys/stat.h:313:42: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 313 | extern int lstat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ file.c: In function ‘parse_special’: file.c:240:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 240 | new_file = parse_file(in, options); | ^ file.c:278:35: warning: pointer targets in passing argument 1 of ‘parse_dir’ differ in signedness [-Wpointer-sign] 278 | parse_dir(work, options); | ^~~~ | | | char * file.c:160:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 160 | void parse_dir(unsigned char *indir, struct detox_options *options) | ~~~~~~~~~~~~~~~^~~~~ file.c: In function ‘ignore_file’: file.c:296:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 296 | if (strcmp(filename, badfiles[x]) == 0) { | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ file.c:303:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 303 | if (strcmp(filename, ignore_walk->filename) == 0) { | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ file.c:303:49: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 303 | if (strcmp(filename, ignore_walk->filename) == 0) { | ~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ file.c: In function ‘parse_inline’: file.c:323:34: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 323 | if (!(fp = fopen(filename, "r"))) { | ^~~~~~~~ | | | unsigned char * /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ file.c:339:22: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 339 | while (fgets(base, buf_size, fp)) { | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:305:8: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:340:32: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 340 | while (strrchr(base, '\n') == NULL) { | ^~~~ | | | unsigned char * /usr/include/string.h:273:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ file.c:342:52: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 342 | if (!fgets(work + buf_size - 1, BUF_SIZE, fp)) { | ~~~~~~~~~~~~~~~~^~~ | | | unsigned char * /usr/include/bits/stdio2.h:305:8: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:350:32: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 350 | hold = strrchr(base, '\n'); | ^~~~ | | | unsigned char * /usr/include/string.h:273:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ file.c:350:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 350 | hold = strrchr(base, '\n'); | ^ file.c:357:31: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 357 | work = strdup(base); | ^~~~ | | | unsigned char * /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ file.c:357:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 357 | work = strdup(base); | ^ make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o config_file_yacc.o config_file_yacc.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o clean_string.o clean_string.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' clean_string.c: In function ‘clean_iso8859_1_basic’: clean_string.c:42:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 42 | output = malloc((strlen(s) * ISO8859_1_MAXLEN) + 1); | ^ | | | unsigned char * In file included from clean_string.c:14: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c: In function ‘clean_iso8859_1’: clean_string.c:93:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 93 | output = malloc((strlen(s) * table->max_data_length) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c:104:38: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 104 | replace_walk = table_get(table, *input_walk); | ^ clean_string.c:114:54: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 114 | replace_walk = table->default_translation; | ^ clean_string.c: In function ‘clean_safe_basic’: clean_string.c:160:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 160 | output = malloc((strlen(s) * 5) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c: In function ‘clean_safe’: clean_string.c:260:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 260 | output = malloc((strlen(s) * table->max_data_length) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c:270:30: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 270 | replace_walk = table_get(table, *input_walk); | ^ clean_string.c:281:46: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 281 | replace_walk = table->default_translation; | ^ clean_string.c: In function ‘clean_uncgi’: clean_string.c:312:32: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 312 | output = malloc(strlen(s) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c:326:64: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 326 | *output_walk++ = (unsigned char)strtol(conv, NULL, 16); | ^~~~ | | | unsigned char * In file included from clean_string.c:13: /usr/include/stdlib.h:177:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ clean_string.c: In function ‘clean_wipeup’: clean_string.c:371:32: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 371 | output = malloc(strlen(s) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c: In function ‘clean_utf_8_basic’: clean_string.c:448:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 448 | output = malloc((strlen(s) * UNICODE_MAXLEN) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c: In function ‘clean_utf_8’: clean_string.c:570:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 570 | output = malloc((strlen(s) * table->max_data_length) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c:654:30: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 654 | replace_walk = table_get(table, new_value); | ^ clean_string.c:657:38: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 657 | replace_walk = table->default_translation; | ^ clean_string.c: In function ‘clean_max_length’: clean_string.c:706:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 706 | s_length = strlen(s); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c:714:18: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 714 | snprintf(output, max_length + 1, "%s", s); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from clean_string.c:12: /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ clean_string.c:720:30: warning: pointer targets in passing argument 1 of ‘strrchr’ differ in signedness [-Wpointer-sign] 720 | input_walk = strrchr(s, '.'); | ^ | | | unsigned char * /usr/include/string.h:273:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ clean_string.c:720:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 720 | input_walk = strrchr(s, '.'); | ^ clean_string.c:726:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 726 | ext_length = strlen(input_walk); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ clean_string.c:735:18: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 735 | snprintf(output_walk, ext_length + 1, "%s", input_walk); | ^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 65 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ clean_string.c: In function ‘clean_lower’: clean_string.c:752:32: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 752 | output = malloc(strlen(s) + 1); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -mno-omit-leaf-frame-pointer -c -o config_file_lex.o config_file_lex.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' config_file_lex.c:1316:16: warning: ‘input’ defined but not used [-Wunused-function] 1316 | static int input (void) | ^~~~~ config_file_lex.c:1273:17: warning: ‘yyunput’ defined but not used [-Wunused-function] 1273 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -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 -mno-omit-leaf-frame-pointer -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 -o detox detox.o file.o clean_string.o table.o parse_table.o config_file_yacc.o config_file_lex.o config_file_spoof.o config_file_dump.o parse_options.o make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' gcc -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 -mno-omit-leaf-frame-pointer -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 -o inline-detox detox.o file.o clean_string.o table.o parse_table.o config_file_yacc.o config_file_lex.o config_file_spoof.o config_file_dump.o parse_options.o make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DTpjYb + umask 022 + cd /builddir/build/BUILD/detox-1.4.5-build + '[' /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT ++ dirname /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT + mkdir -p /builddir/build/BUILD/detox-1.4.5-build + mkdir /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT + 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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 --cap-lints=warn' + export RUSTFLAGS + 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 detox-1.4.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' /usr/bin/make install-am make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[3]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' /usr/bin/mkdir -p '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/bin' /usr/bin/install -p detox inline-detox '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/src' make[1]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5' /usr/bin/mkdir -p '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/etc' /usr/bin/install -p -m 644 etc/detoxrc.sample '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/etc' /usr/bin/mkdir -p '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/doc/detox' /usr/bin/install -p -m 644 README.md '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/doc/detox' /usr/bin/mkdir -p '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox' /usr/bin/install -p -m 644 table/iso8859_1.tbl.sample table/safe.tbl.sample table/unicode.tbl.sample '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox' /usr/bin/mkdir -p '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 man/detox.1 man/inline-detox.1 '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/man/man5' /usr/bin/install -p -m 644 man/detox.tbl.5 man/detoxrc.5 '/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/man/man5' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5' test -f /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/etc/detoxrc || /usr/bin/install -p -m 644 /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/etc/detoxrc.sample /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/etc/detoxrc test -f /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/iso8859_1.tbl || /usr/bin/install -p -m 644 /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/iso8859_1.tbl.sample /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/iso8859_1.tbl test -f /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/safe.tbl || /usr/bin/install -p -m 644 /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/safe.tbl.sample /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/safe.tbl test -f /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/unicode.tbl || /usr/bin/install -p -m 644 /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/unicode.tbl.sample /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/detox/unicode.tbl make[3]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5' make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5' + rm /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/etc/detoxrc.sample + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 1.4.5-8.fc41 --unique-debug-suffix -1.4.5-8.fc41.riscv64 --unique-debug-src-base detox-1.4.5-8.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/detox-1.4.5-8.fc41.riscv64 365 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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT Scanned 20 directories and 41 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/detox-1.4.5-build/SPECPARTS/rpm-debuginfo.specpart Processing files: detox-1.4.5-8.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.c0kbcs + umask 022 + cd /builddir/build/BUILD/detox-1.4.5-build + cd detox-1.4.5 + DOCDIR=/builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/doc/detox + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/doc/detox + cp -pr /builddir/build/BUILD/detox-1.4.5-build/detox-1.4.5/README.md /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/share/doc/detox + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/bin/detox and /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/bin/inline-detox Provides: config(detox) = 1.4.5-8.fc41 detox = 1.4.5-8.fc41 detox(riscv-64) = 1.4.5-8.fc41 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: detox-debugsource-1.4.5-8.fc41.riscv64 Provides: detox-debugsource = 1.4.5-8.fc41 detox-debugsource(riscv-64) = 1.4.5-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: detox-debuginfo-1.4.5-8.fc41.riscv64 warning: Duplicate build-ids /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/lib/debug/usr/bin/detox-1.4.5-8.fc41.riscv64.debug and /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/lib/debug/usr/bin/inline-detox-1.4.5-8.fc41.riscv64.debug Provides: debuginfo(build-id) = 8e6cd8334c557380505b62bb0a35404189535d07 debuginfo(build-id) = nilnil detox-debuginfo = 1.4.5-8.fc41 detox-debuginfo(riscv-64) = 1.4.5-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: detox-debugsource(riscv-64) = 1.4.5-8.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT Wrote: /builddir/build/RPMS/detox-1.4.5-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/detox-debuginfo-1.4.5-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/detox-debugsource-1.4.5-8.fc41.riscv64.rpm RPM build warnings: Duplicate build-ids /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/bin/detox and /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/bin/inline-detox Duplicate build-ids /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/lib/debug/usr/bin/detox-1.4.5-8.fc41.riscv64.debug and /builddir/build/BUILD/detox-1.4.5-build/BUILDROOT/usr/lib/debug/usr/bin/inline-detox-1.4.5-8.fc41.riscv64.debug Child return code was: 0