Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libcaer-vendor.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1742891399.995021/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/libcaer-vendor.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 warning: Macro expanded in comment on line 28: %{ros_distro}-ament-cmake-vendor-package error: bad date in %changelog: 三 12月 04 2024 Bernd Pfrommer bernd.pfrommer@gmail.com - 1.1.0-1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ros-humble-libcaer-vendor-1.1.0-1.src.rpm RPM build warnings: Macro expanded in comment on line 28: %{ros_distro}-ament-cmake-vendor-package 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/libcaer-vendor.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1742891399.995021/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/libcaer-vendor.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 warning: Macro expanded in comment on line 28: %{ros_distro}-ament-cmake-vendor-package error: bad date in %changelog: 三 12月 04 2024 Bernd Pfrommer bernd.pfrommer@gmail.com - 1.1.0-1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ros-humble-libcaer-vendor-1.1.0-1.src.rpm RPM build warnings: Macro expanded in comment on line 28: %{ros_distro}-ament-cmake-vendor-package Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libcaer-vendor.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1742891399.995021/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/libcaer-vendor.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 warning: Macro expanded in comment on line 28: %{ros_distro}-ament-cmake-vendor-package error: bad date in %changelog: 三 12月 04 2024 Bernd Pfrommer bernd.pfrommer@gmail.com - 1.1.0-1 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nTVtQD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ros-humble-libcaer-vendor-1.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ros-humble-libcaer-vendor_1.1.0.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ros-humble-libcaer-vendor-1.1.0 + /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.trfm6l + umask 022 + cd /builddir/build/BUILD + cd ros-humble-libcaer-vendor-1.1.0 + 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 .. -- The CXX compiler identification is GNU 12.3.1 -- 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.4 (/opt/ros/humble/share/ament_cmake/cmake) -- Found Python3: /usr/bin/python3.11 (found version "3.11.6") found components: Interpreter CMake Error at CMakeLists.txt:21 (find_package): By not providing "Findament_cmake_vendor_package.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ament_cmake_vendor_package", but CMake did not find one. Could not find a package configuration file provided by "ament_cmake_vendor_package" with any of the following names: ament_cmake_vendor_packageConfig.cmake ament_cmake_vendor_package-config.cmake Add the installation prefix of "ament_cmake_vendor_package" to CMAKE_PREFIX_PATH or set "ament_cmake_vendor_package_DIR" to a directory containing one of the above files. If "ament_cmake_vendor_package" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.trfm6l (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 28: %{ros_distro}-ament-cmake-vendor-package bad date in %changelog: 三 12月 04 2024 Bernd Pfrommer bernd.pfrommer@gmail.com - 1.1.0-1 Bad exit status from /var/tmp/rpm-tmp.trfm6l (%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/libcaer-vendor.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/libcaer-vendor.spec