Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/bctoolbox.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-230401-81462/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/bctoolbox.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/bctoolbox-5.2.45-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/bctoolbox.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-230401-81462/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/bctoolbox.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.XcYgbp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bctoolbox-5.2.45 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bctoolbox-5.2.45.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd bctoolbox-5.2.45 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3001_bctoolbox_set_current_version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/3002_bctoolbox_change_cmake_files_default_install_location.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SEQwFh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bctoolbox-5.2.45 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -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_DO_STRIP:BOOL=OFF -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 -DENABLE_DECAF=OFF -DENABLE_POLARSSL=OFF -DCMAKE_SKIP_INSTALL_RPATH=ON -DENABLE_SHARED=ON -DENABLE_MBEDTLS=ON -DENABLE_PACKAGE_SOURCE=OFF -DENABLE_DEFAULT_LOG_HANDLER=ON -DENABLE_STATIC=OFF -DENABLE_TESTS_COMPONENT=ON -DENABLE_TESTS=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/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting install rpath to /usr/lib64 -- MBEDTLS Enabled -- MBEDTLS Enabled search enabled -- Looking for mbedtls_ssl_init -- Looking for mbedtls_ssl_init - found -- Looking for mbedtls_ssl_conf_dtls_srtp_protection_profiles -- Looking for mbedtls_ssl_conf_dtls_srtp_protection_profiles - not found -- Found MbedTLS: /usr/include -- Using mbedTLS -- DTLS SRTP not available -- Looking for CU_get_suite -- Looking for CU_get_suite - found -- Looking for CU_curses_run_tests -- Looking for CU_curses_run_tests - not found -- Looking for CU_set_trace_handler -- Looking for CU_set_trace_handler - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for execinfo.h -- Looking for execinfo.h - found -- Configuring done (1.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j8 --verbose /usr/bin/cmake -S/builddir/build/BUILD/bctoolbox-5.2.45 -B/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/bctoolbox.dir/build.make src/CMakeFiles/bctoolbox.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bctoolbox-5.2.45 /builddir/build/BUILD/bctoolbox-5.2.45/src /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/bctoolbox.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/bctoolbox.dir/build.make src/CMakeFiles/bctoolbox.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu' [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/vfs/vfs_standard.c.o [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/containers/list.c.o [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/param_string.c.o [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/parser.c.o [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/vfs/vfs.c.o [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/utils/port.c.o [ 21%] Building C object src/CMakeFiles/bctoolbox.dir/logging/logging.c.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/param_string.c.o -MF CMakeFiles/bctoolbox.dir/param_string.c.o.d -o CMakeFiles/bctoolbox.dir/param_string.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/param_string.c [ 24%] Building C object src/CMakeFiles/bctoolbox.dir/vconnect.c.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/containers/list.c.o -MF CMakeFiles/bctoolbox.dir/containers/list.c.o.d -o CMakeFiles/bctoolbox.dir/containers/list.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/containers/list.c cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/logging/logging.c.o -MF CMakeFiles/bctoolbox.dir/logging/logging.c.o.d -o CMakeFiles/bctoolbox.dir/logging/logging.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/logging/logging.c cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/parser.c.o -MF CMakeFiles/bctoolbox.dir/parser.c.o.d -o CMakeFiles/bctoolbox.dir/parser.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/parser.c cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/utils/port.c.o -MF CMakeFiles/bctoolbox.dir/utils/port.c.o.d -o CMakeFiles/bctoolbox.dir/utils/port.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/utils/port.c cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/vconnect.c.o -MF CMakeFiles/bctoolbox.dir/vconnect.c.o.d -o CMakeFiles/bctoolbox.dir/vconnect.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/vconnect.c cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/vfs/vfs.c.o -MF CMakeFiles/bctoolbox.dir/vfs/vfs.c.o.d -o CMakeFiles/bctoolbox.dir/vfs/vfs.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/vfs/vfs.c cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/vfs/vfs_standard.c.o -MF CMakeFiles/bctoolbox.dir/vfs/vfs_standard.c.o.d -o CMakeFiles/bctoolbox.dir/vfs/vfs_standard.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/vfs/vfs_standard.c [ 27%] Building C object src/CMakeFiles/bctoolbox.dir/crypto/crypto.c.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/crypto/crypto.c.o -MF CMakeFiles/bctoolbox.dir/crypto/crypto.c.o.d -o CMakeFiles/bctoolbox.dir/crypto/crypto.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/crypto.c [ 30%] Building C object src/CMakeFiles/bctoolbox.dir/crypto/mbedtls.c.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror -Wstrict-prototypes -MD -MT src/CMakeFiles/bctoolbox.dir/crypto/mbedtls.c.o -MF CMakeFiles/bctoolbox.dir/crypto/mbedtls.c.o.d -o CMakeFiles/bctoolbox.dir/crypto/mbedtls.c.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c [ 33%] Building CXX object src/CMakeFiles/bctoolbox.dir/containers/map.cc.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -std=c++11 -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -MD -MT src/CMakeFiles/bctoolbox.dir/containers/map.cc.o -MF CMakeFiles/bctoolbox.dir/containers/map.cc.o.d -o CMakeFiles/bctoolbox.dir/containers/map.cc.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/containers/map.cc [ 36%] Building CXX object src/CMakeFiles/bctoolbox.dir/conversion/charconv_encoding.cc.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -std=c++11 -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -MD -MT src/CMakeFiles/bctoolbox.dir/conversion/charconv_encoding.cc.o -MF CMakeFiles/bctoolbox.dir/conversion/charconv_encoding.cc.o.d -o CMakeFiles/bctoolbox.dir/conversion/charconv_encoding.cc.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/conversion/charconv_encoding.cc [ 39%] Building CXX object src/CMakeFiles/bctoolbox.dir/utils/exception.cc.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -std=c++11 -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -MD -MT src/CMakeFiles/bctoolbox.dir/utils/exception.cc.o -MF CMakeFiles/bctoolbox.dir/utils/exception.cc.o.d -o CMakeFiles/bctoolbox.dir/utils/exception.cc.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/utils/exception.cc /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_signing_key_parse': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:135:13: error: too few arguments to function 'mbedtls_pk_parse_key' 135 | err=mbedtls_pk_parse_key((mbedtls_pk_context *)key, (const unsigned char *)buffer, buffer_length, password, password_length); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/mbedtls/ssl_ciphersuites.h:16, from /usr/include/mbedtls/ssl.h:20, from /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:27: /usr/include/mbedtls/pk.h:1109:5: note: declared here 1109 | int mbedtls_pk_parse_key(mbedtls_pk_context *ctx, | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_signing_key_parse_file': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:149:13: error: too few arguments to function 'mbedtls_pk_parse_keyfile' 149 | err=mbedtls_pk_parse_keyfile((mbedtls_pk_context *)key, path, password); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/mbedtls/pk.h:1174:5: note: declared here 1174 | int mbedtls_pk_parse_keyfile(mbedtls_pk_context *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_x509_certificate_get_subjects': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:236:33: error: 'mbedtls_x509_crt' has no member named 'ext_types' 236 | if( mbedtls_cert->ext_types & MBEDTLS_X509_EXT_SUBJECT_ALT_NAME ) { | ^~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_x509_certificate_get_signature_hash_function': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:366:22: error: 'mbedtls_x509_crt' has no member named 'sig_md'; did you mean 'sig_oid'? 366 | switch (crt->sig_md) { | ^~~~~~ | sig_oid /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_x509_certificate_get_fingerprint': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:427:40: error: 'mbedtls_x509_crt' has no member named 'sig_md'; did you mean 'sig_oid'? 427 | hash_id = crt->sig_md; | ^~~~~~ | sig_oid /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_CreateDHMContext': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:718:73: error: 'mbedtls_dhm_context' has no member named 'P' 718 | if ((mbedtls_mpi_read_string(&(mbedtlsDhmContext->P), 16, MBEDTLS_DHM_RFC3526_MODP_2048_P) != 0) || | ^~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:718:83: error: 'MBEDTLS_DHM_RFC3526_MODP_2048_P' undeclared (first use in this function); did you mean 'MBEDTLS_DHM_RFC3526_MODP_2048_P_BIN'? 718 | if ((mbedtls_mpi_read_string(&(mbedtlsDhmContext->P), 16, MBEDTLS_DHM_RFC3526_MODP_2048_P) != 0) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MBEDTLS_DHM_RFC3526_MODP_2048_P_BIN /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:718:83: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:719:69: error: 'mbedtls_dhm_context' has no member named 'G' 719 | (mbedtls_mpi_read_string(&(mbedtlsDhmContext->G), 16, MBEDTLS_DHM_RFC3526_MODP_2048_G) != 0)) { | ^~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:719:79: error: 'MBEDTLS_DHM_RFC3526_MODP_2048_G' undeclared (first use in this function); did you mean 'MBEDTLS_DHM_RFC3526_MODP_2048_G_BIN'? 719 | (mbedtls_mpi_read_string(&(mbedtlsDhmContext->G), 16, MBEDTLS_DHM_RFC3526_MODP_2048_G) != 0)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MBEDTLS_DHM_RFC3526_MODP_2048_G_BIN [ 42%] Building CXX object src/CMakeFiles/bctoolbox.dir/utils/regex.cc.o /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:723:42: error: 'mbedtls_dhm_context' has no member named 'len' 723 | mbedtlsDhmContext->len=256; | ^~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:727:73: error: 'mbedtls_dhm_context' has no member named 'P' 727 | if ((mbedtls_mpi_read_string(&(mbedtlsDhmContext->P), 16, MBEDTLS_DHM_RFC3526_MODP_3072_P) != 0) || | ^~ cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -std=c++11 -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=maybe-uninitialized -MD -MT src/CMakeFiles/bctoolbox.dir/utils/regex.cc.o -MF CMakeFiles/bctoolbox.dir/utils/regex.cc.o.d -o CMakeFiles/bctoolbox.dir/utils/regex.cc.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/utils/regex.cc /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:727:83: error: 'MBEDTLS_DHM_RFC3526_MODP_3072_P' undeclared (first use in this function); did you mean 'MBEDTLS_DHM_RFC3526_MODP_3072_P_BIN'? 727 | if ((mbedtls_mpi_read_string(&(mbedtlsDhmContext->P), 16, MBEDTLS_DHM_RFC3526_MODP_3072_P) != 0) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MBEDTLS_DHM_RFC3526_MODP_3072_P_BIN [ 45%] Building CXX object src/CMakeFiles/bctoolbox.dir/utils/utils.cc.o cd /builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_CONFIG_H -Dbctoolbox_EXPORTS -I/builddir/build/BUILD/bctoolbox-5.2.45/include -I/builddir/build/BUILD/bctoolbox-5.2.45/src -I/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=unused-parameter -Wunused-parameter -std=c++11 -fPIC -Wall -Wuninitialized -Wno-error=pragmas -Werror -Wextra -Wunused-parameter -Wno-error=unknown-pragmas -Wuninitialized -Wno-missing-field-initializers -fno-strict-aliasing -Wno-error=deprecated -Wno-error=deprecated-declarations -MD -MT src/CMakeFiles/bctoolbox.dir/utils/utils.cc.o -MF CMakeFiles/bctoolbox.dir/utils/utils.cc.o.d -o CMakeFiles/bctoolbox.dir/utils/utils.cc.o -c /builddir/build/BUILD/bctoolbox-5.2.45/src/utils/utils.cc /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:728:69: error: 'mbedtls_dhm_context' has no member named 'G' 728 | (mbedtls_mpi_read_string(&(mbedtlsDhmContext->G), 16, MBEDTLS_DHM_RFC3526_MODP_3072_G) != 0)) { | ^~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:728:79: error: 'MBEDTLS_DHM_RFC3526_MODP_3072_G' undeclared (first use in this function); did you mean 'MBEDTLS_DHM_RFC3526_MODP_3072_G_BIN'? 728 | (mbedtls_mpi_read_string(&(mbedtlsDhmContext->G), 16, MBEDTLS_DHM_RFC3526_MODP_3072_G) != 0)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MBEDTLS_DHM_RFC3526_MODP_3072_G_BIN /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:732:42: error: 'mbedtls_dhm_context' has no member named 'len' 732 | mbedtlsDhmContext->len=384; | ^~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_handshake': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:887:32: error: 'mbedtls_ssl_context' has no member named 'state' 887 | while( ssl_ctx->ssl_ctx.state != MBEDTLS_SSL_HANDSHAKE_OVER ) | ^ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:898:45: error: 'mbedtls_ssl_context' has no member named 'state' 898 | if (ssl_ctx->ssl_ctx.state == MBEDTLS_SSL_CLIENT_CERTIFICATE && ssl_ctx->ssl_ctx.client_auth > 0) { | ^ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:898:105: error: 'mbedtls_ssl_context' has no member named 'client_auth' 898 | if (ssl_ctx->ssl_ctx.state == MBEDTLS_SSL_CLIENT_CERTIFICATE && ssl_ctx->ssl_ctx.client_auth > 0) { | ^ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:902:142: error: 'mbedtls_ssl_context' has no member named 'session_negotiate'; did you mean 'private_session_negotiate'? 902 | bctbx_list_t *names = bctbx_x509_certificate_get_subjects((const bctbx_x509_certificate_t *)ssl_ctx->ssl_ctx.session_negotiate->peer_cert); | ^~~~~~~~~~~~~~~~~ | private_session_negotiate /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_set_hs_own_cert': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:929:29: error: 'mbedtls_ssl_context' has no member named 'conf' 929 | if (ssl_ctx->ssl_ctx.conf->endpoint == MBEDTLS_SSL_IS_SERVER ) { | ^ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:932:88: error: 'mbedtls_ssl_context' has no member named 'conf' 932 | return mbedtls_ssl_conf_own_cert((mbedtls_ssl_config *)ssl_ctx->ssl_ctx.conf , (mbedtls_x509_crt *)cert , (mbedtls_pk_context *)key); | ^ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_set_mtu': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1052:45: warning: unused parameter 'ssl_ctx' [-Wunused-parameter] 1052 | void bctbx_ssl_set_mtu(bctbx_ssl_context_t *ssl_ctx, uint16_t mtu) { } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1052:63: warning: unused parameter 'mtu' [-Wunused-parameter] 1052 | void bctbx_ssl_set_mtu(bctbx_ssl_context_t *ssl_ctx, uint16_t mtu) { } | ~~~~~~~~~^~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_get_dtls_srtp_protection_profile': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1054:91: warning: unused parameter 'ssl_ctx' [-Wunused-parameter] 1054 | bctbx_dtls_srtp_profile_t bctbx_ssl_get_dtls_srtp_protection_profile(bctbx_ssl_context_t *ssl_ctx) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_get_dtls_srtp_key_material': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1382:66: warning: unused parameter 'ssl_ctx' [-Wunused-parameter] 1382 | int32_t bctbx_ssl_get_dtls_srtp_key_material(bctbx_ssl_config_t *ssl_ctx, uint8_t *output, size_t *output_length) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1382:84: warning: unused parameter 'output' [-Wunused-parameter] 1382 | int32_t bctbx_ssl_get_dtls_srtp_key_material(bctbx_ssl_config_t *ssl_ctx, uint8_t *output, size_t *output_length) { | ~~~~~~~~~^~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_config_set_dtls_srtp_protection_profiles': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1387:80: warning: unused parameter 'ssl_config' [-Wunused-parameter] 1387 | int32_t bctbx_ssl_config_set_dtls_srtp_protection_profiles(bctbx_ssl_config_t *ssl_config, const bctbx_dtls_srtp_profile_t *profiles, size_t profiles_number) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1387:125: warning: unused parameter 'profiles' [-Wunused-parameter] 1387 | int32_t bctbx_ssl_config_set_dtls_srtp_protection_profiles(bctbx_ssl_config_t *ssl_config, const bctbx_dtls_srtp_profile_t *profiles, size_t profiles_number) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1387:142: warning: unused parameter 'profiles_number' [-Wunused-parameter] 1387 | int32_t bctbx_ssl_config_set_dtls_srtp_protection_profiles(bctbx_ssl_config_t *ssl_config, const bctbx_dtls_srtp_profile_t *profiles, size_t profiles_number) { | ~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_aes_gcm_context_new': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1744:15: error: too many arguments to function 'mbedtls_gcm_starts' 1744 | ret = mbedtls_gcm_starts(ctx, mbedtls_mode, initializationVector, initializationVectorLength, authenticatedData, authenticatedDataLength); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/psa/crypto_builtin_composites.h:29, from /usr/include/psa/crypto_driver_contexts_composites.h:28, from /usr/include/psa/crypto_struct.h:129, from /usr/include/psa/crypto.h:71, from /usr/include/mbedtls/pk.h:32: /usr/include/mbedtls/gcm.h:236:5: note: declared here 236 | int mbedtls_gcm_starts(mbedtls_gcm_context *ctx, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_aes_gcm_process_chunk': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1766:67: error: passing argument 2 of 'mbedtls_gcm_update' makes pointer from integer without a cast [-Werror=int-conversion] 1766 | return mbedtls_gcm_update((mbedtls_gcm_context *)context, inputLength, input, output); | ^~~~~~~~~~~ | | | size_t {aka long unsigned int} /usr/include/mbedtls/gcm.h:319:45: note: expected 'const unsigned char *' but argument is of type 'size_t' {aka 'long unsigned int'} 319 | const unsigned char *input, size_t input_length, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1766:80: error: passing argument 3 of 'mbedtls_gcm_update' makes integer from pointer without a cast [-Werror=int-conversion] 1766 | return mbedtls_gcm_update((mbedtls_gcm_context *)context, inputLength, input, output); | ^~~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/mbedtls/gcm.h:319:59: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 319 | const unsigned char *input, size_t input_length, | ~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1766:16: error: too few arguments to function 'mbedtls_gcm_update' 1766 | return mbedtls_gcm_update((mbedtls_gcm_context *)context, inputLength, input, output); | ^~~~~~~~~~~~~~~~~~ /usr/include/mbedtls/gcm.h:318:5: note: declared here 318 | int mbedtls_gcm_update(mbedtls_gcm_context *ctx, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_aes_gcm_finish': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1782:15: error: too few arguments to function 'mbedtls_gcm_finish' 1782 | ret = mbedtls_gcm_finish((mbedtls_gcm_context *)context, tag, tagLength); | ^~~~~~~~~~~~~~~~~~ /usr/include/mbedtls/gcm.h:356:5: note: declared here 356 | int mbedtls_gcm_finish(mbedtls_gcm_context *ctx, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_ssl_set_hs_own_cert': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:934:1: error: control reaches end of non-void function [-Werror=return-type] 934 | } | ^ /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c: In function 'bctbx_aes_gcm_process_chunk': /builddir/build/BUILD/bctoolbox-5.2.45/src/crypto/mbedtls.c:1767:1: error: control reaches end of non-void function [-Werror=return-type] 1767 | } | ^ cc1: all warnings being treated as errors gmake[2]: *** [src/CMakeFiles/bctoolbox.dir/build.make:205: src/CMakeFiles/bctoolbox.dir/crypto/mbedtls.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu' gmake[1]: Leaving directory '/builddir/build/BUILD/bctoolbox-5.2.45/aarch64-OpenCloudOS-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:139: src/CMakeFiles/bctoolbox.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.SEQwFh (%build) Bad exit status from /var/tmp/rpm-tmp.SEQwFh (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/bctoolbox.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/bctoolbox.spec