Mock Version: 1.4.15
Mock Version: 1.4.15
Mock Version: 1.4.15
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-sacloud-libsacloud.spec'], chrootPath='/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f28294905c0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-sacloud-libsacloud.spec'], chrootPath='/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f28294905c0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '30b7700e309e4cc9aa0dc544c08aabb9', '-D', '/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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-sacloud-libsacloud.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '30b7700e309e4cc9aa0dc544c08aabb9', '-D', '/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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-sacloud-libsacloud.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building target platforms: x86_64
Building for target x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/golang-github-sacloud-libsacloud-1.21.1-1.fc31.src.rpm
Wrote: /builddir/build/SRPMS/golang-github-sacloud-libsacloud-1.21.1-1.fc31.src.rpm
Child return code was: 0
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-sacloud-libsacloud.spec'], chrootPath='/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f28294905c0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-sacloud-libsacloud.spec'], chrootPath='/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f28294905c0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6c612d98661a47ba893050fa1594e287', '-D', '/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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-sacloud-libsacloud.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6c612d98661a47ba893050fa1594e287', '-D', '/var/lib/mock/902232-custom-1-x86_64-1556840506.887779/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chbb0e5z:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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-sacloud-libsacloud.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building target platforms: x86_64
Building for target x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NtdTtv
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NtdTtv
+ umask 022
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libsacloud-1.21.1
+ rm -rf libsacloud-1.21.1
+ /usr/bin/gzip -dc /builddir/build/SOURCES/libsacloud-1.21.1.tar.gz
+ /usr/bin/gzip -dc /builddir/build/SOURCES/libsacloud-1.21.1.tar.gz
+ /usr/bin/tar -xof -
+ /usr/bin/tar -xof -
+ STATUS=0
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ '[' 0 -ne 0 ']'
+ cd libsacloud-1.21.1
+ cd libsacloud-1.21.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -fr /builddir/build/BUILD/libsacloud-1.21.1/vendor
+ rm -fr /builddir/build/BUILD/libsacloud-1.21.1/vendor
+ [[ ! -e /builddir/build/BUILD/libsacloud-1.21.1/_build/bin ]]
+ [[ ! -e /builddir/build/BUILD/libsacloud-1.21.1/_build/bin ]]
+ install -m 0755 -vd /builddir/build/BUILD/libsacloud-1.21.1/_build/bin
+ install -m 0755 -vd /builddir/build/BUILD/libsacloud-1.21.1/_build/bin
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/bin'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/bin'
+ export GOPATH=/builddir/build/BUILD/libsacloud-1.21.1/_build:/usr/share/gocode
+ export GOPATH=/builddir/build/BUILD/libsacloud-1.21.1/_build:/usr/share/gocode
+ GOPATH=/builddir/build/BUILD/libsacloud-1.21.1/_build:/usr/share/gocode
+ GOPATH=/builddir/build/BUILD/libsacloud-1.21.1/_build:/usr/share/gocode
+ [[ ! -e /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud ]]
+ [[ ! -e /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud ]]
BUILDSTDERR: ++ dirname /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
BUILDSTDERR: ++ dirname /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ install -m 0755 -vd /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud
+ install -m 0755 -vd /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/src'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/src'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud'
install: creating directory '/builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud'
+ ln -fs /builddir/build/BUILD/libsacloud-1.21.1 /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ ln -fs /builddir/build/BUILD/libsacloud-1.21.1 /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ cd /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ cd /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ exit 0
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nH2fkt
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nH2fkt
+ umask 022
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64 '!=' / ']'
+ '[' /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
+ rm -rf /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
+ mkdir /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
+ cd libsacloud-1.21.1
+ cd libsacloud-1.21.1
+ cd /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ cd /builddir/build/BUILD/libsacloud-1.21.1/_build/src/github.com/sacloud/libsacloud
+ IFS=
+ IFS=
BUILDSTDERR: +++ realpath -e --relative-base=.
BUILDSTDERR: +++ realpath -e --relative-base=.
BUILDSTDERR: +++ sort -u
BUILDSTDERR: +++ sort -u
BUILDSTDERR: realpath: missing operand
BUILDSTDERR: realpath: missing operand
BUILDSTDERR: Try 'realpath --help' for more information.
BUILDSTDERR: Try 'realpath --help' for more information.
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ grep -q ''
BUILDSTDERR: ++ grep -q ''
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ echo ''
BUILDSTDERR: ++ echo ''
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
+ gosupfiles=
+ gosupfiles=
+ mapfile -t gosupfilesA
+ mapfile -t gosupfilesA
+ go-rpm-integration install -i github.com/sacloud/libsacloud -b /builddir/build/BUILD/libsacloud-1.21.1/_build/bin -s /builddir/build/BUILD/libsacloud-1.21.1/_build -o golang-github-sacloud-libsacloud-devel.file-list -O /builddir/build/BUILD/libsacloud-1.21.1 -V 1.21.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' ''
+ go-rpm-integration install -i github.com/sacloud/libsacloud -b /builddir/build/BUILD/libsacloud-1.21.1/_build/bin -s /builddir/build/BUILD/libsacloud-1.21.1/_build -o golang-github-sacloud-libsacloud-devel.file-list -O /builddir/build/BUILD/libsacloud-1.21.1 -V 1.21.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' ''
Installing: github.com/sacloud/libsacloud
Installing: github.com/sacloud/libsacloud
BUILDSTDERR: realpath: '': No such file or directory
BUILDSTDERR: realpath: '': No such file or directory
+ IFS=
+ IFS=
BUILDSTDERR: +++ realpath -e --relative-base=. README.md
BUILDSTDERR: +++ realpath -e --relative-base=. README.md
BUILDSTDERR: +++ sort -u
BUILDSTDERR: +++ sort -u
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ grep -q README.md
BUILDSTDERR: ++ grep -q README.md
BUILDSTDERR: ++ echo README.md
BUILDSTDERR: ++ echo README.md
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
+ godocs=README.md
+ godocs=README.md
+ [[ -n README.md ]]
+ [[ -n README.md ]]
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %doc '"README.md"'
+ echo %doc '"README.md"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ IFS=
+ IFS=
BUILDSTDERR: +++ realpath -e --relative-base=. LICENSE.txt api/license.go api/license_gen.go api/license_test.go sacloud/license.go sacloud/license_test.go
BUILDSTDERR: +++ realpath -e --relative-base=. LICENSE.txt api/license.go api/license_gen.go api/license_test.go sacloud/license.go sacloud/license_test.go
BUILDSTDERR: +++ sort -u
BUILDSTDERR: +++ sort -u
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ grep -q LICENSE.txt
BUILDSTDERR: ++ grep -q LICENSE.txt
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ echo LICENSE.txt
BUILDSTDERR: ++ echo LICENSE.txt
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ grep -q api/license.go
BUILDSTDERR: ++ grep -q api/license.go
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ echo api/license.go
BUILDSTDERR: ++ echo api/license.go
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ grep -q api/license_gen.go
BUILDSTDERR: ++ grep -q api/license_gen.go
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ echo api/license_gen.go
BUILDSTDERR: ++ echo api/license_gen.go
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ grep -q api/license_test.go
BUILDSTDERR: ++ grep -q api/license_test.go
BUILDSTDERR: ++ echo api/license_test.go
BUILDSTDERR: ++ echo api/license_test.go
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ grep -q sacloud/license.go
BUILDSTDERR: ++ grep -q sacloud/license.go
BUILDSTDERR: ++ echo sacloud/license.go
BUILDSTDERR: ++ echo sacloud/license.go
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ sort -u
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ realpath -qe --relative-base=. ''
BUILDSTDERR: ++ grep -q sacloud/license_test.go
BUILDSTDERR: ++ grep -q sacloud/license_test.go
BUILDSTDERR: ++ echo sacloud/license_test.go
BUILDSTDERR: ++ echo sacloud/license_test.go
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ IFS=
BUILDSTDERR: ++ read -r finc
BUILDSTDERR: ++ read -r finc
+ golicenses='LICENSE.txt
+ golicenses='LICENSE.txt
BUILDSTDERR: api/license.go
BUILDSTDERR: api/license.go
BUILDSTDERR: api/license_gen.go
BUILDSTDERR: api/license_gen.go
BUILDSTDERR: api/license_test.go
BUILDSTDERR: api/license_test.go
BUILDSTDERR: sacloud/license.go
BUILDSTDERR: sacloud/license.go
BUILDSTDERR: sacloud/license_test.go'
BUILDSTDERR: sacloud/license_test.go'
+ [[ -n LICENSE.txt
+ [[ -n LICENSE.txt
BUILDSTDERR: api/license.go
BUILDSTDERR: api/license.go
BUILDSTDERR: api/license_gen.go
BUILDSTDERR: api/license_gen.go
BUILDSTDERR: api/license_test.go
BUILDSTDERR: api/license_test.go
BUILDSTDERR: sacloud/license.go
BUILDSTDERR: sacloud/license.go
BUILDSTDERR: sacloud/license_test.go ]]
BUILDSTDERR: sacloud/license_test.go ]]
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %license '"LICENSE.txt"'
+ echo %license '"LICENSE.txt"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %license '"api/license.go"'
+ echo %license '"api/license.go"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %license '"api/license_gen.go"'
+ echo %license '"api/license_gen.go"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %license '"api/license_test.go"'
+ echo %license '"api/license_test.go"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %license '"sacloud/license.go"'
+ echo %license '"sacloud/license.go"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ echo %license '"sacloud/license_test.go"'
+ echo %license '"sacloud/license_test.go"'
+ IFS=
+ IFS=
+ read -r f
+ read -r f
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /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-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /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-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.76Z92w
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.76Z92w
+ umask 022
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ cd libsacloud-1.21.1
+ cd libsacloud-1.21.1
+ LDFLAGS='-X github.com/sacloud/libsacloud/version=1.21.1'
+ LDFLAGS='-X github.com/sacloud/libsacloud/version=1.21.1'
+ GO_TEST_FLAGS='-buildmode pie -compiler gc'
+ 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_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/sacloud/libsacloud -b /builddir/build/BUILD/libsacloud-1.21.1/_build/bin -s /builddir/build/BUILD/libsacloud-1.21.1/_build -V 1.21.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*'
+ go-rpm-integration check -i github.com/sacloud/libsacloud -b /builddir/build/BUILD/libsacloud-1.21.1/_build/bin -s /builddir/build/BUILD/libsacloud-1.21.1/_build -V 1.21.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*'
Testing in: /builddir/build/BUILD/libsacloud-1.21.1/_build/src
Testing in: /builddir/build/BUILD/libsacloud-1.21.1/_build/src
      PATH: /builddir/build/BUILD/libsacloud-1.21.1/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
      PATH: /builddir/build/BUILD/libsacloud-1.21.1/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
    GOPATH: /builddir/build/BUILD/libsacloud-1.21.1/_build:/usr/share/gocode
    GOPATH: /builddir/build/BUILD/libsacloud-1.21.1/_build:/usr/share/gocode
   command: go test -buildmode pie -compiler gc -ldflags "-X github.com/sacloud/libsacloud/version=1.21.1 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
   command: go test -buildmode pie -compiler gc -ldflags "-X github.com/sacloud/libsacloud/version=1.21.1 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
   testing: github.com/sacloud/libsacloud
   testing: github.com/sacloud/libsacloud
github.com/sacloud/libsacloud/api
github.com/sacloud/libsacloud/api
2019/05/02 23:42:31 Please Set ENV 'SAKURACLOUD_ACCESS_TOKEN' and 'SAKURACLOUD_ACCESS_TOKEN_SECRET'
2019/05/02 23:42:31 Please Set ENV 'SAKURACLOUD_ACCESS_TOKEN' and 'SAKURACLOUD_ACCESS_TOKEN_SECRET'
ok  	github.com/sacloud/libsacloud/api	0.009s
ok  	github.com/sacloud/libsacloud/api	0.009s
github.com/sacloud/libsacloud/builder
github.com/sacloud/libsacloud/builder
2019/05/02 23:42:35 Please Set ENV 'SAKURACLOUD_ACCESS_TOKEN' and 'SAKURACLOUD_ACCESS_TOKEN_SECRET'
2019/05/02 23:42:35 Please Set ENV 'SAKURACLOUD_ACCESS_TOKEN' and 'SAKURACLOUD_ACCESS_TOKEN_SECRET'
ok  	github.com/sacloud/libsacloud/builder	0.008s
ok  	github.com/sacloud/libsacloud/builder	0.008s
github.com/sacloud/libsacloud/sacloud
github.com/sacloud/libsacloud/sacloud
PASS
PASS
ok  	github.com/sacloud/libsacloud/sacloud	0.025s
ok  	github.com/sacloud/libsacloud/sacloud	0.025s
github.com/sacloud/libsacloud/utils/setup
github.com/sacloud/libsacloud/utils/setup
2019/05/02 23:42:40 Please Set ENV 'SAKURACLOUD_ACCESS_TOKEN' and 'SAKURACLOUD_ACCESS_TOKEN_SECRET'
2019/05/02 23:42:40 Please Set ENV 'SAKURACLOUD_ACCESS_TOKEN' and 'SAKURACLOUD_ACCESS_TOKEN_SECRET'
ok  	github.com/sacloud/libsacloud/utils/setup	0.010s
ok  	github.com/sacloud/libsacloud/utils/setup	0.010s
+ exit 0
+ exit 0
Processing files: golang-github-sacloud-libsacloud-devel-1.21.1-1.fc31.noarch
Processing files: golang-github-sacloud-libsacloud-devel-1.21.1-1.fc31.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GDa4Wt
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GDa4Wt
+ umask 022
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ cd libsacloud-1.21.1
+ cd libsacloud-1.21.1
+ DOCDIR=/builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/doc/golang-github-sacloud-libsacloud-devel
+ DOCDIR=/builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/doc/golang-github-sacloud-libsacloud-devel
+ export LC_ALL=C
+ export LC_ALL=C
+ LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/doc/golang-github-sacloud-libsacloud-devel
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/doc/golang-github-sacloud-libsacloud-devel
+ cp -pr README.md /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/doc/golang-github-sacloud-libsacloud-devel
+ cp -pr README.md /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/doc/golang-github-sacloud-libsacloud-devel
+ exit 0
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.q4z9at
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.q4z9at
+ umask 022
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ cd libsacloud-1.21.1
+ cd libsacloud-1.21.1
+ LICENSEDIR=/builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ LICENSEDIR=/builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ export LC_ALL=C
+ export LC_ALL=C
+ LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr api/license.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr api/license.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr api/license_gen.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr api/license_gen.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr api/license_test.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr api/license_test.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr sacloud/license.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr sacloud/license.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr sacloud/license_test.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ cp -pr sacloud/license_test.go /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64/usr/share/licenses/golang-github-sacloud-libsacloud-devel
+ exit 0
+ exit 0
BUILDSTDERR: warning: File listed twice: /usr/share/licenses/golang-github-sacloud-libsacloud-devel/license.go
BUILDSTDERR: warning: File listed twice: /usr/share/licenses/golang-github-sacloud-libsacloud-devel/license.go
BUILDSTDERR: warning: File listed twice: /usr/share/licenses/golang-github-sacloud-libsacloud-devel/license_test.go
BUILDSTDERR: warning: File listed twice: /usr/share/licenses/golang-github-sacloud-libsacloud-devel/license_test.go
Provides: golang(github.com/sacloud/libsacloud) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/api) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/builder) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/sacloud) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/sacloud/ostype) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/utils/mutexkv) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/utils/server) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/utils/setup) = 1.21.1-1.fc31 golang-github-sacloud-libsacloud-devel = 1.21.1-1.fc31 golang-ipath(github.com/sacloud/libsacloud) = 1.21.1-1.fc31
Provides: golang(github.com/sacloud/libsacloud) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/api) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/builder) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/sacloud) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/sacloud/ostype) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/utils/mutexkv) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/utils/server) = 1.21.1-1.fc31 golang(github.com/sacloud/libsacloud/utils/setup) = 1.21.1-1.fc31 golang-github-sacloud-libsacloud-devel = 1.21.1-1.fc31 golang-ipath(github.com/sacloud/libsacloud) = 1.21.1-1.fc31
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: go-filesystem golang(github.com/mattn/go-runewidth) golang(github.com/mattn/go-tty) golang(github.com/mitchellh/go-vnc) golang(github.com/skratchdot/open-golang/open) golang(go.uber.org/ratelimit) golang(golang.org/x/crypto/ssh)
Requires: go-filesystem golang(github.com/mattn/go-runewidth) golang(github.com/mattn/go-tty) golang(github.com/mitchellh/go-vnc) golang(github.com/skratchdot/open-golang/open) golang(go.uber.org/ratelimit) golang(golang.org/x/crypto/ssh)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
Wrote: /builddir/build/RPMS/golang-github-sacloud-libsacloud-devel-1.21.1-1.fc31.noarch.rpm
Wrote: /builddir/build/RPMS/golang-github-sacloud-libsacloud-devel-1.21.1-1.fc31.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pnlZZv
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pnlZZv
+ umask 022
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ cd libsacloud-1.21.1
+ cd libsacloud-1.21.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-sacloud-libsacloud-1.21.1-1.fc31.x86_64
+ exit 0
+ exit 0
Child return code was: 0
Child return code was: 0