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/noip.spec'], chrootPath='/var/lib/mock/f31-build-63370-29341/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/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=1564012800 Wrote: /builddir/build/SRPMS/noip-2.1.9-28.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/noip.spec'], chrootPath='/var/lib/mock/f31-build-63370-29341/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/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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YteFbz + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + sed -i 's|@OPTFLAGS@|-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|g;s|@SBINDIR@|/builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64/usr/sbin|g;s|@SYSCONFDIR@|/builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64/etc|g' Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (noip.patch): patching file Makefile patching file noip2.c Hunk #1 succeeded at 239 (offset 7 lines). patching file redhat.noip.sh Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uftchx + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + make -j4 BUILDSTDERR: noip2.c: In function 'dynamic_update': BUILDSTDERR: noip2.c:1592:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1592 | int i, x, is_group, retval, response; BUILDSTDERR: | ^ BUILDSTDERR: noip2.c: In function 'domains': BUILDSTDERR: noip2.c:1823:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1823 | int x; BUILDSTDERR: | ^ BUILDSTDERR: noip2.c: In function 'hosts': BUILDSTDERR: noip2.c:1835:20: warning: variable 'y' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1835 | int x, y, z; BUILDSTDERR: | ^ BUILDSTDERR: noip2.c: In function 'main': BUILDSTDERR: noip2.c:595:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 595 | setgid(nobody->pw_gid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:596:10: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 596 | setegid(nobody->pw_gid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:597:17: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 597 | setuid(nobody->pw_uid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:598:17: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 598 | seteuid(nobody->pw_uid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'save_IP': BUILDSTDERR: noip2.c:838:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 838 | write(config_fd, my_instance->Last_IP_Addr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 839 | strlen(my_instance->Last_IP_Addr) + 1); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'get_one_config': BUILDSTDERR: noip2.c:1270:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1270 | read(fd, cfg, size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:1276:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1276 | read(fd, req, size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:1281:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1281 | read(fd, expth, size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'dump_buffer': BUILDSTDERR: noip2.c:1585:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1585 | write(fd, buffer, x); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'yesno': BUILDSTDERR: noip2.c:1974:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1974 | read(0, answer, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'get_credentials': BUILDSTDERR: noip2.c:2273:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2273 | fgets(answer, LINELEN, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'get_device_name': BUILDSTDERR: noip2.c:2457:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2457 | fgets(answer, LINELEN, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'autoconf': BUILDSTDERR: noip2.c:2578:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2578 | fgets(answer, LINELEN, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:2590:6: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2590 | realpath(supplied_executable, buffer); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:2596:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2596 | fgets(answer, LINELEN, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:2598:3: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2598 | realpath(answer, buffer); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'dynamic_update.part.0': BUILDSTDERR: noip2.c:1609:26: warning: '%s' directive writing up to 16383 bytes into a region of size 16330 [-Wformat-overflow=] BUILDSTDERR: 1606 | pos = &buffer[BIGBUFLEN / 2]; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 1609 | "GET http://%s/%s?%s%s HTTP/1.0\r\n%s\r\n\r\n", BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from noip2.c:136: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 97 and 16480 bytes into a destination of size 16384 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'autoconf': BUILDSTDERR: noip2.c:2535:19: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] BUILDSTDERR: 2535 | sprintf(line, "%s%s%s%s", USTRNG, login, PWDSTRNG, password); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from noip2.c:136: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 526 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yDPeRx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64 + cd noip-2.1.9-1 + install -D -p -m 755 noip2 /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64//usr/sbin/noip2 + mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64//etc + touch /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64//etc/no-ip2.conf + install -Dm644 /builddir/build/SOURCES/noip.service /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.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-28.fc31 --unique-debug-suffix -2.1.9-28.fc31.riscv64 --unique-debug-src-base noip-2.1.9-28.fc31.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 BUILDSTDERR: 151 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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64/usr/sbin/noip2 extracting debug info from /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64/usr/sbin/noip2 original debug info size: 164kB, size after compression: 164kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: noip-2.1.9-28.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q85p8v + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + DOCDIR=/builddir/build/BUILDROOT/noip-2.1.9-28.fc31.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-28.fc31.riscv64/usr/share/doc/noip + cp -pr COPYING /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64/usr/share/doc/noip + cp -pr README.FIRST /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64/usr/share/doc/noip + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(noip) = 2.1.9-28.fc31 noip = 2.1.9-28.fc31 noip(riscv-64) = 2.1.9-28.fc31 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-28.fc31.riscv64 Provides: noip-debugsource = 2.1.9-28.fc31 noip-debugsource(riscv-64) = 2.1.9-28.fc31 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-28.fc31.riscv64 Provides: debuginfo(build-id) = f6aa6efc30d3718502bf309b0fd081cc084ecf36 noip-debuginfo = 2.1.9-28.fc31 noip-debuginfo(riscv-64) = 2.1.9-28.fc31 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-28.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64 Wrote: /builddir/build/RPMS/noip-debugsource-2.1.9-28.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/noip-2.1.9-28.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/noip-debuginfo-2.1.9-28.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HDsxcy + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/noip-2.1.9-28.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0