Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-basezhang.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683341958.531129/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-basezhang.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-baseZhang-1.6.6-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-basezhang.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683341958.531129/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-basezhang.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-baseZhang-1.6.6-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-basezhang.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683341958.531129/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-basezhang.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.9gNiq3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf baseZhang-1.6.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/baseZhang-1.6.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd baseZhang-1.6.6 + /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.TCEDoH + umask 022 + cd /builddir/build/BUILD + cd baseZhang-1.6.6 + 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/lib64/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/baseZhang copying baseZhang/modifyMarkdown.py -> build/lib/baseZhang copying baseZhang/__init__.py -> build/lib/baseZhang copying baseZhang/datasetPreprocess.py -> build/lib/baseZhang copying baseZhang/calcMFCC.py -> build/lib/baseZhang copying baseZhang/fromLibrosa.py -> build/lib/baseZhang copying baseZhang/callMatlabFunction.py -> build/lib/baseZhang copying baseZhang/temproal_smoothing.py -> build/lib/baseZhang copying baseZhang/calcSpec.py -> build/lib/baseZhang copying baseZhang/plotEnvelope.py -> build/lib/baseZhang copying baseZhang/calcLPCC.py -> build/lib/baseZhang copying baseZhang/calcChroma.py -> build/lib/baseZhang copying baseZhang/plotSpec.py -> build/lib/baseZhang copying baseZhang/spectralFeature.py -> build/lib/baseZhang copying baseZhang/recordAudio.py -> build/lib/baseZhang copying baseZhang/baseZhang.py -> build/lib/baseZhang copying baseZhang/featureSelect.py -> build/lib/baseZhang copying baseZhang/split2word.py -> build/lib/baseZhang copying baseZhang/labeEncodeDecode.py -> build/lib/baseZhang copying baseZhang/plotVisualData.py -> build/lib/baseZhang copying baseZhang/countDays.py -> build/lib/baseZhang copying baseZhang/singVoiceSep.py -> build/lib/baseZhang copying baseZhang/formatTrans.py -> build/lib/baseZhang copying baseZhang/kerasModel.py -> build/lib/baseZhang copying baseZhang/fduNetwork.py -> build/lib/baseZhang copying baseZhang/calcSpectralFeatureLibrosa.py -> build/lib/baseZhang copying baseZhang/calcAudioFeature.py -> build/lib/baseZhang creating build/lib/pymir copying pymir/SpectralFlux.py -> build/lib/pymir copying pymir/__init__.py -> build/lib/pymir copying pymir/Frame.py -> build/lib/pymir copying pymir/MFCC.py -> build/lib/pymir copying pymir/Energy.py -> build/lib/pymir copying pymir/AudioFile.py -> build/lib/pymir copying pymir/Deltas.py -> build/lib/pymir copying pymir/Transforms.py -> build/lib/pymir copying pymir/Pitch.py -> build/lib/pymir copying pymir/Spectrum.py -> build/lib/pymir copying pymir/Onsets.py -> build/lib/pymir copying pymir/LinearPredictiveAnalysis.py -> build/lib/pymir + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OA86Tc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 + cd baseZhang-1.6.6 + 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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 /usr/lib64/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/SpectralFlux.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/__init__.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Frame.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/MFCC.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Energy.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/AudioFile.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Deltas.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Transforms.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Pitch.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Spectrum.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/Onsets.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir copying build/lib/pymir/LinearPredictiveAnalysis.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/modifyMarkdown.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/__init__.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/datasetPreprocess.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/calcMFCC.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/fromLibrosa.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/callMatlabFunction.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/temproal_smoothing.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/calcSpec.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/plotEnvelope.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/calcLPCC.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/calcChroma.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/plotSpec.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/spectralFeature.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/recordAudio.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/baseZhang.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/featureSelect.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/split2word.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/labeEncodeDecode.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/plotVisualData.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/countDays.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/singVoiceSep.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/formatTrans.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/kerasModel.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/fduNetwork.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/calcSpectralFeatureLibrosa.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang copying build/lib/baseZhang/calcAudioFeature.py -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/SpectralFlux.py to SpectralFlux.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Frame.py to Frame.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/MFCC.py to MFCC.cpython-39.pyc Sorry: TabError: inconsistent use of tabs and spaces in indentation (MFCC.py, line 36) byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Energy.py to Energy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/AudioFile.py to AudioFile.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Deltas.py to Deltas.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Transforms.py to Transforms.cpython-39.pyc Sorry: TabError: inconsistent use of tabs and spaces in indentation (Transforms.py, line 65) byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Pitch.py to Pitch.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Spectrum.py to Spectrum.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Onsets.py to Onsets.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/LinearPredictiveAnalysis.py to LinearPredictiveAnalysis.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/modifyMarkdown.py to modifyMarkdown.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/datasetPreprocess.py to datasetPreprocess.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcMFCC.py to calcMFCC.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/fromLibrosa.py to fromLibrosa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/callMatlabFunction.py to callMatlabFunction.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/temproal_smoothing.py to temproal_smoothing.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/temproal_smoothing.py", line 47 print final ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(final)? byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcSpec.py to calcSpec.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/plotEnvelope.py to plotEnvelope.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcLPCC.py to calcLPCC.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcChroma.py to calcChroma.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/plotSpec.py to plotSpec.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/plotSpec.py", line 71 print timebins, freqbins ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(timebins, freqbins)? byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/spectralFeature.py to spectralFeature.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/recordAudio.py to recordAudio.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/recordAudio.py", line 78 print 'dir %s exists' % (FILE_PATH) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/baseZhang.py to baseZhang.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/featureSelect.py to featureSelect.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/split2word.py to split2word.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/baseZhang.py", line 31 print tempo ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(tempo)? File "/usr/lib/python3.9/site-packages/baseZhang/split2word.py", line 90 except OSError, ex: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/labeEncodeDecode.py to labeEncodeDecode.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/plotVisualData.py to plotVisualData.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/plotVisualData.py", line 96 print "Plotting Mono" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Plotting Mono")? byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/countDays.py to countDays.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/countDays.py", line 14 print 'start:', yearStart, monthStart, dayStart ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('start:', yearStart, monthStart, dayStart)? byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/singVoiceSep.py to singVoiceSep.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/formatTrans.py to formatTrans.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/formatTrans.py", line 42 print 'processing...NO.%d ' % count + file_path ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('processing...NO.%d ' % count + file_path)? byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/kerasModel.py to kerasModel.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/fduNetwork.py to fduNetwork.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/fduNetwork.py", line 16 print "yes no network" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("yes no network")? byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcSpectralFeatureLibrosa.py to calcSpectralFeatureLibrosa.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcAudioFeature.py to calcAudioFeature.cpython-39.pyc File "/usr/lib/python3.9/site-packages/baseZhang/calcAudioFeature.py", line 105 print numpy.shape(subFeatTrainY), numpy.shape(subFeatTrainX) ^ SyntaxError: invalid syntax writing byte-compilation script '/tmp/tmpk1e3e8fq.py' /usr/bin/python3 /tmp/tmpk1e3e8fq.py Sorry: TabError: inconsistent use of tabs and spaces in indentation (MFCC.py, line 36) Sorry: TabError: inconsistent use of tabs and spaces in indentation (Transforms.py, line 65) File "/usr/lib/python3.9/site-packages/baseZhang/temproal_smoothing.py", line 47 print final ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(final)? File "/usr/lib/python3.9/site-packages/baseZhang/plotSpec.py", line 71 print timebins, freqbins ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(timebins, freqbins)? File "/usr/lib/python3.9/site-packages/baseZhang/recordAudio.py", line 78 print 'dir %s exists' % (FILE_PATH) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/baseZhang/baseZhang.py", line 31 print tempo ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(tempo)? File "/usr/lib/python3.9/site-packages/baseZhang/split2word.py", line 90 except OSError, ex: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/baseZhang/plotVisualData.py", line 96 print "Plotting Mono" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Plotting Mono")? File "/usr/lib/python3.9/site-packages/baseZhang/countDays.py", line 14 print 'start:', yearStart, monthStart, dayStart ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('start:', yearStart, monthStart, dayStart)? File "/usr/lib/python3.9/site-packages/baseZhang/formatTrans.py", line 42 print 'processing...NO.%d ' % count + file_path ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('processing...NO.%d ' % count + file_path)? File "/usr/lib/python3.9/site-packages/baseZhang/fduNetwork.py", line 16 print "yes no network" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("yes no network")? File "/usr/lib/python3.9/site-packages/baseZhang/calcAudioFeature.py", line 105 print numpy.shape(subFeatTrainY), numpy.shape(subFeatTrainX) ^ SyntaxError: invalid syntax removing /tmp/tmpk1e3e8fq.py running install_data copying CHANGELOG.md -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./ copying README.md -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./ creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/.docs copying docs/install.md -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/.docs/ copying docs/pymir.md -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/.docs/ copying docs/pythonTutorial.md -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/.docs/ creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/docs creating /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/docs/img copying docs/img/pycharm_command_line_arguments.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_create_new_project.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_create_new_project_pure_python.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_hello_open.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_new_file_input.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_new_python_file.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_open.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_output.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/pycharm_run.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ copying docs/img/terminal_screenshot.png -> /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/./docs/img/ running install_egg_info Writing /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang-1.6.6-py3.9.egg-info + install -d -m755 /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64//usr/share/doc/python-baseZhang + '[' -d doc ']' + '[' -d docs ']' + cp -arf docs /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64//usr/share/doc/python-baseZhang + '[' -d example ']' ~/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 ~/build/BUILD/baseZhang-1.6.6 + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst ~/build/BUILD/baseZhang-1.6.6 + '[' -d usr/share/man ']' + popd + mv /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.6.6-1 --unique-debug-suffix -1.6.6-1.x86_64 --unique-debug-src-base python-baseZhang-1.6.6-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/baseZhang-1.6.6 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/baseZhang.py'... File "/usr/lib/python3.9/site-packages/baseZhang/baseZhang.py", line 31 print tempo ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(tempo)? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/calcAudioFeature.py'... File "/usr/lib/python3.9/site-packages/baseZhang/calcAudioFeature.py", line 105 print numpy.shape(subFeatTrainY), numpy.shape(subFeatTrainX) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/countDays.py'... File "/usr/lib/python3.9/site-packages/baseZhang/countDays.py", line 14 print 'start:', yearStart, monthStart, dayStart ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('start:', yearStart, monthStart, dayStart)? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/fduNetwork.py'... File "/usr/lib/python3.9/site-packages/baseZhang/fduNetwork.py", line 16 print "yes no network" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("yes no network")? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/formatTrans.py'... File "/usr/lib/python3.9/site-packages/baseZhang/formatTrans.py", line 42 print 'processing...NO.%d ' % count + file_path ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('processing...NO.%d ' % count + file_path)? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/plotSpec.py'... File "/usr/lib/python3.9/site-packages/baseZhang/plotSpec.py", line 71 print timebins, freqbins ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(timebins, freqbins)? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/plotVisualData.py'... File "/usr/lib/python3.9/site-packages/baseZhang/plotVisualData.py", line 96 print "Plotting Mono" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Plotting Mono")? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/recordAudio.py'... File "/usr/lib/python3.9/site-packages/baseZhang/recordAudio.py", line 78 print 'dir %s exists' % (FILE_PATH) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/split2word.py'... File "/usr/lib/python3.9/site-packages/baseZhang/split2word.py", line 90 except OSError, ex: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/baseZhang/temproal_smoothing.py'... File "/usr/lib/python3.9/site-packages/baseZhang/temproal_smoothing.py", line 47 print final ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(final)? *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/MFCC.py'... Sorry: TabError: inconsistent use of tabs and spaces in indentation (MFCC.py, line 36) *** Error compiling '/builddir/build/BUILDROOT/python-baseZhang-1.6.6-1.x86_64/usr/lib/python3.9/site-packages/pymir/Transforms.py'... Sorry: TabError: inconsistent use of tabs and spaces in indentation (Transforms.py, line 65) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OA86Tc (%install) Bad exit status from /var/tmp/rpm-tmp.OA86Tc (%install) 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-basezhang.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-basezhang.spec