Mock Version: 2.7 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/geoipupdate.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1608135008.144383/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/geoipupdate.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/geoipupdate-4.6.0-2.el7.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/geoipupdate.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1608135008.144383/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/geoipupdate.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YL3zrw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf geoipupdate-4.6.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/geoipupdate-4.6.0.tar.gz + /usr/bin/tar -xvvf - drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/ drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/.github/ drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/.github/workflows/ -rw-rw-r-- root/root 1575 2020-12-14 16:54 geoipupdate-4.6.0/.github/workflows/codeql-analysis.yml -rw-rw-r-- root/root 912 2020-12-14 16:54 geoipupdate-4.6.0/.github/workflows/go.yml -rw-rw-r-- root/root 308 2020-12-14 16:54 geoipupdate-4.6.0/.github/workflows/golangci-lint.yml -rw-rw-r-- root/root 56 2020-12-14 16:54 geoipupdate-4.6.0/.gitignore -rw-rw-r-- root/root 1394 2020-12-14 16:54 geoipupdate-4.6.0/.golangci.toml -rw-rw-r-- root/root 1808 2020-12-14 16:54 geoipupdate-4.6.0/.goreleaser-packages.yml -rw-rw-r-- root/root 599 2020-12-14 16:54 geoipupdate-4.6.0/.goreleaser-windows.yml -rw-rw-r-- root/root 858 2020-12-14 16:54 geoipupdate-4.6.0/.goreleaser.yml -rw-rw-r-- root/root 167 2020-12-14 16:54 geoipupdate-4.6.0/.yamllintrc -rw-rw-r-- root/root 4876 2020-12-14 16:54 geoipupdate-4.6.0/CHANGELOG.md -rw-rw-r-- root/root 11358 2020-12-14 16:54 geoipupdate-4.6.0/LICENSE-APACHE -rw-rw-r-- root/root 1023 2020-12-14 16:54 geoipupdate-4.6.0/LICENSE-MIT -rw-rw-r-- root/root 1849 2020-12-14 16:54 geoipupdate-4.6.0/Makefile -rw-rw-r-- root/root 1352 2020-12-14 16:54 geoipupdate-4.6.0/README.dev.md -rw-rw-r-- root/root 4532 2020-12-14 16:54 geoipupdate-4.6.0/README.md -rw-rw-r-- root/root 39 2020-12-14 16:54 geoipupdate-4.6.0/_config.yml drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/_layouts/ -rw-rw-r-- root/root 1698 2020-12-14 16:54 geoipupdate-4.6.0/_layouts/default.html drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/cmd/ drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/cmd/geoipupdate/ -rw-rw-r-- root/root 1307 2020-12-14 16:54 geoipupdate-4.6.0/cmd/geoipupdate/args.go -rw-rw-r-- root/root 2469 2020-12-14 16:54 geoipupdate-4.6.0/cmd/geoipupdate/end_to_end_test.go -rw-rw-r-- root/root 2116 2020-12-14 16:54 geoipupdate-4.6.0/cmd/geoipupdate/main.go -rw-rw-r-- root/root 183 2020-12-14 16:54 geoipupdate-4.6.0/cmd/geoipupdate/version.go drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/conf/ -rw-rw-r-- root/root 1791 2020-12-14 16:54 geoipupdate-4.6.0/conf/GeoIP.conf.default drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/dev-bin/ -rwxrwxr-x root/root 1192 2020-12-14 16:54 geoipupdate-4.6.0/dev-bin/make-man-pages.pl -rwxrwxr-x root/root 1921 2020-12-14 16:54 geoipupdate-4.6.0/dev-bin/release.sh drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/doc/ -rw-rw-r-- root/root 2309 2020-12-14 16:54 geoipupdate-4.6.0/doc/GeoIP.conf.md -rw-rw-r-- root/root 2912 2020-12-14 16:54 geoipupdate-4.6.0/doc/docker.md -rw-rw-r-- root/root 2160 2020-12-14 16:54 geoipupdate-4.6.0/doc/geoipupdate.md drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/docker/ -rw-rw-r-- root/root 162 2020-12-14 16:54 geoipupdate-4.6.0/docker/Dockerfile -rwxrwxr-x root/root 1400 2020-12-14 16:54 geoipupdate-4.6.0/docker/entry.sh -rw-rw-r-- root/root 548 2020-12-14 16:54 geoipupdate-4.6.0/go.mod -rw-rw-r-- root/root 2903 2020-12-14 16:54 geoipupdate-4.6.0/go.sum drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/pkg/ drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/ -rw-rw-r-- root/root 5707 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/config.go -rw-rw-r-- root/root 14074 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/config_test.go drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/ -rw-rw-r-- root/root 6098 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/http_reader.go -rw-rw-r-- root/root 6897 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/http_reader_test.go -rw-rw-r-- root/root 4854 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/local_file_writer.go -rw-rw-r-- root/root 188 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/reader.go -rw-rw-r-- root/root 1305 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/writer.go -rw-rw-r-- root/root 1142 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/database/writer_test.go -rw-rw-r-- root/root 424 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/defaults_notwin.go -rw-rw-r-- root/root 380 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/defaults_windows.go -rw-rw-r-- root/root 2059 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/geoip_updater.go -rw-rw-r-- root/root 2351 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/geoip_updater_test.go drwxrwxr-x root/root 0 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/internal/ -rw-rw-r-- root/root 565 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/internal/retry.go -rw-rw-r-- root/root 645 2020-12-14 16:54 geoipupdate-4.6.0/pkg/geoipupdate/internal/retry_test.go + STATUS=0 + '[' 0 -ne 0 ']' + cd geoipupdate-4.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ dirname github.com/maxmind/geoipupdate + mkdir -p /builddir/build/BUILD/_build/src/github.com/maxmind ++ pwd + ln -s /builddir/build/BUILD/geoipupdate-4.6.0 /builddir/build/BUILD/_build/src/github.com/maxmind/geoipupdate + export GOPATH=/builddir/build/BUILD/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/_build:/usr/share/gocode + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IGv1Kr + umask 022 + cd /builddir/build/BUILD + cd geoipupdate-4.6.0 + cd /builddir/build/BUILD/_build/src/github.com/maxmind/geoipupdate/cmd/geoipupdate + export 'LDFLAGS=-X main.defaultConfigFile=/etc/GeoIP.conf -X main.defaultDatabaseDirectory=/usr/share/GeoIP -X main.version=4.6.0' + LDFLAGS='-X main.defaultConfigFile=/etc/GeoIP.conf -X main.defaultDatabaseDirectory=/usr/share/GeoIP -X main.version=4.6.0' + go build -trimpath -buildmode=pie -o /builddir/build/BUILD/_build/bin/geoipupdate . go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/gofrs/flock v0.8.0 + cd /builddir/build/BUILD/_build/src/github.com/maxmind/geoipupdate + ln -s /builddir/build/BUILD/_build build + make BUILDDIR=/builddir/build/BUILD/_build CONFFILE=/etc/GeoIP.conf DATADIR=/usr/share/GeoIP data sed -e 's|CONFFILE|/etc/GeoIP.conf|g' -e 's|DATADIR|/usr/share/GeoIP|g' -e 's|$||g' conf/GeoIP.conf.default > /builddir/build/BUILD/_build/GeoIP.conf sed -e 's|CONFFILE|/etc/GeoIP.conf|g' -e 's|DATADIR|/usr/share/GeoIP|g' -e 's|$||g' doc/GeoIP.conf.md > /builddir/build/BUILD/_build/GeoIP.conf.md sed -e 's|CONFFILE|/etc/GeoIP.conf|g' -e 's|DATADIR|/usr/share/GeoIP|g' -e 's|$||g' doc/geoipupdate.md > /builddir/build/BUILD/_build/geoipupdate.md dev-bin/make-man-pages.pl "/builddir/build/BUILD/_build" + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Boq5RE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64 + cd geoipupdate-4.6.0 + install -d /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/bin + install -p -m 0755 /builddir/build/BUILD/_build/bin/geoipupdate /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/bin/geoipupdate + install -d /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/etc + install -p -m 0644 conf/GeoIP.conf.default /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/etc/GeoIP.conf + install -d /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/GeoIP + install -D -m 755 /builddir/build/SOURCES/geoipupdate.cron /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/etc/cron.weekly/geoipupdate + install -d /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/man/man1 + install -p -m 0644 /builddir/build/BUILD/_build/geoipupdate.1 /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/man/man1/geoipupdate.1 + install -d /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/man/man5 + install -p -m 0644 /builddir/build/BUILD/_build/GeoIP.conf.5 /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/man/man5/GeoIP.conf.5 + /usr/lib/rpm/find-debuginfo.sh -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/geoipupdate-4.6.0 extracting debug info from /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/bin/geoipupdate *** WARNING: No build ID note found in /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/bin/geoipupdate dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: geoipupdate-4.6.0-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NgqlhT + umask 022 + cd /builddir/build/BUILD + cd geoipupdate-4.6.0 + DOCDIR=/builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + cp -pr conf/GeoIP.conf.default /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + cp -pr README.md /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + cp -pr doc/GeoIP.conf.md /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + cp -pr doc/geoipupdate.md /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/doc/geoipupdate-4.6.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HF4dI7 + umask 022 + cd /builddir/build/BUILD + cd geoipupdate-4.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/licenses/geoipupdate-4.6.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/licenses/geoipupdate-4.6.0 + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/licenses/geoipupdate-4.6.0 + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64/usr/share/licenses/geoipupdate-4.6.0 + exit 0 Provides: config(geoipupdate) = 4.6.0-2.el7 geoipupdate = 4.6.0-2.el7 geoipupdate(x86-64) = 4.6.0-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Obsoletes: geoipupdate-cron6 < 4.6.0-2.el7 Processing files: geoipupdate-cron-4.6.0-2.el7.noarch Provides: GeoIP-update = 1.6.0 config(geoipupdate-cron) = 4.6.0-2.el7 geoipupdate-cron = 4.6.0-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: GeoIP-update < 1.6.0 Processing files: geoipupdate-debuginfo-4.6.0-2.el7.x86_64 Provides: geoipupdate-debuginfo = 4.6.0-2.el7 geoipupdate-debuginfo(x86-64) = 4.6.0-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64 Wrote: /builddir/build/RPMS/geoipupdate-4.6.0-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/geoipupdate-cron-4.6.0-2.el7.noarch.rpm Wrote: /builddir/build/RPMS/geoipupdate-debuginfo-4.6.0-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BLmh3c + umask 022 + cd /builddir/build/BUILD + cd geoipupdate-4.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/geoipupdate-4.6.0-2.el7.x86_64 + exit 0 Child return code was: 0