* Package: dev-tex/rail-1.2_p1-r1:0 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rail-1.2_p1.zip to /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work >>> Source unpacked in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work >>> Preparing source in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail ... make -j4 -j1 CC=clang 'CFLAGS=-DYYDEBUG -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' rail rail.dvi bison -y -dv gram.y gram.y: warning: 2 reduce/reduce conflicts [8;id=da89796e0005ee6de1191e2d00000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-rr\-Wconflicts-rr8;;\] gram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples cmp -s gram.c y.tab.c || cp y.tab.c gram.c cmp -s gram.h y.tab.h || cp y.tab.h gram.h clang -DYYDEBUG -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c -o rail.o rail.c clang-15: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--defsym=__gentoo_check_ldflags__=0: 'linker' input unused [-Wunused-command-line-argument] In file included from rail.c:26: ./rail.h:74:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern freebody(); ~~~~~~ ^ int ./rail.h:80:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern freerule(); ~~~~~~ ^ int ./rail.h:82:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern outrule(); ~~~~~~ ^ int ./rail.h:85:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern delete(); ~~~~~~ ^ int ./rail.h:87:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern undef(); ~~~~~~ ^ int ./rail.h:88:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern redef(); ~~~~~~ ^ int ./rail.h:89:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] extern error(); ~~~~~~ ^ int rail.c:57:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main(argc,argv) ^ int rail.c:57:1: error: first parameter of 'main' (argument count) must be of type 'int' rail.c:72:6: error: call to undeclared function 'setopt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if(setopt(*arg,arg+1)==0) ^ rail.c:73:4: error: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] usage(); ^ rail.c:77:3: error: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] usage(); ^ rail.c:86:14: warning: passing arguments to 'mcheck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file=mcheck(malloc(len)); ^ rail.c:87:17: warning: passing arguments to 'mcheck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outfile=mcheck(malloc(len)); ^ rail.c:116:3: error: call to undeclared function 'checkdefs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] checkdefs(); ^ rail.c:118:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("unnamed rules are present",(char *)NULL); ^ rail.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc,argv) ^ rail.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int setopt(c,s) ^ rail.c:170:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] usage() ^ int rail.c:178:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] yyerror(s) ^ int rail.c:181:2: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("%s",s); ^ rail.c:178: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(s) ^ rail.c:186:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] yywrap() ^ int rail.c:197:3: error: call to undeclared function 'fatal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fatal("out of memory",(char *)NULL); ^ rail.c:193:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *mcheck(s) ^ In file included from rail.c:26: ./rail.h:71:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *mcheck(); ^ rail.c:204:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BODYTYPE *newbody(kind,body1,body2) ^ In file included from rail.c:26: ./rail.h:73:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern BODYTYPE *newbody(); ^ rail.c:229:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] freebody(body) ^ int fatal error: too many errors emitted, stopping now [-ferror-limit=] 10 warnings and 20 errors generated. make: *** [: rail.o] Error 1 shuffle=2091025491 * ERROR: dev-tex/rail-1.2_p1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-tex/rail-1.2_p1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tex/rail-1.2_p1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-tex:rail-1.2_p1-r1:20221127-062937.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail' * S: '/var/tmp/portage/dev-tex/rail-1.2_p1-r1/work/rail'