Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681887589.035474/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-OctoBot-Backtesting-1.8.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681887589.035474/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-OctoBot-Backtesting-1.8.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681887589.035474/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bxIpwk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OctoBot-Backtesting-1.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/OctoBot-Backtesting-1.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd OctoBot-Backtesting-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h6g6XT + umask 022 + cd /builddir/build/BUILD + cd OctoBot-Backtesting-1.8.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. Error compiling Cython file: ------------------------------------------------------------ ... # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library. cimport async_channel.channels as channels ^ ------------------------------------------------------------ octobot_backtesting/time/channel/time.pxd:17:8: 'async_channel/channels.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library. cimport async_channel.channels as channels cimport async_channel.consumer as consumers ^ ------------------------------------------------------------ octobot_backtesting/time/channel/time.pxd:18:8: 'async_channel/consumer.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # # You should have received a copy of the GNU Lesser General Public # License along with this library. cimport async_channel.channels as channels cimport async_channel.consumer as consumers cimport async_channel.producer as producers ^ ------------------------------------------------------------ octobot_backtesting/time/channel/time.pxd:19:8: 'async_channel/producer.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cimport async_channel.consumer as consumers cimport async_channel.producer as producers cimport octobot_backtesting.backtesting as backtesting cdef class TimeProducer(producers.Producer): ^ ------------------------------------------------------------ octobot_backtesting/time/channel/time.pxd:23:33: First base of 'TimeProducer' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cimport octobot_backtesting.backtesting as backtesting cdef class TimeProducer(producers.Producer): cdef public backtesting.Backtesting backtesting cdef class TimeConsumer(consumers.SupervisedConsumer): ^ ------------------------------------------------------------ octobot_backtesting/time/channel/time.pxd:26:33: First base of 'TimeConsumer' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... cdef public backtesting.Backtesting backtesting cdef class TimeConsumer(consumers.SupervisedConsumer): pass cdef class TimeChannel(channels.Channel): ^ ------------------------------------------------------------ octobot_backtesting/time/channel/time.pxd:29:31: First base of 'TimeChannel' is not an extension type Compiling octobot_backtesting/channels_manager.py because it changed. Compiling octobot_backtesting/backtest_data.py because it changed. Compiling octobot_backtesting/backtesting.py because it changed. Compiling octobot_backtesting/importers/data_importer.py because it changed. Compiling octobot_backtesting/importers/exchanges/util.py because it changed. Compiling octobot_backtesting/importers/exchanges/exchange_importer.py because it changed. Compiling octobot_backtesting/importers/social/social_importer.py because it changed. Compiling octobot_backtesting/data/data_file_manager.py because it changed. Compiling octobot_backtesting/util/backtesting_util.py because it changed. Compiling octobot_backtesting/collectors/data_collector.py because it changed. Compiling octobot_backtesting/collectors/exchanges/exchange_collector.py because it changed. Compiling octobot_backtesting/collectors/exchanges/abstract_exchange_bot_snapshot_collector.py because it changed. Compiling octobot_backtesting/collectors/exchanges/abstract_exchange_history_collector.py because it changed. Compiling octobot_backtesting/collectors/exchanges/abstract_exchange_live_collector.py because it changed. Compiling octobot_backtesting/collectors/social/social_collector.py because it changed. Compiling octobot_backtesting/converters/data_converter.py because it changed. Compiling octobot_backtesting/time/time_manager.py because it changed. Compiling octobot_backtesting/time/channel/time.py because it changed. Compiling octobot_backtesting/time/channel/time_updater.py because it changed. [ 1/19] Cythonizing octobot_backtesting/backtest_data.py [ 2/19] Cythonizing octobot_backtesting/backtesting.py Traceback (most recent call last): File "/builddir/build/BUILD/OctoBot-Backtesting-1.8.0/setup.py", line 94, in ext_modules=cythonize(ext_modules, gdb_debug=CYTHON_DEBUG), File "/builddir/build/BUILD/OctoBot-Backtesting-1.8.0/.eggs/Cython-0.29.34-py3.9-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1115, in cythonize cythonize_one(*args) File "/builddir/build/BUILD/OctoBot-Backtesting-1.8.0/.eggs/Cython-0.29.34-py3.9-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: octobot_backtesting/backtesting.py error: Bad exit status from /var/tmp/rpm-tmp.h6g6XT (%build) Bad exit status from /var/tmp/rpm-tmp.h6g6XT (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-octobot-backtesting.spec