* Package: app-text/sgrep-1.94a:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sgrep-1.94a.tar.gz to /var/tmp/portage/app-text/sgrep-1.94a/work >>> Source unpacked in /var/tmp/portage/app-text/sgrep-1.94a/work >>> Preparing source in /var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a ... * econf: updating sgrep-1.94a/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sgrep-1.94a/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --libdir=/usr/lib64 --datadir=/etc checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... clang checking for C compiler default output... 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 clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking for style of include used by make... fgrep: warning: fgrep is obsolescent; using /bin/grep -F GNU checking dependency style of clang... none checking for clang option to accept ANSI C... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for egrep... grep -E checking for ANSI C header files... no checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for mmap... yes checking for dup... yes checking for dup2... yes checking for pipe... yes checking for fileno... yes checking for select... yes checking for strerror... yes checking for strtol... yes checking for times... yes checking for vsnprintf... yes Using preprocessor 'm4 -s' Enabling assertions. Enabling memory leak and allocation debugging. configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/app-text/sgrep-1.94a/temp/clang14.log' -> '/var/tmp/clang/app-text/sgrep-1.94a/clang14.log' '/var/tmp/portage/app-text/sgrep-1.94a/temp/clang15.log' -> '/var/tmp/clang/app-text/sgrep-1.94a/clang15.log' >>> Compiling source in /var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a ... make -j4 make all-am make[1]: Entering directory '/var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a' clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'main.c' || echo './'`main.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'preproc.c' || echo './'`preproc.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'common.c' || echo './'`common.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'parser.c' || echo './'`parser.c main.c:945:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] stats.peak_memory_usage/1024,stats.reallocs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sgrep.h:395:15: note: expanded from macro 'stats' #define stats (sgrep->statistics) ^ clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'optimize.c' || echo './'`optimize.c 1 warning generated. clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'pmatch.c' || echo './'`pmatch.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'sgml.c' || echo './'`sgml.c sgml.c:604:26: warning: initializing 'const unsigned char *' with an expression of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const unsigned char *ptr=string_to_char(scanner->pi)+4; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'eval.c' || echo './'`eval.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'output.c' || echo './'`output.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'index.c' || echo './'`index.c clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'sysdeps.c' || echo './'`sysdeps.c index.c:317:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] writer->hash_size*sizeof(IndexBuffer*)/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ index.c:319:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] writer->terms*sizeof(IndexBuffer)/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ index.c:625:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((writer->terms==writer->hash_size*2)) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ index.c:625:23: note: remove extraneous parentheses around the comparison to silence this warning if ((writer->terms==writer->hash_size*2)) { ~ ^ ~ index.c:625:23: note: use '=' to turn this equality comparison into an assignment if ((writer->terms==writer->hash_size*2)) { ^~ = index.c:829:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] writer->spool_size*sizeof(struct IndexBlock)/1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ index.c:1817:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] imap->filename,imap->size/1024,imap->len); ^~~~~~~~~~~~~~~ sysdeps.c:490:23: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] stats.memory_blocks,stats.memory_allocated); ^~~~~~~~~~~~~~~~~~~~~~ ./sgrep.h:395:15: note: expanded from macro 'stats' #define stats (sgrep->statistics) ^ sysdeps.c:496:53: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "\t%s:%d: %d bytes\n",block->file,block->line,block->size); ~~ ^~~~~~~~~~~ %zu 2 warnings generated. clang -DHAVE_CONFIG_H -I. -I. -I. -DDATADIR="\"/etc\"" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'index_main.c' || echo './'`index_main.c index_main.c:84:7: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (strcmp(*argv,"--")==0) return i+1; ^ index_main.c:84:7: note: include the header or explicitly provide a declaration for 'strcmp' index_main.c:241:6: error: call to undeclared function 'index_query'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (index_query(&options,argc-end_options,argv+end_options) ^ 2 errors generated. make[1]: *** [Makefile:258: index_main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 5 warnings generated. 1 warning generated. make[1]: Leaving directory '/var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a' make: *** [Makefile:167: all] Error 2 * ERROR: app-text/sgrep-1.94a::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/sgrep-1.94a::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/sgrep-1.94a::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:sgrep-1.94a:20220917-185804.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/sgrep-1.94a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/sgrep-1.94a/temp/environment'. * Working directory: '/var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a' * S: '/var/tmp/portage/app-text/sgrep-1.94a/work/sgrep-1.94a'