D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/golang-github-fsnotify-1.6.0-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6j4j8C
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kHvBmO
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ rm -rf fsnotify-1.6.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/fsnotify-1.6.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fsnotify-1.6.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/vendor
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/bin ]]
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/bin
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/bin'
+ export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build:/usr/share/gocode
+ GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build:/usr/share/gocode
+ [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify/fsnotify ]]
++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify/fsnotify
+ install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com'
install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify'
+ ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0 /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify/fsnotify
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify/fsnotify
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0hljDO
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT
+ cd fsnotify-1.6.0
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src/github.com/fsnotify/fsnotify
+ IFS=
+ gosupfiles=
+ mapfile -t gosupfilesA
+ go-rpm-integration install -i github.com/fsnotify/fsnotify -b /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build -o golang-github-fsnotify-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0 -V 1.6.0-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*'
Installing: github.com/fsnotify/fsnotify
+ IFS=
+++ realpath -e --relative-base=. CONTRIBUTING.md CHANGELOG.md README.md
+++ sort -u
++ listfiles_include='CHANGELOG.md
CONTRIBUTING.md
README.md'
++ echo 'CHANGELOG.md
CONTRIBUTING.md
README.md'
+ godocs='CHANGELOG.md
CONTRIBUTING.md
README.md'
+ [[ -n CHANGELOG.md
CONTRIBUTING.md
README.md ]]
+ IFS=
+ read -r f
+ echo %doc '"CHANGELOG.md"'
+ IFS=
+ read -r f
+ echo %doc '"CONTRIBUTING.md"'
+ IFS=
+ read -r f
+ echo %doc '"README.md"'
+ IFS=
+ read -r f
+ IFS=
+++ realpath -e --relative-base=. LICENSE
+++ sort -u
++ 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-fsnotify-1.6.0-build/BUILDROOT/usr/share/gocode/src/gopkg.in/fsnotify
+ ln -rs /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/gocode/src/github.com/fsnotify/fsnotify /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/gocode/src/gopkg.in/fsnotify/fsnotify.v1
+ echo /usr/share/gocode/src/gopkg.in/fsnotify/fsnotify.v1
+ echo '%dir "/usr/share/gocode/src/gopkg.in/fsnotify"'
+ echo '%dir "/usr/share/gocode/src/gopkg.in"'
+ install -m 0755 -d /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/gocode/src/gopkg.in/fsnotify/v1
+ ln -rs /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/gocode/src/github.com/fsnotify/fsnotify /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/gocode/src/gopkg.in/fsnotify/v1/fsnotify
+ echo /usr/share/gocode/src/gopkg.in/fsnotify/v1/fsnotify
+ echo '%dir "/usr/share/gocode/src/gopkg.in/fsnotify/v1"'
+ echo '%dir "/usr/share/gocode/src/gopkg.in/fsnotify"'
+ echo '%dir "/usr/share/gocode/src/gopkg.in"'
+ /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
Reading /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/SPECPARTS/rpm-debuginfo.specpart
Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f9pDxS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ cd fsnotify-1.6.0
+ '[' 1 -eq 1 ']'
+ for test in "TestInotifyDeleteOpenFile" "TestInotifyNoBlockingSyscalls" "TestWatchStress"
++ grep -rl TestInotifyDeleteOpenFile
+ awk -i inplace '/^func.*TestInotifyDeleteOpenFile\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' backend_inotify_test.go fsnotify_test.go
+ for test in "TestInotifyDeleteOpenFile" "TestInotifyNoBlockingSyscalls" "TestWatchStress"
++ grep -rl TestInotifyNoBlockingSyscalls
+ awk -i inplace '/^func.*TestInotifyNoBlockingSyscalls\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' backend_inotify_test.go
+ for test in "TestInotifyDeleteOpenFile" "TestInotifyNoBlockingSyscalls" "TestWatchStress"
++ grep -rl TestWatchStress
+ awk -i inplace '/^func.*TestWatchStress\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' fsnotify_test.go
+ GO_LDFLAGS=' -X github.com/fsnotify/fsnotify/version=1.6.0'
+ 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/fsnotify/fsnotify -b /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build -V 1.6.0-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*'
Testing    in: /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_build/src
         PATH: /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/_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-fsnotify-1.6.0-build/fsnotify-1.6.0/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/fsnotify/fsnotify/version=1.6.0 -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/fsnotify/fsnotify
github.com/fsnotify/fsnotify
PASS
ok  	github.com/fsnotify/fsnotify	11.014s
github.com/fsnotify/fsnotify
PASS
ok  	github.com/fsnotify/fsnotify	11.288s
github.com/fsnotify/fsnotify/internal
?   	github.com/fsnotify/fsnotify/internal	[no test files]
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: golang-github-fsnotify-devel-1.6.0-1.mga10.noarch
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6no8an
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ cd fsnotify-1.6.0
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/doc/golang-github-fsnotify-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/doc/golang-github-fsnotify-devel
+ cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/CHANGELOG.md /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/doc/golang-github-fsnotify-devel
+ cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/CONTRIBUTING.md /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/doc/golang-github-fsnotify-devel
+ cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/README.md /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/doc/golang-github-fsnotify-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6VpLGS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ cd fsnotify-1.6.0
+ LICENSEDIR=/home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/licenses/golang-github-fsnotify-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/licenses/golang-github-fsnotify-devel
+ cp -pr /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/fsnotify-1.6.0/LICENSE /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT/usr/share/licenses/golang-github-fsnotify-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/fsnotify/fsnotify) = 1.6.0-1.mga10 golang(github.com/fsnotify/fsnotify/internal) = 1.6.0-1.mga10 golang-github-fsnotify-devel = 1.6.0-1.mga10 golang-ipath(github.com/fsnotify/fsnotify) = 1.6.0-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: go-filesystem golang(golang.org/x/sys/unix)
Processing files: compat-golang-gopkg-fsnotify-1-devel-1.6.0-1.mga10.noarch
warning: File listed twice: /usr/share/gocode/src/gopkg.in
warning: File listed twice: /usr/share/gocode/src/gopkg.in/fsnotify
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 :
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-gopkg-fsnotify-1-devel = 1.6.0-1.mga10 golang(gopkg.in/fsnotify/fsnotify.v1) = 1.6.0-1.mga10 golang(gopkg.in/fsnotify/fsnotify.v1/internal) = 1.6.0-1.mga10 golang(gopkg.in/fsnotify/v1/fsnotify) = 1.6.0-1.mga10 golang(gopkg.in/fsnotify/v1/fsnotify/internal) = 1.6.0-1.mga10 golang-symlink(gopkg.in/fsnotify/fsnotify.v1) = 1.6.0-1.mga10 golang-symlink(gopkg.in/fsnotify/v1/fsnotify) = 1.6.0-1.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/fsnotify/fsnotify) = 1.6.0-1.mga10
Obsoletes: golang-gopkg-fsnotify-1-devel < 1.6.0-1.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/compat-golang-gopkg-fsnotify-1-devel-1.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/golang-github-fsnotify-devel-1.6.0-1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6S7CPO
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-fsnotify-1.6.0-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    File listed twice: /usr/share/gocode/src/gopkg.in
    File listed twice: /usr/share/gocode/src/gopkg.in/fsnotify
D: [iurt_root_command] Success!