>>> sc: Building main/sc 7.16-r8 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 05:25:17 +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.052517) Executing busybox-1.36.0-r7.trigger OK: 327 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 >>> 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 mv y.tab.c gram.c gcc -DSYSV3 -O2 -pipe -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c In file included from abbrev.c:24: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | gcc -DSYSV3 -O2 -pipe -DSIGVOID \ -c screen.c 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) | gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o sort.o sort.c 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) | gcc -DSYSV3 -O2 -pipe -Os -Wformat -Werror=format-security -c -o version.o version.c In file included from color.c:23: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | 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) | gcc -DSYSV3 -O2 -pipe -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c cmds.c: In function 'deleterow': cmds.c:327:15: warning: format not a string literal and no format arguments [-Wformat-security] 327 | error(buf); | ^~~ 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); | ^~~ 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 cmds.c: In function 'closecol': cmds.c:1215:15: warning: format not a string literal and no format arguments [-Wformat-security] 1215 | error(buf); | ^~~ In file included from frame.c:24: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | rm -f pvmtbl.c 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) | In file included from range.c:23: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | 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) | 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] ln vmtbl.c pvmtbl.c 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: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] rm -f pxmalloc.c 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) | 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) | ln xmalloc.c pxmalloc.c 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); | ^ rm -f qhelp.c pipe.c: In function 'doquery': pipe.c:311:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] 311 | error(""); | ^~ ln help.c qhelp.c gcc -DSYSV3 -O2 -pipe -DUSELOCALE -c gram.c In file included from xmalloc.c:8: 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) | gcc -DSYSV3 -O2 -pipe -c -DPSC pvmtbl.c interp.c: In function 'str_search': interp.c:1989:9: warning: format not a string literal and no format arguments [-Wformat-security] 1989 | error(tmp); | ^~~~~ In file included from screen.c:17: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | 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) | gcc -DSYSV3 -O2 -pipe -c -DPSC pxmalloc.c 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) | gcc -DSYSV3 -O2 -pipe -Wl,--as-needed,-O1,--sort-common -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c sc.c: In function 'main': sc.c:523:9: warning: format not a string literal and no format arguments [-Wformat-security] 523 | if (redraw) printf(redraw); | ^~ In file included from sort.c:24: sc.h:307: warning: "is_cleared" redefined 307 | #define is_cleared 0200 | 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) | screen.c: In function 'update': screen.c:1037:23: warning: format not a string literal and no format arguments [-Wformat-security] 1037 | (void) printw(revmsg); | ^~~~~~ screen.c:1058:23: warning: format not a string literal and no format arguments [-Wformat-security] 1058 | (void) printw(revmsg); | ^~~~~~ In file included from vmtbl.c:20: 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) | 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 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 | 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:1423:57: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration] 1423 | if (rcqual == 'r') yankrow(arg); | ^~~~~~~ | yankr 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); | sc.c:1424:57: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration] 1424 | else yankcol(arg); | ^~~~~~~ | backcol 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' sc.c:1600:29: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration] 1600 | ljustify(currow, curcol, currow, curcol); | ^~~~~~~~ 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; | ^~~~~~~~ vi.c: In function 'change_case': sc.c:1610:29: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration] 1610 | rjustify(currow, curcol, currow, curcol); | ^~~~~~~~ vi.c:1129:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int] 1129 | change_case(arg) | ^~~~~~~~~~~ vi.c: In function 'search_hist': sc.c:1620:29: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration] 1620 | center(currow, curcol, currow, curcol); | ^~~~~~ vi.c:1537:9: warning: format not a string literal and no format arguments [-Wformat-security] 1537 | error(tmp); | ^~~~~ 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:2027:29: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration] 2027 | gotonote(); | ^~~~~~~~ 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) | 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) | 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, | ^ ~~~~~ 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 gcc -DSYSV3 -O2 -pipe -Wl,--as-needed,-O1,--sort-common -o psc psc.c pvmtbl.o pxmalloc.o 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 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-armhf.so.1 so:libncursesw.so.6 >>> sc*: Package size: 396.0 KB >>> sc*: Compressing data... >>> sc*: Create checksum... >>> sc*: Create sc-7.16-r8.apk >>> sc: Build complete at Thu, 20 Apr 2023 05:25:21 +0000 elapsed time 0h 0m 4s >>> sc: Cleaning up srcdir >>> sc: Cleaning up pkgdir >>> sc: Uninstalling dependencies... (1/7) Purging .makedepends-sc (20230420.052517) (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: 326 MiB in 97 packages >>> sc: Updating the main/armhf repository index... >>> sc: Signing the index...