* Package: dev-util/cdecl-2.5-r2 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux readline userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cdecl-2.5.tar.gz to /var/tmp/portage/dev-util/cdecl-2.5-r2/work * Applying cdecl-2.5.patch ... [ ok ] * Applying cdecl-2.5-implicit-pointer.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-util/cdecl-2.5-r2/work >>> Compiling source in /var/tmp/portage/dev-util/cdecl-2.5-r2/work/cdecl-2.5 ... make -j1 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-march=native -O2 -pipe -DUSE_READLINE' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'LIBS= -lreadline -lncurses' yacc cdgram.y && mv y.tab.c cdgram.c cdgram.y: warning: 7 shift/reduce conflicts [-Wconflicts-sr] lex cdlex.l && mv lex.yy.c cdlex.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DUSE_READLINE -Wl,-O1 -Wl,--as-needed -o c++decl cdecl.c -lreadline -lncurses In file included from cdecl.c:192:0: y.tab.c: In function ‘yyparse’: y.tab.c:1328:16: warning: implicit declaration of function ‘yylex’ [-Wimplicit-function-declaration] cdecl.c: In function ‘mbcheck’: cdecl.c:245:24: error: expected identifier or ‘(’ before ‘restrict’ register int i, j, restrict; ^ cdecl.c:262:12: error: expected identifier or ‘(’ before ‘=’ token restrict = crosscheck[i][j]; ^ cdecl.c:263:7: error: expected expression before ‘restrict’ if (restrict == ALWAYS) ^ cdecl.c:267:7: error: expected expression before ‘restrict’ if (restrict == NEVER) ^ cdecl.c:271:12: error: expected expression before ‘restrict’ else if (restrict == RITCHIE) ^ cdecl.c:276:12: error: expected expression before ‘restrict’ else if (restrict == PREANSI) ^ cdecl.c:281:12: error: expected expression before ‘restrict’ else if (restrict == ANSI) ^ cdecl.c:290:20: error: expected expression before ‘restrict’ progname, i, j, restrict); ^ cdecl.c: In function ‘mygetline’: cdecl.c:394:5: warning: implicit declaration of function ‘add_history’ [-Wimplicit-function-declaration] add_history (line_read); ^ cdecl.c: In function ‘attempt_completion’: cdecl.c:403:54: warning: passing argument 2 of ‘completion_matches’ from incompatible pointer type [-Wincompatible-pointer-types] if (start == 0) matches = completion_matches(text, command_completion); ^ cdecl.c:207:15: note: expected ‘char * (*)(const char *, int)’ but argument is of type ‘char * (*)(char *, int)’ extern char **completion_matches PARAMS((char *, rl_compentry_func_t *)); ^ cdecl.c: In function ‘dostdin’: cdecl.c:907:21: warning: implicit declaration of function ‘dotmpfile_from_string’ [-Wimplicit-function-declaration] if (len) ret = dotmpfile_from_string(line); ^ cdecl.c: In function ‘main’: cdecl.c:1248:5: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] int main(argc, argv) ^ cdecl.c:1255:5: warning: ‘CPPFunction’ is deprecated [-Wdeprecated-declarations] rl_attempted_completion_function = (CPPFunction *)attempt_completion; ^ cdecl.c:1256:5: warning: ‘Function’ is deprecated [-Wdeprecated-declarations] rl_completion_entry_function = (Function *)keyword_completion; ^ cdecl.c:1256:34: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] rl_completion_entry_function = (Function *)keyword_completion; ^ Makefile:32: recipe for target 'c++decl' failed make: *** [c++decl] Error 1 emake failed * ERROR: dev-util/cdecl-2.5-r2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 1939: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" || die * * If you need support, post the output of `emerge --info '=dev-util/cdecl-2.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/cdecl-2.5-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:cdecl-2.5-r2:20151231-211539.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/cdecl-2.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/cdecl-2.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/cdecl-2.5-r2/work/cdecl-2.5' * S: '/var/tmp/portage/dev-util/cdecl-2.5-r2/work/cdecl-2.5'