* Package: app-office/sc-7.16-r3: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 sc-7.16.tar.gz to /var/tmp/portage/app-office/sc-7.16-r3/work >>> Source unpacked in /var/tmp/portage/app-office/sc-7.16-r3/work >>> Preparing source in /var/tmp/portage/app-office/sc-7.16-r3/work/sc-7.16 ... * Applying sc-7.16-amd64.patch ... [ ok ] * Applying sc-7.16-lex-syntax.patch ... [ ok ] * Applying sc-7.16-c.patch ... [ ok ] * Applying sc-7.16-printf.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-office/sc-7.16-r3/work/sc-7.16 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-office/sc-7.16-r3/work/sc-7.16 ... make -j4 prefix=/var/tmp/portage/app-office/sc-7.16-r3/image//usr clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV3 -DDFLT_PAGER=\"less\" -c abbrev.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV3 -DDOBACKUPS -c cmds.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV3 -c -o color.o color.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV3 -DDOBACKUPS -c crypt.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV3 -c -o format.o format.c In file included from abbrev.c:22: ./sc.h:310:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined] #define is_cleared 0200 ^ /usr/include/curses.h:1417:9: note: previous definition is here #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) ^ In file included from color.c:22: ./sc.h:310:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined] #define is_cleared 0200 ^ /usr/include/curses.h:1417:9: note: previous definition is here #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) ^ abbrev.c:94:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ In file included from cmds.c:31: ./sc.h:310:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined] #define is_cleared 0200 ^ /usr/include/curses.h:1417:9: note: previous definition is here #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) ^ cmds.c:327:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(buf); ^~~ cmds.c:327:8: note: treat the string as an argument to avoid this error(buf); ^ "%s", cmds.c:489:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(buf); ^~~ cmds.c:489:8: note: treat the string as an argument to avoid this error(buf); ^ "%s", 2 warnings generated. cmds.c:544:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(buf); ^~~ cmds.c:544:8: note: treat the string as an argument to avoid this error(buf); ^ "%s", cmds.c:813:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fr = find_frange(currow, curcol)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:813:9: note: place parentheses around the assignment to silence this warning if (fr = find_frange(currow, curcol)) ^ ( ) cmds.c:813:9: note: use '==' to turn this assignment into an equality comparison if (fr = find_frange(currow, curcol)) ^ == clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DSYSV3 -c -o frame.o frame.c In file included from format.c:96: ./sc.h:310:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined] #define is_cleared 0200 ^ /usr/include/curses.h:1417:9: note: previous definition is here #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) ^ format.c:98:9: warning: 'bool' macro redefined [-Wmacro-redefined] #define bool int ^ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.0/include/stdbool.h:20:9: note: previous definition is here #define bool _Bool ^ cmds.c:1215:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(buf); ^~~ cmds.c:1215:8: note: treat the string as an argument to avoid this error(buf); ^ "%s", cmds.c:1471:11: error: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] formatcol(arg) ^ cmds.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] formatcol(arg) ^ cmds.c:1606:22: error: parameter 'ec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] ljustify(sr, sc, er, ec) ^ cmds.c:1606:18: error: parameter 'er' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] ljustify(sr, sc, er, ec) ^ cmds.c:1606:14: error: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] ljustify(sr, sc, er, ec) ^ cmds.c:1606:10: error: parameter 'sr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] ljustify(sr, sc, er, ec) ^ cmds.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ljustify(sr, sc, er, ec) ^ cmds.c:1635:22: error: parameter 'ec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] rjustify(sr, sc, er, ec) ^ cmds.c:1635:18: error: parameter 'er' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] rjustify(sr, sc, er, ec) ^ cmds.c:1635:14: error: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] rjustify(sr, sc, er, ec) ^ cmds.c:1635:10: error: parameter 'sr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] rjustify(sr, sc, er, ec) ^ cmds.c:1635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rjustify(sr, sc, er, ec) ^ cmds.c:1664:20: error: parameter 'ec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] center(sr, sc, er, ec) ^ cmds.c:1664:16: error: parameter 'er' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] center(sr, sc, er, ec) ^ cmds.c:1664:12: error: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] center(sr, sc, er, ec) ^ cmds.c:1664:8: error: parameter 'sr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] center(sr, sc, er, ec) ^ cmds.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] center(sr, sc, er, ec) ^ cmds.c:2864:3: error: non-void function 'writefile' should return a value [-Wreturn-type] return; ^ cmds.c:2869:3: error: non-void function 'writefile' should return a value [-Wreturn-type] return; ^ cmds.c:2889:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ cmds.c:2984:3: error: non-void function 'readfile' should return a value [-Wreturn-type] return; ^ cmds.c:2989:3: error: non-void function 'readfile' should return a value [-Wreturn-type] return; ^ 11 warnings and 17 errors generated. make: *** [Makefile:406: cmds.o] Error 1 make: *** Waiting for unfinished jobs.... 1 warning generated. In file included from frame.c:21: ./sc.h:310:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined] #define is_cleared 0200 ^ /usr/include/curses.h:1417:9: note: previous definition is here #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) ^ 2 warnings generated. 1 warning generated. * ERROR: app-office/sc-7.16-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-office/sc-7.16-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/sc-7.16-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-office:sc-7.16-r3:20220917-204636.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/sc-7.16-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/sc-7.16-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-office/sc-7.16-r3/work/sc-7.16' * S: '/var/tmp/portage/app-office/sc-7.16-r3/work/sc-7.16'