Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/as2-platform-dji-osdk.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1789812494.955163/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/as2-platform-dji-osdk.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/ros-humble-as2-platform-dji-osdk-1.1.0-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/as2-platform-dji-osdk.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1789812494.955163/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/as2-platform-dji-osdk.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/ros-humble-as2-platform-dji-osdk-1.1.0-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/as2-platform-dji-osdk.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1789812494.955163/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/as2-platform-dji-osdk.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.KKMS0x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf as2-platform-dji-osdk-1.1.0-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/as2-platform-dji-osdk-1.1.0-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd as2-platform-dji-osdk-1.1.0-1 + /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.HTPc1G + umask 022 + cd /builddir/build/BUILD + cd as2-platform-dji-osdk-1.1.0-1 + source /opt/ros/humble/setup.sh + export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages:/opt/ros/humble/lib/python3.11/site-packages + PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages:/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 + mkdir -p .obj + cd .obj + 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 -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 -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 -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 -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 -DCMAKE_INSTALL_PREFIX=/opt/ros/humble -DAMENT_PREFIX_PATH=/opt/ros/humble -DCMAKE_PREFIX_PATH=/opt/ros/humble -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX -DSETUPTOOLS_DEB_LAYOUT=OFF -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON .. -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found ament_cmake: 1.3.14 (/opt/ros/humble/share/ament_cmake/cmake) -- Found Python3: /usr/bin/python3 (found version "3.11.6") found components: Interpreter -- Found rclcpp: 16.0.19 (/opt/ros/humble/share/rclcpp/cmake) -- Found rosidl_generator_c: 3.1.9 (/opt/ros/humble/share/rosidl_generator_c/cmake) -- Found rosidl_adapter: 3.1.9 (/opt/ros/humble/share/rosidl_adapter/cmake) -- Found rosidl_generator_cpp: 3.1.9 (/opt/ros/humble/share/rosidl_generator_cpp/cmake) -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp -- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake) -- Found rmw_fastrtps_cpp: 6.2.10 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake) -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.12") -- Found FastRTPS: /opt/ros/humble/include -- Using RMW implementation 'rmw_fastrtps_cpp' as default -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found std_msgs: 4.9.1 (/opt/ros/humble/share/std_msgs/cmake) -- Found sensor_msgs: 4.9.2 (/opt/ros/humble/share/sensor_msgs/cmake) -- Found nav_msgs: 4.9.1 (/opt/ros/humble/share/nav_msgs/cmake) -- Found as2_core: 1.1.3 (/opt/ros/humble/share/as2_core/cmake) -- Created yaml-cpp::yaml-cpp alias from yaml-cpp target -- Reading /usr/lib64/cmake/GeographicLib/geographiclib-config.cmake -- GeographicLib configuration, version 2.7 -- ${GeographicLib_LIBRARIES} set to shared library -- Found Python3: /usr/include/python3.11 (found version "3.11.6") found components: Development Development.Module Development.Embed -- Found eigen3_cmake_module: 0.1.1 (/opt/ros/humble/share/eigen3_cmake_module/cmake) -- Found Eigen3: TRUE (found version "3.3.8") -- Ensuring Eigen3 include directory is part of orocos-kdl CMake target -- Found OpenCV: /usr (found version "4.13.0") [ 11%] Creating directories for 'dji_onboardsdk-populate' [ 22%] Performing download step (git clone) for 'dji_onboardsdk-populate' Cloning into 'dji_onboardsdk-src'... fatal: unable to access 'https://github.com/aerostack2/Onboard-SDK.git/': Could not resolve host: github.com Cloning into 'dji_onboardsdk-src'... fatal: unable to access 'https://github.com/aerostack2/Onboard-SDK.git/': Could not resolve host: github.com Cloning into 'dji_onboardsdk-src'... fatal: unable to access 'https://github.com/aerostack2/Onboard-SDK.git/': Could not resolve host: github.com -- Had to git clone more than once: 3 times. CMake Error at dji_onboardsdk-subbuild/dji_onboardsdk-populate-prefix/tmp/dji_onboardsdk-populate-gitclone.cmake:39 (message): Failed to clone repository: 'https://github.com/aerostack2/Onboard-SDK.git' gmake[2]: *** [CMakeFiles/dji_onboardsdk-populate.dir/build.make:102: dji_onboardsdk-populate-prefix/src/dji_onboardsdk-populate-stamp/dji_onboardsdk-populate-download] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/dji_onboardsdk-populate.dir/all] Error 2 gmake: *** [Makefile:91: all] Error 2 -- Configuring incomplete, errors occurred! CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1662 (message): Build step for dji_onboardsdk 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:60 (fetchcontent_makeavailable) error: Bad exit status from /var/tmp/rpm-tmp.HTPc1G (%build) Bad exit status from /var/tmp/rpm-tmp.HTPc1G (%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/as2-platform-dji-osdk.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/as2-platform-dji-osdk.spec