Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/noip.spec'], chrootPath='/var/lib/mock/f30-build-41705-23423/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=995gid=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 Wrote: /builddir/build/SRPMS/noip-2.1.9-26.fc30.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/f30-build-41705-23423/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=995gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KiLeUY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf noip-2.1.9-1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/noip-duc-linux.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd noip-2.1.9-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (noip.patch): + echo '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 -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-26.fc30.riscv64/usr/sbin|g;s|@SYSCONFDIR@|/builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64/etc|g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.enzSUG + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + make -j4 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 BUILDSTDERR: noip2.c: In function 'dynamic_update': BUILDSTDERR: noip2.c:1592:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: write(config_fd, my_instance->Last_IP_Addr, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: realpath(answer, buffer); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c: In function 'dynamic_update.part.6': BUILDSTDERR: noip2.c:1609:26: warning: '%s' directive writing up to 16383 bytes into a region of size 16330 [-Wformat-overflow=] BUILDSTDERR: noip2.c:1606:8: BUILDSTDERR: pos = &buffer[BIGBUFLEN / 2]; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: noip2.c:1609:26: BUILDSTDERR: "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:873, 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: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: sprintf(line, "%s%s%s%s", USTRNG, login, PWDSTRNG, password); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, 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: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gCBqB3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64 + cd noip-2.1.9-1 + install -D -p -m 755 noip2 /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64//usr/sbin/noip2 + mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64//etc + touch /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64//etc/no-ip2.conf + install -Dm644 /builddir/build/SOURCES/noip.service /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.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-26.fc30 --unique-debug-suffix -2.1.9-26.fc30.riscv64 --unique-debug-src-base noip-2.1.9-26.fc30.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-26.fc30.riscv64/usr/sbin/noip2 extracting debug info from /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64/usr/sbin/noip2 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 151 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64/etc/ld.so.conf: No such file or directory + /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 Processing files: noip-2.1.9-26.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nSik6A + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + DOCDIR=/builddir/build/BUILDROOT/noip-2.1.9-26.fc30.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-26.fc30.riscv64/usr/share/doc/noip + cp -pr COPYING /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64/usr/share/doc/noip + cp -pr README.FIRST /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64/usr/share/doc/noip + exit 0 Provides: config(noip) = 2.1.9-26.fc30 noip = 2.1.9-26.fc30 noip(riscv-64) = 2.1.9-26.fc30 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-26.fc30.riscv64 Provides: noip-debugsource = 2.1.9-26.fc30 noip-debugsource(riscv-64) = 2.1.9-26.fc30 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-26.fc30.riscv64 Provides: debuginfo(build-id) = fbbc3126eecbe2943e6265386333a1644c534610 noip-debuginfo = 2.1.9-26.fc30 noip-debuginfo(riscv-64) = 2.1.9-26.fc30 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-26.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64 Wrote: /builddir/build/RPMS/noip-2.1.9-26.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/noip-debugsource-2.1.9-26.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/noip-debuginfo-2.1.9-26.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h5yasH + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/noip-2.1.9-26.fc30.riscv64 + exit 0 Child return code was: 0