Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kortex-api.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1751628446.064765/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 x86_64 --nodeps /builddir/build/SPECS/kortex-api.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ros-humble-kortex-api-0.2.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 x86_64 --nodeps /builddir/build/SPECS/kortex-api.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1751628446.064765/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 x86_64 --nodeps /builddir/build/SPECS/kortex-api.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ros-humble-kortex-api-0.2.2-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/kortex-api.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1751628446.064765/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 x86_64 --nodeps /builddir/build/SPECS/kortex-api.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.41aRSl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ros-humble-kortex-api-0.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ros-humble-kortex-api_0.2.2.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ros-humble-kortex-api-0.2.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.9vShN9 + umask 022 + cd /builddir/build/BUILD + cd ros-humble-kortex-api-0.2.2 + export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages + PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages + export ROS_DISTRO=humble + ROS_DISTRO=humble + export ROS_PYTHON_VERSION=3.11 + ROS_PYTHON_VERSION=3.11 + '[' -f /opt/ros/humble/setup.sh ']' + . /opt/ros/humble/setup.sh ++ : /opt/ros/humble ++ : sh ++ _prefix_setup_IFS=' ' ++ IFS=' ' ++ _UNIQUE_PREFIX_PATH= ++ '[' -z SKIP_PARENT_PREFIX_PATH ']' ++ ament_append_unique_value _UNIQUE_PREFIX_PATH /opt/ros/humble ++ _listname=_UNIQUE_PREFIX_PATH ++ _value=/opt/ros/humble ++ eval '_values=$_UNIQUE_PREFIX_PATH' +++ _values= ++ _duplicate= ++ _ament_append_unique_value_IFS=' ' ++ IFS=: ++ '[' sh = zsh ']' ++ unset _item ++ '[' -z '' ']' ++ '[' -z '' ']' ++ eval '_UNIQUE_PREFIX_PATH="/opt/ros/humble"' +++ _UNIQUE_PREFIX_PATH=/opt/ros/humble ++ IFS=' ' ++ unset _ament_append_unique_value_IFS ++ unset _duplicate ++ unset _values ++ unset _value ++ unset _listname ++ unset AMENT_CURRENT_PREFIX ++ _prefix_setup_AMENT_SHELL=sh ++ IFS=: ++ '[' sh = zsh ']' ++ for _path in $_UNIQUE_PREFIX_PATH ++ '[' -n '' ']' ++ '[' -f /opt/ros/humble/local_setup.sh ']' ++ '[' sh = sh ']' ++ AMENT_CURRENT_PREFIX=/opt/ros/humble ++ IFS=' ' ++ . /opt/ros/humble/local_setup.sh +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ '[' -z /opt/ros/humble ']' +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ : sh +++ _ament_python_executable=/usr/bin/python3.11 +++ '[' -n '' ']' +++ '[' '!' -f /usr/bin/python3.11 ']' +++ _ament_additional_extension= +++ '[' sh '!=' sh ']' ++++ /usr/bin/python3.11 /opt/ros/humble/_local_setup_util.py sh +++ _ament_ordered_commands='export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' +++ unset _ament_additional_extension +++ unset _ament_python_executable +++ '[' -n '' ']' +++ eval 'export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib64:$LD_LIBRARY_PATH" if [ "$(echo -n $AMENT_PREFIX_PATH | head -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#?} ; fi if [ "$(echo -n $AMENT_PREFIX_PATH | tail -c 1)" = ":" ]; then export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | head -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#?} ; fi if [ "$(echo -n $LD_LIBRARY_PATH | tail -c 1)" = ":" ]; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%?} ; fi' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble: ++++ AMENT_PREFIX_PATH=/opt/ros/humble: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ echo -n /opt/ros/humble: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble ++++ AMENT_PREFIX_PATH=/opt/ros/humble +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ head -c 1 ++++ '[' / = : ']' +++++ echo -n /opt/ros/humble/lib64:/opt/ros/humble/lib: +++++ tail -c 1 ++++ '[' : = : ']' ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib64:/opt/ros/humble/lib +++ unset _ament_ordered_commands +++ unset _ament_prefix_sh_source_script +++ unset _ament_prefix_sh_AMENT_CURRENT_PREFIX ++ AMENT_SHELL=sh ++ unset _path ++ IFS=' ' ++ unset _prefix_setup_IFS ++ unset _prefix_setup_AMENT_SHELL ++ unset _UNIQUE_PREFIX_PATH ++ unset AMENT_SHELL + mkdir -p .obj-x86_64-openEuler-linux-gnu + cd .obj-x86_64-openEuler-linux-gnu + CFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX -DCMAKE_INSTALL_PREFIX=/opt/ros/humble -DAMENT_PREFIX_PATH=/opt/ros/humble -DCMAKE_PREFIX_PATH=/opt/ros/humble -DCMAKE_INSTALL_LIBDIR=/opt/ros/humble/lib -DSETUPTOOLS_DEB_LAYOUT=OFF -DBUILD_TESTING=OFF .. CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1316 (message): The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is not set. The policy's OLD behavior will be used. When using a URL download, the timestamps of extracted files should preferably be that of the time of extraction, otherwise code that depends on the extracted contents might not be rebuilt if the URL changes. The OLD behavior preserves the timestamps from the archive instead, but this is usually not what you want. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue. Call Stack (most recent call first): CMakeLists.txt:4 (FetchContent_Declare) This warning is for project developers. Use -Wno-dev to suppress it. [ 11%] Creating directories for 'kinova_binary_api-populate' [ 22%] Performing download step (download, verify and extract) for 'kinova_binary_api-populate' -- Downloading... dst='/builddir/build/BUILD/ros-humble-kortex-api-0.2.2/.obj-x86_64-openEuler-linux-gnu/_deps/kinova_binary_api-subbuild/kinova_binary_api-populate-prefix/src/linux_x86-64_x86_gcc.zip' timeout='none' inactivity timeout='none' -- Using src='https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' -- Retrying... -- Using src='https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' -- Retry after 5 seconds (attempt #2) ... -- Using src='https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' -- Retry after 5 seconds (attempt #3) ... -- Using src='https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' -- Retry after 15 seconds (attempt #4) ... -- Using src='https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' -- Retry after 60 seconds (attempt #5) ... -- Using src='https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' CMake Error at kinova_binary_api-subbuild/kinova_binary_api-populate-prefix/src/kinova_binary_api-populate-stamp/download-kinova_binary_api-populate.cmake:170 (message): Each download failed! error: downloading 'https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- Could not resolve host: artifactory.kinovaapps.com Closing connection --- LOG END --- error: downloading 'https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- Could not resolve host: artifactory.kinovaapps.com Closing connection --- LOG END --- error: downloading 'https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- Could not resolve host: artifactory.kinovaapps.com Closing connection --- LOG END --- error: downloading 'https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- Could not resolve host: artifactory.kinovaapps.com Closing connection --- LOG END --- error: downloading 'https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- Could not resolve host: artifactory.kinovaapps.com Closing connection --- LOG END --- error: downloading 'https://artifactory.kinovaapps.com:443/artifactory/generic-public/kortex/API/2.5.0/linux_x86-64_x86_gcc.zip' failed status_code: 6 status_string: "Couldn't resolve host name" log: --- LOG BEGIN --- Could not resolve host: artifactory.kinovaapps.com Closing connection --- LOG END --- gmake[2]: *** [CMakeFiles/kinova_binary_api-populate.dir/build.make:100: kinova_binary_api-populate-prefix/src/kinova_binary_api-populate-stamp/kinova_binary_api-populate-download] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/kinova_binary_api-populate.dir/all] Error 2 gmake: *** [Makefile:91: all] Error 2 -- Configuring incomplete, errors occurred! RPM build errors: CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1662 (message): Build step for kinova_binary_api failed: 2 Call Stack (most recent call first): /usr/share/cmake/Modules/FetchContent.cmake:1802:EVAL:2 (__FetchContent_directPopulate) /usr/share/cmake/Modules/FetchContent.cmake:1802 (cmake_language) /usr/share/cmake/Modules/FetchContent.cmake:2016 (FetchContent_Populate) CMakeLists.txt:10 (FetchContent_MakeAvailable) error: Bad exit status from /var/tmp/rpm-tmp.9vShN9 (%build) Bad exit status from /var/tmp/rpm-tmp.9vShN9 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kortex-api.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 x86_64 --nodeps /builddir/build/SPECS/kortex-api.spec