>>> sc: Building main/sc 7.16-r8 (using abuild 3.13.0-r3) started Tue, 23 Apr 2024 00:42:25 +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_p20240330-r0)
(2/7) Installing libmenuw (6.4_p20240330-r0)
(3/7) Installing libpanelw (6.4_p20240330-r0)
(4/7) Installing libncurses++ (6.4_p20240330-r0)
(5/7) Installing ncurses-dev (6.4_p20240330-r0)
(6/7) Installing byacc (20240109-r0)
(7/7) Installing .makedepends-sc (20240423.004226)
Executing busybox-1.36.1-r25.trigger
OK: 376 MiB in 109 packages
>>> sc: Cleaning up srcdir
>>> sc: Cleaning up pkgdir
>>> sc: Cleaning up tmpdir
>>> sc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/sc-7.16.tar.gz
Connecting to distfiles.alpinelinux.org (172.105.82.32:443)
saving to '/var/cache/distfiles/v3.20/sc-7.16.tar.gz.part'
sc-7.16.tar.gz.part  100% |********************************|  205k  0:00:00 ETA
'/var/cache/distfiles/v3.20/sc-7.16.tar.gz.part' saved
>>> sc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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.20/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   -c -o color.o color.c
gcc -DSYSV3 -O2 -pipe  -DDOBACKUPS -c crypt.c
gcc -DSYSV3 -O2 -pipe   -c -o format.o format.c
gcc -DSYSV3 -O2 -pipe   -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   -c -o pipe.o pipe.c
gcc -DSYSV3 -O2 -pipe   -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   -c -o sort.o sort.c
gcc -DSYSV3 -O2 -pipe   -c -o version.o version.c
gcc -DSYSV3 -O2 -pipe -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c
gcc -DSYSV3 -O2 -pipe   -c -o vmtbl.o vmtbl.c
gcc -DSYSV3 -O2 -pipe   -c -o xmalloc.o xmalloc.c
rm -f pvmtbl.c
rm -f pxmalloc.c
ln vmtbl.c pvmtbl.c
rm -f qhelp.c
ln xmalloc.c pxmalloc.c
gcc -DSYSV3 -O2 -pipe -c -DPSC pvmtbl.c
ln help.c qhelp.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 '<stdlib.h>' or provide a declaration of 'exit'
    9 | #include <stdio.h>
  +++ |+#include <stdlib.h>
   10 | char    *header = " Quick Reference";
mv y.tab.c gram.c
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 '<stdlib.h>' or provide a declaration of 'exit'
gcc -DSYSV3 -O2 -pipe -DUSELOCALE -c gram.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':
sc.c: In function 'main':
cmds.c:489:15: warning: format not a string literal and no format arguments [-Wformat-security]
  489 |         error(buf);
      |               ^~~
sc.c:523:9: warning: format not a string literal and no format arguments [-Wformat-security]
  523 |         if (redraw) printf(redraw);
      |         ^~
cmds.c: In function 'yankcol':
cmds.c:544:15: warning: format not a string literal and no format arguments [-Wformat-security]
  544 |         error(buf);
      |               ^~~
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;
      |                                                       ^~~~~~~~
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);
      |                       ^~~~~~
cmds.c: In function 'closecol':
cmds.c:1215:15: warning: format not a string literal and no format arguments [-Wformat-security]
 1215 |         error(buf);
      |               ^~~
vi.c: In function 'change_case':
vi.c:1129:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int]
 1129 | change_case(arg)
      | ^~~~~~~~~~~
cmds.c: In function 'formatcol':
cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int]
 1471 | formatcol(arg)
      | ^~~~~~~~~
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: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
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':
sc.c:1423:57: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration]
 1423 |                                 if (rcqual == 'r')      yankrow(arg);
      |                                                         ^~~~~~~
      |                                                         yankr
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]
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:1424:57: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration]
 1424 |                                 else                    yankcol(arg);
      |                                                         ^~~~~~~
      |                                                         backcol
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);
      |                             ^~~~~~~~
vmtbl.c:22: warning: "error" redefined
   22 | #define error(fmt, ...) printf(fmt, __VA_ARGS__)
      | 
In file included from vmtbl.c:20:
sc.h:46: note: this is the location of the previous definition
   46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
      | 
sc.c:1620:29: warning: implicit declaration of function 'center' [-Wimplicit-function-declaration]
 1620 |                             center(currow, curcol, currow, curcol);
      |                             ^~~~~~
gcc -DSYSV3 -O2 -pipe -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o psc psc.c pvmtbl.o pxmalloc.o 
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);
      |         ^
sc.c:2027:29: warning: implicit declaration of function 'gotonote' [-Wimplicit-function-declaration]
 2027 |                             gotonote();
      |                             ^~~~~~~~
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);
      |         ^~~~~
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
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
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
>>> 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
mkdir /home/buildozer/aports/main/sc/pkg/sc/usr/share/doc/sc
strip /home/buildozer/aports/main/sc/pkg/sc/usr/bin/psc
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-x86.so.1
	so:libncursesw.so.6
>>> sc*: Package size: 452.0 KB
>>> sc*: Compressing data...
>>> sc*: Create checksum...
>>> sc*: Create sc-7.16-r8.apk
>>> sc: Build complete at Tue, 23 Apr 2024 00:42:31 +0000 elapsed time 0h 0m 6s
>>> sc: Cleaning up srcdir
>>> sc: Cleaning up pkgdir
>>> sc: Uninstalling dependencies...
(1/7) Purging .makedepends-sc (20240423.004226)
(2/7) Purging ncurses-dev (6.4_p20240330-r0)
(3/7) Purging libncurses++ (6.4_p20240330-r0)
(4/7) Purging libpanelw (6.4_p20240330-r0)
(5/7) Purging byacc (20240109-r0)
(6/7) Purging libformw (6.4_p20240330-r0)
(7/7) Purging libmenuw (6.4_p20240330-r0)
Executing busybox-1.36.1-r25.trigger
OK: 376 MiB in 102 packages
>>> sc: Updating the main/x86 repository index...
>>> sc: Signing the index...