Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-kr-pretty.spec'], chrootPath='/var/lib/mock/1125176-centos-stream-x86_64-1575626186.626807/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.5h40rkca:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5h40rkca:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b53b597b985b4ec3a1a15178ffa733f7', '-D', '/var/lib/mock/1125176-centos-stream-x86_64-1575626186.626807/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5h40rkca:/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/golang-github-kr-pretty.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/golang-github-kr-pretty-0.1.0-2.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/golang-github-kr-pretty.spec'], chrootPath='/var/lib/mock/1125176-centos-stream-x86_64-1575626186.626807/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.5h40rkca:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5h40rkca:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a2ee736df18349e8bda8e75731677435', '-D', '/var/lib/mock/1125176-centos-stream-x86_64-1575626186.626807/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5h40rkca:/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/golang-github-kr-pretty.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.gORlk2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pretty-0.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pretty-0.1.0.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2018-05-06 08:33 pretty-0.1.0/ -rw-rw-r-- root/root 27 2018-05-06 08:33 pretty-0.1.0/.gitignore -rw-rw-r-- root/root 1075 2018-05-06 08:33 pretty-0.1.0/License -rw-rw-r-- root/root 168 2018-05-06 08:33 pretty-0.1.0/Readme -rw-rw-r-- root/root 6588 2018-05-06 08:33 pretty-0.1.0/diff.go -rw-rw-r-- root/root 6931 2018-05-06 08:33 pretty-0.1.0/diff_test.go -rw-rw-r-- root/root 306 2018-05-06 08:33 pretty-0.1.0/example_test.go -rw-rw-r-- root/root 7310 2018-05-06 08:33 pretty-0.1.0/formatter.go -rw-rw-r-- root/root 5108 2018-05-06 08:33 pretty-0.1.0/formatter_test.go -rw-rw-r-- root/root 67 2018-05-06 08:33 pretty-0.1.0/go.mod -rw-rw-r-- root/root 3193 2018-05-06 08:33 pretty-0.1.0/pretty.go -rw-rw-r-- root/root 992 2018-05-06 08:33 pretty-0.1.0/zero.go + STATUS=0 + '[' 0 -ne 0 ']' + cd pretty-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/glide.yaml /builddir/build/SOURCES/glide.lock . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0KBlMi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 + cd pretty-0.1.0 + go-rpm-integration install -i github.com/kr/pretty -o devel.file-list -p /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/pretty-0.1.0/_build glide.lock glide.yaml -r '.*example.*' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src' Installing: github.com/kr/pretty install: creating directory '/builddir/build/BUILD/pretty-0.1.0/_build' install: creating directory '/builddir/build/BUILD/pretty-0.1.0/_build/src' install: creating directory '/builddir/build/BUILD/pretty-0.1.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/pretty-0.1.0/_build/src/github.com/kr' '/builddir/build/BUILD/pretty-0.1.0/_build/src/github.com/kr/pretty' -> '/builddir/build/BUILD/pretty-0.1.0' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr' install: creating directory '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty' '/builddir/build/BUILD/pretty-0.1.0/diff.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/diff.go' '/builddir/build/BUILD/pretty-0.1.0/diff_test.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/diff_test.go' '/builddir/build/BUILD/pretty-0.1.0/example_test.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/example_test.go' '/builddir/build/BUILD/pretty-0.1.0/formatter.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/formatter.go' '/builddir/build/BUILD/pretty-0.1.0/formatter_test.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/formatter_test.go' '/builddir/build/BUILD/pretty-0.1.0/pretty.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/pretty.go' '/builddir/build/BUILD/pretty-0.1.0/zero.go' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/zero.go' '/builddir/build/BUILD/pretty-0.1.0/glide.lock' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/glide.lock' '/builddir/build/BUILD/pretty-0.1.0/glide.yaml' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/glide.yaml' '/builddir/build/BUILD/pretty-0.1.0/.goipath' -> '/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/gocode/src/github.com/kr/pretty/.goipath' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.modnBA + umask 022 + cd /builddir/build/BUILD + cd pretty-0.1.0 + PATH=/builddir/build/BUILD/pretty-0.1.0/_bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/kr/pretty -p /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/pretty-0.1.0/_build -r '.*example.*' Testing: github.com/kr/pretty panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5b356d] goroutine 1 [running]: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction.func1(0xc000107a30) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:472 +0x278 panic(0x93ca60, 0xdb04f0) /usr/lib/golang/src/runtime/panic.go:513 +0x1b9 github.com/gofed/symbols-extractor/pkg/util/internal/load.ImportPaths(0xc00024a940, 0x1, 0x1, 0x0, 0x1, 0xc0001070c8) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1894 +0x5d github.com/gofed/symbols-extractor/pkg/util/internal/load.PackagesAndErrors(0xc00024a940, 0x1, 0x1, 0xa5c360, 0xc000229a20, 0x6) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1848 +0xa3 github.com/gofed/symbols-extractor/pkg/util.ListPackage(0xc00010a34e, 0x14, 0x14, 0x0, 0xc000107290) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:420 +0x8f github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos.func1(0xc00010a320, 0x43, 0xa5e500, 0xc0001b5860, 0x0, 0x0, 0x0, 0xc000107328) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:181 +0x6e9 path/filepath.walk(0xc00010a320, 0x43, 0xa5e500, 0xc0001b5860, 0xc000229a00, 0x0, 0x2) /usr/lib/golang/src/path/filepath/path.go:362 +0xf6 path/filepath.Walk(0xc00010a320, 0x43, 0xc000229a00, 0x9c0926, 0x1) /usr/lib/golang/src/path/filepath/path.go:404 +0x105 github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos(0xc000213db0, 0x7ffc9881b3a5, 0x14, 0x7ffc9881b3a5, 0x14) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:139 +0x158 main.main.func1(0xc00029c500, 0x0, 0x0) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:73 +0x5d2 reflect.Value.call(0x920ba0, 0x9e6140, 0x13, 0x9c11e8, 0x4, 0xc0001079d0, 0x1, 0x1, 0xc0000a4200, 0x8c218e, ...) /usr/lib/golang/src/reflect/value.go:447 +0x454 reflect.Value.Call(0x920ba0, 0x9e6140, 0x13, 0xc0001079d0, 0x1, 0x1, 0x1, 0x9c0918, 0x1) /usr/lib/golang/src/reflect/value.go:308 +0xa4 github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction(0x920ba0, 0x9e6140, 0xc00029c500, 0x0, 0x0) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:481 +0x1fb github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.(*App).Run(0xc00007ed80, 0xc0000a6000, 0x7, 0x7, 0x0, 0x0) /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:240 +0x47f main.main() /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:125 +0x791 + exit 0 Processing files: golang-github-kr-pretty-devel-0.1.0-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eRr6xS + umask 022 + cd /builddir/build/BUILD + cd pretty-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/doc/golang-github-kr-pretty-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/doc/golang-github-kr-pretty-devel + cp -pr Readme /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/doc/golang-github-kr-pretty-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SIpDwa + umask 022 + cd /builddir/build/BUILD + cd pretty-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/licenses/golang-github-kr-pretty-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/licenses/golang-github-kr-pretty-devel + cp -pr License /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64/usr/share/licenses/golang-github-kr-pretty-devel + exit 0 Provides: golang(github.com/kr/pretty) = 0.1.0-2.el8 golang-github-kr-pretty-devel = 0.1.0-2.el8 golang-ipath(github.com/kr/pretty) = 0.1.0-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: golang(github.com/kr/text) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 Wrote: /builddir/build/RPMS/golang-github-kr-pretty-devel-0.1.0-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.waJeqt + umask 022 + cd /builddir/build/BUILD + cd pretty-0.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-kr-pretty-0.1.0-2.el8.x86_64 + exit 0 Child return code was: 0