D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/koschei-2.4.0-6.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HdISLo + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf koschei-2.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/koschei-2.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd koschei-2.4.0 + rm -rf /home/pterjan/rpmbuild/BUILD/koschei-2.4.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/koschei-2.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Port-to-new-hawkey.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/koschei-2.4.0-mga-Revert-Use-local-JQuery.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed 's|@CACHEDIR@|/var/cache/koschei|g s|@DATADIR@|/usr/share/koschei|g s|@VERSION@|2.4.0-6.mga10|g s|@CONFDIR@|/etc/koschei|g s|@STATEDIR@|/var/lib/koschei|g' config.cfg.template + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SleVHL + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd koschei-2.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-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' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/koschei copying koschei/data.py -> build/lib/koschei copying koschei/admin.py -> build/lib/koschei copying koschei/locks.py -> build/lib/koschei copying koschei/config.py -> build/lib/koschei copying koschei/__init__.py -> build/lib/koschei copying koschei/db.py -> build/lib/koschei copying koschei/util.py -> build/lib/koschei copying koschei/plugin.py -> build/lib/koschei copying koschei/session.py -> build/lib/koschei copying koschei/models.py -> build/lib/koschei creating build/lib/koschei/plugins copying koschei/plugins/__init__.py -> build/lib/koschei/plugins creating build/lib/koschei/frontend copying koschei/frontend/template_functions.py -> build/lib/koschei/frontend copying koschei/frontend/auth.py -> build/lib/koschei/frontend copying koschei/frontend/filters.py -> build/lib/koschei/frontend copying koschei/frontend/tabs.py -> build/lib/koschei/frontend copying koschei/frontend/model_additions.py -> build/lib/koschei/frontend copying koschei/frontend/views.py -> build/lib/koschei/frontend copying koschei/frontend/__init__.py -> build/lib/koschei/frontend copying koschei/frontend/util.py -> build/lib/koschei/frontend copying koschei/frontend/api.py -> build/lib/koschei/frontend copying koschei/frontend/base.py -> build/lib/koschei/frontend copying koschei/frontend/forms.py -> build/lib/koschei/frontend creating build/lib/koschei/backend copying koschei/backend/depsolve.py -> build/lib/koschei/backend copying koschei/backend/main.py -> build/lib/koschei/backend copying koschei/backend/repo_util.py -> build/lib/koschei/backend copying koschei/backend/file_cache.py -> build/lib/koschei/backend copying koschei/backend/service.py -> build/lib/koschei/backend copying koschei/backend/__init__.py -> build/lib/koschei/backend copying koschei/backend/repo_cache.py -> build/lib/koschei/backend copying koschei/backend/koji_util.py -> build/lib/koschei/backend creating build/lib/koschei/plugins/fedmsg_plugin copying koschei/plugins/fedmsg_plugin/__init__.py -> build/lib/koschei/plugins/fedmsg_plugin creating build/lib/koschei/plugins/repo_regen_plugin copying koschei/plugins/repo_regen_plugin/__init__.py -> build/lib/koschei/plugins/repo_regen_plugin copying koschei/plugins/repo_regen_plugin/backend.py -> build/lib/koschei/plugins/repo_regen_plugin creating build/lib/koschei/plugins/pagure_plugin copying koschei/plugins/pagure_plugin/frontend.py -> build/lib/koschei/plugins/pagure_plugin copying koschei/plugins/pagure_plugin/__init__.py -> build/lib/koschei/plugins/pagure_plugin creating build/lib/koschei/plugins/copr_plugin copying koschei/plugins/copr_plugin/frontend.py -> build/lib/koschei/plugins/copr_plugin copying koschei/plugins/copr_plugin/__init__.py -> build/lib/koschei/plugins/copr_plugin creating build/lib/koschei/plugins/fedmsg_plugin/backend copying koschei/plugins/fedmsg_plugin/backend/publisher.py -> build/lib/koschei/plugins/fedmsg_plugin/backend copying koschei/plugins/fedmsg_plugin/backend/__init__.py -> build/lib/koschei/plugins/fedmsg_plugin/backend creating build/lib/koschei/plugins/fedmsg_plugin/backend/services copying koschei/plugins/fedmsg_plugin/backend/services/__init__.py -> build/lib/koschei/plugins/fedmsg_plugin/backend/services copying koschei/plugins/fedmsg_plugin/backend/services/watcher.py -> build/lib/koschei/plugins/fedmsg_plugin/backend/services creating build/lib/koschei/plugins/copr_plugin/backend copying koschei/plugins/copr_plugin/backend/copr_polling.py -> build/lib/koschei/plugins/copr_plugin/backend copying koschei/plugins/copr_plugin/backend/common.py -> build/lib/koschei/plugins/copr_plugin/backend copying koschei/plugins/copr_plugin/backend/__init__.py -> build/lib/koschei/plugins/copr_plugin/backend copying koschei/plugins/copr_plugin/backend/cleanup.py -> build/lib/koschei/plugins/copr_plugin/backend creating build/lib/koschei/plugins/copr_plugin/backend/services copying koschei/plugins/copr_plugin/backend/services/copr_resolver.py -> build/lib/koschei/plugins/copr_plugin/backend/services copying koschei/plugins/copr_plugin/backend/services/__init__.py -> build/lib/koschei/plugins/copr_plugin/backend/services copying koschei/plugins/copr_plugin/backend/services/copr_scheduler.py -> build/lib/koschei/plugins/copr_plugin/backend/services creating build/lib/koschei/backend/services copying koschei/backend/services/scheduler.py -> build/lib/koschei/backend/services copying koschei/backend/services/polling.py -> build/lib/koschei/backend/services copying koschei/backend/services/__init__.py -> build/lib/koschei/backend/services copying koschei/backend/services/resolver.py -> build/lib/koschei/backend/services copying koschei/backend/services/repo_resolver.py -> build/lib/koschei/backend/services copying koschei/backend/services/build_resolver.py -> build/lib/koschei/backend/services running egg_info creating koschei.egg-info writing koschei.egg-info/PKG-INFO writing dependency_links to koschei.egg-info/dependency_links.txt writing top-level names to koschei.egg-info/top_level.txt writing manifest file 'koschei.egg-info/SOURCES.txt' reading manifest file 'koschei.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' adding license file 'AUTHORS' writing manifest file 'koschei.egg-info/SOURCES.txt' + PYTHONPATH=.: + /usr/bin/python3 aux/gen-bash-completion.py Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/koschei-2.4.0/aux/gen-bash-completion.py", line 22, in from koschei.admin import Command File "/home/pterjan/rpmbuild/BUILD/koschei-2.4.0/koschei/admin.py", line 28, in from koschei import data, backend, plugin File "/home/pterjan/rpmbuild/BUILD/koschei-2.4.0/koschei/data.py", line 22, in from koschei.models import ( File "/home/pterjan/rpmbuild/BUILD/koschei-2.4.0/koschei/models.py", line 1119, in class ScalarStats(MaterializedView): File "/home/pterjan/rpmbuild/BUILD/koschei-2.4.0/koschei/models.py", line 1127, in ScalarStats count_query(Package).label('packages'), ^^^^^^^^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/koschei-2.4.0/koschei/models.py", line 1116, in count_query return select([func.count(entity.id)]).select_from(entity) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5149, in __init__ coercions.expect( File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/usr/lib64/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 518, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got []. Did you mean to say select()? error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SleVHL (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SleVHL (%build) I: [iurt_root_command] ERROR: chroot