Mock Version: 1.4.20 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/noip.spec'], chrootPath='/var/lib/mock/1065449-epel-8-x86_64-1571461841.820092/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kbq4ze1:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kbq4ze1:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6b16f2eb59d04616a7577b8669d5325a', '-D', '/var/lib/mock/1065449-epel-8-x86_64-1571461841.820092/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kbq4ze1:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/noip-2.1.9-24.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/noip.spec'], chrootPath='/var/lib/mock/1065449-epel-8-x86_64-1571461841.820092/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kbq4ze1:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kbq4ze1:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6e63a4dbb35342eea142f88b88e410c1', '-D', '/var/lib/mock/1065449-epel-8-x86_64-1571461841.820092/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0kbq4ze1:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oep0NZ + 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection|g;s|@SBINDIR@|/builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/sbin|g;s|@SYSCONFDIR@|/builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/etc|g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YrN7df + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + make -j2 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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] 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] int x; ^ noip2.c: In function 'hosts': noip2.c:1835:20: warning: variable 'y' set but not used [-Wunused-but-set-variable] 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] setgid(nobody->pw_gid); ^~~~~~~~~~~~~~~~~~~~~~ noip2.c:596:10: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(nobody->pw_gid); ^~~~~~~~~~~~~~~~~~~~~~~ noip2.c:597:17: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(nobody->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~ noip2.c:598:17: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] 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] write(config_fd, my_instance->Last_IP_Addr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] read(fd, cfg, size); ^~~~~~~~~~~~~~~~~~~ noip2.c:1276:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, req, size); ^~~~~~~~~~~~~~~~~~~ noip2.c:1281:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] 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] 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] fgets(answer, LINELEN, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2590:6: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(supplied_executable, buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2596:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(answer, LINELEN, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2598:3: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(answer, buffer); ^~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'dynamic_update.part.6': noip2.c:1609:26: warning: '%s' directive writing up to 16383 bytes into a region of size 16330 [-Wformat-overflow=] noip2.c:1606:8: pos = &buffer[BIGBUFLEN / 2]; ~~~~~~~~~~~~~~~~~~~~~~ noip2.c:1609:26: "GET http://%s/%s?%s%s HTTP/1.0\r\n%s\r\n\r\n", ^~ In file included from /usr/include/stdio.h:873, from noip2.c:136: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 97 and 16480 bytes into a destination of size 16384 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'autoconf': noip2.c:2535:19: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(line, "%s%s%s%s", USTRNG, login, PWDSTRNG, password); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from noip2.c:136: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 526 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.at9ATx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64 + cd noip-2.1.9-1 + install -D -p -m 755 noip2 /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64//usr/sbin/noip2 + mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64//etc + touch /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64//etc/no-ip2.conf + install -Dm644 /builddir/build/SOURCES/noip.service /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/lib/systemd/system/noip.service + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.1.9-24.el8 --unique-debug-suffix -2.1.9-24.el8.x86_64 --unique-debug-src-base noip-2.1.9-24.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/noip-2.1.9-1 extracting debug info from /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/sbin/noip2 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 151 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/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 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: noip-2.1.9-24.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cMEbQR + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + DOCDIR=/builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/share/doc/noip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/share/doc/noip + cp -pr COPYING /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/share/doc/noip + cp -pr README.FIRST /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64/usr/share/doc/noip + exit 0 Provides: config(noip) = 2.1.9-24.el8 noip = 2.1.9-24.el8 noip(x86-64) = 2.1.9-24.el8 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: noip-debugsource-2.1.9-24.el8.x86_64 Provides: noip-debugsource = 2.1.9-24.el8 noip-debugsource(x86-64) = 2.1.9-24.el8 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-24.el8.x86_64 Provides: debuginfo(build-id) = 7ff4629d492e20ce79758b0108de6b0a6864b156 noip-debuginfo = 2.1.9-24.el8 noip-debuginfo(x86-64) = 2.1.9-24.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: noip-debugsource(x86-64) = 2.1.9-24.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64 Wrote: /builddir/build/RPMS/noip-2.1.9-24.el8.x86_64.rpm Wrote: /builddir/build/RPMS/noip-debugsource-2.1.9-24.el8.x86_64.rpm Wrote: /builddir/build/RPMS/noip-debuginfo-2.1.9-24.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eCG2gc + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/noip-2.1.9-24.el8.x86_64 + exit 0 Child return code was: 0