+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/sc.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QLFLUt
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf sc-7.16
+ /usr/bin/gzip -dc /builddir/build/SOURCES/sc-7.16.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sc-7.16
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/Upstream-changes-from-old-versions.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/function_definitions.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/call_function_not_take_its_address.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/format_security_fixes.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/nonotimeout-ncurses6.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nG7fg5
+ umask 022
+ cd /builddir/build/BUILD
+ cd sc-7.16
+ make all sc.1 psc.1 -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3'
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -DDFLT_PAGER=\"less\" -c abbrev.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -DDOBACKUPS  -c cmds.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o color.o color.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3  -DDOBACKUPS -c crypt.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o format.o format.c
cmds.c: In function 'formatcol':
cmds.c:1471:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int]
 formatcol(arg)
 ^~~~~~~~~
cmds.c: In function 'ljustify':
cmds.c:1606:1: warning: type of 'sr' defaults to 'int' [-Wimplicit-int]
 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]
 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]
 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]
cmds.c: In function 'openfile':
cmds.c:2565:2: warning: missing sentinel in function call [-Wformat=]
  (void) execl("/bin/sh", "sh", "-c", efname, 0);
  ^
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o frame.o frame.c
cmds.c:2558:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
  (void) dup(pipefd[0]);  /* connect to first pipe */
  ^~~~~~~~~~~~~~~~~~~~~
cmds.c:2562:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
      (void) dup(pipefd[3]); /* connect to second pipe */
      ^~~~~~~~~~~~~~~~~~~~~
cmds.c: In function 'readfile':
cmds.c:3069:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
  freopen("/dev/tty", "r", stdin);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bison -y -d gram.y
cmds.c: In function 'backup_file':
cmds.c:3586:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result]
  chown(tpath, statbuf.st_uid, statbuf.st_gid);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3  -c help.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -ffloat-store  -DSIGVOID  \
-DREGCOMP  -c interp.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o pipe.o pipe.c
pipe.c: In function 'getnum':
pipe.c:39:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
      if (p)
         ^
pipe.c:49:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write(fd, line, strlen(line));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'fgetnum':
pipe.c:92:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write(fd, line, strlen(line));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'getstring':
pipe.c:117:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write(fd, line, strlen(line));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'getexp':
pipe.c:149:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write(fd, line, strlen(line));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'getformat':
pipe.c:163:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(fd, line, strlen(line));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'getfmt':
pipe.c:182:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write(fd, line, strlen(line));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'getframe':
pipe.c:206:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(fd, line, strlen(line));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'getrange':
pipe.c:249:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(fd, line, strlen(line));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'doeval':
pipe.c:271:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(fd, line, strlen(line));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'doseval':
pipe.c:288:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, s, strlen(s));
  ^~~~~~~~~~~~~~~~~~~~~~~
pipe.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(fd, "\n", 1);
     ^~~~~~~~~~~~~~~~~~
pipe.c: In function 'doquery':
pipe.c:305:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, line, strlen(line));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c:306:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(fd, "\n", 1);
  ^~~~~~~~~~~~~~~~~~
pipe.c: In function 'dogetkey':
pipe.c:347:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(macrofd, line, len);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
pipe.c: In function 'dostat':
pipe.c:358:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write(fd, line, strlen(line));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
interp.c: In function 'dolmax':
interp.c:691:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (!count || v > maxval)
  ^~
interp.c:692:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
      maxval = v; count++;
                  ^~~~~
interp.c: In function 'dolmin':
interp.c:709:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (!count || v < minval)
  ^~
interp.c:710:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
      minval = v; count++;
                  ^~~~~
interp.c: In function 'decompile':
interp.c:2609:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case 'f': for (s="@fixed "; (line[linelim++] = *s++); );
            ^~~
interp.c:2610:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2613:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case 'F': for (s="(@fixed)"; (line[linelim++] = *s++); );
            ^~~
interp.c:2614:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2669:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case NOW: for (s = "@now"; (line[linelim++] = *s++); );
            ^~~
interp.c:2670:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2700:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case MYROW: for (s = "@myrow"; (line[linelim++] = *s++); );
              ^~~
interp.c:2701:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2703:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case MYCOL: for (s = "@mycol"; (line[linelim++] = *s++); );
              ^~~
interp.c:2704:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2706:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case LASTROW: for (s = "@lastrow"; (line[linelim++] = *s++); );
                ^~~
interp.c:2707:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2709:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case LASTCOL: for (s = "@lastcol"; (line[linelim++] = *s++); );
                ^~~
interp.c:2710:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    linelim--;
    ^~~~~~~
interp.c:2714:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case NUMITER: for (s = "@numiter"; (line[linelim++] = *s++); );
                ^~~
interp.c:2715:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2717:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case ERR_: for (s = "@err"; (line[linelim++] = *s++); );
             ^~~
interp.c:2718:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2720:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case PI_: for (s = "@pi"; (line[linelim++] = *s++); );
            ^~~
interp.c:2721:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2723:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case BLACK: for (s = "@black"; (line[linelim++] = *s++); );
              ^~~
interp.c:2724:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2726:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case RED: for (s = "@red"; (line[linelim++] = *s++); );
            ^~~
interp.c:2727:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2729:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case GREEN: for (s = "@green"; (line[linelim++] = *s++); );
              ^~~
interp.c:2730:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2732:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case YELLOW: for (s = "@yellow"; (line[linelim++] = *s++); );
               ^~~
interp.c:2733:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2735:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case BLUE: for (s = "@blue"; (line[linelim++] = *s++); );
             ^~~
interp.c:2736:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2738:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case MAGENTA: for (s = "@magenta"; (line[linelim++] = *s++); );
                ^~~
interp.c:2739:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2741:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case CYAN: for (s = "@cyan"; (line[linelim++] = *s++); );
             ^~~
interp.c:2742:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
interp.c:2744:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  case WHITE: for (s = "@white"; (line[linelim++] = *s++); );
              ^~~
interp.c:2745:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
                         linelim--;
                         ^~~~~~~
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o range.o range.c
mv y.tab.c gram.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c
sc.c: In function 'main':
sc.c:1301:25: warning: implicit declaration of function 'list_frames'; did you mean 'list_ranges'? [-Wimplicit-function-declaration]
        if (!brokenpipe) list_frames(f);
                         ^~~~~~~~~~~
                         list_ranges
sc.c:1414:24: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration]
     if (rcqual == 'r') yankrow(arg);
                        ^~~~~~~
                        yankr
sc.c:1415:12: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration]
     else   yankcol(arg);
            ^~~~~~~
            backcol
sc.c:1591:8: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration]
        ljustify(currow, curcol, currow, curcol);
        ^~~~~~~~
sc.c:1601:8: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration]
        rjustify(currow, curcol, currow, curcol);
        ^~~~~~~~
sc.c:1611:8: warning: implicit declaration of function 'center'; did you mean 'newterm'? [-Wimplicit-function-declaration]
        center(currow, curcol, currow, curcol);
        ^~~~~~
        newterm
sc.c:2018:8: warning: implicit declaration of function 'gotonote'; did you mean 'gototop'? [-Wimplicit-function-declaration]
        gotonote();
        ^~~~~~~~
        gototop
sc.c:233:14: warning: unused variable 'home' [-Wunused-variable]
     char    *home;
              ^~~~
sc.c:430:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
    freopen("/dev/tty", "r", stdin);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sc.c:431:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
    freopen("/dev/tty", "w", stdout);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sc.c:1018:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
      system("man sc");
      ^~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3    -DSIGVOID \
 -c screen.c
screen.c: In function 'update':
screen.c:457:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (fr && strow < fr->or_left->row + ftoprows)
   ^~
screen.c:459:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (currow < strow)
       ^~
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o sort.o sort.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o version.o version.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o vmtbl.o vmtbl.c
vi.c: In function 'write_line':
vi.c:146:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
vi.c:147:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
         cr_line();    break;
                       ^~~~~
vi.c:516:35: warning: implicit declaration of function 'gotonote'; did you mean 'gototop'? [-Wimplicit-function-declaration]
  case '*':  if (nmgetch() == '*') gotonote(); break;
                                   ^~~~~~~~
                                   gototop
vi.c: In function 'change_case':
vi.c:1122:1: warning: type of 'arg' defaults to 'int' [-Wimplicit-int]
 change_case(arg)
 ^~~~~~~~~~~
vi.c: In function 'search_again':
vi.c:1610:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
      else
      ^~~~
vi.c:1612:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   (void) strcpy(line, history[histp].histline);
   ^
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -c -o xmalloc.o xmalloc.c
vi.c: In function 'doshell':
vi.c:1392:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
     (void) fgets(cmd, MAXCMD, stdin);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f pvmtbl.c
ln vmtbl.c pvmtbl.c
rm -f pxmalloc.c
ln xmalloc.c pxmalloc.c
rm -f qhelp.c
ln help.c qhelp.c
name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev sc.doc > sc.1
name=sc NAME=SC LIBDIR=/usr/share/doc/sc sh torev psc.doc > psc.1
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -DUSELOCALE -c gram.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -c -DPSC pvmtbl.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3 -c -DPSC pxmalloc.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3  -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3  -o psc psc.c pvmtbl.o pxmalloc.o 
gram.y: In function 'yyparse':
gram.y:310:7: warning: implicit declaration of function 'ljustify' [-Wimplicit-function-declaration]
     { ljustify($2.left.vp->row, $2.left.vp->col,
       ^~~~~~~~
gram.y:317:7: warning: implicit declaration of function 'rjustify' [-Wimplicit-function-declaration]
     { rjustify($2.left.vp->row, $2.left.vp->col,
       ^~~~~~~~
gram.y:324:7: warning: implicit declaration of function 'center'; did you mean 'newterm'? [-Wimplicit-function-declaration]
     { center($2.left.vp->row, $2.left.vp->col,
       ^~~~~~
       newterm
gram.y:619:7: warning: implicit declaration of function 'add_abbr'; did you mean 'del_abbr'? [-Wimplicit-function-declaration]
  |       S_ABBREV STRING  { add_abbr($2); }
       ^~~~~~~~
       del_abbr
gram.y:817:8: warning: implicit declaration of function 'yankrow'; did you mean 'yankr'? [-Wimplicit-function-declaration]
        yankrow(arg);
        ^~~~~~~
        yankr
gram.y:847:8: warning: implicit declaration of function 'yankcol'; did you mean 'backcol'? [-Wimplicit-function-declaration]
        yankcol(arg);
        ^~~~~~~
        backcol
gram.y:960:7: warning: implicit declaration of function 'getframe'; did you mean 'getfmt'? [-Wimplicit-function-declaration]
  | S_GETFRAME  { getframe(macrofd); }
       ^~~~~~~~
       getfmt
gram.y:962:7: warning: implicit declaration of function 'getrange'; did you mean 'sortrange'? [-Wimplicit-function-declaration]
  | S_GETRANGE STRING { getrange($2, macrofd); }
       ^~~~~~~~
       sortrange
gram.y:965:7: warning: implicit declaration of function 'doeval'; did you mean 'eval'? [-Wimplicit-function-declaration]
  | S_EVAL e  { doeval($2, NULL, currow, curcol,
       ^~~~~~
       eval
gram.y:972:7: warning: implicit declaration of function 'doseval'; did you mean 'seval'? [-Wimplicit-function-declaration]
  | S_SEVAL e  { doseval($2, currow, curcol, macrofd); }
       ^~~~~~~
       seval
gram.y:981:7: warning: implicit declaration of function 'dogetkey'; did you mean 'getbegy'? [-Wimplicit-function-declaration]
  | S_GETKEY  { dogetkey(); }
       ^~~~~~~~
       getbegy
gram.y:881:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
        write(macrofd, line, strlen(line));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gram.y:887:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
        write($3, line, strlen(line));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
gram.y:999:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
        system($2);
        ^~~~~~~~~~~            
sed < gram.y > experres.h -f eres.sed
sed < gram.y > statres.h -f sres.sed
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -DSYSV3   -DLIBDIR=\"/usr/share/doc/sc\" -DSIGVOID \
 -c lex.c
gcc  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
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ybCJZJ
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64
+ cd sc-7.16
+ install -d -m 0755 /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/bin
+ install -m 0755 sc /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/bin
+ install -m 0755 psc /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/bin
+ install -d -m 0755 /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/man/man1
+ install -m 0644 sc.1 /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/man/man1
+ install -m 0644 psc.1 /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/man/man1
+ install -d -m 0755 /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/sc
+ install -m 0644 tutorial.sc /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/sc
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: sc-7.16-7.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yqRQxZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd sc-7.16
+ DOCDIR=/builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/doc/sc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/doc/sc
+ cp -pr CHANGES /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/doc/sc
+ cp -pr README /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/doc/sc
+ cp -pr SC.MACROS /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/doc/sc
+ cp -pr TODO /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64/usr/share/doc/sc
+ exit 0
Provides: sc = 7.16-7.fc28 sc(riscv-64) = 7.16-7.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64
Wrote: /builddir/build/SRPMS/sc-7.16-7.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/sc-7.16-7.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.regkPJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd sc-7.16
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/sc-7.16-7.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff