Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-ml4a.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1687332254.215410/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 aarch64 --nodeps /builddir/build/SPECS/python-ml4a.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-ml4a-0.1.3-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-ml4a.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1687332254.215410/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 aarch64 --nodeps /builddir/build/SPECS/python-ml4a.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-ml4a-0.1.3-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-ml4a.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1687332254.215410/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 aarch64 --nodeps /builddir/build/SPECS/python-ml4a.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.78mR1H + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ml4a-0.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/ml4a-0.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ml4a-0.1.3 + /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.mkrhqN + umask 022 + cd /builddir/build/BUILD + cd ml4a-0.1.3 + 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 -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' running build running build_py creating build creating build/lib creating build/lib/ml4a copying ml4a/audio.py -> build/lib/ml4a copying ml4a/__init__.py -> build/lib/ml4a copying ml4a/image.py -> build/lib/ml4a creating build/lib/ml4a/dataset copying ml4a/dataset/scrape_wikiart.py -> build/lib/ml4a/dataset copying ml4a/dataset/dataset_utils.py -> build/lib/ml4a/dataset copying ml4a/dataset/processing.py -> build/lib/ml4a/dataset copying ml4a/dataset/generate_train_data.py -> build/lib/ml4a/dataset copying ml4a/dataset/__init__.py -> build/lib/ml4a/dataset creating build/lib/ml4a/utils copying ml4a/utils/console.py -> build/lib/ml4a/utils copying ml4a/utils/video.py -> build/lib/ml4a/utils copying ml4a/utils/latents.py -> build/lib/ml4a/utils copying ml4a/utils/histogram.py -> build/lib/ml4a/utils copying ml4a/utils/__init__.py -> build/lib/ml4a/utils copying ml4a/utils/face.py -> build/lib/ml4a/utils copying ml4a/utils/downloads.py -> build/lib/ml4a/utils creating build/lib/ml4a/models copying ml4a/models/tacotron2.py -> build/lib/ml4a/models copying ml4a/models/cartoonization.py -> build/lib/ml4a/models copying ml4a/models/spade.py -> build/lib/ml4a/models copying ml4a/models/photosketch.py -> build/lib/ml4a/models copying ml4a/models/esrgan.py -> build/lib/ml4a/models copying ml4a/models/wav2lip.py -> build/lib/ml4a/models copying ml4a/models/flownet.py -> build/lib/ml4a/models copying ml4a/models/taming_transformers.py -> build/lib/ml4a/models copying ml4a/models/torch_dreams.py -> build/lib/ml4a/models copying ml4a/models/semantic_segmentation.py -> build/lib/ml4a/models copying ml4a/models/deepdream.py -> build/lib/ml4a/models copying ml4a/models/neural_style.py -> build/lib/ml4a/models copying ml4a/models/stylegan.py -> build/lib/ml4a/models copying ml4a/models/glow.py -> build/lib/ml4a/models copying ml4a/models/idinvert.py -> build/lib/ml4a/models copying ml4a/models/stylegan2.py -> build/lib/ml4a/models copying ml4a/models/__init__.py -> build/lib/ml4a/models copying ml4a/models/basnet.py -> build/lib/ml4a/models creating build/lib/ml4a/canvas copying ml4a/canvas/canvas.py -> build/lib/ml4a/canvas copying ml4a/canvas/mask.py -> build/lib/ml4a/canvas copying ml4a/canvas/__init__.py -> build/lib/ml4a/canvas creating build/lib/ml4a/models/submodules copying ml4a/models/submodules/localimport.py -> build/lib/ml4a/models/submodules copying ml4a/models/submodules/__init__.py -> build/lib/ml4a/models/submodules package init file 'ml4a/models/submodules/BASNet/__init__.py' not found (or not a regular file) creating build/lib/ml4a/models/submodules/BASNet copying ml4a/models/submodules/BASNet/data_loader.py -> build/lib/ml4a/models/submodules/BASNet copying ml4a/models/submodules/BASNet/basnet_train.py -> build/lib/ml4a/models/submodules/BASNet copying ml4a/models/submodules/BASNet/basnet_test.py -> build/lib/ml4a/models/submodules/BASNet creating build/lib/ml4a/models/submodules/BASNet/model copying ml4a/models/submodules/BASNet/model/BASNet.py -> build/lib/ml4a/models/submodules/BASNet/model copying ml4a/models/submodules/BASNet/model/resnet_model.py -> build/lib/ml4a/models/submodules/BASNet/model copying ml4a/models/submodules/BASNet/model/__init__.py -> build/lib/ml4a/models/submodules/BASNet/model creating build/lib/ml4a/models/submodules/BASNet/pytorch_iou copying ml4a/models/submodules/BASNet/pytorch_iou/__init__.py -> build/lib/ml4a/models/submodules/BASNet/pytorch_iou creating build/lib/ml4a/models/submodules/BASNet/pytorch_ssim copying ml4a/models/submodules/BASNet/pytorch_ssim/__init__.py -> build/lib/ml4a/models/submodules/BASNet/pytorch_ssim package init file 'ml4a/models/submodules/deepdream/__init__.py' not found (or not a regular file) creating build/lib/ml4a/models/submodules/deepdream copying ml4a/models/submodules/deepdream/bookmarks.py -> build/lib/ml4a/models/submodules/deepdream copying ml4a/models/submodules/deepdream/utils.py -> build/lib/ml4a/models/submodules/deepdream copying ml4a/models/submodules/deepdream/dream.py -> build/lib/ml4a/models/submodules/deepdream copying ml4a/models/submodules/deepdream/model.py -> build/lib/ml4a/models/submodules/deepdream package init file 'ml4a/models/submodules/ESRGAN/__init__.py' not found (or not a regular file) creating build/lib/ml4a/models/submodules/ESRGAN copying ml4a/models/submodules/ESRGAN/RRDBNet_arch.py -> build/lib/ml4a/models/submodules/ESRGAN copying ml4a/models/submodules/ESRGAN/test.py -> build/lib/ml4a/models/submodules/ESRGAN copying ml4a/models/submodules/ESRGAN/net_interp.py -> build/lib/ml4a/models/submodules/ESRGAN copying ml4a/models/submodules/ESRGAN/transer_RRDB_models.py -> build/lib/ml4a/models/submodules/ESRGAN error: package directory 'ml4a/models/submodules/ESRGAN/models' does not exist error: Bad exit status from /var/tmp/rpm-tmp.mkrhqN (%build) Bad exit status from /var/tmp/rpm-tmp.mkrhqN (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-ml4a.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 aarch64 --nodeps /builddir/build/SPECS/python-ml4a.spec