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/quasselc.spec'], chrootPath='/var/lib/mock/f31-build-49086-27217/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/quasselc.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=1549065600 Wrote: /builddir/build/SRPMS/quasselc-0-8.20170111gita0a1e6b.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/quasselc.spec'], chrootPath='/var/lib/mock/f31-build-49086-27217/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/quasselc.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jHtOIU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + /usr/bin/gzip -dc /builddir/build/SOURCES/QuasselC-a0a1e6b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed s/CFLAGS:=/CFLAGS+=/ -i Makefile + sed s/LDLIBS:=/LDLIBS+=/ -i Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ByODgU + umask 022 + cd /builddir/build/BUILD + cd QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + prefix=/usr + libdir=/usr/lib64 + LDLIBS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: bot.c: In function 'handle_sync': BUILDSTDERR: bot.c:84:2: warning: enumeration value 'DoneBuffersInit' not handled in switch [-Wswitch] BUILDSTDERR: 84 | switch(f) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: bot.c:84:2: warning: enumeration value 'MyNick' not handled in switch [-Wswitch] BUILDSTDERR: bot.c:108:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 108 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:110:3: note: here BUILDSTDERR: 110 | case Displayed: BUILDSTDERR: | ^~~~ BUILDSTDERR: bot.c:118:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 118 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:120:3: note: here BUILDSTDERR: 120 | case TempRemoved: BUILDSTDERR: | ^~~~ BUILDSTDERR: bot.c:159:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 159 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:161:3: note: here BUILDSTDERR: 161 | case RemoveUserMode: BUILDSTDERR: | ^~~~ BUILDSTDERR: bot.c:172:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 172 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:174:3: note: here BUILDSTDERR: 174 | case Quit: BUILDSTDERR: | ^~~~ BUILDSTDERR: bot.c:182:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 182 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:184:3: note: here BUILDSTDERR: 184 | case SetServer: BUILDSTDERR: | ^~~~ BUILDSTDERR: bot.c:185:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 185 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:187:3: note: here BUILDSTDERR: 187 | case SetRealName: BUILDSTDERR: | ^~~~ BUILDSTDERR: bot.c:188:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 188 | if(!fnc) BUILDSTDERR: | ^ BUILDSTDERR: bot.c:190:3: note: here BUILDSTDERR: 190 | case PartChannel: BUILDSTDERR: | ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: bot.c:48:12: warning: 'find_buffer_id' defined but not used [-Wunused-function] BUILDSTDERR: 48 | static int find_buffer_id(uint32_t net, char *name) { BUILDSTDERR: | ^~~~~~~~~~~~~~ cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o setters.o setters.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o bot.o bot.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o display.o display.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o getters.o getters.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o negotiation.o negotiation.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o io.o io.c sed -e 's,@version@,0,' \ -e 's,@libdir@,/usr/lib64,' \ -e 's,@prefix@,/usr,' \ -e 's,@includedir@,/usr/include,' < quasselc.pc.in > quasselc.pc cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o cmds.o cmds.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o symbols.o symbols.c cc -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 -Wall -g -Wextra -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wswitch-enum -std=gnu11 -O2 -fPIC -c -o main.o main.c BUILDSTDERR: cc -shared -o libquasselc.so+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 .0 -Wl,-soname,libquasselc.so.0 setters.o getters.o main.o cmds.o negotiation.o io.o symbols.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lglib-2.0 -lz cc -o bot bot.o display.o libquasselc.so.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lglib-2.0 -lz -Wl,-rpath,. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oZnZtY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 + cd QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + prefix=/usr + libdir=/usr/lib64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 'INSTALL=/usr/bin/install -p' + ln -s /usr/lib64/libquasselc.so.0 /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64/libquasselc.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0-8.20170111gita0a1e6b.fc31 --unique-debug-suffix -0-8.20170111gita0a1e6b.fc31.riscv64 --unique-debug-src-base quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 BUILDSTDERR: 102 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /usr/bin/install -p -d /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64 /usr/bin/install -p libquasselc.so.0 /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64 /usr/bin/install -p -d /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64/pkgconfig /usr/bin/install -p -m 0644 quasselc.pc /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64/pkgconfig /usr/bin/install -p -d /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/include/quasselc /usr/bin/install -p -m 0644 *.h /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/include/quasselc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64/libquasselc.so.0 extracting debug info from /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/lib64/libquasselc.so.0 original debug info size: 188kB, size after compression: 156kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fJ6XaW + umask 022 + cd /builddir/build/BUILD + cd QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + DOCDIR=/builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/share/doc/quasselc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/share/doc/quasselc + cp -pr README /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/share/doc/quasselc + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5PsUlV + umask 022 + cd /builddir/build/BUILD + cd QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + LICENSEDIR=/builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/share/licenses/quasselc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/share/licenses/quasselc + cp -pr COPYING.LESSER /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64/usr/share/licenses/quasselc + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libquasselc.so.0()(64bit) quasselc = 0-8.20170111gita0a1e6b.fc31 quasselc(riscv-64) = 0-8.20170111gita0a1e6b.fc31 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) libglib-2.0.so.0()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: quasselc-devel-0-8.20170111gita0a1e6b.fc31.riscv64 BUILDSTDERR: warning: absolute symlink: /usr/lib64/libquasselc.so -> /usr/lib64/libquasselc.so.0 Provides: pkgconfig(quasselc) = 0 quasselc-devel = 0-8.20170111gita0a1e6b.fc31 quasselc-devel(riscv-64) = 0-8.20170111gita0a1e6b.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config Processing files: quasselc-debugsource-0-8.20170111gita0a1e6b.fc31.riscv64 Provides: quasselc-debugsource = 0-8.20170111gita0a1e6b.fc31 quasselc-debugsource(riscv-64) = 0-8.20170111gita0a1e6b.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: quasselc-debuginfo-0-8.20170111gita0a1e6b.fc31.riscv64 Provides: debuginfo(build-id) = 48f594ce79d6f81da5020dfeff0f8c475db5b8a9 quasselc-debuginfo = 0-8.20170111gita0a1e6b.fc31 quasselc-debuginfo(riscv-64) = 0-8.20170111gita0a1e6b.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: quasselc-debugsource(riscv-64) = 0-8.20170111gita0a1e6b.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 Wrote: /builddir/build/RPMS/quasselc-devel-0-8.20170111gita0a1e6b.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/quasselc-debugsource-0-8.20170111gita0a1e6b.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/quasselc-debuginfo-0-8.20170111gita0a1e6b.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YGAa8U + umask 022 + cd /builddir/build/BUILD + cd QuasselC-a0a1e6bd87d3eac68b5369972d1c2035cfe47e94 + /usr/bin/rm -rf /builddir/build/BUILDROOT/quasselc-0-8.20170111gita0a1e6b.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0