>>> sc: Building main/sc 7.16-r8 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 09:32:24 +0000 >>> sc: Checking sanity of /home/buildozer/aports/main/sc/APKBUILD... >>> sc: Analyzing dependencies... >>> sc: Installing for build: build-base ncurses-dev byacc (1/7) Installing libformw (6.4_p20230401-r4) (2/7) Installing libmenuw (6.4_p20230401-r4) (3/7) Installing libpanelw (6.4_p20230401-r4) (4/7) Installing libncurses++ (6.4_p20230401-r4) (5/7) Installing ncurses-dev (6.4_p20230401-r4) (6/7) Installing byacc (20230219-r1) (7/7) Installing .makedepends-sc (20230420.093224) Executing busybox-1.36.0-r7.trigger OK: 441 MiB in 104 packages >>> sc: Cleaning up srcdir >>> sc: Cleaning up pkgdir >>> sc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/sc-7.16.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> sc: Fetching http://ibiblio.org/pub/linux/apps/financial/spreadsheet/sc-7.16.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 205k 100 205k 0 0 439k 0 --:--:-- --:--:-- --:--:-- 440k >>> sc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/sc-7.16.tar.gz >>> sc: Checking sha512sums... sc-7.16.tar.gz: OK format-security.patch: OK sc_7.16-2.patch: OK >>> sc: Unpacking /var/cache/distfiles/v3.18/sc-7.16.tar.gz... >>> sc: format-security.patch patching file vmtbl.c >>> sc: sc_7.16-2.patch patching file sc.h patching file cmds.c patching file abbrev.c patching file range.c patching file vi.c patching file vmtbl.c Hunk #1 succeeded at 16 with fuzz 1. patching file Makefile patching file color.c patching file debian/sc.dirs patching file debian/control patching file debian/compat patching file debian/changelog patching file debian/copyright patching file debian/rules patching file debian/sc.docs patching file debian/sc.install patching file debian/sc.manpages patching file frame.c patching file sc.c patching file sort.c patching file xmalloc.c patching file screen.c patching file lex.c patching file interp.c patching file help.c gcc -DSYSV3 -O2 -pipe -DDFLT_PAGER=\"less\" -c abbrev.c gcc -DSYSV3 -O2 -pipe -DDOBACKUPS -c cmds.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o color.o color.c gcc -DSYSV3 -O2 -pipe -DDOBACKUPS -c crypt.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o format.o format.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o frame.o frame.c yacc -d gram.y gcc -DSYSV3 -O2 -pipe -c help.c gcc -DSYSV3 -O2 -pipe -ffloat-store -DSIGVOID \ -DREGCOMP -c interp.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o pipe.o pipe.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o range.o range.c gcc -DSYSV3 -O2 -pipe -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c gcc -DSYSV3 -O2 -pipe -DSIGVOID \ -c screen.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o sort.o sort.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o version.o version.c gcc -DSYSV3 -O2 -pipe -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o vmtbl.o vmtbl.c gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o xmalloc.o xmalloc.c rm -f pvmtbl.c rm -f pxmalloc.c rm -f qhelp.c ln vmtbl.c pvmtbl.c ln xmalloc.c pxmalloc.c ln help.c qhelp.c gcc -DSYSV3 -O2 -pipe -c -DPSC pvmtbl.c gcc -DSYSV3 -O2 -pipe -c -DPSC pxmalloc.c gcc -DSYSV3 -O2 -pipe -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c pvmtbl.c:22: warning: "error" redefined 22 | #define error(fmt, ...) printf(fmt, __VA_ARGS__) | In file included from pvmtbl.c:20: sc.h:44: note: this is the location of the previous definition 44 | # define error(msg) fprintf(stderr, msg); | qhelp.c: In function 'main': qhelp.c:646:12: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 646 | (void) exit(0); | ^~~~ qhelp.c:10:1: note: include '' or provide a declaration of 'exit' 9 | #include +++ |+#include 10 | char *header = " Quick Reference"; qhelp.c:646:12: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 646 | (void) exit(0); | ^~~~ qhelp.c:646:12: note: include '' or provide a declaration of 'exit' In file included from xmalloc.c:8: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from screen.c:17: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from xmalloc.c:6: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from screen.c:15: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from cmds.c:31: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from cmds.c:23: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from abbrev.c:24: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from abbrev.c:22: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from pipe.c:12: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from pipe.c:10: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from interp.c:43: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from interp.c:42: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | mv y.tab.c gram.c cmds.c: In function 'deleterow': gcc -DSYSV3 -O2 -pipe -DUSELOCALE -c gram.c cmds.c:327:15: warning: format not a string literal and no format arguments [-Wformat-security] 327 | error(buf); | ^~~ In file included from help.c:15: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from help.c:13: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | cmds.c: In function 'yankrow': cmds.c:489:15: warning: format not a string literal and no format arguments [-Wformat-security] 489 | error(buf); | ^~~ cmds.c: In function 'yankcol': cmds.c:544:15: warning: format not a string literal and no format arguments [-Wformat-security] 544 | error(buf); | ^~~ In file included from vmtbl.c:20: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from color.c:23: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from vmtbl.c:16: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from color.c:20: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from pxmalloc.c:8: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from pxmalloc.c:6: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | pipe.c: In function 'doquery': In file included from frame.c:24: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | pipe.c:311:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 311 | error(""); | ^~ In file included from frame.c:22: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | screen.c: In function 'update': In file included from range.c:23: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | screen.c:1037:23: warning: format not a string literal and no format arguments [-Wformat-security] 1037 | (void) printw(revmsg); | ^~~~~~ In file included from range.c:22: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | In file included from sort.c:24: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | screen.c:1058:23: warning: format not a string literal and no format arguments [-Wformat-security] 1058 | (void) printw(revmsg); | ^~~~~~ In file included from sort.c:23: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | cmds.c: In function 'closecol': vmtbl.c:22: warning: "error" redefined 22 | #define error(fmt, ...) printf(fmt, __VA_ARGS__) | sc.h:46: note: this is the location of the previous definition 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | cmds.c:1215:15: warning: format not a string literal and no format arguments [-Wformat-security] 1215 | error(buf); | ^~~ In file included from sc.c:37: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from sc.c:17: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | cmds.c: In function 'formatcol': cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] 1471 | formatcol(arg) | ^~~~~~~~~ cmds.c: In function 'ljustify': cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] 1606 | ljustify(sr, sc, er, ec) | ^~~~~~~~ cmds.c:1606:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1606:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1606:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] cmds.c: In function 'rjustify': cmds.c:1635:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] 1635 | rjustify(sr, sc, er, ec) | ^~~~~~~~ cmds.c:1635:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1635:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1635:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] cmds.c: In function 'center': cmds.c:1664:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int] 1664 | center(sr, sc, er, ec) | ^~~~~~ cmds.c:1664:1: warning: type of 'sc' defaults to 'int' [-Wimplicit-int] cmds.c:1664:1: warning: type of 'er' defaults to 'int' [-Wimplicit-int] cmds.c:1664:1: warning: type of 'ec' defaults to 'int' [-Wimplicit-int] In file included from vi.c:22: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from vi.c:17: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | sc.c: In function 'main': interp.c: In function 'str_search': sc.c:523:9: warning: format not a string literal and no format arguments [-Wformat-security] 523 | if (redraw) printf(redraw); | ^~ interp.c:1989:9: warning: format not a string literal and no format arguments [-Wformat-security] 1989 | error(tmp); | ^~~~~ cmds.c: In function 'openfile': cmds.c:2565:9: warning: missing sentinel in function call [-Wformat=] 2565 | (void) execl("/bin/sh", "sh", "-c", efname, 0); | ^ In file included from gram.y:20: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from gram.y:18: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | vi.c: In function 'write_line': vi.c:523:55: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 523 | case '*': if (nmgetch() == '*') gotonote(); break; | ^~~~~~~~ sc.c:1310:46: warning: implicit declaration of function 'list_frames'; did you mean 'list_ranges'? [-Wimplicit-function-declaration] 1310 | if (!brokenpipe) list_frames(f); | ^~~~~~~~~~~ | list_ranges vi.c: In function 'change_case': vi.c:1129:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] 1129 | change_case(arg) | ^~~~~~~~~~~ sc.c:1423:57: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 1423 | if (rcqual == 'r') yankrow(arg); | ^~~~~~~ | yankr vi.c: In function 'search_hist': vi.c:1537:9: warning: format not a string literal and no format arguments [-Wformat-security] 1537 | error(tmp); | ^~~~~ sc.c:1424:57: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 1424 | else yankcol(arg); | ^~~~~~~ | backcol gcc -DSYSV3 -O2 -pipe -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o psc psc.c pvmtbl.o pxmalloc.o vi.c: In function 'query': vi.c:2041:5: warning: format not a string literal and no format arguments [-Wformat-security] 2041 | if (s != NULL) error(s); | ^~ sc.c:1600:29: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] 1600 | ljustify(currow, curcol, currow, curcol); | ^~~~~~~~ sc.c:1610:29: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 1610 | rjustify(currow, curcol, currow, curcol); | ^~~~~~~~ sc.c:1620:29: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 1620 | center(currow, curcol, currow, curcol); | ^~~~~~ gram.y: In function 'yyparse': gram.y:310:32: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] 310 | { ljustify($2.left.vp->row, $2.left.vp->col, | ^ ~~~~~~~ gram.y:317:32: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 317 | { rjustify($2.left.vp->row, $2.left.vp->col, | ^ ~~~~~~~ gram.y:324:32: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 324 | { center($2.left.vp->row, $2.left.vp->col, | ^ ~~~~~ sc.c:2027:29: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 2027 | gotonote(); | ^~~~~~~~ gram.y:619:11: warning: implicit declaration of function 'add_abbr' [-Wimplicit-function-declaration] 619 | | S_ABBREV STRING { add_abbr($2); } | ^~~~~~~~ gram.y:817:43: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 817 | yankrow(arg); | ^~~~~~~ | yankr gram.y:847:43: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 847 | yankcol(arg); | ^~~~~~~ | backcol gram.y:960:17: warning: implicit declaration of function 'getframe'; did you mean 'getformat'? [-Wimplicit-function-declaration] 960 | | S_GETFRAME { getframe(macrofd); } | ^~~~~~~~ | getformat gram.y:962:17: warning: implicit declaration of function 'getrange'; did you mean 'sortrange'? [-Wimplicit-function-declaration] 962 | | S_GETRANGE STRING { getrange($2, macrofd); } | ^~~~~~~~ | sortrange gram.y:965:17: warning: implicit declaration of function 'doeval'; did you mean 'eval'? [-Wimplicit-function-declaration] 965 | | S_EVAL e { doeval($2, NULL, currow, curcol, | ^~~~~~ | eval gram.y:972:17: warning: implicit declaration of function 'doseval'; did you mean 'seval'? [-Wimplicit-function-declaration] 972 | | S_SEVAL e { doseval($2, currow, curcol, macrofd); } | ^~~~~~~ | seval gram.y:981:17: warning: implicit declaration of function 'dogetkey'; did you mean 'setkey'? [-Wimplicit-function-declaration] 981 | | S_GETKEY { dogetkey(); } | ^~~~~~~~ | setkey gram.y:982:9: warning: format not a string literal and no format arguments [-Wformat-security] 982 | | S_ERROR STRING { error($2); } | ^ gram.y:1013:43: warning: format not a string literal and no format arguments [-Wformat-security] 1013 | sprintf(line + 1, $1); | ^~~~~~~ sed < gram.y > experres.h -f eres.sed sed < gram.y > statres.h -f sres.sed gcc -DSYSV3 -O2 -pipe -DLIBDIR=\"/usr/share/doc/sc\" -DSIGVOID \ -c lex.c In file included from lex.c:39: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | In file included from lex.c:33: /usr/include/curses.h:1417: note: this is the location of the previous definition 1417 | #define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE) | gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs abbrev.o cmds.o color.o crypt.o format.o frame.o gram.o help.o interp.o lex.o pipe.o range.o sc.o screen.o sort.o version.o vi.o vmtbl.o xmalloc.o -lm -lncurses -o sc >>> WARNING: sc: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> sc: Entering fakeroot... cp sc /home/buildozer/aports/main/sc/pkg/sc/usr/bin cp scqref /home/buildozer/aports/main/sc/pkg/sc/usr/bin cp psc /home/buildozer/aports/main/sc/pkg/sc/usr/bin strip /home/buildozer/aports/main/sc/pkg/sc/usr/bin/sc strip /home/buildozer/aports/main/sc/pkg/sc/usr/bin/scqref strip /home/buildozer/aports/main/sc/pkg/sc/usr/bin/psc mkdir /home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc name=sc NAME=SC LIBDIR=/home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc sh torev sc.doc > sc.1 name=sc NAME=SC LIBDIR=/home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc sh torev psc.doc > psc.1 mkdir -p /home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc/plugins cp tutorial.sc /home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc/tutorial.sc chmod 644 /home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc/tutorial.sc cp psc.1 /home/buildozer/aports/main/sc/pkg/sc/usr/share/man/man1/psc.1 chmod 644 /home/buildozer/aports/main/sc/pkg/sc/usr/share/man/man1/psc.1 cp sc.1 /home/buildozer/aports/main/sc/pkg/sc/usr/share/man/man1/sc.1 chmod 644 /home/buildozer/aports/main/sc/pkg/sc/usr/share/man/man1/sc.1 >>> sc-doc*: Running split function doc... >>> sc-doc*: Preparing subpackage sc-doc... >>> sc-doc*: Running postcheck for sc-doc >>> sc*: Running postcheck for sc >>> sc*: Preparing package sc... >>> sc*: Stripping binaries >>> sc-doc*: Scanning shared objects >>> sc*: Scanning shared objects >>> sc-doc*: Tracing dependencies... >>> sc-doc*: Package size: 84.0 KB >>> sc-doc*: Compressing data... >>> sc-doc*: Create checksum... >>> sc-doc*: Create sc-doc-7.16-r8.apk >>> sc*: Tracing dependencies... so:libc.musl-ppc64le.so.1 so:libncursesw.so.6 >>> sc*: Package size: 616.0 KB >>> sc*: Compressing data... >>> sc*: Create checksum... >>> sc*: Create sc-7.16-r8.apk >>> sc: Build complete at Thu, 20 Apr 2023 09:32:28 +0000 elapsed time 0h 0m 4s >>> sc: Cleaning up srcdir >>> sc: Cleaning up pkgdir >>> sc: Uninstalling dependencies... (1/7) Purging .makedepends-sc (20230420.093224) (2/7) Purging ncurses-dev (6.4_p20230401-r4) (3/7) Purging libncurses++ (6.4_p20230401-r4) (4/7) Purging libpanelw (6.4_p20230401-r4) (5/7) Purging byacc (20230219-r1) (6/7) Purging libformw (6.4_p20230401-r4) (7/7) Purging libmenuw (6.4_p20230401-r4) Executing busybox-1.36.0-r7.trigger OK: 440 MiB in 97 packages >>> sc: Updating the main/ppc64le repository index... >>> sc: Signing the index...