* Package: dev-lang/srf-1.0-r2: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 srf-1.0.tar.gz to /var/tmp/portage/dev-lang/srf-1.0-r2/work >>> Source unpacked in /var/tmp/portage/dev-lang/srf-1.0-r2/work >>> Preparing source in /var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.0 ... * Applying srf-1.0-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.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 --disable-dependency-tracking --libdir=/usr/lib64 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... GNU checking dependency style of clang... none checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking how to run the C preprocessor... clang -E checking for egrep... grep -E checking for ANSI C header files... no 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 for string.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands configure: configuring in rfunc configure: running /bin/sh './configure' --prefix=/usr '--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' 'CC=clang' 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=. 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... GNU checking dependency style of clang... none checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking how to run the C preprocessor... clang -E checking for egrep... grep -E checking for ANSI C header files... no 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 for string.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for unistd.h... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/dev-lang/srf-1.0-r2/temp/clang14.log' -> '/var/tmp/clang/dev-lang/srf-1.0-r2/clang14.log' '/var/tmp/portage/dev-lang/srf-1.0-r2/temp/clang15.log' -> '/var/tmp/clang/dev-lang/srf-1.0-r2/clang15.log' >>> Compiling source in /var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.0 ... make -j4 Making all in rfunc make[1]: Entering directory '/var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.0/rfunc' clang -DPACKAGE_NAME=\"rfunc\" -DPACKAGE_TARNAME=\"rfunc\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"rfunc\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rfunc\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_ASSERT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'rfunc.c' || echo './'`rfunc.c clang -DPACKAGE_NAME=\"rfunc\" -DPACKAGE_TARNAME=\"rfunc\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"rfunc\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rfunc\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_ASSERT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'rfunc-gram2.c' || echo './'`rfunc-gram2.c clang -DPACKAGE_NAME=\"rfunc\" -DPACKAGE_TARNAME=\"rfunc\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"rfunc\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rfunc\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_ASSERT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'lex.c' || echo './'`lex.c clang -DPACKAGE_NAME=\"rfunc\" -DPACKAGE_TARNAME=\"rfunc\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"rfunc\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"rfunc\" -DVERSION=\"1.0\" -DYYTEXT_POINTER=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_ASSERT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -g -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'hashtable.c' || echo './'`hashtable.c rfunc.c:54:2: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit(exitcode); ^ rfunc.c:54:2: note: include the header or explicitly provide a declaration for 'exit' rfunc.c:58:6: error: parameter 'exitcode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] help(exitcode) ^ rfunc.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] help(exitcode) ^ 1 warning and 2 errors generated. make[1]: *** [Makefile:219: rfunc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/share/bison/bison.simple:573:16: error: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yychar = YYLEX; ^ /usr/share/bison/bison.simple:219:18: note: expanded from macro 'YYLEX' # define YYLEX yylex () ^ /usr/share/bison/bison.simple:799:2: error: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yyerror ("parse error"); ^ /usr/share/bison/bison.simple:924:3: error: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yyerror ("parser stack overflow"); ^ gram2.y:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror(s1) ^ gram2.y:271: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("<", relation)) ^ gram2.y:271:7: note: include the header or explicitly provide a declaration for 'strcmp' gram2.y:271:19: warning: passing 'unsigned char *' to parameter 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] if (!strcmp("<", relation)) ^~~~~~~~ gram2.y:272:12: warning: assigning to 'unsigned char *' from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] opposite = ">="; ^ ~~~~ gram2.y:273:24: warning: passing 'unsigned char *' to parameter 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] else if (!strcmp(">", relation)) ^~~~~~~~ gram2.y:274:12: warning: assigning to 'unsigned char *' from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] opposite = "<="; ^ ~~~~ gram2.y:275:25: warning: passing 'unsigned char *' to parameter 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] else if (!strcmp(">=", relation)) ^~~~~~~~ gram2.y:276:12: warning: assigning to 'unsigned char *' from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] opposite = "<"; ^ ~~~ gram2.y:277:25: warning: passing 'unsigned char *' to parameter 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] else if (!strcmp("<=", relation)) ^~~~~~~~ gram2.y:278:12: warning: assigning to 'unsigned char *' from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] opposite = ">"; ^ ~~~ gram2.y:279:25: warning: passing 'unsigned char *' to parameter 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] else if (!strcmp("==", relation)) ^~~~~~~~ gram2.y:280:12: warning: assigning to 'unsigned char *' from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] opposite = "!="; ^ ~~~~ gram2.y:281:25: warning: passing 'unsigned char *' to parameter 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] else if (!strcmp("!=", relation)) ^~~~~~~~ gram2.y:282:12: warning: assigning to 'unsigned char *' from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] opposite = "=="; ^ ~~~~ gram2.y:489:29: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ...chain->value = malloc(strlen(buf) + 1); ^ gram2.y:489:29: note: include the header or explicitly provide a declaration for 'strlen' gram2.y:490:7: error: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strcpy(chain->value, buf); ^ gram2.y:490:7: note: include the header or explicitly provide a declaration for 'strcpy' gram2.y:521:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] printf("Cn[%s", function_map(f->fname)); ^~~~~~~~ gram2.y:500:20: note: passing argument to parameter 'original' here function_map(char *original) ^ 14 warnings and 6 errors generated. make[1]: *** [Makefile:219: rfunc-gram2.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.0/rfunc' make: *** [Makefile:302: all-recursive] Error 1 * ERROR: dev-lang/srf-1.0-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/srf-1.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/srf-1.0-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:srf-1.0-r2:20220917-093823.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/srf-1.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/srf-1.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.0' * S: '/var/tmp/portage/dev-lang/srf-1.0-r2/work/srf-1.0'