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 x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80327-53618/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 x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-sqlglot-5.2.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80327-53618/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1EzlkQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sqlglot-5.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sqlglot-5.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sqlglot-5.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.tCSZPr + umask 022 + cd /builddir/build/BUILD + cd sqlglot-5.2.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sqlglot-5.2.0-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80327-53618/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N3zIhE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sqlglot-5.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sqlglot-5.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sqlglot-5.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.b3axBV + umask 022 + cd /builddir/build/BUILD + cd sqlglot-5.2.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: creating sqlglot.egg-info HOOK STDOUT: writing sqlglot.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to sqlglot.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to sqlglot.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'sqlglot.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'sqlglot.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'sqlglot.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sqlglot-5.2.0-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80327-53618/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 -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-sqlglot.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: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.fEZSz1 + umask 022 + cd /builddir/build/BUILD + cd sqlglot-5.2.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv sqlglot-5.2.0.dist-info/ removed 'sqlglot-5.2.0.dist-info/METADATA' removed 'sqlglot-5.2.0.dist-info/top_level.txt' removed 'sqlglot-5.2.0.dist-info/LICENSE' removed directory 'sqlglot-5.2.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing sqlglot.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to sqlglot.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to sqlglot.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'sqlglot.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'sqlglot.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oB5Bm1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sqlglot-5.2.0 + mkdir -p /builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/sqlglot-5.2.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/sqlglot-5.2.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info writing /builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-modern-metadata-f9ctfjvk/sqlglot-5.2.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: sqlglot Building wheel for sqlglot (pyproject.toml): started Running command Building wheel for sqlglot (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/sqlglot copying sqlglot/expressions.py -> build/lib/sqlglot copying sqlglot/tokens.py -> build/lib/sqlglot copying sqlglot/__init__.py -> build/lib/sqlglot copying sqlglot/helper.py -> build/lib/sqlglot copying sqlglot/errors.py -> build/lib/sqlglot copying sqlglot/time.py -> build/lib/sqlglot copying sqlglot/__main__.py -> build/lib/sqlglot copying sqlglot/trie.py -> build/lib/sqlglot copying sqlglot/transforms.py -> build/lib/sqlglot copying sqlglot/generator.py -> build/lib/sqlglot copying sqlglot/planner.py -> build/lib/sqlglot copying sqlglot/diff.py -> build/lib/sqlglot copying sqlglot/parser.py -> build/lib/sqlglot creating build/lib/sqlglot/dialects copying sqlglot/dialects/mysql.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/duckdb.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/oracle.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/dialect.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/spark.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/presto.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/__init__.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/postgres.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/sqlite.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/starrocks.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/trino.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/tableau.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/bigquery.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/snowflake.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/hive.py -> build/lib/sqlglot/dialects copying sqlglot/dialects/clickhouse.py -> build/lib/sqlglot/dialects creating build/lib/sqlglot/executor copying sqlglot/executor/env.py -> build/lib/sqlglot/executor copying sqlglot/executor/context.py -> build/lib/sqlglot/executor copying sqlglot/executor/python.py -> build/lib/sqlglot/executor copying sqlglot/executor/__init__.py -> build/lib/sqlglot/executor copying sqlglot/executor/table.py -> build/lib/sqlglot/executor creating build/lib/sqlglot/optimizer copying sqlglot/optimizer/schema.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/scope.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/__init__.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/optimizer.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/pushdown_projections.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/pushdown_predicates.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/optimize_joins.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/simplify.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/qualify_tables.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/eliminate_subqueries.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/unnest_subqueries.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/qualify_columns.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/expand_multi_table_selects.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/isolate_table_selects.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/quote_identities.py -> build/lib/sqlglot/optimizer copying sqlglot/optimizer/normalize.py -> build/lib/sqlglot/optimizer installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/sqlglot creating build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/mysql.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/duckdb.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/oracle.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/dialect.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/spark.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/presto.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/__init__.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/postgres.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/sqlite.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/starrocks.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/trino.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/tableau.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/bigquery.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/snowflake.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/hive.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/dialects/clickhouse.py -> build/bdist.linux-x86_64/wheel/sqlglot/dialects copying build/lib/sqlglot/expressions.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/tokens.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/__init__.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/helper.py -> build/bdist.linux-x86_64/wheel/sqlglot creating build/bdist.linux-x86_64/wheel/sqlglot/executor copying build/lib/sqlglot/executor/env.py -> build/bdist.linux-x86_64/wheel/sqlglot/executor copying build/lib/sqlglot/executor/context.py -> build/bdist.linux-x86_64/wheel/sqlglot/executor copying build/lib/sqlglot/executor/python.py -> build/bdist.linux-x86_64/wheel/sqlglot/executor copying build/lib/sqlglot/executor/__init__.py -> build/bdist.linux-x86_64/wheel/sqlglot/executor copying build/lib/sqlglot/executor/table.py -> build/bdist.linux-x86_64/wheel/sqlglot/executor creating build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/schema.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/scope.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/__init__.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/optimizer.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/pushdown_projections.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/pushdown_predicates.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/optimize_joins.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/simplify.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/qualify_tables.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/eliminate_subqueries.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/unnest_subqueries.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/qualify_columns.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/expand_multi_table_selects.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/isolate_table_selects.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/quote_identities.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/optimizer/normalize.py -> build/bdist.linux-x86_64/wheel/sqlglot/optimizer copying build/lib/sqlglot/errors.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/time.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/__main__.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/trie.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/transforms.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/generator.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/planner.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/diff.py -> build/bdist.linux-x86_64/wheel/sqlglot copying build/lib/sqlglot/parser.py -> build/bdist.linux-x86_64/wheel/sqlglot running install_egg_info running egg_info writing sqlglot.egg-info/PKG-INFO writing dependency_links to sqlglot.egg-info/dependency_links.txt writing top-level names to sqlglot.egg-info/top_level.txt reading manifest file 'sqlglot.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'sqlglot.egg-info/SOURCES.txt' Copying sqlglot.egg-info to build/bdist.linux-x86_64/wheel/sqlglot-5.2.0-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/sqlglot-5.2.0.dist-info/WHEEL creating '/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir/pip-wheel-ms3mvqs8/.tmp-_w32ml2o/sqlglot-5.2.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'sqlglot/__init__.py' adding 'sqlglot/__main__.py' adding 'sqlglot/diff.py' adding 'sqlglot/errors.py' adding 'sqlglot/expressions.py' adding 'sqlglot/generator.py' adding 'sqlglot/helper.py' adding 'sqlglot/parser.py' adding 'sqlglot/planner.py' adding 'sqlglot/time.py' adding 'sqlglot/tokens.py' adding 'sqlglot/transforms.py' adding 'sqlglot/trie.py' adding 'sqlglot/dialects/__init__.py' adding 'sqlglot/dialects/bigquery.py' adding 'sqlglot/dialects/clickhouse.py' adding 'sqlglot/dialects/dialect.py' adding 'sqlglot/dialects/duckdb.py' adding 'sqlglot/dialects/hive.py' adding 'sqlglot/dialects/mysql.py' adding 'sqlglot/dialects/oracle.py' adding 'sqlglot/dialects/postgres.py' adding 'sqlglot/dialects/presto.py' adding 'sqlglot/dialects/snowflake.py' adding 'sqlglot/dialects/spark.py' adding 'sqlglot/dialects/sqlite.py' adding 'sqlglot/dialects/starrocks.py' adding 'sqlglot/dialects/tableau.py' adding 'sqlglot/dialects/trino.py' adding 'sqlglot/executor/__init__.py' adding 'sqlglot/executor/context.py' adding 'sqlglot/executor/env.py' adding 'sqlglot/executor/python.py' adding 'sqlglot/executor/table.py' adding 'sqlglot/optimizer/__init__.py' adding 'sqlglot/optimizer/eliminate_subqueries.py' adding 'sqlglot/optimizer/expand_multi_table_selects.py' adding 'sqlglot/optimizer/isolate_table_selects.py' adding 'sqlglot/optimizer/normalize.py' adding 'sqlglot/optimizer/optimize_joins.py' adding 'sqlglot/optimizer/optimizer.py' adding 'sqlglot/optimizer/pushdown_predicates.py' adding 'sqlglot/optimizer/pushdown_projections.py' adding 'sqlglot/optimizer/qualify_columns.py' adding 'sqlglot/optimizer/qualify_tables.py' adding 'sqlglot/optimizer/quote_identities.py' adding 'sqlglot/optimizer/schema.py' adding 'sqlglot/optimizer/scope.py' adding 'sqlglot/optimizer/simplify.py' adding 'sqlglot/optimizer/unnest_subqueries.py' adding 'sqlglot-5.2.0.dist-info/LICENSE' adding 'sqlglot-5.2.0.dist-info/METADATA' adding 'sqlglot-5.2.0.dist-info/WHEEL' adding 'sqlglot-5.2.0.dist-info/top_level.txt' adding 'sqlglot-5.2.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for sqlglot (pyproject.toml): finished with status 'done' Created wheel for sqlglot: filename=sqlglot-5.2.0-py3-none-any.whl size=105278 sha256=fe4fa69c39a097359f0838888df493e7f300e1e87649d12767c8d98720aa9814 Stored in directory: /builddir/.cache/pip/wheels/9f/54/e6/1c5f855d0823b549e207dcee5aef4191b318872fc3a9f767ab Successfully built sqlglot + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u9a12v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 + cd sqlglot-5.2.0 ++ ls /builddir/build/BUILD/sqlglot-5.2.0/pyproject-wheeldir/sqlglot-5.2.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=sqlglot==5.2.0 + TMPDIR=/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/sqlglot-5.2.0/pyproject-wheeldir sqlglot==5.2.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/sqlglot-5.2.0/pyproject-wheeldir Processing ./pyproject-wheeldir/sqlglot-5.2.0-py3-none-any.whl Installing collected packages: sqlglot Successfully installed sqlglot-5.2.0 + '[' -d /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 --record /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages/sqlglot-5.2.0.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr sqlglot + /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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QxH8wg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sqlglot-5.2.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/sqlglot-5.2.0/.pyproject-builddir' + /usr/bin/pytest --pyargs --ignore tests/test_executor.py -k 'not test_simplify and not test_tpch' ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/sqlglot-5.2.0 collected 125 items / 2 deselected / 123 selected tests/test_build.py . [ 0%] tests/test_diff.py ..... [ 4%] tests/test_expressions.py ......................... [ 25%] tests/test_generator.py .. [ 26%] tests/test_helper.py . [ 27%] tests/test_optimizer.py ................ [ 40%] tests/test_parser.py ................. [ 54%] tests/test_time.py . [ 55%] tests/test_transforms.py . [ 56%] tests/test_transpile.py .................. [ 70%] tests/dialects/test_bigquery.py . [ 71%] tests/dialects/test_dialect.py ............ [ 81%] tests/dialects/test_duckdb.py .. [ 82%] tests/dialects/test_hive.py ......... [ 90%] tests/dialects/test_mysql.py .. [ 91%] tests/dialects/test_presto.py ....... [ 97%] tests/dialects/test_spark.py .. [ 99%] tests/dialects/test_starrocks.py . [100%] =============================== warnings summary =============================== tests/dialects/test_hive.py:388 /builddir/build/BUILD/sqlglot-5.2.0/tests/dialects/test_hive.py:388: DeprecationWarning: invalid escape sequence '\w' "presto": "REGEXP_REPLACE('new york', '(\w)(\w*)', x -> UPPER(x[1]) || LOWER(x[2]))", -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================= 123 passed, 2 deselected, 1 warning in 0.79s ================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-sqlglot-5.2.0-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EjEaVt + umask 022 + cd /builddir/build/BUILD + cd sqlglot-5.2.0 + DOCDIR=/builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/share/doc/python3-sqlglot + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/share/doc/python3-sqlglot + cp -pr README.md /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64/usr/share/doc/python3-sqlglot + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-sqlglot = 5.2.0-1.oc9 python3-sqlglot = 5.2.0-1.oc9 python3-sqlglot(x86-64) = 5.2.0-1.oc9 python3.11-sqlglot = 5.2.0-1.oc9 python3.11dist(sqlglot) = 5.2 python3dist(sqlglot) = 5.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Obsoletes: python3.11-sqlglot < 5.2.0-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-sqlglot-5.2.0-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/python-sqlglot-5.2.0-1.oc9.src.rpm Wrote: /builddir/build/RPMS/python3-sqlglot-5.2.0-1.oc9.x86_64.rpm Child return code was: 0