Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/superkb.spec'], chrootPath='/var/lib/mock/f31-build-74360-31103/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/superkb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/superkb-0.22-16.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/superkb.spec'], chrootPath='/var/lib/mock/f31-build-74360-31103/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/superkb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bLE5Qe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf superkb-0.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/superkb-0.22.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd superkb-0.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (patch-drawklib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + echo 'Patch #1 (patch-imagelib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + echo 'Patch #2 (patch-makeinstall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + iconv -f iso8859-1 -t utf-8 changelog.en.txt + mv -f changelog.en.txt.conv changelog.en.txt + iconv -f iso8859-1 -t utf-8 changelog.es.txt + mv -f changelog.es.txt.conv changelog.es.txt + chmod a-x LICENSE + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (patch-drawklib.patch): patching file drawkblib.c Patch #1 (patch-imagelib.patch): patching file imagelib.c Patch #2 (patch-makeinstall.patch): patching file Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JAddhf + umask 022 + cd /builddir/build/BUILD + cd superkb-0.22 + make -j4 PREFIX=/usr LIB_PREFIX=/usr/lib64 'FED_FLAGS=-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable' pkg-config xinerama --exists > /dev/null \ && (echo "XINERAMA_SUPPORT=y" >> configuration) \ || (echo "XINERAMA_SUPPORT=n" >> configuration) pkg-config gdk-pixbuf-xlib-2.0 --exists > /dev/null \ && (echo "PUTICON_GDKPIXBUF=m" >> configuration) \ || (echo "PUTICON_GDKPIXBUF=n" >> configuration) pkg-config imlib2 --exists > /dev/null \ && (echo "PUTICON_IMLIB2=m" >> configuration) \ || (echo "PUTICON_IMLIB2=n" >> configuration) echo "DRAWKBLIBS_XLIB=m" >> configuration pkg-config x11 renderproto xrender cairo cairo-xlib pangocairo --exists > /dev/null \ && (echo "DRAWKBLIBS_CAIRO=m" >> configuration) \ || (echo "DRAWKBLIBS_CAIRO=n" >> configuration) make configuration make[1]: Entering directory '/builddir/build/BUILD/superkb-0.22' make[1]: 'configuration' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/superkb-0.22' make checkdep make[1]: Entering directory '/builddir/build/BUILD/superkb-0.22' make[1]: Leaving directory '/builddir/build/BUILD/superkb-0.22' make puticon/puticon-gdkpixbuf.so puticon/puticon-imlib2.so drawkblibs/drawkblibs-xlib.so drawkblibs/drawkblibs-cairo.so superkb make[1]: Entering directory '/builddir/build/BUILD/superkb-0.22' gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o puticon/puticon-gdkpixbuf.o puticon/puticon-gdkpixbuf.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o puticon/puticon-imlib2.o puticon/puticon-imlib2.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o drawkblibs/drawkblibs-xlib.o drawkblibs/drawkblibs-xlib.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o screeninfo-xinerama.o screeninfo-xinerama.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o superkb.o superkb.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o main.o main.c BUILDSTDERR: gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DIn file included from /usr/include/string.h:494, BUILDSTDERR: from superkbrc.c:12: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'handle_line' at superkbrc.c:325:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 500 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'handle_line' at superkbrc.c:320:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 500 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'handle_line' at superkbrc.c:330:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 500 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'handle_line' at superkbrc.c:335:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 500 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'handle_line' at superkbrc.c:432:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 500 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VEXTRA=\"""\" -c -o superkbrc.o superkbrc.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o imagelib.o imagelib.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o debug.o debug.c gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o timeval.o timeval.c gcc -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lX11 -lXrender -lX11 -lXext -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -shared -o puticon/puticon-gdkpixbuf.so puticon/puticon-gdkpixbuf.o gcc -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lX11 -lXrender -lX11 -lXext -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -shared -o puticon/puticon-imlib2.so puticon/puticon-imlib2.o BUILDSTDERR: gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/drawkblibs/drawkblibs-cairo.c: In function 'drawkb_cairo_DrawHollowPolygon': BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:208:6: warning: variable 'mode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 208 | int mode; BUILDSTDERR: | ^~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:207:6: warning: variable 'shape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 207 | int shape; BUILDSTDERR: | ^~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:206:6: warning: variable 'npoints' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 206 | int npoints; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c: In function 'drawkb_cairo_DrawFilledPolygon': BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:243:6: warning: variable 'mode' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 243 | int mode; BUILDSTDERR: | ^~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:242:6: warning: variable 'shape' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 242 | int shape; BUILDSTDERR: | ^~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:241:6: warning: variable 'npoints' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 241 | int npoints; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, BUILDSTDERR: from /usr/include/glib-2.0/glib/gtypes.h:32, BUILDSTDERR: from /usr/include/glib-2.0/glib/galloca.h:32, BUILDSTDERR: from /usr/include/glib-2.0/glib.h:30, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-coverage.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-font.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pangocairo.h:25, BUILDSTDERR: from drawkblibs/drawkblibs-cairo.c:57: BUILDSTDERR: drawkblibs/drawkblibs-cairo.c: In function 'local_pango_font_map_create_context': BUILDSTDERR: /usr/include/glib-2.0/glib/gmacros.h:312:39: error: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 312 | #define G_STRFUNC ((const char*) (__FUNCTION__)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/glib-2.0/glib/gmessages.h:604:35: note: in expansion of macro 'G_STRFUNC' BUILDSTDERR: 604 | G_STRFUNC, \ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:1103:3: note: in expansion of macro 'g_return_val_if_fail' BUILDSTDERR: 1103 | g_return_val_if_fail (fontmap != NULL, NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c: In function 'local_pango_cairo_create_context': BUILDSTDERR: /usr/include/glib-2.0/glib/gmacros.h:312:39: error: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 312 | #define G_STRFUNC ((const char*) (__FUNCTION__)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/glib-2.0/glib/gmessages.h:604:35: note: in expansion of macro 'G_STRFUNC' BUILDSTDERR: 604 | G_STRFUNC, \ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:1117:2: note: in expansion of macro 'g_return_val_if_fail' BUILDSTDERR: 1117 | g_return_val_if_fail (cr != NULL, NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make[1]: *** [: drawkblibs/drawkblibs-cairo.o] Error 1 BUILDSTDERR: make: *** [Makefile:60: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.JAddhf (%build) usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o drawkblib.o drawkblib.c gcc -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lX11 -lXrender -lX11 -lXext -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -shared -o drawkblibs/drawkblibs-xlib.so drawkblibs/drawkblibs-xlib.o gcc -D LIB_PREFIX=\"/usr/lib64/\" -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o drawkblibs/drawkblibs-cairo.o drawkblibs/drawkblibs-cairo.c gcc -lX11 -lm -ldl -L/usr/X11R6/lib -L/usr/X11/lib -lXft -lXinerama -o superkb superkb.o main.o superkbrc.o imagelib.o drawkblib.o debug.o timeval.o screeninfo-xinerama.o Superkb has been successfully compiled! Please proceed to installation by issuing 'make install' as root. (If you wish to use the program without installing, edit the 'configuration' file and replace '=m' values with '=y' and recompile.) make[1]: Leaving directory '/builddir/build/BUILD/superkb-0.22' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.JAddhf (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/superkb.spec