Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-xwb1989-sqlparser.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-104468-66410/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-xwb1989-sqlparser.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/golang-github-xwb1989-sqlparser-0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-xwb1989-sqlparser.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-104468-66410/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-github-xwb1989-sqlparser.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C8E7fC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sqlparser-120387863bf27d04bc07db8015110a6e96d0146c + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sqlparser-120387863bf27d04bc07db8015110a6e96d0146c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/vendor + [[ ! -e /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/bin install: creating directory '/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build' install: creating directory '/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/bin' + export GOPATH=/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989/sqlparser ]] ++ dirname /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989/sqlparser + install -m 0755 -vd /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989 install: creating directory '/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src' install: creating directory '/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com' install: creating directory '/builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989' + ln -fs /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989/sqlparser + cd /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989/sqlparser + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uhG6L3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 + cd sqlparser-120387863bf27d04bc07db8015110a6e96d0146c + cd /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src/github.com/xwb1989/sqlparser + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/xwb1989/sqlparser -b /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/bin -s /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build -o golang-github-xwb1989-sqlparser-devel.file-list -O /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c -V 0-1.oc9 -C 120387863bf27d04bc07db8015110a6e96d0146c -p /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/xwb1989/sqlparser realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CONTRIBUTORS.md README.md +++ sort -u ++ listfiles_include='CONTRIBUTORS.md README.md' ++ echo 'CONTRIBUTORS.md README.md' + godocs='CONTRIBUTORS.md README.md' + [[ -n CONTRIBUTORS.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTORS.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE.md +++ sort -u ++ listfiles_include=LICENSE.md ++ echo LICENSE.md + golicenses=LICENSE.md + [[ -n LICENSE.md ]] + IFS= + read -r f + echo %license '"LICENSE.md"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jHghuJ + umask 022 + cd /builddir/build/BUILD + cd sqlparser-120387863bf27d04bc07db8015110a6e96d0146c + GO_LDFLAGS=' -X github.com/xwb1989/sqlparser/version=0 -X github.com/xwb1989/sqlparser/version.commit=120387863bf27d04bc07db8015110a6e96d0146c' + 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i github.com/xwb1989/sqlparser -b /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/bin -s /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build -V 0-1.oc9 -C 120387863bf27d04bc07db8015110a6e96d0146c -p /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/src PATH: /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/sqlparser-120387863bf27d04bc07db8015110a6e96d0146c/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/xwb1989/sqlparser/version=0 -X github.com/xwb1989/sqlparser/version.commit=120387863bf27d04bc07db8015110a6e96d0146c -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" testing: github.com/xwb1989/sqlparser github.com/xwb1989/sqlparser 2024/09/21 03:00:54 ignoring error parsing DDL 'create table a': syntax error at position 15 2024/09/21 03:00:54 ignoring error parsing DDL 'create table a ignore me this is garbage': syntax error at position 22 near 'ignore' 2024/09/21 03:00:54 ignoring error parsing DDL 'create table a (a int, b char, c garbage)': syntax error at position 41 near 'garbage' 2024/09/21 03:00:54 ignoring error parsing DDL 'create table t garbage': syntax error at position 23 near 'garbage' PASS ok github.com/xwb1989/sqlparser 0.034s github.com/xwb1989/sqlparser 2024/09/21 03:00:54 ignoring error parsing DDL 'create table a': syntax error at position 15 2024/09/21 03:00:54 ignoring error parsing DDL 'create table a ignore me this is garbage': syntax error at position 22 near 'ignore' 2024/09/21 03:00:54 ignoring error parsing DDL 'create table a (a int, b char, c garbage)': syntax error at position 41 near 'garbage' 2024/09/21 03:00:54 ignoring error parsing DDL 'create table t garbage': syntax error at position 23 near 'garbage' PASS ok github.com/xwb1989/sqlparser 0.035s github.com/xwb1989/sqlparser/dependency/bytes2 PASS ok github.com/xwb1989/sqlparser/dependency/bytes2 0.002s github.com/xwb1989/sqlparser/dependency/bytes2 PASS ok github.com/xwb1989/sqlparser/dependency/bytes2 0.002s github.com/xwb1989/sqlparser/dependency/hack PASS ok github.com/xwb1989/sqlparser/dependency/hack 0.002s github.com/xwb1989/sqlparser/dependency/hack PASS ok github.com/xwb1989/sqlparser/dependency/hack 0.002s github.com/xwb1989/sqlparser/dependency/querypb ? github.com/xwb1989/sqlparser/dependency/querypb [no test files] github.com/xwb1989/sqlparser/dependency/sqltypes PASS ok github.com/xwb1989/sqlparser/dependency/sqltypes 0.002s github.com/xwb1989/sqlparser/dependency/sqltypes PASS ok github.com/xwb1989/sqlparser/dependency/sqltypes 0.002s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-xwb1989-sqlparser-devel-0-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fc340G + umask 022 + cd /builddir/build/BUILD + cd sqlparser-120387863bf27d04bc07db8015110a6e96d0146c + DOCDIR=/builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/doc/golang-github-xwb1989-sqlparser-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/doc/golang-github-xwb1989-sqlparser-devel + cp -pr CONTRIBUTORS.md /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/doc/golang-github-xwb1989-sqlparser-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/doc/golang-github-xwb1989-sqlparser-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HzwVRd + umask 022 + cd /builddir/build/BUILD + cd sqlparser-120387863bf27d04bc07db8015110a6e96d0146c + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/licenses/golang-github-xwb1989-sqlparser-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/licenses/golang-github-xwb1989-sqlparser-devel + cp -pr LICENSE.md /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64/usr/share/licenses/golang-github-xwb1989-sqlparser-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/xwb1989/sqlparser) = 0-1.oc9 golang(github.com/xwb1989/sqlparser)(commit=120387863bf27d04bc07db8015110a6e96d0146c) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/bytes2) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/bytes2)(commit=120387863bf27d04bc07db8015110a6e96d0146c) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/hack) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/hack)(commit=120387863bf27d04bc07db8015110a6e96d0146c) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/querypb) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/querypb)(commit=120387863bf27d04bc07db8015110a6e96d0146c) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/sqltypes) = 0-1.oc9 golang(github.com/xwb1989/sqlparser/dependency/sqltypes)(commit=120387863bf27d04bc07db8015110a6e96d0146c) = 0-1.oc9 golang-github-xwb1989-sqlparser-devel = 0-1.oc9 golang-ipath(github.com/xwb1989/sqlparser) = 0-1.oc9 golang-ipath(github.com/xwb1989/sqlparser)(commit=120387863bf27d04bc07db8015110a6e96d0146c) = 0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-xwb1989-sqlparser-0-1.oc9.aarch64 Wrote: /builddir/build/RPMS/golang-github-xwb1989-sqlparser-devel-0-1.oc9.noarch.rpm Child return code was: 0