Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ament_cmake.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1791521078.072288/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=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ament_cmake.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ament_cmake-2.9.2-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/ament_cmake.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1791521078.072288/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=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ament_cmake.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ament_cmake-2.9.2-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/ament_cmake.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1791521078.072288/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=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ament_cmake.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BZ3L7Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ament_cmake-2.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ament_cmake-2.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ament_cmake-2.9.2 + /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.WVIUaq + umask 022 + cd /builddir/build/BUILD + cd ament_cmake-2.9.2 + '[' -f /opt/ros/humble/setup.sh ']' + true + export CMAKE_PREFIX_PATH=/builddir/build/BUILDROOT/ament_cmake-2.9.2-1.aarch64/opt/ros/humble + CMAKE_PREFIX_PATH=/builddir/build/BUILDROOT/ament_cmake-2.9.2-1.aarch64/opt/ros/humble + export AMENT_PREFIX_PATH=/builddir/build/BUILDROOT/ament_cmake-2.9.2-1.aarch64/opt/ros/humble + AMENT_PREFIX_PATH=/builddir/build/BUILDROOT/ament_cmake-2.9.2-1.aarch64/opt/ros/humble + export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages + PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages + export PKG_CONFIG_PATH=/opt/ros/humble/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig + PKG_CONFIG_PATH=/opt/ros/humble/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig + SUBPKGS=' ament_cmake_core ament_cmake_export_definitions ament_cmake_export_dependencies ament_cmake_export_include_directories ament_cmake_export_libraries ament_cmake_export_link_flags ament_cmake_export_targets ament_cmake_gen_version_h ament_cmake_gmock ament_cmake_gtest ament_cmake_include_directories ament_cmake_libraries ament_cmake_python ament_cmake_target_dependencies ament_cmake_version ament_cmake_vendor_package ament_cmake_test ament_cmake ament_cmake_google_benchmark ament_cmake_pytest ament_cmake_auto ament_cmake_python_test ' ===== building ament_cmake_core ===== + for pkg in $SUBPKGS + echo '===== building ament_cmake_core =====' + cmake -S ament_cmake_core -B .obj/ament_cmake_core -DCMAKE_INSTALL_PREFIX=/opt/ros/humble -DCMAKE_PREFIX_PATH=/builddir/build/BUILDROOT/ament_cmake-2.9.2-1.aarch64/opt/ros/humble -DAMENT_PREFIX_PATH=/builddir/build/BUILDROOT/ament_cmake-2.9.2-1.aarch64/opt/ros/humble -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON -DSETUPTOOLS_DEB_LAYOUT=OFF -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX '-DCMAKE_C_FLAGS=-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' '-DCMAKE_CXX_FLAGS=-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -G 'Unix Makefiles' -- Found Python3: /usr/bin/python3 (found version "3.11.6") found components: Interpreter -- ament_cmake_core 2.9.2 -- Configuring done (0.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: AMENT_PREFIX_PATH CMAKE_CXX_FLAGS CMAKE_C_FLAGS SETUPTOOLS_DEB_LAYOUT TESTING -- Build files have been written to: /builddir/build/BUILD/ament_cmake-2.9.2/.obj/ament_cmake_core + cmake --build .obj/ament_cmake_core --verbose -- -j-j4 Change Dir: '/builddir/build/BUILD/ament_cmake-2.9.2/.obj/ament_cmake_core' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j-j4 gmake: the '-j' option requires a positive integer argument Usage: gmake [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -E STRING, --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. --jobserver-style=STYLE Select the style of jobserver to use. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -O[TYPE], --output-sync[=TYPE] Synchronize output of parallel jobs by TYPE. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. --shuffle[={SEED|random|reverse|none}] Perform shuffle of prerequisites and goals. -s, --silent, --quiet Don't echo recipes. --no-silent Echo recipes (disable --silent mode). -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. This program built for aarch64-openEuler-linux-gnu Report bugs to error: Bad exit status from /var/tmp/rpm-tmp.WVIUaq (%build) Bad exit status from /var/tmp/rpm-tmp.WVIUaq (%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/ament_cmake.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/ament_cmake.spec