+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/vnc-reflector.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.mfjW0A
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf vnc_reflector
+ /usr/bin/tar -xof -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/vnc_reflector-1.2.4.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd vnc_reflector
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (vnc-reflector-1.2.4-loggingfix.patch):'
Patch #0 (vnc-reflector-1.2.4-loggingfix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .logging --fuzz=0
patching file logging.c
+ echo 'Patch #1 (vnc-reflector-1.2.4-rfb_format_buffer_overflow.patch):'
Patch #1 (vnc-reflector-1.2.4-rfb_format_buffer_overflow.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rfb_format --fuzz=0
patching file host_connect.c
Hunk #1 succeeded at 232 (offset -5 lines).
+ echo 'Patch #2 (vnc-reflector-1.2.4-unionfix.patch):'
Patch #2 (vnc-reflector-1.2.4-unionfix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .union_idenfifier --fuzz=0
patching file main.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0I599P
+ umask 022
+ cd /builddir/build/BUILD
+ cd vnc_reflector
+ make -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  -I.'
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  -I. -DUSE_POLL -c main.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  -I. -DUSE_POLL -c logging.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  -I. -DUSE_POLL -c active.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  -I. -DUSE_POLL -c actions.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  -I. -DUSE_POLL -c host_connect.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  -I. -DUSE_POLL -c d3des.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  -I. -DUSE_POLL -c rfblib.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  -I. -DUSE_POLL -c async_io.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  -I. -DUSE_POLL -c host_io.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  -I. -DUSE_POLL -c client_io.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  -I. -DUSE_POLL -c encode.c
In file included from client_io.h:20:0,
                 from client_io.c:29:
client_io.c: In function 'rf_client_updatereq':
client_io.c:423:32: warning: the address of 'rect' will always evaluate as 'true' [-Waddress]
       REGION_INIT(&tmp_region, &rect, 1);
                                ^
region.h:204:9: note: in definition of macro 'REGION_INIT'
     if (_rect) \
         ^~~~~
client_io.c: In function 'fn_client_add_rect':
client_io.c:552:28: warning: the address of 'add_rect' will always evaluate as 'true' [-Waddress]
   REGION_INIT(&add_region, &add_rect, 4);
                            ^
region.h:204:9: note: in definition of macro 'REGION_INIT'
     if (_rect) \
         ^~~~~
client_io.c: In function 'send_update':
client_io.c:729:29: warning: the address of 'fb_rect' will always evaluate as 'true' [-Waddress]
     REGION_INIT(&fb_region, &fb_rect, 1);
                             ^
region.h:204:9: note: in definition of macro 'REGION_INIT'
     if (_rect) \
         ^~~~~
encode.c: In function 'encode_tile_ht8':
encode.c:528:26: warning: 'dst_num_subrects' may be used uninitialized in this function [-Wmaybe-uninitialized]
       (*dst_num_subrects)++;                                                 \
                          ^~
encode.c:443:10: note: 'dst_num_subrects' was declared here
   CARD8 *dst_num_subrects;                                                   \
          ^
encode.c:543:1: note: in expansion of macro 'DEFINE_ENCODE_TILE_HT'
 DEFINE_ENCODE_TILE_HT(8)
 ^~~~~~~~~~~~~~~~~~~~~
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  -I. -DUSE_POLL -c region.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  -I. -DUSE_POLL -c translate.c
In file included from encode.c:28:0:
encode.c: In function 'encode_tile16':
encode.h:30:33: warning: 'pal.fg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   (buf)[0] = ((CARD8 *)&(pixel))[0];            \
                                 ^
encode.c:396:12: note: 'pal.fg' was declared here
   PALETTE2 pal;                                                         \
            ^
encode.c:416:1: note: in expansion of macro 'DEFINE_ENCODE_TILE'
 DEFINE_ENCODE_TILE(16)
 ^~~~~~~~~~~~~~~~~~
encode.c:450:14: warning: 'pal.bg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   bg_color = (CARD##bpp)pal->bg;                                             \
              ^
encode.c:396:12: note: 'pal.bg' was declared here
   PALETTE2 pal;                                                         \
            ^
encode.c:416:1: note: in expansion of macro 'DEFINE_ENCODE_TILE'
 DEFINE_ENCODE_TILE(16)
 ^~~~~~~~~~~~~~~~~~
encode.c:528:26: warning: 'dst_num_subrects' may be used uninitialized in this function [-Wmaybe-uninitialized]
       (*dst_num_subrects)++;                                                 \
                          ^~
encode.c:443:10: note: 'dst_num_subrects' was declared here
   CARD8 *dst_num_subrects;                                                   \
          ^
encode.c:544:1: note: in expansion of macro 'DEFINE_ENCODE_TILE_HT'
 DEFINE_ENCODE_TILE_HT(16)
 ^~~~~~~~~~~~~~~~~~~~~
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  -I. -DUSE_POLL -c control.c
In file included from encode.c:28:0:
encode.c: In function 'encode_tile32':
encode.h:38:12: warning: 'pal.fg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   (buf)[2] = ((CARD8 *)&(pixel))[2];            \
            ^
encode.c:396:12: note: 'pal.fg' was declared here
   PALETTE2 pal;                                                         \
            ^
encode.c:417:1: note: in expansion of macro 'DEFINE_ENCODE_TILE'
 DEFINE_ENCODE_TILE(32)
 ^~~~~~~~~~~~~~~~~~
encode.c:453:6: warning: 'pal.bg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (prev_bg != pal->bg || !prev_bg_set) {                                  \
      ^
encode.c:396:12: note: 'pal.bg' was declared here
   PALETTE2 pal;                                                         \
            ^
encode.c:417:1: note: in expansion of macro 'DEFINE_ENCODE_TILE'
 DEFINE_ENCODE_TILE(32)
 ^~~~~~~~~~~~~~~~~~
encode.c:528:26: warning: 'dst_num_subrects' may be used uninitialized in this function [-Wmaybe-uninitialized]
       (*dst_num_subrects)++;                                                 \
                          ^~
encode.c:443:10: note: 'dst_num_subrects' was declared here
   CARD8 *dst_num_subrects;                                                   \
          ^
encode.c:545:1: note: in expansion of macro 'DEFINE_ENCODE_TILE_HT'
 DEFINE_ENCODE_TILE_HT(32)
 ^~~~~~~~~~~~~~~~~~~~~
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  -I. -DUSE_POLL -c encode_tight.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  -I. -DUSE_POLL -c decode_hextile.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  -I. -DUSE_POLL -c decode_tight.c
decode_tight.c: In function 'tight_draw_indexed_data':
decode_tight.c:360:16: warning: variable 'w' set but not used [-Wunused-but-set-variable]
   int x, y, b, w;
                ^
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  -I. -DUSE_POLL -c fbs_files.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  -I. -DUSE_POLL -c region_more.c
In file included from region_more.c:23:0:
region_more.c: In function 'region_pack':
region_more.c:69:34: warning: the address of 'tmp_rect' will always evaluate as 'true' [-Waddress]
         REGION_INIT(&tmp_region, &tmp_rect, 1);
                                  ^
region.h:204:9: note: in definition of macro 'REGION_INIT'
     if (_rect) \
         ^~~~~
region_more.c:89:34: warning: the address of 'tmp_rect' will always evaluate as 'true' [-Waddress]
         REGION_INIT(&tmp_region, &tmp_rect, 1);
                                  ^
region.h:204:9: note: in definition of macro 'REGION_INIT'
     if (_rect) \
         ^~~~~
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  -I. -o vncreflector main.o logging.o active.o actions.o host_connect.o d3des.o rfblib.o async_io.o host_io.o client_io.o encode.o region.o translate.o control.o encode_tight.o decode_hextile.o decode_tight.o fbs_files.o region_more.o -L/usr/local/lib -lz -ljpeg
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nVGYaz
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64
+ cd vnc_reflector
+ mkdir -p /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/bin
+ cp vncreflector /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/bin
+ /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: vnc-reflector-1.2.4-23.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AhMndg
+ umask 022
+ cd /builddir/build/BUILD
+ cd vnc_reflector
+ DOCDIR=/builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/share/doc/vnc-reflector
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/share/doc/vnc-reflector
+ cp -pr README /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/share/doc/vnc-reflector
+ cp -pr LICENSE /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/share/doc/vnc-reflector
+ cp -pr ChangeLog /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64/usr/share/doc/vnc-reflector
+ exit 0
Provides: vnc-reflector = 1.2.4-23.fc28 vnc-reflector(riscv-64) = 1.2.4-23.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) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libz.so.1()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.fc28.riscv64
Wrote: /builddir/build/SRPMS/vnc-reflector-1.2.4-23.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/vnc-reflector-1.2.4-23.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yyvRnp
+ umask 022
+ cd /builddir/build/BUILD
+ cd vnc_reflector
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/vnc-reflector-1.2.4-23.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