Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-fuse-python.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1684146206.429365/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-fuse-python.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-fuse-python-1.0.5-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-fuse-python.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1684146206.429365/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-fuse-python.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-fuse-python-1.0.5-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-fuse-python.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1684146206.429365/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-fuse-python.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.o54KnP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fuse-python-1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/fuse-python-1.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fuse-python-1.0.5 + /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.D6UYwg + umask 022 + cd /builddir/build/BUILD + cd fuse-python-1.0.5 + 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' usage: pkgconf [OPTIONS] [LIBRARIES] basic options: --help this message --about print pkgconf version and license to stdout --version print supported pkg-config version to stdout --atleast-pkgconfig-version check whether or not pkgconf is compatible with a specified pkg-config version --errors-to-stdout print all errors on stdout instead of stderr --print-errors ensure all errors are printed --short-errors be less verbose about some errors --silence-errors explicitly be silent about errors --list-all list all known packages --list-package-names list all known package names --simulate simulate walking the calculated dependency graph --no-cache do not cache already seen packages when walking the dependency graph --log-file=filename write an audit log to a specified file --with-path=path adds a directory to the search path --define-prefix override the prefix variable with one that is guessed based on the location of the .pc file --dont-define-prefix do not override the prefix variable under any circumstances --prefix-variable=varname sets the name of the variable that pkgconf considers to be the package prefix --relocate=path relocates a path and exits (mostly for testsuite) --dont-relocate-paths disables path relocation support cross-compilation personality support: --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' --dump-personality dumps details concerning selected personality checking specific pkg-config database entries: --atleast-version require a specific version of a module --exact-version require an exact version of a module --max-version require a maximum version of a module --exists check whether or not a module exists --uninstalled check whether or not an uninstalled module will be used --no-uninstalled never use uninstalled modules when satisfying dependencies --no-provides do not use 'provides' rules to resolve dependencies --maximum-traverse-depth maximum allowed depth for dependency graph --static be more aggressive when computing dependency graph (for static linking) --shared use a simplified dependency graph (usually default) --pure optimize a static dependency graph as if it were a normal dependency graph --env-only look only for package entries in PKG_CONFIG_PATH --ignore-conflicts ignore 'conflicts' rules in modules --validate validate specific .pc files for correctness querying specific pkg-config database fields: --define-variable=varname=value define variable 'varname' as 'value' --variable=varname print specified variable entry to stdout --cflags print required CFLAGS to stdout --cflags-only-I print required include-dir CFLAGS to stdout --cflags-only-other print required non-include-dir CFLAGS to stdout --libs print required linker flags to stdout --libs-only-L print required LDPATH linker flags to stdout --libs-only-l print required LIBNAME linker flags to stdout --libs-only-other print required other linker flags to stdout --print-requires print required dependency frameworks to stdout --print-requires-private print required dependency frameworks for static linking to stdout --print-provides print provided dependencies to stdout --print-variables print all known variables in module to stdout --digraph print entire dependency graph in graphviz 'dot' format --keep-system-cflags keep -I/usr/include entries in cflags output --keep-system-libs keep -L/usr/lib64 entries in libs output --path show the exact filenames for any matching .pc files --modversion print the specified module's version to stdout --internal-cflags do not filter 'internal' cflags from output filtering output: --msvc-syntax print translatable fragments in MSVC syntax --fragment-filter=types filter output fragments to the specified types report bugs to . pkg-config could not find fuse: you might need to adjust PKG_CONFIG_PATH or your FUSE installation is very old (older than 2.1-pre1) Traceback (most recent call last): File "/builddir/build/BUILD/fuse-python-1.0.5/setup.py", line 60, in iflags = [x[2:] for x in cflags.split() if x[0:2] == '-I'] NameError: name 'cflags' is not defined error: Bad exit status from /var/tmp/rpm-tmp.D6UYwg (%build) Bad exit status from /var/tmp/rpm-tmp.D6UYwg (%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-fuse-python.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 aarch64 --nodeps /builddir/build/SPECS/python-fuse-python.spec