D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/golang-github-unknwon-com-1.0.1-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SDPM0k Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aHJEwy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + rm -rf com-1.0.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/com-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd com-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon/com ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon/com + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1 /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon/com + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon/com + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/no-internet-access.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Convert-int-to-string-using-rune.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/com-1.0.1-fmt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4e5PNp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + cd com-1.0.1 + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/unknwon/com --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gxCkTt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT + cd com-1.0.1 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src/github.com/unknwon/com + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/unknwon/com -b /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build -o golang-github-unknwon-com-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1 -V 1.0.1-4.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/unknwon/com + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ sort -u +++ realpath -e --relative-base=. LICENSE ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/gocode/src/github.com/Unknwon + ln -rs /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/gocode/src/github.com/unknwon/com /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/gocode/src/github.com/Unknwon/com + echo /usr/share/gocode/src/github.com/Unknwon/com + echo '%dir "/usr/share/gocode/src/github.com/Unknwon"' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /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/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lh1pIL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + cd com-1.0.1 + '[' 1 -eq 1 ']' + for t in "ExampleHttpGet" ++ grep -rl ExampleHttpGet ./LICENSE ./README.md ./_build ./cmd.go ./cmd_test.go ./compat-golang-github-unknwon-com-devel.file-list ./convert.go ./convert_test.go ./dir.go ./dir_test.go ./example_test.go ./file.go ./file_test.go ./go.mod ./go.sum ./golang-github-unknwon-com-devel.file-list ./html.go ./html_test.go ./http.go ./math.go ./math_test.go ./path.go ./path_test.go ./regex.go ./regex_test.go ./slice.go ./slice_test.go ./string.go ./string_test.go ./testdata ./time.go ./url.go + '[' '!' x = x./example_test.go ']' ++ grep -rl ExampleHttpGet ./LICENSE ./README.md ./_build ./cmd.go ./cmd_test.go ./compat-golang-github-unknwon-com-devel.file-list ./convert.go ./convert_test.go ./dir.go ./dir_test.go ./example_test.go ./file.go ./file_test.go ./go.mod ./go.sum ./golang-github-unknwon-com-devel.file-list ./html.go ./html_test.go ./http.go ./math.go ./math_test.go ./path.go ./path_test.go ./regex.go ./regex_test.go ./slice.go ./slice_test.go ./string.go ./string_test.go ./testdata ./time.go ./url.go + sed -e '/^func.*ExampleHttpGet/,/^}/ s|^|// |;/io\/ioutil/ s|^|// |' -i ./example_test.go + GO_LDFLAGS=' -X github.com/unknwon/com/version=1.0.1' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/unknwon/com -b /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build -V 1.0.1-4.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin GOPATH: /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/unknwon/com/version=1.0.1 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/unknwon/com github.com/unknwon/com .......... 10 total assertions ..... 15 total assertions ... 18 total assertions ... 21 total assertions ... 24 total assertions ................................................................................ 104 total assertions .. 106 total assertions ... 109 total assertions ... 112 total assertions ............. 125 total assertions PASS ok github.com/unknwon/com 0.096s github.com/unknwon/com .......... 10 total assertions ..... 15 total assertions ... 18 total assertions ... 21 total assertions ... 24 total assertions ................................................................................ 104 total assertions .. 106 total assertions ... 109 total assertions ... 112 total assertions ............. 125 total assertions PASS ok github.com/unknwon/com 0.073s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-unknwon-com-devel-1.0.1-4.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.B3QGiz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + cd com-1.0.1 + DOCDIR=/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/doc/golang-github-unknwon-com-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/doc/golang-github-unknwon-com-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/README.md /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/doc/golang-github-unknwon-com-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iaMWy6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + cd com-1.0.1 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/licenses/golang-github-unknwon-com-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/licenses/golang-github-unknwon-com-devel + cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/com-1.0.1/LICENSE /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT/usr/share/licenses/golang-github-unknwon-com-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/unknwon/com) = 1.0.1-4.mga10 golang-github-unknwon-com-devel = 1.0.1-4.mga10 golang-ipath(github.com/unknwon/com) = 1.0.1-4.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Processing files: compat-golang-github-unknwon-com-devel-1.0.1-4.mga10.noarch grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: compat-golang-github-unknwon-com-devel = 1.0.1-4.mga10 golang(github.com/Unknwon/com) = 1.0.1-4.mga10 golang-symlink(github.com/Unknwon/com) = 1.0.1-4.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(github.com/unknwon/com) = 1.0.1-4.mga10 Obsoletes: golang-github-unknwon-com-devel < 1.0.1-4.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/compat-golang-github-unknwon-com-devel-1.0.1-4.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/golang-github-unknwon-com-devel-1.0.1-4.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j9KUQ1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + test -d /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-unknwon-com-1.0.1-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!