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/noip.spec'], chrootPath='/var/lib/mock/f33-build-287526-53839/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/noip.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=1595894400 Wrote: /builddir/build/SRPMS/noip-2.1.9-30.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/noip.spec'], chrootPath='/var/lib/mock/f33-build-287526-53839/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/noip.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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.epT4fK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf noip-2.1.9-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/noip-duc-linux.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd noip-2.1.9-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (noip.patch):' Patch #0 (noip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file noip2.c Hunk #1 succeeded at 239 (offset 7 lines). patching file redhat.noip.sh + sed -i 's|@OPTFLAGS@|-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|g;s|@SBINDIR@|/builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/sbin|g;s|@SYSCONFDIR@|/builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/etc|g' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0y790M + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + make -j4 gcc -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 -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2 noip2.c: In function 'dynamic_update': noip2.c:1592:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1592 | int i, x, is_group, retval, response; | ^ noip2.c: In function 'domains': noip2.c:1823:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] 1823 | int x; | ^ noip2.c: In function 'hosts': noip2.c:1835:20: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1835 | int x, y, z; | ^ noip2.c: In function 'main': noip2.c:595:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 595 | setgid(nobody->pw_gid); | ^~~~~~~~~~~~~~~~~~~~~~ noip2.c:596:10: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 596 | setegid(nobody->pw_gid); | ^~~~~~~~~~~~~~~~~~~~~~~ noip2.c:597:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 597 | setuid(nobody->pw_uid); | ^~~~~~~~~~~~~~~~~~~~~~ noip2.c:598:17: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 598 | seteuid(nobody->pw_uid); | ^~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'save_IP': noip2.c:838:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 838 | write(config_fd, my_instance->Last_IP_Addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | strlen(my_instance->Last_IP_Addr) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'get_one_config': noip2.c:1270:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | read(fd, cfg, size); | ^~~~~~~~~~~~~~~~~~~ noip2.c:1276:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1276 | read(fd, req, size); | ^~~~~~~~~~~~~~~~~~~ noip2.c:1281:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1281 | read(fd, expth, size); | ^~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'dump_buffer': noip2.c:1585:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1585 | write(fd, buffer, x); | ^~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'yesno': noip2.c:1974:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1974 | read(0, answer, 1); | ^~~~~~~~~~~~~~~~~~ noip2.c: In function 'get_credentials': noip2.c:2273:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2273 | fgets(answer, LINELEN, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'get_device_name': noip2.c:2457:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2457 | fgets(answer, LINELEN, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'autoconf': noip2.c:2578:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2578 | fgets(answer, LINELEN, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2590:6: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 2590 | realpath(supplied_executable, buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2596:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2596 | fgets(answer, LINELEN, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2598:3: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 2598 | realpath(answer, buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2535:19: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 2535 | sprintf(line, "%s%s%s%s", USTRNG, login, PWDSTRNG, password); | ^~ ~~~~~ In file included from /usr/include/stdio.h:866, from noip2.c:136: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 16 and 526 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'dynamic_update.part.0': noip2.c:1609:26: warning: '%s' directive writing up to 16383 bytes into a region of size 16330 [-Wformat-overflow=] 1606 | pos = &buffer[BIGBUFLEN / 2]; | ~~~~~~~~~~~~~~~~~~~~~~ ...... 1609 | "GET http://%s/%s?%s%s HTTP/1.0\r\n%s\r\n\r\n", | ^~ In file included from /usr/include/stdio.h:866, from noip2.c:136: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 97 and 16480 bytes into a destination of size 16384 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AuxCbM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64 + cd noip-2.1.9-1 + install -D -p -m 755 noip2 /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64//usr/sbin/noip2 + mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64//etc + touch /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64//etc/no-ip2.conf + install -Dm644 /builddir/build/SOURCES/noip.service /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/lib/systemd/system/noip.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.9-30.fc33 --unique-debug-suffix -2.1.9-30.fc33.riscv64 --unique-debug-src-base noip-2.1.9-30.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/noip-2.1.9-1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/sbin/noip2 extracting debug info from /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/sbin/noip2 original debug info size: 404kB, size after compression: 400kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 151 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: noip-2.1.9-30.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KnJLJM + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + DOCDIR=/builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/share/doc/noip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/share/doc/noip + cp -pr COPYING /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/share/doc/noip + cp -pr README.FIRST /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64/usr/share/doc/noip + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(noip) = 2.1.9-30.fc33 noip = 2.1.9-30.fc33 noip(riscv-64) = 2.1.9-30.fc33 Requires(interp): /bin/sh /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(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) rtld(GNU_HASH) Processing files: noip-debugsource-2.1.9-30.fc33.riscv64 Provides: noip-debugsource = 2.1.9-30.fc33 noip-debugsource(riscv-64) = 2.1.9-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: noip-debuginfo-2.1.9-30.fc33.riscv64 Provides: debuginfo(build-id) = 7f59f7905502d71168ed86f172bd8a3d2556fd28 noip-debuginfo = 2.1.9-30.fc33 noip-debuginfo(riscv-64) = 2.1.9-30.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: noip-debugsource(riscv-64) = 2.1.9-30.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64 Wrote: /builddir/build/RPMS/noip-2.1.9-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/noip-debugsource-2.1.9-30.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/noip-debuginfo-2.1.9-30.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wJxMJL + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/noip-2.1.9-30.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0