+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/detox.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.btiBav + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf detox-1.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/detox-1.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd detox-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wgDdwy + umask 022 + cd /builddir/build/BUILD + cd detox-1.3.0 + autoreconf --install configure.ac:5: installing './compile' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' src/Makefile.am: installing './depcomp' configure.ac: installing './ylwrap' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... no checking for getopt_long... yes 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 + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/detox-1.3.0/src' (CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/sh /builddir/build/BUILD/detox-1.3.0/missing autoheader) rm -f stamp-h1 touch config.h.in cd .. && /bin/sh ./config.status src/config.h config.status: creating src/config.h config.status: src/config.h is unchanged make all-am make[2]: Entering directory '/builddir/build/BUILD/detox-1.3.0/src' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o detox.o detox.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o file.o file.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o clean_string.o clean_string.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o table.o table.c clean_string.c: In function 'clean_iso8859_1_basic': clean_string.c:65:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * ISO8859_1_MAXLEN) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c: In function 'clean_iso8859_1': clean_string.c:116:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c:127:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table_get(table, *input_walk); ^ clean_string.c:136:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table->default_translation; ^ clean_string.c: In function 'clean_safe_basic': clean_string.c:184:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * 5) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c: In function 'clean_safe': clean_string.c:281:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c:291:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table_get(table, *input_walk); ^ clean_string.c:301:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table->default_translation; ^ clean_string.c: In function 'clean_uncgi': clean_string.c:334:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c:348:43: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] *output_walk++ = (unsigned char)strtol(conv, NULL, 16); ^~~~ In file included from clean_string.c:36:0: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern long int strtol (const char *__restrict __nptr, ^~~~~~ clean_string.c: In function 'clean_wipeup': clean_string.c:393:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c: In function 'clean_utf_8_basic': clean_string.c:470:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * UNICODE_MAXLEN) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c: In function 'clean_utf_8': clean_string.c:592:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c:675:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table_get(table, new_value); ^ clean_string.c:678:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] replace_walk = table->default_translation; ^ clean_string.c: In function 'clean_max_length': clean_string.c:727:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] s_length = strlen(s); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c:735:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(output, max_length + 1, "%s", s); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from clean_string.c:35: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ clean_string.c:741:23: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] input_walk = strrchr(s, '.'); ^ In file included from clean_string.c:37:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ clean_string.c:741:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] input_walk = strrchr(s, '.'); ^ clean_string.c:747:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ext_length = strlen(input_walk); ^~~~~~~~~~ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ clean_string.c:756:11: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(output_walk, ext_length + 1, "%s", input_walk); ^~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from clean_string.c:35: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ clean_string.c: In function 'clean_lower': clean_string.c:773:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ In file included from clean_string.c:37:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ detox.c: In function 'main': detox.c:339:29: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] file_work = parse_file(*file_walk, main_options); ^ In file included from detox.c:46:0: file.h:38:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *parse_file(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~ detox.c:339:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] file_work = parse_file(*file_walk, main_options); ^ detox.c:340:16: warning: pointer targets in passing argument 1 of 'parse_dir' differ in signedness [-Wpointer-sign] parse_dir(file_work, main_options); ^~~~~~~~~ In file included from detox.c:46:0: file.h:40:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void parse_dir(unsigned char *indir, struct detox_options *options); ^~~~~~~~~ detox.c:344:17: warning: pointer targets in passing argument 1 of 'parse_file' differ in signedness [-Wpointer-sign] parse_file(*file_walk, main_options); ^ In file included from detox.c:46:0: file.h:38:23: note: expected 'unsigned char *' but argument is of type 'char *' extern unsigned char *parse_file(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~ detox.c:347:20: warning: pointer targets in passing argument 1 of 'parse_special' differ in signedness [-Wpointer-sign] parse_special(*file_walk, main_options); ^ In file included from detox.c:46:0: file.h:42:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void parse_special(unsigned char *in, struct detox_options *options); ^~~~~~~~~~~~~ detox.c:366:20: warning: pointer targets in passing argument 1 of 'parse_inline' differ in signedness [-Wpointer-sign] parse_inline(*file_walk, main_options); ^ In file included from detox.c:46:0: file.h:44:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void parse_inline(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~~~ file.c: In function 'parse_file': file.c:75:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(filename) + 1; ^~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ file.c:83:29: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] old_filename_ptr = strrchr(old_filename, '/'); ^~~~~~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:83:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] old_filename_ptr = strrchr(old_filename, '/'); ^ file.c:105:16: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] work = strdup(old_filename_ptr); ^~~~~~~~~~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ file.c:105:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strdup(old_filename_ptr); ^ file.c:122:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(old_filename_ptr, work) == 0) { ^~~~~~~~~~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:122:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(old_filename_ptr, work) == 0) { ^~~~ In file included from file.c:40:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:127:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] new_filename = malloc(len + strlen(work) + 1); ^~~~ In file included from file.c:40:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ file.c:135:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(new_filename, old_filename, len); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ file.c:135:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(new_filename, old_filename, len); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ file.c:136:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_filename + len, work); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:136:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_filename + len, work); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:140:14: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] err = lstat(old_filename, &stat_info_old); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:146:14: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] err = lstat(new_filename, &stat_info_new); ^~~~~~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:168:15: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] err = rename(old_filename, new_filename); ^~~~~~~~~~~~ In file included from file.c:36:0: /usr/include/stdio.h:146:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ file.c:168:29: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] err = rename(old_filename, new_filename); ^~~~~~~~~~~~ In file included from file.c:36:0: /usr/include/stdio.h:146:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ file.c: In function 'parse_dir': file.c:193:14: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] err = lstat(indir, &stat_info); ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:202:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] new_file_length = strlen(indir) + 1024; ^~~~~ In file included from file.c:40:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ file.c:203:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_file = (char *)malloc(new_file_length); ^ file.c:213:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_file, indir); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:213:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(new_file, indir); ^~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ file.c:215:17: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:215:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^ file.c:226:19: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:226:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strrchr(new_file, '/'); ^ file.c:250:23: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] dir_handle = opendir(indir); ^~~~~ In file included from file.c:39:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'unsigned char *' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ file.c:264:29: warning: pointer targets in passing argument 1 of 'ignore_file' differ in signedness [-Wpointer-sign] check_file = !ignore_file(dir_entry->d_name, options); ^~~~~~~~~ file.c:58:12: note: expected 'unsigned char *' but argument is of type 'char *' static int ignore_file(unsigned char *filename, struct detox_options *options); ^~~~~~~~~~~ file.c:267:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(new_file, new_file_length, "%s/%s", indir, dir_entry->d_name); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (snprintf (char *__restrict __s, size_t __n, ^ file.c:269:10: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] lstat(new_file, &stat_info); ^~~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/stat.h:25, from file.c:35: /usr/include/sys/stat.h:456:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c: In function 'parse_special': file.c:300:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_file = parse_file(in, options); ^ file.c:337:14: warning: pointer targets in passing argument 1 of 'parse_dir' differ in signedness [-Wpointer-sign] parse_dir(work, options); ^~~~ file.c:183:6: note: expected 'unsigned char *' but argument is of type 'char *' void parse_dir(unsigned char *indir, struct detox_options *options) ^~~~~~~~~ file.c: In function 'ignore_file': file.c:355:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filename, badfiles[x]) == 0) { ^~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:362:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filename, ignore_walk->filename) == 0) { ^~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c:362:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(filename, ignore_walk->filename) == 0) { ^~~~~~~~~~~ In file included from file.c:40:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ file.c: In function 'parse_inline': file.c:384:20: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] if (!(fp = fopen(filename, "r"))) { ^~~~~~~~ In file included from file.c:36:0: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *fopen (const char *__restrict __filename, ^~~~~ file.c:400:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(base, buf_size, fp)) { ^~~~ In file included from /usr/include/stdio.h:862:0, from file.c:36: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ file.c:401:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] while (strrchr(base, '\n') == NULL) { ^~~~ In file included from file.c:40:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:403:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if (!fgets(work + buf_size - 1, BUF_SIZE, fp)) { ^~~~ In file included from /usr/include/stdio.h:862:0, from file.c:36: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ file.c:411:18: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] hold = strrchr(base, '\n'); ^~~~ In file included from file.c:40:0: /usr/include/string.h:252:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ file.c:411:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hold = strrchr(base, '\n'); ^ file.c:418:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] work = strdup(base); ^~~~ In file included from file.c:40:0: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strdup (const char *__s) ^~~~~~ file.c:418:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] work = strdup(base); ^ file.c:380:9: warning: unused variable 'len' [-Wunused-variable] size_t len; ^~~ file.c:379:6: warning: unused variable 'err' [-Wunused-variable] int err; ^~~ gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o parse_table.o parse_table.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o config_file_yacc.o config_file_yacc.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o config_file_lex.o config_file_lex.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o config_file_spoof.o config_file_spoof.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o config_file_dump.o config_file_dump.c config_file_lex.c:1359:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ config_file_lex.c:1316:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o parse_options.o parse_options.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.3.0/src' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/detox-1.3.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/detox-1.3.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FScjS7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 + cd detox-1.3.0 + make install 'INSTALL=install -p' DESTDIR=/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/detox-1.3.0/src' make install-am make[2]: Entering directory '/builddir/build/BUILD/detox-1.3.0/src' make[3]: Entering directory '/builddir/build/BUILD/detox-1.3.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/bin' install -p detox inline-detox '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/detox-1.3.0/src' make[2]: Leaving directory '/builddir/build/BUILD/detox-1.3.0/src' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/detox-1.3.0' make[2]: Entering directory '/builddir/build/BUILD/detox-1.3.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/etc' install -p -m 644 etc/detoxrc.sample '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox' install -p -m 644 README.md '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox' install -p -m 644 table/iso8859_1.tbl.sample table/safe.tbl.sample table/unicode.tbl.sample '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/man/man1' install -p -m 644 man/detox.1 man/inline-detox.1 '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/man/man5' install -p -m 644 man/detox.tbl.5 man/detoxrc.5 '/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/man/man5' make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/detox-1.3.0' cp -an /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/etc/detoxrc.sample /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/etc/detoxrc && \ cp -an /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox/iso8859_1.tbl.sample /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox/iso8859_1.tbl && \ cp -an /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox/safe.tbl.sample /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox/safe.tbl && \ cp -an /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox/unicode.tbl.sample /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/detox/unicode.tbl make[3]: Leaving directory '/builddir/build/BUILD/detox-1.3.0' make[2]: Leaving directory '/builddir/build/BUILD/detox-1.3.0' make[1]: Leaving directory '/builddir/build/BUILD/detox-1.3.0' + rm /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/etc/detoxrc.sample + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: detox-1.3.0-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iLi2xm + umask 022 + cd /builddir/build/BUILD + cd detox-1.3.0 + DOCDIR=/builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox + cp -pr LICENSE /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox + cp -pr README.md /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox + cp -pr THANKS.md /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/share/doc/detox + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/bin/detox and /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64/usr/bin/inline-detox Provides: config(detox) = 1.3.0-3.fc28 detox = 1.3.0-3.fc28 detox(riscv-64) = 1.3.0-3.fc28 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/detox-1.3.0-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/detox-1.3.0-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MQO3yD + umask 022 + cd /builddir/build/BUILD + cd detox-1.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/detox-1.3.0-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff