Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-shellwords.spec'], chrootPath='/var/lib/mock/f30-build-17280717-1241576/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-shellwords.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 BUILDSTDERR: warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables! Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-mattn-shellwords-1.0.6-1.fc30.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-mattn-shellwords.spec'], chrootPath='/var/lib/mock/f30-build-17280717-1241576/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-shellwords.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 BUILDSTDERR: warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables! Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o6a4Wr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-shellwords-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-shellwords-1.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-shellwords-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YrYMcc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 + cd go-shellwords-1.0.6 + go-rpm-integration install -i github.com/mattn/go-shellwords -o devel.file-list -p /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/go-shellwords-1.0.6/_build -r '.*example.*' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src' Installing: github.com/mattn/go-shellwords install: creating directory '/builddir/build/BUILD/go-shellwords-1.0.6/_build' install: creating directory '/builddir/build/BUILD/go-shellwords-1.0.6/_build/src' install: creating directory '/builddir/build/BUILD/go-shellwords-1.0.6/_build/src/github.com' install: creating directory '/builddir/build/BUILD/go-shellwords-1.0.6/_build/src/github.com/mattn' '/builddir/build/BUILD/go-shellwords-1.0.6/_build/src/github.com/mattn/go-shellwords' -> '/builddir/build/BUILD/go-shellwords-1.0.6' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn' install: creating directory '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn/go-shellwords' '/builddir/build/BUILD/go-shellwords-1.0.6/README.md' -> '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn/go-shellwords/README.md' '/builddir/build/BUILD/go-shellwords-1.0.6/shellwords.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn/go-shellwords/shellwords.go' '/builddir/build/BUILD/go-shellwords-1.0.6/shellwords_test.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn/go-shellwords/shellwords_test.go' '/builddir/build/BUILD/go-shellwords-1.0.6/util_posix.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn/go-shellwords/util_posix.go' '/builddir/build/BUILD/go-shellwords-1.0.6/.goipath' -> '/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/gocode/src/github.com/mattn/go-shellwords/.goipath' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Yp1d2W + umask 022 + cd /builddir/build/BUILD + cd go-shellwords-1.0.6 + PATH=/builddir/build/BUILD/go-shellwords-1.0.6/_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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/mattn/go-shellwords -p /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/go-shellwords-1.0.6/_build -r '.*example.*' Testing: github.com/mattn/go-shellwords BUILDSTDERR: panic: runtime error: invalid memory address or nil pointer dereference [recovered] BUILDSTDERR: panic: runtime error: invalid memory address or nil pointer dereference BUILDSTDERR: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5b522a] BUILDSTDERR: goroutine 1 [running]: BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction.func1(0xc00010d938) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:472 +0x27b BUILDSTDERR: panic(0x97c000, 0xe60220) BUILDSTDERR: /usr/lib/golang/src/runtime/panic.go:522 +0x1b5 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util/internal/load.ImportPaths(0xc0002ba110, 0x1, 0x1, 0x0, 0xc0002e8410, 0xb) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1888 +0x5a BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util/internal/load.PackagesAndErrors(0xc0002ba110, 0x1, 0x1, 0x0, 0x7, 0x7) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/internal/load/pkg.go:1839 +0xa4 BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.ListPackage(0xc0000303f5, 0x1e, 0x1e, 0x0, 0xc00010d248) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:420 +0x8f BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos.func1(0xc0000303c0, 0x54, 0xad77c0, 0xc0002b84e0, 0x0, 0x0, 0x0, 0xc0002b84e0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:181 +0x6dd BUILDSTDERR: path/filepath.walk(0xc0000303c0, 0x54, 0xad77c0, 0xc0002b84e0, 0xc00024b6e0, 0x0, 0x2) BUILDSTDERR: /usr/lib/golang/src/path/filepath/path.go:367 +0xe3 BUILDSTDERR: path/filepath.Walk(0xc0000303c0, 0x54, 0xc00024b6e0, 0xa064e6, 0x1) BUILDSTDERR: /usr/lib/golang/src/path/filepath/path.go:409 +0xff BUILDSTDERR: github.com/gofed/symbols-extractor/pkg/util.(*PackageInfoCollector).CollectPackageInfos(0xc00022bd10, 0x7ffdddea8a01, 0x1e, 0x7ffdddea8a01, 0x1e) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/pkg/util/util.go:139 +0x158 BUILDSTDERR: main.main.func1(0xc0002aa500, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:73 +0x610 BUILDSTDERR: reflect.Value.call(0x95fc20, 0xa2cbc0, 0x13, 0xa06d83, 0x4, 0xc00010d8d8, 0x1, 0x1, 0xc0000ac200, 0xa0a2a4, ...) BUILDSTDERR: /usr/lib/golang/src/reflect/value.go:447 +0x461 BUILDSTDERR: reflect.Value.Call(0x95fc20, 0xa2cbc0, 0x13, 0xc00010d8d8, 0x1, 0x1, 0xa064d8, 0x1, 0xa0a2a4) BUILDSTDERR: /usr/lib/golang/src/reflect/value.go:308 +0xa4 BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.HandleAction(0x95fc20, 0xa2cbc0, 0xc0002aa500, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:481 +0x1ff BUILDSTDERR: github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli.(*App).Run(0xc000001800, 0xc0000ae000, 0x7, 0x7, 0x0, 0x0) BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/vendor/github.com/urfave/cli/app.go:240 +0x509 BUILDSTDERR: main.main() BUILDSTDERR: /builddir/build/BUILD/symbols-extractor-9f4330a0f4437ca61ba92f9f30e34424c6742ad6/src/github.com/gofed/symbols-extractor/cmd/golist/golist.go:125 +0x791 + exit 0 Processing files: golang-github-mattn-shellwords-devel-1.0.6-1.fc30.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UJOlXH + umask 022 + cd /builddir/build/BUILD + cd go-shellwords-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/doc/golang-github-mattn-shellwords-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/doc/golang-github-mattn-shellwords-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/doc/golang-github-mattn-shellwords-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Lb5oTs + umask 022 + cd /builddir/build/BUILD + cd go-shellwords-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/licenses/golang-github-mattn-shellwords-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/licenses/golang-github-mattn-shellwords-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64/usr/share/licenses/golang-github-mattn-shellwords-devel + exit 0 Provides: golang(github.com/mattn/go-shellwords) = 1.0.6-1.fc30 golang-github-mattn-go-shellwords-devel = 1.0.6-1.fc30 golang-github-mattn-shellwords-devel = 1.0.6-1.fc30 golang-ipath(github.com/mattn/go-shellwords) = 1.0.6-1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: golang-github-mattn-go-shellwords-devel < 1.0.3-5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 Wrote: /builddir/build/RPMS/golang-github-mattn-shellwords-devel-1.0.6-1.fc30.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.p96Ahe + umask 022 + cd /builddir/build/BUILD + cd go-shellwords-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-mattn-shellwords-1.0.6-1.fc30.x86_64 + exit 0 Child return code was: 0