Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/detox.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671854935.556736/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ew0sfl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ew0sfl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72d1212550104f6c984821e242a4d769', '-D', '/var/lib/mock/fedora-rawhide-i686-1671854935.556736/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ew0sfl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/detox-1.4.5-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/detox.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671854935.556736/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ew0sfl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ew0sfl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '919c00ff2579481a8fea11ea42052b6c', '-D', '/var/lib/mock/fedora-rawhide-i686-1671854935.556736/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ew0sfl3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ApPILp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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.Nc8Kn3 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd detox-1.4.5 + autoreconf --install + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-24 04:10:03.285779842 +0000 +++ ./configure 2022-12-24 04:10:03.720776501 +0000 @@ -1603,7 +1603,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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=i686-redhat-linux-gnu --host=i686-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/lib --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 i686-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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 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 -j2 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o detox.o detox.c 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]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o file.o file.c 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:490, from /usr/include/sys/stat.h:25, from file.c:12: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ 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:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ 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:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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 * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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:327:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 327 | extern int __REDIRECT_NTH (lstat, | ^~~~~~~~~~~~~~ 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:327:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 327 | extern int __REDIRECT_NTH (lstat, | ^~~~~~~~~~~~~~ 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:154:32: note: expected 'const char *' but argument is of type 'unsigned char *' 154 | 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:154:51: note: expected 'const char *' but argument is of type 'unsigned char *' 154 | 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:327:12: note: expected 'const char * restrict' but argummake[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' ent is of type 'unsigned char *' 327 | extern int __REDIRECT_NTH (lstat, | ^~~~~~~~~~~~~~ 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:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __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:327:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 327 | extern int __REDIRECT_NTH (lstat, | ^~~~~~~~~~~~~~ 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:270:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 270 | extern FILE *__REDIRECT (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 * In file included from /usr/include/stdio.h:906: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ 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:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ 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/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o table.o table.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o parse_table.o parse_table.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o clean_string.o clean_string.c 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:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from clean_string.c:12: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __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, '.')make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' ; | ^ | | | 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:51:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 51 | __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/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o config_file_yacc.o config_file_yacc.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o config_file_spoof.o config_file_spoof.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o config_file_dump.o config_file_dump.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o config_file_lex.o config_file_lex.c 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]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o parse_options.o parse_options.c make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/src' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' gcc -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/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.TzbPZe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386 ++ dirname /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + 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/BUILDROOT/detox-1.4.5-3.fc38.i386 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' /usr/bin/make install-am make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' make[3]: Entering directory '/builddir/build/BUILD/detox-1.4.5/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin' /usr/bin/install -p detox inline-detox '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.4.5/src' make[1]: Entering directory '/builddir/build/BUILD/detox-1.4.5' make[2]: Entering directory '/builddir/build/BUILD/detox-1.4.5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/etc' /usr/bin/install -p -m 644 etc/detoxrc.sample '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/doc/detox' /usr/bin/install -p -m 644 README.md '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/doc/detox' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox' /usr/bin/install -p -m 644 table/iso8859_1.tbl.sample table/safe.tbl.sample table/unicode.tbl.sample '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/man/man1' /usr/bin/install -p -m 644 man/detox.1 man/inline-detox.1 '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/man/man5' /usr/bin/install -p -m 644 man/detox.tbl.5 man/detoxrc.5 '/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/man/man5' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/detox-1.4.5' test -f /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/etc/detoxrc || /usr/bin/install -p -m 644 /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/etc/detoxrc.sample /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/etc/detoxrc test -f /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/iso8859_1.tbl || /usr/bin/install -p -m 644 /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/iso8859_1.tbl.sample /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/iso8859_1.tbl test -f /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/safe.tbl || /usr/bin/install -p -m 644 /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/safe.tbl.sample /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/safe.tbl test -f /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/unicode.tbl || /usr/bin/install -p -m 644 /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/unicode.tbl.sample /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/detox/unicode.tbl make[3]: Leaving directory '/builddir/build/BUILD/detox-1.4.5' make[2]: Leaving directory '/builddir/build/BUILD/detox-1.4.5' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.4.5' + rm /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/etc/detoxrc.sample + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.4.5-3.fc38 --unique-debug-suffix -1.4.5-3.fc38.i386 --unique-debug-src-base detox-1.4.5-3.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/detox-1.4.5 extracting debug info from /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin/detox extracting debug info from /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin/inline-detox original debug info size: 240kB, size after compression: 200kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 365 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 Processing files: detox-1.4.5-3.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mUTNgq + umask 022 + cd /builddir/build/BUILD + cd detox-1.4.5 + DOCDIR=/builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/doc/detox + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/doc/detox + cp -pr README.md /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/share/doc/detox + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin/detox and /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin/inline-detox Provides: config(detox) = 1.4.5-3.fc38 detox = 1.4.5-3.fc38 detox(x86-32) = 1.4.5-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: detox-debugsource-1.4.5-3.fc38.i686 Provides: detox-debugsource = 1.4.5-3.fc38 detox-debugsource(x86-32) = 1.4.5-3.fc38 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-3.fc38.i686 warning: Duplicate build-ids /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/lib/debug/usr/bin/detox-1.4.5-3.fc38.i386.debug and /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/lib/debug/usr/bin/inline-detox-1.4.5-3.fc38.i386.debug Provides: debuginfo(build-id) = 5296233ccfc7de9c3f85a1c823a26164f301f86e debuginfo(build-id) = nilnil detox-debuginfo = 1.4.5-3.fc38 detox-debuginfo(x86-32) = 1.4.5-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: detox-debugsource(x86-32) = 1.4.5-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386 Wrote: /builddir/build/RPMS/detox-debuginfo-1.4.5-3.fc38.i686.rpm Wrote: /builddir/build/RPMS/detox-debugsource-1.4.5-3.fc38.i686.rpm Wrote: /builddir/build/RPMS/detox-1.4.5-3.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FCQo9B + umask 022 + cd /builddir/build/BUILD + cd detox-1.4.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.KuJlO9 + umask 022 + cd /builddir/build/BUILD + rm -rf detox-1.4.5 detox-1.4.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Duplicate build-ids /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin/detox and /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/bin/inline-detox Duplicate build-ids /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/lib/debug/usr/bin/detox-1.4.5-3.fc38.i386.debug and /builddir/build/BUILDROOT/detox-1.4.5-3.fc38.i386/usr/lib/debug/usr/bin/inline-detox-1.4.5-3.fc38.i386.debug Child return code was: 0