Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libical.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722915088.114634/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/libical.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/libical-3.0.14-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/libical.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722915088.114634/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/libical.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/libical-3.0.14-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/libical.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722915088.114634/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/libical.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.YRb4wa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libical-3.0.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libical-3.0.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libical-3.0.14 + /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.MHzNLi + umask 022 + cd /builddir/build/BUILD + cd libical-3.0.14 + 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 -DUSE_INTEROPERABLE_VTIMEZONES:BOOL=true -DICAL_ALLOW_EMPTY_PROPERTIES:BOOL=true -DGOBJECT_INTROSPECTION:BOOL=true -DICAL_GLIB:BOOL=true -DICAL_GLIB_VAPI:BOOL=true -DSHARED_ONLY:BOOL=true CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Deprecation Warning at CMakeLists.txt:83 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C 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 -- 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 Perl: /usr/bin/perl (found version "5.38.0") -- Found the following ICU libraries: -- uc (required) -- i18n (required) -- Found ICU: /usr/include (found version "74.1") CMake Warning at cmake/modules/FindBerkeleyDB.cmake:96 (message): Failed to find Berkeley DB's header file "db.h"! Try setting "BerkeleyDB_ROOT_DIR" when initiating Cmake. Call Stack (most recent call first): CMakeLists.txt:250 (find_package) -- Could NOT find BerkeleyDB (missing: BerkeleyDB_INCLUDE_DIRS BerkeleyDB_LIBRARY) (found version "0.0.0") -- Found BerkeleyDB libraries: -- Looking for include file byteswap.h -- Looking for include file byteswap.h - found -- Looking for include file dirent.h -- Looking for include file dirent.h - found -- Looking for include file endian.h -- Looking for include file endian.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for include file sys/endian.h -- Looking for include file sys/endian.h - not found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/utsname.h -- Looking for include file sys/utsname.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file wctype.h -- Looking for include file wctype.h - found -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- Looking for access -- Looking for access - found -- Looking for fork -- Looking for fork - found -- Looking for getopt -- Looking for getopt - found -- Looking for getpid -- Looking for getpid - found -- Looking for getpwent -- Looking for getpwent - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for mkdir -- Looking for mkdir - found -- Looking for open -- Looking for open - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for signal -- Looking for signal - found -- Looking for stat -- Looking for stat - found -- Looking for strdup -- Looking for strdup - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for read -- Looking for read - found -- Looking for unlink -- Looking for unlink - found -- Looking for usleep -- Looking for usleep - found -- Looking for waitpid -- Looking for waitpid - found -- Looking for write -- Looking for write - found -- Looking for alarm -- Looking for alarm - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for iswspace -- Looking for iswspace - found -- Looking for setenv -- Looking for setenv - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of intptr_t -- Check size of intptr_t - done -- Check size of pid_t -- Check size of pid_t - done -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of time_t -- Check size of time_t - done -- Check size of wint_t -- Check size of wint_t - failed -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for pthread_attr_get_np in pthread -- Looking for pthread_attr_get_np in pthread - not found -- Looking for pthread_getattr_np in pthread -- Looking for pthread_getattr_np in pthread - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for include files pthread.h, pthread_np.h -- Looking for include files pthread.h, pthread_np.h - not found -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'gobject-introspection-1.0>=0.6.7' -- Found gobject-introspection-1.0, version 1.76.1 -- Checking for modules 'glib-2.0>=2.32;gobject-2.0>=2.32' -- Found glib-2.0, version 2.78.3 -- Found gobject-2.0, version 2.78.3 -- Checking for module 'libxml-2.0>=2.7.3' -- Found libxml-2.0, version 2.11.5 -- Performing Test HAVE_GCC_UNUSED_BUT_SET -- Performing Test HAVE_GCC_UNUSED_BUT_SET - Success -- Performing Test HAVE_GCC_LOGICAL_OP -- Performing Test HAVE_GCC_LOGICAL_OP - Success -- Performing Test HAVE_GCC_POINTER_MEMACCESS -- Performing Test HAVE_GCC_POINTER_MEMACCESS - Success -- Performing Test HAVE_GCC_FORMAT_SECURITY -- Performing Test HAVE_GCC_FORMAT_SECURITY - Success -- Performing Test HAVE_GCC_REDUNDANT_DECLS -- Performing Test HAVE_GCC_REDUNDANT_DECLS - Success -- Performing Test HAVE_GXX_UNUSED_BUT_SET -- Performing Test HAVE_GXX_UNUSED_BUT_SET - Success -- Performing Test HAVE_GXX_LOGICAL_OP -- Performing Test HAVE_GXX_LOGICAL_OP - Success -- Performing Test HAVE_GXX_POINTER_MEMACCESS -- Performing Test HAVE_GXX_POINTER_MEMACCESS - Success -- Performing Test HAVE_GXX_REORDER -- Performing Test HAVE_GXX_REORDER - Success -- Performing Test HAVE_GXX_FORMAT_SECURITY -- Performing Test HAVE_GXX_FORMAT_SECURITY - Success -- Performing Test HAVE_GXX_REDUNDANT_DECLS -- Performing Test HAVE_GXX_REDUNDANT_DECLS - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- The following features have been enabled: * Option WITH_CXX_BINDINGS, build the C++ bindings. Requires a C++ compiler * Option SHARED_ONLY, build shared libraries only * RSCALE support (RFC7529), build in RSCALE support * Option ICAL_ALLOW_EMPTY_PROPERTIES, prevents empty properties from being replaced with X-LIC-ERROR properties * Option GOBJECT_INTROSPECTION, build GObject introspection "typelib" files * Option ICAL_BUILD_DOCS, build API documentation and reference manual * Option ICAL_GLIB_VAPI, build Vala "vapi" files * Option ICAL_GLIB, build libical-glib interface * Option LIBICAL_BUILD_TESTING, build tests * libical-glib testing, python3 is required to run the regression tests -- The following OPTIONAL packages have been found: * GObjectIntrospection (required version >= 0.6.7), Needed in order to build the GObject introspection "typelib" files. * GLib (required version >= 2.32), A library of handy utility functions, For the optional libical-glib interface * PkgConfig * LibXML (required version >= 2.7.3), a library providing XML and HTML support, For the optional libical-glib interface -- The following RECOMMENDED packages have been found: * ICU For RSCALE (RFC7529) support -- The following REQUIRED packages have been found: * Perl Required by the libical build system. -- The following features have been disabled: * Option STATIC_ONLY, build static libraries only * Berkeley DB storage support, build in support for Berkeley DB storage * Option ICAL_ERRORS_ARE_FATAL, icalerror_* calls will abort instead of internally signaling an error * Option USE_BUILTIN_TZDATA, use our own timezone data rather then the system timezone data -- The following OPTIONAL packages have not been found: * BerkeleyDB For Berkeley DB storage support * Doxygen, API Documentation system, Needed to build the API documentation. -- Configuring done (7.6s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR USE_INTEROPERABLE_VTIMEZONES -- Build files have been written to: /builddir/build/BUILD/libical-3.0.14 + %cmake_build -j1 /var/tmp/rpm-tmp.MHzNLi: line 61: fg: no job control RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.MHzNLi (%build) Bad exit status from /var/tmp/rpm-tmp.MHzNLi (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libical.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 aarch64 --nodeps /builddir/build/SPECS/libical.spec