* Package: app-office/sc-7.16-r1 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying sc-7.16-amd64.patch ... [ ok ] * Applying sc-7.16-lex-syntax.patch ... [ ok ] x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -DDFLT_PAGER=\"less\" -c abbrev.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -DDOBACKUPS -c cmds.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c -o color.o color.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -DDOBACKUPS -c crypt.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c -o format.o format.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c -o frame.o frame.c bison -y -d gram.y x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c help.c In file included from color.c:22:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from color.c:20:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition In file included from help.c:14:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from help.c:13:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition In file included from cmds.c:31:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from cmds.c:23:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -ffloat-store -DSIGVOID \ -DREGCOMP -c interp.c cmds.c: In function 'openfile': cmds.c:2566:2: warning: missing sentinel in function call [-Wformat] x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c -o pipe.o pipe.c cmds.c: In function 'backup_file': cmds.c:3586:7: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] cmds.c: In function 'readfile': cmds.c:3069:9: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] cmds.c: In function 'openfile': cmds.c:2559:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] cmds.c:2563:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] In file included from pipe.c:12:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from pipe.c:10:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition pipe.c: In function 'dostat': pipe.c:358:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'dogetkey': pipe.c:347:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'doquery': pipe.c:305:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c:306:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] In file included from interp.c:43:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from interp.c:42:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition pipe.c: In function 'doseval': pipe.c:288:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c:289:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'doeval': pipe.c:271:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'getrange': pipe.c:249:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'getframe': pipe.c:206:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'getfmt': pipe.c:182:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] mv y.tab.c gram.c pipe.c: In function 'getformat': pipe.c:163:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'getexp': pipe.c:149:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'getstring': pipe.c:117:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'fgetnum':x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c -o range.o range.c pipe.c:92:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] pipe.c: In function 'getnum': pipe.c:49:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -DSIGVOID \ -c screen.c In file included from screen.c:17:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from screen.c:15:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition In file included from sc.c:37:0: sc.h:307:0: warning: "is_cleared" redefined [enabled by default] In file included from sc.c:17:0: /usr/include/curses.h:1303:0: note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DSYSV3 -c -o sort.o sort.c sc.c: In function 'main': sc.c:523:2: error: format not a string literal and no format arguments [-Werror=format-security] sc.c:439:11: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] sc.c:440:11: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] sc.c:1026:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] cc1: some warnings being treated as errors make: *** [sc.o] Error 1 make: *** Waiting for unfinished jobs.... emake failed * ERROR: app-office/sc-7.16-r1::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 1891: Called die * The specific snippet of code: * emake prefix="${D}"/usr || die "emake failed" * * If you need support, post the output of `emerge --info '=app-office/sc-7.16-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-office/sc-7.16-r1::gentoo'`. * The complete build log is located at '/var/log/log/build/app-office/sc-7.16-r1:20140826-042304.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/sc-7.16-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/sc-7.16-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-office/sc-7.16-r1/work/sc-7.16' * S: '/var/tmp/portage/app-office/sc-7.16-r1/work/sc-7.16'