* Package: app-misc/detox-1.2.0-r3 * Repository: gentoo * Maintainer: shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/1feef1829dafd045e1104cfc4fb7c4a4cb994e03 @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking detox-1.2.0.tar.bz2 to /var/tmp/portage/app-misc/detox-1.2.0-r3/work >>> Source unpacked in /var/tmp/portage/app-misc/detox-1.2.0-r3/work >>> Preparing source in /var/tmp/portage/app-misc/detox-1.2.0-r3/work/detox-1.2.0 ... * Applying detox-1.2.0-parallel.patch ... [ ok ] * Applying detox-1.2.0-LDFLAGS.patch ... [ ok ] * Applying detox-1.2.0-change-default-sequence-to-use-utf8-table.patch ... [ ok ] * Applying detox-1.2.0-install-missing-file.patch ... [ ok ] * Applying detox-1.2.0-format-security.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/detox-1.2.0-r3/work/detox-1.2.0 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-popt=/usr checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed 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... bison -y checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... 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... no checking whether closedir returns void... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether stat accepts an empty string... no checking for memset... yes checking for setlocale... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strtol... yes checking for getopt_long... yes checking for popt libraries... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/detox-1.2.0-r3/work/detox-1.2.0 ... make -j2 V=1 > detox_path.h x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include file.c echo "char default_etc_dir[]=\"/etc\";" >> detox_path.h echo "char default_data_dir[]=\"/usr/share/detox\";" >> detox_path.h x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include clean_string.c clean_string.c:67:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc((strlen(s) * ISO8859_1_MAXLEN) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ file.cclean_string.c:118:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ clean_string.c:129:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace_walk = table_get(table, *input_walk); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clean_string.c:138:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...replace_walk = table->default_translation; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ :75clean_string.c:186:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc((strlen(s) * 5) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ :15:clean_string.c warning: passing :283:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ clean_string.c:293:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace_walk = table_get(table, *input_walk); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clean_string.c:303:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace_walk = table->default_translation; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen(filename) + 1; ^~~~~~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ clean_string.c:336:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ /usr/include/string.h:385:35: note: passing argument file.c:83:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] old_filename_ptr = strrchr(old_filename, '/'); ^~~~~~~~~~~~ /usr/include/string.h:253:35: note: passing argument to parameter '__s' here extern char *strrchr (const char *__s, int __c) ^ file.c:83:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] old_filename_ptr = strrchr(old_filename, '/'); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:105:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strdup(old_filename_ptr); ^~~~~~~~~~~~~~~~ /usr/include/string.h:167:34: note: passing argument to parameter '__s' here extern char *strdup (const char *__s) ^ file.c:105:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strdup(old_filename_ptr); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ file.c:122:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(old_filename_ptr, work) == 0) { ^~~~~~~~~~~~~~~~ /usr/include/string.h:137:32: note: passing argument to parameter '__s1' here extern int strcmp (const char *__s1, const char *__s2) ^ file.c:122:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(old_filename_ptr, work) == 0) { ^~~~ /usr/include/string.h:137:50: note: passing argument to parameter '__s2' here extern int strcmp (const char *__s1, const char *__s2) ^ file.c:127:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_filename = malloc(len + strlen(work) + 1); ^~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ file.c:135:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(new_filename, old_filename, len); ^~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ file.c:135:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(new_filename, old_filename, len); ^~~~~~~~~~~~ /usr/include/string.h:126:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ file.c:136:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(new_filename + len, work); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:122:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ file.c:136:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(new_filename + len, work); ^~~~ /usr/include/string.h:122:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ file.c:140:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] err = lstat(old_filename, &stat_info_old); ^~~~~~~~~~~~ /usr/include/sys/stat.h:460:27: note: passing argument to parameter '__path' here __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:146:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] err = lstat(new_filename, &stat_info_new); ^~~~~~~~~~~~ /usr/include/sys/stat.h:460:27: note: passing argument to parameter '__path' here __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:168:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] err = rename(old_filename, new_filename); ^~~~~~~~~~~~ /usr/include/stdio.h:148:32to: note parameter '__s' here : passing argument to extern size_t strlen (const char *__s) ^ parameter '__old' here extern int rename (const char *__old, const char *__new) __THROW; ^ file.c:168:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] err = rename(old_filename, new_filename); ^~~~~~~~~~~~ /usr/include/stdio.h:148:51: note: passing argument to parameter '__new' here extern int rename (const char *__old, const char *__new) __THROW; ^ clean_string.c:350:43: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *output_walk++ = (unsigned char)strtol(conv, NULL, 16); ^~~~ /usr/include/stdlib.h:176:48: note: passing argument to parameter '__nptr' here extern long int strtol (const char *__restrict __nptr, ^ clean_string.c:395:25file.c:193:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] err = lstat(indir, &stat_info); ^~~~~ /usr/include/sys/stat.h:460:27: note: passing argument to parameter '__path' here __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ file.c:202:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_file_length = strlen(indir) + 1024; ^~~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ file.c:203:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_file = (char *)malloc(new_file_length); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:213:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(new_file, indir); ^~~~~~~~ /usr/include/string.h:122:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ file.c:213:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(new_file, indir); ^~~~~ /usr/include/string.h:122:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ file.c:215:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strrchr(new_file, '/'); ^~~~~~~~ /usr/include/string.h:253:35: note: passing argument to parameter '__s' here extern char *strrchr (const char *__s, int __c) ^ file.c:215:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strrchr(new_file, '/'); ^ ~~~~~~~~~~~~~~~~~~~~~~ file.c:226:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strrchr(new_file, '/'); ^~~~~~~~ /usr/include/string.h:253:35: note: passing argument to parameter '__s' here extern char *strrchr (const char *__s, int __c) ^ file.c:226:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strrchr(new_file, '/'); ^ ~~~~~~~~~~~~~~~~~~~~~~ file.c:250:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dir_handle = opendir(indir); ^~~~~ /usr/include/dirent.h:134:34: note: passing argument to parameter '__name' here extern DIR *opendir (const char *__name) __nonnull ((1)); ^ file.c:264:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] check_file = !ignore_file(dir_entry->d_name, options); ^~~~~~~~~~~~~~~~~ file.c:58:39: note: passing argument to parameter 'filename' here static int ignore_file(unsigned char *filename, struct detox_options *options); ^ file.c:267:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(new_file, new_file_length, "%s/%s", ind... ^~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ file.c:269:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] lstat(new_file, &stat_info); ^~~~~~~~ /usr/include/sys/stat.h:460:27: note: passing argument to parameter '__path' here __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ : warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ file.c:300:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_file = parse_file(in, options); ^ ~~~~~~~~~~~~~~~~~~~~~~~ clean_string.c:472:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc((strlen(s) * UNICODE_MAXLEN) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ file.c:337:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_dir(work, options); ^~~~ file.c:183:31: note: passing argument to parameter 'indir' here void parse_dir(unsigned char *indir, struct detox_options *options) ^ file.c:355:14: warning: passing 'unsigned char *' to parameter of type 'const char *' convertsclean_string.c:594:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc((strlen(s) * table->max_data_length) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ clean_string.c:677:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace_walk = table_get(table, new_value); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ clean_string.c:680:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] replace_walk = table->default_translation; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ between pointers to integer typesclean_string.c:729:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] s_length = strlen(s); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ clean_string.c:737:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(output, max_length + 1, "%s", s); ^~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ clean_string.c:743:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_walk = strrchr(s, '.'); ^ /usr/include/string.h:253:35: note: passing argument to parameter '__s' here extern char *strrchr (const char *__s, int __c) ^ clean_string.c:743:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] input_walk = strrchr(s, '.'); ^ ~~~~~~~~~~~~~~~ clean_string.c:749:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ext_length = strlen(input_walk); ^~~~~~~~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ clean_string.c:758:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(output_walk, ext_length + 1, "%s", input_walk); ^~~~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ with different sign [-Wpointer-sign] if (strcmp(filename, badfiles[x]) == 0) { ^~~~~~~~ /usr/include/string.h:137:32: note: passing argument to parameter '__s1' here extern int strcmp (const char *__s1, const char *__s2) ^ file.cclean_string.c:775:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] output = malloc(strlen(s) + 1); ^ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ :362:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filename, ignore_walk->filename) == 0) { ^~~~~~~~ /usr/include/string.h:137:32: note: passing argument to parameter '__s1' here extern int strcmp (const char *__s1, const char *__s2) ^ file.c:362:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(filename, ignore_walk->filename) == 0) { ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:137:50: note: passing argument to parameter '__s2' here extern int strcmp (const char *__s1, const char *__s2) ^ 34 warnings generated. x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include table.c 22 warnings generated. x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include parse_table.c x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include config_file_l.c x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include config_file_y.c y.tab.c:1392:16: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:748:16: note: expanded from macro 'YYLEX' # define YYLEX yylex () ^ 1 warning generated. x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include config_file_spoof.c x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include config_file_dump.c x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include parse_options_popt.c x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include parse_options_generic.c parse_options_popt.c:168:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (work = (char *)poptGetArg(optCon)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_options_popt.c:168:14: note: place parentheses around the assignment to silence this warning while (work = (char *)poptGetArg(optCon)) { ^ ( ) parse_options_popt.c:168:14: note: use '==' to turn this assignment into an equality comparison while (work = (char *)poptGetArg(optCon)) { ^ == x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include -DINLINE_MODE detox.c -o detox-inline.o 1 warning generated. x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include file-inline.c detox.c:379:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_inline(*file_walk, main_options); ^~~~~~~~~~ ./file-inline.h:40:41: note: passing argument to parameter 'filename' here extern void parse_inline(unsigned char *filename, struct detox_options *... ^ file-inline.c:64:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(fp = fopen(filename, "r"))) { ^~~~~~~~ /usr/include/stdio.h:246:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ file-inline.c:80:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (fgets(base, buf_size, fp)) { ^~~~ /usr/include/stdio.h:564:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ file-inline.c:81:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (strrchr(base, '\n') == NULL) { ^~~~ /usr/include/string.h:253:35: note: passing argument to parameter '__s' here extern char *strrchr (const char *__s, int __c) ^ file-inline.c:83:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!fgets(work + buf_size - 1, BUF_SIZE, fp)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:564:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ file-inline.c:91:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] hold = strrchr(base, '\n'); ^~~~ /usr/include/string.h:253:35: note: passing argument to parameter '__s' here extern char *strrchr (const char *__s, int __c) ^ file-inline.c:91:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] hold = strrchr(base, '\n'); ^ ~~~~~~~~~~~~~~~~~~~ file-inline.c:98:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strdup(base); ^~~~ /usr/include/string.h:167:34: note: passing argument to parameter '__s' here extern char *strdup (const char *__s) ^ file-inline.c:98:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] work = strdup(base); ^ ~~~~~~~~~~~~ 8 warnings generated. x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include -DINLINE_MODE parse_options_popt.c -o parse_options_popt-inline.o 1 warning generated. x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include -DINLINE_MODE parse_options_generic.c -o parse_options_generic-inline.o parse_options_popt.c:168:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (work = (char *)poptGetArg(optCon)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_options_popt.c:168:14: note: place parentheses around the assignment to silence this warning while (work = (char *)poptGetArg(optCon)) { ^ ( ) parse_options_popt.c:168:14: note: use '==' to turn this assignment into an equality comparison while (work = (char *)poptGetArg(optCon)) { ^ == x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include detox.c 1 warning generated. x86_64-pc-linux-gnu-clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o inline-detox detox-inline.o file-inline.o clean_string.o table.o parse_table.o config_file_l.o config_file_y.o config_file_spoof.o config_file_dump.o parse_options_popt-inline.o parse_options_generic-inline.o -lfl -L/usr/lib -lpopt ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crt1.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crti.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbegin.o is incompatible with elf_x86_64 ld.lld: error: detox-inline.o is incompatible with elf_x86_64 ld.lld: error: file-inline.o is incompatible with elf_x86_64 ld.lld: error: clean_string.o is incompatible with elf_x86_64 ld.lld: error: table.o is incompatible with elf_x86_64 ld.lld: error: parse_table.o is incompatible with elf_x86_64 ld.lld: error: config_file_l.o is incompatible with elf_x86_64 ld.lld: error: config_file_y.o is incompatible with elf_x86_64 ld.lld: error: config_file_spoof.o is incompatible with elf_x86_64 ld.lld: error: config_file_dump.o is incompatible with elf_x86_64 ld.lld: error: parse_options_popt-inline.o is incompatible with elf_x86_64 ld.lld: error: parse_options_generic-inline.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libpopt.so is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 is incompatible with elf_x86_64 detox.c:351:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 is incompatible with elf_x86_64 types with different sign [-Wpointer-sign] ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtend.o is incompatible with elf_x86_64 ld.lld: file_work = parse_file(*file_walk, main_... ^~~~~~~~~~ ./file.h:40:49: note: passing argument to parameter 'filename' here extern unsigned char *parse_file(unsigned char *filename, struct detox_o... ^ detox.c:351:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...file_work = parse_file(*file_walk, main_options); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detox.c:352:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_dir(file_work, main_options); ^~~~~~~~~ ./file.h:42:38: note: passing argument to parameter 'indir' here extern void parse_dir(unsigned char *indir, struct detox_options *options); ^ detox.c:356:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_file(*file_walk, main_options); ^~~~~~~~~~ ./file.h:40:49: note: passing argument to parameter 'filename' here extern unsigned char *parse_file(unsigned char *filename, struct detox_o... ^ detox.c:359:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_special(*file_walk, main_options); ^~~~~~~~~~ ./file.h:44:42: note: passing argument to parameter 'in' here extern void parse_special(unsigned char *in, struct detox_options *options); ^ error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crtn.o is incompatible with elf_x86_64 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:76: inline-detox] Error 1 make: *** Waiting for unfinished jobs.... 5 warnings generated. * ERROR: app-misc/detox-1.2.0-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/detox-1.2.0-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/detox-1.2.0-r3::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/app-misc/detox-1.2.0-r3:20200727-121417.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/detox-1.2.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/detox-1.2.0-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/detox-1.2.0-r3/work/detox-1.2.0' * S: '/var/tmp/portage/app-misc/detox-1.2.0-r3/work/detox-1.2.0' emerge --info: Portage 3.0.1 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.31-r6, 5.4.0-1018-aws x86_64) ================================================================= System uname: Linux-5.4.0-1018-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895552 total, 1394164 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 28 Jul 2020 09:07:19 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_beta5::gentoo dev-util/cmake: 3.18.0::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.2.0::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j2 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS