<86>Dec 24 01:12:41 userdel[10445]: delete user 'rooter' <86>Dec 24 01:12:41 userdel[10445]: removed group 'rooter' owned by 'rooter' <86>Dec 24 01:12:41 userdel[10445]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 24 01:12:41 groupadd[10492]: group added to /etc/group: name=rooter, GID=573 <86>Dec 24 01:12:41 groupadd[10492]: group added to /etc/gshadow: name=rooter <86>Dec 24 01:12:41 groupadd[10492]: new group: name=rooter, GID=573 <86>Dec 24 01:12:41 useradd[10595]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Dec 24 01:12:41 userdel[10773]: delete user 'builder' <86>Dec 24 01:12:41 groupadd[10815]: group added to /etc/group: name=builder, GID=574 <86>Dec 24 01:12:41 groupadd[10815]: group added to /etc/gshadow: name=builder <86>Dec 24 01:12:41 useradd[10830]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Dec 24 01:12:44 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 24 01:12:44 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Dec 24 01:12:44 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Dec 24 01:12:44 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Dec 24 01:12:44 rpmi: ed-1:0.2-alt10 1449768441 installed <13>Dec 24 01:12:44 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 24 01:12:44 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 24 01:12:44 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Dec 24 01:12:44 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Dec 24 01:12:44 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Dec 24 01:12:45 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Dec 24 01:12:45 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Dec 24 01:12:45 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 24 01:12:45 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 24 01:12:45 rpmi: python3-3.6.5-alt1.1 1535734400 installed <13>Dec 24 01:12:45 rpmi: python3-base-3.6.5-alt1.1 1535734400 installed <13>Dec 24 01:12:45 rpmi: libpython3-3.6.5-alt1.1 1535734400 installed <13>Dec 24 01:12:49 rpmi: python3-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 24 01:12:49 rpmi: python3-module-click-6.7-alt1.1 1517661086 installed <13>Dec 24 01:12:49 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700192 installed <13>Dec 24 01:12:49 rpmi: python3-modules-sqlite3-3.6.5-alt1.1 1535734400 installed <13>Dec 24 01:12:49 rpmi: python3-module-SQLAlchemy-1.0.12-alt1.1 1525119185 installed <13>Dec 24 01:12:49 rpmi: python3-module-click-tests-6.7-alt1.1 1517661086 installed <13>Dec 24 01:12:49 rpmi: python3-module-werkzeug-0.14.1-alt1 1521711270 installed <13>Dec 24 01:12:49 rpmi: python3-module-markupsafe-0.23-alt1.2.1.1 1525118564 installed <13>Dec 24 01:12:49 rpmi: python3-module-jinja2-2.10-alt1 1521724576 installed <13>Dec 24 01:12:49 rpmi: python3-module-itsdangerous-0.24-alt1.git20140328.2 1526985836 installed <13>Dec 24 01:12:49 rpmi: python3-module-flask-1.0.2-alt1 sisyphus.217741.200 1544710280 installed <13>Dec 24 01:12:49 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Dec 24 01:12:49 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Dec 24 01:12:49 rpmi: python3-dev-3.6.5-alt1.1 1535734400 installed <13>Dec 24 01:12:49 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:49 rpmi: libverto-0.3.0-alt1_5 1525957716 installed <13>Dec 24 01:12:49 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003165 installed <13>Dec 24 01:12:49 rpmi: libcom_err-1.44.3-alt1 1532134713 installed <86>Dec 24 01:12:49 groupadd[45079]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 24 01:12:49 groupadd[45079]: group added to /etc/gshadow: name=_keytab <86>Dec 24 01:12:49 groupadd[45079]: new group: name=_keytab, GID=499 <13>Dec 24 01:12:49 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483170 installed <13>Dec 24 01:12:49 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 24 01:12:49 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 24 01:12:49 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:49 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:49 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:49 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-module-click-6.7-alt1.1 1517661086 installed <13>Dec 24 01:12:50 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 24 01:12:50 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-json-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-module-werkzeug-0.14.1-alt1 1521711270 installed <13>Dec 24 01:12:50 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-tools-2to3-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-module-click-tests-6.7-alt1.1 1517661086 installed <13>Dec 24 01:12:50 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-modules-sqlite3-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-module-SQLAlchemy-1.0.12-alt1.1 1525119185 installed <13>Dec 24 01:12:50 rpmi: python-module-itsdangerous-0.24-alt1.git20140328.2 1526985836 installed <13>Dec 24 01:12:50 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 1525118564 installed <13>Dec 24 01:12:50 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Dec 24 01:12:50 rpmi: python-module-flask-1.0.2-alt1 sisyphus.217741.200 1544710280 installed <13>Dec 24 01:12:50 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Dec 24 01:12:50 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022396 installed <13>Dec 24 01:12:50 rpmi: python-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 24 01:12:50 rpmi: python-module-flask_sqlalchemy-2.1-alt1 1517849412 installed <13>Dec 24 01:12:50 rpmi: python3-module-setuptools-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Dec 24 01:12:50 rpmi: python3-module-flask_sqlalchemy-2.1-alt1 1517849412 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-sqlalchemy-elasticquery-0.0.3-alt2.1.nosrc.rpm Installing python-module-sqlalchemy-elasticquery-0.0.3-alt2.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56901 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sqlalchemy-elasticquery-0.0.3 + echo 'Source #0 (sqlalchemy-elasticquery-0.0.3.tar):' Source #0 (sqlalchemy-elasticquery-0.0.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/sqlalchemy-elasticquery-0.0.3.tar + cd sqlalchemy-elasticquery-0.0.3 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/test/test.py RefactoringTool: Refactored ../python3/sqlalchemy_elasticquery/elastic_query.py RefactoringTool: Refactored ../python3/sqlalchemy_elasticquery/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/test/test.py RefactoringTool: ../python3/sqlalchemy_elasticquery/elastic_query.py RefactoringTool: ../python3/sqlalchemy_elasticquery/__init__.py RefactoringTool: ../python3/setup.py --- ../python3/sqlalchemy_elasticquery/elastic_query.py (original) +++ ../python3/sqlalchemy_elasticquery/elastic_query.py (refactored) @@ -85,9 +85,9 @@ return False result = self.model_query - if 'filter'in filters.keys(): + if 'filter'in list(filters.keys()): result = self.parse_filter(filters['filter']) - if 'sort'in filters.keys(): + if 'sort'in list(filters.keys()): result = result.order_by(*self.sort(filters['sort'])) return result @@ -114,12 +114,12 @@ """ Parse the operators and traduce: ES to SQLAlchemy operators """ if type(field_value) is dict: # TODO: check operators and emit error - operator = field_value.keys()[0] + operator = list(field_value.keys())[0] if self.verify_operator(operator) is False: return "Error: operador no exite", operator value = field_value[operator] - elif type(field_value) is unicode: - operator = u'equals' + elif type(field_value) is str: + operator = 'equals' value = field_value return field, operator, value --- ../python3/sqlalchemy_elasticquery/__init__.py (original) +++ ../python3/sqlalchemy_elasticquery/__init__.py (refactored) @@ -1 +1 @@ -from elastic_query import elastic_query +from .elastic_query import elastic_query + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.79305 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sqlalchemy-elasticquery-0.0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/sqlalchemy_elasticquery copying sqlalchemy_elasticquery/elastic_query.py -> build/lib/sqlalchemy_elasticquery copying sqlalchemy_elasticquery/__init__.py -> build/lib/sqlalchemy_elasticquery running egg_info writing requirements to sqlalchemy_elasticquery.egg-info/requires.txt writing sqlalchemy_elasticquery.egg-info/PKG-INFO writing top-level names to sqlalchemy_elasticquery.egg-info/top_level.txt writing dependency_links to sqlalchemy_elasticquery.egg-info/dependency_links.txt reading manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' writing manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/sqlalchemy-elasticquery-0.0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/sqlalchemy_elasticquery copying sqlalchemy_elasticquery/elastic_query.py -> build/lib/sqlalchemy_elasticquery copying sqlalchemy_elasticquery/__init__.py -> build/lib/sqlalchemy_elasticquery running egg_info writing sqlalchemy_elasticquery.egg-info/PKG-INFO writing dependency_links to sqlalchemy_elasticquery.egg-info/dependency_links.txt writing requirements to sqlalchemy_elasticquery.egg-info/requires.txt writing top-level names to sqlalchemy_elasticquery.egg-info/top_level.txt reading manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' writing manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' + popd ~/RPM/BUILD/sqlalchemy-elasticquery-0.0.3 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78810 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot + cd sqlalchemy-elasticquery-0.0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery copying build/lib/sqlalchemy_elasticquery/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery copying build/lib/sqlalchemy_elasticquery/elastic_query.py -> /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery byte-compiling /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/elastic_query.py to elastic_query.pyc running install_egg_info running egg_info writing requirements to sqlalchemy_elasticquery.egg-info/requires.txt writing sqlalchemy_elasticquery.egg-info/PKG-INFO writing top-level names to sqlalchemy_elasticquery.egg-info/top_level.txt writing dependency_links to sqlalchemy_elasticquery.egg-info/dependency_links.txt reading manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' writing manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' Copying sqlalchemy_elasticquery.egg-info to /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery-0.0.3-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/sqlalchemy-elasticquery-0.0.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery copying build/lib/sqlalchemy_elasticquery/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery copying build/lib/sqlalchemy_elasticquery/elastic_query.py -> /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery byte-compiling /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/elastic_query.py to elastic_query.cpython-36.pyc running install_egg_info running egg_info writing sqlalchemy_elasticquery.egg-info/PKG-INFO writing dependency_links to sqlalchemy_elasticquery.egg-info/dependency_links.txt writing requirements to sqlalchemy_elasticquery.egg-info/requires.txt writing top-level names to sqlalchemy_elasticquery.egg-info/top_level.txt reading manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' writing manifest file 'sqlalchemy_elasticquery.egg-info/SOURCES.txt' Copying sqlalchemy_elasticquery.egg-info to /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery-0.0.3-py3.6.egg-info running install_scripts + popd ~/RPM/BUILD/sqlalchemy-elasticquery-0.0.3 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/__init__.pyc unlink /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/elastic_query.pyc compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/elastic_query.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/elastic_query.py Bytecompiling python3 modules in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/elastic_query.cpython-36.pyc compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/elastic_query.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/elastic_query.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python3/site-packages/sqlalchemy_elasticquery/elastic_query.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/elastic_query.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/elastic_query.cpython-36.pyc' './usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/sqlalchemy_elasticquery/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/elastic_query.pyo' => './usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/elastic_query.pyc' './usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/__init__.pyo' => './usr/lib/python2.7/site-packages/sqlalchemy_elasticquery/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.2232 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sqlalchemy-elasticquery-0.0.3 + python setup.py build_ext -i running build_ext + export PYTHONPATH=/usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages + PYTHONPATH=/usr/src/tmp/python-module-sqlalchemy-elasticquery-buildroot/usr/lib/python2.7/site-packages + python test/test.py Traceback (most recent call last): File "test/test.py", line 4, in from flask.ext.sqlalchemy import SQLAlchemy ImportError: No module named ext.sqlalchemy error: Bad exit status from /usr/src/tmp/rpm-tmp.2232 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.2232 (%check) Command exited with non-zero status 1 6.33user 0.49system 0:08.70elapsed 78%CPU (0avgtext+0avgdata 30932maxresident)k 0inputs+0outputs (0major+187075minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-sqlalchemy-elasticquery-0.0.3-alt2.1.src.rpm' failed. Command exited with non-zero status 1 19.54user 3.51system 0:27.36elapsed 84%CPU (0avgtext+0avgdata 121736maxresident)k 1504inputs+0outputs (0major+691427minor)pagefaults 0swaps