Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hans.spec'], chrootPath='/var/lib/mock/f33-build-297376-55895/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hans.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=1596240000 Wrote: /builddir/build/SRPMS/hans-1.0-10.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hans.spec'], chrootPath='/var/lib/mock/f33-build-297376-55895/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hans.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=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zJAOxf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hans-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/hans-1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hans-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rUKJ4f + umask 022 + cd /builddir/build/BUILD + cd hans-1.0 + make -j4 'FLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' mkdir -p build g++ -c src/tun.cpp -o build/tun.o -c -g `sh osflags c ` g++ -c src/sha1.cpp -o build/sha1.o -c -g `sh osflags c ` g++ -c src/main.cpp -o build/main.o -c -g `sh osflags c ` g++ -c src/client.cpp -o build/client.o -c -g `sh osflags c ` g++ -c src/server.cpp -o build/server.o -c -g `sh osflags c ` g++ -c src/auth.cpp -o build/auth.o -c -g `sh osflags c ` src/main.cpp: In function 'int main(int, char**)': src/main.cpp:230:19: warning: ignoring return value of 'int daemon(int, int)' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | daemon(0, 0); | ~~~~~~^~~~~~ src/main.cpp:214:51: warning: 'serverName' may be used uninitialized in this function [-Wmaybe-uninitialized] 214 | struct hostent* he = gethostbyname(serverName); | ~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -c src/worker.cpp -o build/worker.o -c -g `sh osflags c ` g++ -c src/time.cpp -o build/time.o -c -g `sh osflags c ` src/server.cpp: In member function 'virtual void Server::handleTimeout()': src/server.cpp:304:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 304 | for (int i = 0; i < clientList.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ gcc -c `sh osflags dev ` -o build/tun_dev.o -o build/tun_dev.o -c -g `sh osflags c ` In file included from /usr/include/string.h:519, from src/tun_dev_linux.c:29: In function 'strncpy', inlined from 'tun_open_common' at src/tun_dev_linux.c:96:8: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/worker.cpp: In member function 'virtual void Worker::run()': src/worker.cpp:157:41: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 157 | bool valid = dataLength >= sizeof(TunnelHeader); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -c src/echo.cpp -o build/echo.o -c -g `sh osflags c ` g++ -c src/exception.cpp -o build/exception.o -c -g `sh osflags c ` In file included from /usr/include/string.h:519, from src/worker.cpp:25: In function 'strncpy', inlined from 'Worker::TunnelHeader::Magic::Magic(char const*)' at src/worker.cpp:37:12: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c src/utility.cpp -o build/utility.o -o build/utility.o -c -g `sh osflags c ` src/echo.cpp: In member function 'void Echo::send(int, uint32_t, bool, uint16_t, uint16_t)': src/echo.cpp:68:63: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 68 | if (payloadLength + sizeof(IpHeader) + sizeof(EchoHeader) > bufferSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/echo.cpp: In member function 'int Echo::receive(uint32_t&, bool&, uint16_t&, uint16_t&)': src/echo.cpp:96:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 96 | if (dataLength < sizeof(IpHeader) + sizeof(EchoHeader)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o hans build/tun.o build/sha1.o build/main.o build/client.o build/server.o build/auth.o build/worker.o build/time.o build/tun_dev.o build/echo.o build/exception.o build/utility.o `sh osflags ld ` + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6E5Ejh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64 + cd hans-1.0 + install -pD hans /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64//usr/sbin/hans + install -Dp -m 0644 /builddir/build/SOURCES/hans-client.service /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64//usr/lib/systemd/system/hans-client.service + install -Dp -m 0644 /builddir/build/SOURCES/hans-server.service /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64//usr/lib/systemd/system/hans-server.service + install -Dp -m 0644 /builddir/build/SOURCES/hans-client.sysconfig /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64//etc/sysconfig/hans-client + install -Dp -m 0644 /builddir/build/SOURCES/hans-server.sysconfig /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64//etc/sysconfig/hans-server + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0-10.fc33 --unique-debug-suffix -1.0-10.fc33.riscv64 --unique-debug-src-base hans-1.0-10.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hans-1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/sbin/hans extracting debug info from /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/sbin/hans original debug info size: 1748kB, size after compression: 1532kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 157 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hans-1.0-10.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oeRedi + umask 022 + cd /builddir/build/BUILD + cd hans-1.0 + DOCDIR=/builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/doc/hans + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/doc/hans + cp -pr CHANGES /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/doc/hans + cp -pr README.md /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/doc/hans + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.iZA4nh + umask 022 + cd /builddir/build/BUILD + cd hans-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/licenses/hans + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/licenses/hans + cp -pr LICENSE /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64/usr/share/licenses/hans + RPM_EC=0 ++ jobs -p + exit 0 Provides: hans = 1.0-10.fc33 hans(riscv-64) = 1.0-10.fc33 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: hans-client-1.0-10.fc33.riscv64 Provides: config(hans-client) = 1.0-10.fc33 hans-client = 1.0-10.fc33 hans-client(riscv-64) = 1.0-10.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Processing files: hans-server-1.0-10.fc33.riscv64 Provides: config(hans-server) = 1.0-10.fc33 hans-server = 1.0-10.fc33 hans-server(riscv-64) = 1.0-10.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Processing files: hans-debugsource-1.0-10.fc33.riscv64 Provides: hans-debugsource = 1.0-10.fc33 hans-debugsource(riscv-64) = 1.0-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hans-debuginfo-1.0-10.fc33.riscv64 Provides: debuginfo(build-id) = 5b832731604a856fa47f21ec37b080b727898570 hans-debuginfo = 1.0-10.fc33 hans-debuginfo(riscv-64) = 1.0-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hans-debugsource(riscv-64) = 1.0-10.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64 Wrote: /builddir/build/RPMS/hans-client-1.0-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/hans-1.0-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/hans-debugsource-1.0-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/hans-server-1.0-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/hans-debuginfo-1.0-10.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xjm2xg + umask 022 + cd /builddir/build/BUILD + cd hans-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hans-1.0-10.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0