<86>Jun 26 01:04:54 userdel[2974900]: delete user 'rooter' <86>Jun 26 01:04:54 userdel[2974900]: removed group 'rooter' owned by 'rooter' <86>Jun 26 01:04:54 userdel[2974900]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 26 01:04:54 groupadd[2974974]: group added to /etc/group: name=rooter, GID=1841 <86>Jun 26 01:04:54 groupadd[2974974]: group added to /etc/gshadow: name=rooter <86>Jun 26 01:04:54 groupadd[2974974]: new group: name=rooter, GID=1841 <86>Jun 26 01:04:54 useradd[2975010]: new user: name=rooter, UID=1841, GID=1841, home=/root, shell=/bin/bash, from=none <86>Jun 26 01:04:54 userdel[2975071]: delete user 'builder' <86>Jun 26 01:04:54 userdel[2975071]: removed group 'builder' owned by 'builder' <86>Jun 26 01:04:54 userdel[2975071]: removed shadow group 'builder' owned by 'builder' <86>Jun 26 01:04:54 groupadd[2975159]: group added to /etc/group: name=builder, GID=1842 <86>Jun 26 01:04:54 groupadd[2975159]: group added to /etc/gshadow: name=builder <86>Jun 26 01:04:54 groupadd[2975159]: new group: name=builder, GID=1842 <86>Jun 26 01:04:54 useradd[2975201]: new user: name=builder, UID=1842, GID=1842, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/libolm-3.2.6-alt1.src.rpm: The use of such a license name is ambiguous: Apache /usr/src/in/srpm/libolm-3.2.6-alt1.src.rpm: license not found in '/usr/share/license' directory: v2.0 warning: Macro %cmake not found warning: Macro %cmake_build not found warning: Macro %cmakeinstall_std not found <13>Jun 26 01:04:55 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>Jun 26 01:04:55 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Jun 26 01:04:55 rpmi: libuv-1.45.0-alt1 sisyphus+322120.40.2.1 1685405026 installed <13>Jun 26 01:04:55 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444232 installed <13>Jun 26 01:04:55 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Jun 26 01:04:55 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Jun 26 01:04:55 rpmi: libtasn1-4.19.0-alt2 sisyphus+323514.100.1.1 1687445894 installed <13>Jun 26 01:04:55 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Jun 26 01:04:55 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639068 installed <13>Jun 26 01:04:55 rpmi: libngtcp2.13-0.16.0-alt1 sisyphus+323677.40.3.1 1687690555 installed <13>Jun 26 01:04:55 rpmi: libngtcp2_crypto_gnutls5-0.16.0-alt1 sisyphus+323677.40.3.1 1687690555 installed <13>Jun 26 01:04:55 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 26 01:04:56 rpmi: libstdc++13-devel-13.1.1-alt1 sisyphus+323337.100.1.1 1687259761 installed <13>Jun 26 01:04:56 rpmi: gcc13-c++-13.1.1-alt1 sisyphus+323337.100.1.1 1687259761 installed <13>Jun 26 01:04:56 rpmi: rpm-macros-cmake-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>Jun 26 01:04:56 rpmi: cmake-modules-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>Jun 26 01:04:56 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Jun 26 01:04:56 rpmi: publicsuffix-list-dafsa-20230404-alt1 sisyphus+318117.100.1.1 1680769734 installed <13>Jun 26 01:04:56 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131178 installed <13>Jun 26 01:04:56 rpmi: libnghttp3.7-0.12.0-alt1 sisyphus+323677.20.3.1 1687690506 installed <13>Jun 26 01:04:56 rpmi: libnghttp2-1.54.0-alt1 sisyphus+323695.100.1.1 1687701911 installed <13>Jun 26 01:04:56 rpmi: openldap-common-2.6.4-alt1 sisyphus+321176.240.10.2 1684802269 installed <13>Jun 26 01:04:56 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Jun 26 01:04:56 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Jun 26 01:04:56 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Jun 26 01:04:56 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072360 installed <13>Jun 26 01:04:56 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Jun 26 01:04:56 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Jun 26 01:04:56 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 26 01:04:56 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 26 01:04:56 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 26 01:04:56 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 26 01:04:56 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jun 26 01:04:56 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jun 26 01:04:56 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Jun 26 01:04:56 rpmi: libcrypto1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed <13>Jun 26 01:04:57 rpmi: libssl1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed <86>Jun 26 01:04:57 groupadd[2996983]: group added to /etc/group: name=_keytab, GID=999 <86>Jun 26 01:04:57 groupadd[2996983]: group added to /etc/gshadow: name=_keytab <86>Jun 26 01:04:57 groupadd[2996983]: new group: name=_keytab, GID=999 <13>Jun 26 01:04:57 rpmi: libkrb5-1.21-alt1 sisyphus+323024.100.1.1 1686749925 installed <13>Jun 26 01:04:57 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478543 installed <86>Jun 26 01:04:57 groupadd[2997093]: group added to /etc/group: name=sasl, GID=998 <86>Jun 26 01:04:57 groupadd[2997093]: group added to /etc/gshadow: name=sasl <86>Jun 26 01:04:57 groupadd[2997093]: new group: name=sasl, GID=998 <13>Jun 26 01:04:57 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097224 installed <13>Jun 26 01:04:57 rpmi: libldap2-2.6.4-alt1 sisyphus+321176.240.10.2 1684802269 installed <13>Jun 26 01:04:57 rpmi: libarchive13-3.6.1-alt2 sisyphus+311213.100.1.1 1670244620 installed <13>Jun 26 01:04:57 rpmi: libssh2-1.10.0-alt1 sisyphus+289470.100.1.1 1636752293 installed <13>Jun 26 01:04:57 rpmi: libcurl-8.1.2-alt2 sisyphus+323677.300.5.1 1687713532 installed <13>Jun 26 01:04:57 rpmi: cmake-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>Jun 26 01:04:57 rpmi: ctest-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>Jun 26 01:04:57 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libolm-3.2.6-alt1.nosrc.rpm (w1.gzdio) Installing libolm-3.2.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98214 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libolm-3.2.6 + echo 'Source #0 (libolm-3.2.6.tar):' Source #0 (libolm-3.2.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libolm-3.2.6.tar + cd libolm-3.2.6 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.98214 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libolm-3.2.6 + mkdir -p x86_64-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' -DCMAKE_INSTALL_PREFIX=/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_DESTINATION=lib64 -DLIB_SUFFIX=64 -S . -B x86_64-alt-linux -- The CXX compiler identification is GNU 13.1.1 -- The C compiler identification is GNU 13.1.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 -- 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 -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux + cmake --build x86_64-alt-linux --verbose --parallel 16 gmake: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/libolm-3.2.6 -B/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/CMakeFiles /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f CMakeFiles/olm.dir/build.make CMakeFiles/olm.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/CMakeFiles/olm.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f CMakeFiles/olm.dir/build.make CMakeFiles/olm.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 28%] Building C object CMakeFiles/olm.dir/src/error.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/error.c.o -MF CMakeFiles/olm.dir/src/error.c.o.d -o CMakeFiles/olm.dir/src/error.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/error.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 7%] Building CXX object CMakeFiles/olm.dir/src/base64.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/base64.cpp.o -MF CMakeFiles/olm.dir/src/base64.cpp.o.d -o CMakeFiles/olm.dir/src/base64.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/base64.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 22%] Building C object CMakeFiles/olm.dir/src/sas.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/sas.c.o -MF CMakeFiles/olm.dir/src/sas.c.o.d -o CMakeFiles/olm.dir/src/sas.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/sas.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 30%] Building C object CMakeFiles/olm.dir/src/megolm.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/megolm.c.o -MF CMakeFiles/olm.dir/src/megolm.c.o.d -o CMakeFiles/olm.dir/src/megolm.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/megolm.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 18%] Building CXX object CMakeFiles/olm.dir/src/utility.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/utility.cpp.o -MF CMakeFiles/olm.dir/src/utility.cpp.o.d -o CMakeFiles/olm.dir/src/utility.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/utility.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 26%] Building C object CMakeFiles/olm.dir/src/inbound_group_session.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/inbound_group_session.c.o -MF CMakeFiles/olm.dir/src/inbound_group_session.c.o.d -o CMakeFiles/olm.dir/src/inbound_group_session.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/inbound_group_session.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 13%] Building CXX object CMakeFiles/olm.dir/src/pickle.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/pickle.cpp.o -MF CMakeFiles/olm.dir/src/pickle.cpp.o.d -o CMakeFiles/olm.dir/src/pickle.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/pickle.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 35%] Building C object CMakeFiles/olm.dir/src/pickle_encoding.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/pickle_encoding.c.o -MF CMakeFiles/olm.dir/src/pickle_encoding.c.o.d -o CMakeFiles/olm.dir/src/pickle_encoding.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/pickle_encoding.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 33%] Building C object CMakeFiles/olm.dir/src/outbound_group_session.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/outbound_group_session.c.o -MF CMakeFiles/olm.dir/src/outbound_group_session.c.o.d -o CMakeFiles/olm.dir/src/outbound_group_session.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/outbound_group_session.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 39%] Building C object CMakeFiles/olm.dir/lib/crypto-algorithms/sha256.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/lib/crypto-algorithms/sha256.c.o -MF CMakeFiles/olm.dir/lib/crypto-algorithms/sha256.c.o.d -o CMakeFiles/olm.dir/lib/crypto-algorithms/sha256.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/lib/crypto-algorithms/sha256.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 24%] Building C object CMakeFiles/olm.dir/src/ed25519.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/src/ed25519.c.o -MF CMakeFiles/olm.dir/src/ed25519.c.o.d -o CMakeFiles/olm.dir/src/ed25519.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/ed25519.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 41%] Building C object CMakeFiles/olm.dir/lib/curve25519-donna/curve25519-donna.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/lib/curve25519-donna/curve25519-donna.c.o -MF CMakeFiles/olm.dir/lib/curve25519-donna/curve25519-donna.c.o.d -o CMakeFiles/olm.dir/lib/curve25519-donna/curve25519-donna.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/lib/curve25519-donna/curve25519-donna.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 37%] Building C object CMakeFiles/olm.dir/lib/crypto-algorithms/aes.c.o /usr/bin/cc -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/olm.dir/lib/crypto-algorithms/aes.c.o -MF CMakeFiles/olm.dir/lib/crypto-algorithms/aes.c.o.d -o CMakeFiles/olm.dir/lib/crypto-algorithms/aes.c.o -c /usr/src/RPM/BUILD/libolm-3.2.6/lib/crypto-algorithms/aes.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 5%] Building CXX object CMakeFiles/olm.dir/src/memory.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/memory.cpp.o -MF CMakeFiles/olm.dir/src/memory.cpp.o.d -o CMakeFiles/olm.dir/src/memory.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/memory.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 11%] Building CXX object CMakeFiles/olm.dir/src/crypto.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/crypto.cpp.o -MF CMakeFiles/olm.dir/src/crypto.cpp.o.d -o CMakeFiles/olm.dir/src/crypto.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/crypto.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 15%] Building CXX object CMakeFiles/olm.dir/src/session.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/session.cpp.o -MF CMakeFiles/olm.dir/src/session.cpp.o.d -o CMakeFiles/olm.dir/src/session.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/session.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 20%] Building CXX object CMakeFiles/olm.dir/src/ratchet.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/ratchet.cpp.o -MF CMakeFiles/olm.dir/src/ratchet.cpp.o.d -o CMakeFiles/olm.dir/src/ratchet.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/ratchet.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 3%] Building CXX object CMakeFiles/olm.dir/src/account.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/account.cpp.o -MF CMakeFiles/olm.dir/src/account.cpp.o.d -o CMakeFiles/olm.dir/src/account.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/account.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 1%] Building CXX object CMakeFiles/olm.dir/src/cipher.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/cipher.cpp.o -MF CMakeFiles/olm.dir/src/cipher.cpp.o.d -o CMakeFiles/olm.dir/src/cipher.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/cipher.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 11%] Building CXX object CMakeFiles/olm.dir/src/message.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/message.cpp.o -MF CMakeFiles/olm.dir/src/message.cpp.o.d -o CMakeFiles/olm.dir/src/message.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/message.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 16%] Building CXX object CMakeFiles/olm.dir/src/pk.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/pk.cpp.o -MF CMakeFiles/olm.dir/src/pk.cpp.o.d -o CMakeFiles/olm.dir/src/pk.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/pk.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 32%] Building CXX object CMakeFiles/olm.dir/src/olm.cpp.o /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -Dolm_EXPORTS -I/usr/src/RPM/BUILD/libolm-3.2.6/include -I/usr/src/RPM/BUILD/libolm-3.2.6/lib -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT CMakeFiles/olm.dir/src/olm.cpp.o -MF CMakeFiles/olm.dir/src/olm.cpp.o.d -o CMakeFiles/olm.dir/src/olm.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/src/olm.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 43%] Linking CXX shared library libolm.so /usr/bin/cmake -E cmake_link_script CMakeFiles/olm.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -shared -Wl,-soname,libolm.so.3 -o libolm.so.3.2.6 CMakeFiles/olm.dir/src/account.cpp.o CMakeFiles/olm.dir/src/base64.cpp.o CMakeFiles/olm.dir/src/cipher.cpp.o CMakeFiles/olm.dir/src/crypto.cpp.o CMakeFiles/olm.dir/src/memory.cpp.o CMakeFiles/olm.dir/src/message.cpp.o CMakeFiles/olm.dir/src/pickle.cpp.o CMakeFiles/olm.dir/src/ratchet.cpp.o CMakeFiles/olm.dir/src/session.cpp.o CMakeFiles/olm.dir/src/utility.cpp.o CMakeFiles/olm.dir/src/pk.cpp.o CMakeFiles/olm.dir/src/sas.c.o CMakeFiles/olm.dir/src/ed25519.c.o CMakeFiles/olm.dir/src/error.c.o CMakeFiles/olm.dir/src/inbound_group_session.c.o CMakeFiles/olm.dir/src/megolm.c.o CMakeFiles/olm.dir/src/olm.cpp.o CMakeFiles/olm.dir/src/outbound_group_session.c.o CMakeFiles/olm.dir/src/pickle_encoding.c.o "CMakeFiles/olm.dir/lib/crypto-algorithms/aes.c.o" "CMakeFiles/olm.dir/lib/crypto-algorithms/sha256.c.o" "CMakeFiles/olm.dir/lib/curve25519-donna/curve25519-donna.c.o" /usr/bin/cmake -E cmake_symlink_library libolm.so.3.2.6 libolm.so.3 libolm.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 43%] Built target olm gmake[1]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_base64.dir/build.make tests/CMakeFiles/test_base64.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_crypto.dir/build.make tests/CMakeFiles/test_crypto.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_group_session.dir/build.make tests/CMakeFiles/test_group_session.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_list.dir/build.make tests/CMakeFiles/test_list.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_megolm.dir/build.make tests/CMakeFiles/test_megolm.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_message.dir/build.make tests/CMakeFiles/test_message.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_olm.dir/build.make tests/CMakeFiles/test_olm.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_olm_decrypt.dir/build.make tests/CMakeFiles/test_olm_decrypt.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_olm_sha256.dir/build.make tests/CMakeFiles/test_olm_sha256.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_olm_signature.dir/build.make tests/CMakeFiles/test_olm_signature.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_olm_using_malloc.dir/build.make tests/CMakeFiles/test_olm_using_malloc.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_session.dir/build.make tests/CMakeFiles/test_session.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_pk.dir/build.make tests/CMakeFiles/test_pk.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_sas.dir/build.make tests/CMakeFiles/test_sas.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_ratchet.dir/build.make tests/CMakeFiles/test_ratchet.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_base64.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_base64.dir/build.make tests/CMakeFiles/test_base64.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_group_session.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_list.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_crypto.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_olm_decrypt.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_crypto.dir/build.make tests/CMakeFiles/test_crypto.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_group_session.dir/build.make tests/CMakeFiles/test_group_session.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_megolm.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_list.dir/build.make tests/CMakeFiles/test_list.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_pk.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_olm.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_olm_using_malloc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_message.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_megolm.dir/build.make tests/CMakeFiles/test_megolm.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_message.dir/build.make tests/CMakeFiles/test_message.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_ratchet.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_olm.dir/build.make tests/CMakeFiles/test_olm.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_olm_decrypt.dir/build.make tests/CMakeFiles/test_olm_decrypt.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_session.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_olm_using_malloc.dir/build.make tests/CMakeFiles/test_olm_using_malloc.dir/build cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_sas.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_session.dir/build.make tests/CMakeFiles/test_session.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_olm_signature.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/libolm-3.2.6 /usr/src/RPM/BUILD/libolm-3.2.6/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests/CMakeFiles/test_olm_sha256.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_olm_sha256.dir/build.make tests/CMakeFiles/test_olm_sha256.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_olm_signature.dir/build.make tests/CMakeFiles/test_olm_signature.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_pk.dir/build.make tests/CMakeFiles/test_pk.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_sas.dir/build.make tests/CMakeFiles/test_sas.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_ratchet.dir/build.make tests/CMakeFiles/test_ratchet.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 64%] Building CXX object tests/CMakeFiles/test_olm_signature.dir/test_olm_signature.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_olm_signature.dir/test_olm_signature.cpp.o -MF CMakeFiles/test_olm_signature.dir/test_olm_signature.cpp.o.d -o CMakeFiles/test_olm_signature.dir/test_olm_signature.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_signature.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_signature.cpp:2: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ gmake[2]: *** [tests/CMakeFiles/test_olm_signature.dir/build.make:76: tests/CMakeFiles/test_olm_signature.dir/test_olm_signature.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:388: tests/CMakeFiles/test_olm_signature.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 49%] Building CXX object tests/CMakeFiles/test_megolm.dir/test_megolm.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_megolm.dir/test_megolm.cpp.o -MF CMakeFiles/test_megolm.dir/test_megolm.cpp.o.d -o CMakeFiles/test_megolm.dir/test_megolm.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_megolm.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 56%] Building CXX object tests/CMakeFiles/test_list.dir/test_list.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_list.dir/test_list.cpp.o -MF CMakeFiles/test_list.dir/test_list.cpp.o.d -o CMakeFiles/test_list.dir/test_list.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_list.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_list.cpp:16: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ gmake[2]: *** [tests/CMakeFiles/test_list.dir/build.make:76: tests/CMakeFiles/test_list.dir/test_list.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:232: tests/CMakeFiles/test_list.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 54%] Building CXX object tests/CMakeFiles/test_olm_using_malloc.dir/test_olm_using_malloc.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_olm_using_malloc.dir/test_olm_using_malloc.cpp.o -MF CMakeFiles/test_olm_using_malloc.dir/test_olm_using_malloc.cpp.o.d -o CMakeFiles/test_olm_using_malloc.dir/test_olm_using_malloc.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_using_malloc.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_using_malloc.cpp:2: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ gmake[2]: *** [tests/CMakeFiles/test_olm_using_malloc.dir/build.make:76: tests/CMakeFiles/test_olm_using_malloc.dir/test_olm_using_malloc.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:414: tests/CMakeFiles/test_olm_using_malloc.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 62%] Building CXX object tests/CMakeFiles/test_group_session.dir/test_group_session.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_group_session.dir/test_group_session.cpp.o -MF CMakeFiles/test_group_session.dir/test_group_session.cpp.o.d -o CMakeFiles/test_group_session.dir/test_group_session.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:17: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp: In function 'int main()': /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [15], const char [15], unsigned char*, unsigned char*, size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:53:5: note: in expansion of macro 'assert_equals' 53 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: candidate expects 6 arguments, 7 provided 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:53:5: note: in expansion of macro 'assert_equals' 53 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'unsigned char*' to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:58:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 58 | std::vector junk_pickle(pickle_length + junk_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:58:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 58 | std::vector junk_pickle(pickle_length + junk_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:58:29: error: template argument 1 is invalid 58 | std::vector junk_pickle(pickle_length + junk_length); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:58:29: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:61:48: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 61 | session, "secret_key", 10, junk_pickle.data(), pickle_length | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:66:21: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 66 | junk_pickle.data(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:74:25: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 74 | junk_pickle.data(), junk_pickle_length | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [15], const char [15], unsigned char*, unsigned char*, size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:108:5: note: in expansion of macro 'assert_equals' 108 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: candidate expects 6 arguments, 7 provided 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:108:5: note: in expansion of macro 'assert_equals' 108 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'unsigned char*' to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:113:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 113 | std::vector junk_pickle(pickle_length + junk_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:113:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 113 | std::vector junk_pickle(pickle_length + junk_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:113:29: error: template argument 1 is invalid 113 | std::vector junk_pickle(pickle_length + junk_length); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:113:29: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:116:48: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 116 | session, "secret_key", 10, junk_pickle.data(), pickle_length | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:121:21: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 121 | junk_pickle.data(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:129:25: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 129 | junk_pickle.data(), junk_pickle_length | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [22], const char [21], unsigned char*, unsigned char*, size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:207:5: note: in expansion of macro 'assert_equals' 207 | assert_equals(out_session_id.data(), in_session_id.data(), in_session_id_len); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: candidate expects 6 arguments, 7 provided 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:207:5: note: in expansion of macro 'assert_equals' 207 | assert_equals(out_session_id.data(), in_session_id.data(), in_session_id_len); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'unsigned char*' to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [10], const char [21], uint8_t [8], unsigned char*, size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:220:5: note: in expansion of macro 'assert_equals' 220 | assert_equals(plaintext, plaintext_buf.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: deduced conflicting types for parameter 'const T' ('unsigned char [8]' and 'unsigned char*') 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:220:5: note: in expansion of macro 'assert_equals' 220 | assert_equals(plaintext, plaintext_buf.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'uint8_t [8]' {aka 'unsigned char [8]'} to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [27], const char [21], const uint8_t*, unsigned char*, std::size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:264:5: note: in expansion of macro 'assert_equals' 264 | assert_equals((const uint8_t *)"Message", plaintext_buf.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: deduced conflicting types for parameter 'const T' ('const unsigned char*' and 'unsigned char*') 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:264:5: note: in expansion of macro 'assert_equals' 264 | assert_equals((const uint8_t *)"Message", plaintext_buf.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'const uint8_t*' {aka 'const unsigned char*'} to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [27], const char [22], const uint8_t*, unsigned char*, std::size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:298:5: note: in expansion of macro 'assert_equals' 298 | assert_equals((const uint8_t *)"Message", plaintext_buf2.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: deduced conflicting types for parameter 'const T' ('const unsigned char*' and 'unsigned char*') 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:298:5: note: in expansion of macro 'assert_equals' 298 | assert_equals((const uint8_t *)"Message", plaintext_buf2.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'const uint8_t*' {aka 'const unsigned char*'} to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [61], int, const char [10], const char [21], uint8_t [8], unsigned char*, size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:350:5: note: in expansion of macro 'assert_equals' 350 | assert_equals(plaintext, plaintext_buf.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: deduced conflicting types for parameter 'const T' ('unsigned char [8]' and 'unsigned char*') 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_group_session.cpp:350:5: note: in expansion of macro 'assert_equals' 350 | assert_equals(plaintext, plaintext_buf.data(), res); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'uint8_t [8]' {aka 'unsigned char [8]'} to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake[2]: *** [tests/CMakeFiles/test_group_session.dir/build.make:76: tests/CMakeFiles/test_group_session.dir/test_group_session.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:206: tests/CMakeFiles/test_group_session.dir/all] Error 2 [ 66%] Building CXX object tests/CMakeFiles/test_olm_sha256.dir/test_olm_sha256.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_olm_sha256.dir/test_olm_sha256.cpp.o -MF CMakeFiles/test_olm_sha256.dir/test_olm_sha256.cpp.o.d -o CMakeFiles/test_olm_sha256.dir/test_olm_sha256.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:2: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp: In function 'int main()': /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:11:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 11 | std::vector utility_buffer(::olm_utility_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:11:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 11 | std::vector utility_buffer(::olm_utility_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:11:25: error: template argument 1 is invalid 11 | std::vector utility_buffer(::olm_utility_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:11:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:12:55: error: request for member 'data' in 'utility_buffer', which is of non-class type 'int' 12 | ::OlmUtility * utility = ::olm_utility(utility_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:15:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 15 | std::uint8_t output[43]; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:16:43: error: 'output' was not declared in this scope 16 | ::olm_sha256(utility, "Hello, World", 12, output, 43); | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:18:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 18 | std::uint8_t expected_output[] = "A2daxT/5zRU1zMffzfosRYxSGDcfQY3BNvLRmsH76KU"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_sha256.cpp:19:23: error: 'expected_output' was not declared in this scope 19 | assert_equals(output, expected_output, 43); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ gmake[2]: *** [tests/CMakeFiles/test_olm_sha256.dir/build.make:76: tests/CMakeFiles/test_olm_sha256.dir/test_olm_sha256.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 50%] Building CXX object tests/CMakeFiles/test_message.dir/test_message.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_message.dir/test_message.cpp.o -MF CMakeFiles/test_message.dir/test_message.cpp.o.d -o CMakeFiles/test_message.dir/test_message.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_message.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:362: tests/CMakeFiles/test_olm_sha256.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 47%] Building CXX object tests/CMakeFiles/test_crypto.dir/test_crypto.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_crypto.dir/test_crypto.cpp.o -MF CMakeFiles/test_crypto.dir/test_crypto.cpp.o.d -o CMakeFiles/test_crypto.dir/test_crypto.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:17: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp: In function 'int main()': /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:26:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 26 | std::uint8_t alice_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:33:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 33 | std::uint8_t alice_public[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:40:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 40 | std::uint8_t bob_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:47:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 47 | std::uint8_t bob_public[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:54:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 54 | std::uint8_t expected_agreement[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:62:37: error: 'alice_private' was not declared in this scope; did you mean 'alice_pair'? 62 | _olm_crypto_curve25519_generate_key(alice_private, &alice_pair); | ^~~~~~~~~~~~~ | alice_pair /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:65:15: error: 'alice_public' was not declared in this scope; did you mean 'alice_pair'? 65 | assert_equals(alice_public, alice_pair.public_key.public_key, 32); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:68:37: error: 'bob_private' was not declared in this scope 68 | _olm_crypto_curve25519_generate_key(bob_private, &bob_pair); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:71:15: error: 'bob_public' was not declared in this scope; did you mean 'bob_pair'? 71 | assert_equals(bob_public, bob_pair.public_key.public_key, 32); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:73:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 73 | std::uint8_t actual_agreement[CURVE25519_SHARED_SECRET_LENGTH] = {}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:75:73: error: 'actual_agreement' was not declared in this scope 75 | _olm_crypto_curve25519_shared_secret(&alice_pair, &bob_pair.public_key, actual_agreement); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:77:15: error: 'expected_agreement' was not declared in this scope 77 | assert_equals(expected_agreement, actual_agreement, 32); | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:88:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 88 | std::uint8_t private_key[33] = "This key is a string of 32 bytes"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:90:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 90 | std::uint8_t message[] = "Hello, World"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:91:37: error: 'message' was not declared in this scope 91 | std::size_t message_length = sizeof(message) - 1; | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:94:34: error: 'private_key' was not declared in this scope 94 | _olm_crypto_ed25519_generate_key(private_key, &key_pair); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:96:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 96 | std::uint8_t signature[64]; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:98:41: error: 'signature' was not declared in this scope 98 | &key_pair, message, message_length, signature | ^~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:120:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 120 | std::uint8_t input[16] = {}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:122:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 122 | std::uint8_t expected[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:129:64: error: 'input' was not declared in this scope; did you mean 'int'? 129 | std::size_t length = _olm_crypto_aes_encrypt_cbc_length(sizeof(input)); | ^~~~~ | int /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:133:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 133 | std::uint8_t actual[32] = {}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:135:62: error: 'actual' was not declared in this scope 135 | _olm_crypto_aes_encrypt_cbc(&key, &iv, input, sizeof(input), actual); | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:136:15: error: 'expected' was not declared in this scope 136 | assert_equals(expected, actual, 32); | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:152:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 152 | std::uint8_t input[1] = {0}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:154:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 154 | std::uint8_t expected[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:161:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 161 | std::uint8_t actual[32]; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:163:20: error: 'input' was not declared in this scope; did you mean 'int'? 163 | _olm_crypto_sha256(input, 0, actual); | ^~~~~ | int /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:163:30: error: 'actual' was not declared in this scope 163 | _olm_crypto_sha256(input, 0, actual); | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:165:15: error: 'expected' was not declared in this scope 165 | assert_equals(expected, actual, 32); | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:176:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 176 | std::uint8_t input[1] = {0}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:178:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 178 | std::uint8_t expected[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:185:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 185 | std::uint8_t actual[32]; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:187:25: error: 'input' was not declared in this scope; did you mean 'int'? 187 | _olm_crypto_hmac_sha256(input, 0, input, 0, actual); | ^~~~~ | int /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:187:45: error: 'actual' was not declared in this scope 187 | _olm_crypto_hmac_sha256(input, 0, input, 0, actual); | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:189:15: error: 'expected' was not declared in this scope 189 | assert_equals(expected, actual, 32); | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:197:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 197 | std::uint8_t input[22] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:203:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 203 | std::uint8_t salt[13] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:208:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 208 | std::uint8_t info[10] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:213:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 213 | std::uint8_t hmac_expected_output[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:220:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 220 | std::uint8_t hmac_actual_output[32] = {}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:223:5: error: 'salt' was not declared in this scope 223 | salt, sizeof(salt), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:224:5: error: 'input' was not declared in this scope; did you mean 'int'? 224 | input, sizeof(input), | ^~~~~ | int /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:225:5: error: 'hmac_actual_output' was not declared in this scope 225 | hmac_actual_output | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:228:15: error: 'hmac_expected_output' was not declared in this scope 228 | assert_equals(hmac_expected_output, hmac_actual_output, 32); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:230:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 230 | std::uint8_t hkdf_expected_output[42] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:239:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 239 | std::uint8_t hkdf_actual_output[42] = {}; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:244:5: error: 'info' was not declared in this scope 244 | info, sizeof(info), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:245:5: error: 'hkdf_actual_output' was not declared in this scope 245 | hkdf_actual_output, sizeof(hkdf_actual_output) | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_crypto.cpp:248:15: error: 'hkdf_expected_output' was not declared in this scope 248 | assert_equals(hkdf_expected_output, hkdf_actual_output, 42); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ gmake[2]: *** [tests/CMakeFiles/test_crypto.dir/build.make:76: tests/CMakeFiles/test_crypto.dir/test_crypto.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 60%] Building CXX object tests/CMakeFiles/test_session.dir/test_session.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_session.dir/test_session.cpp.o -MF CMakeFiles/test_session.dir/test_session.cpp.o.d -o CMakeFiles/test_session.dir/test_session.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_session.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:180: tests/CMakeFiles/test_crypto.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 58%] Building CXX object tests/CMakeFiles/test_olm_decrypt.dir/test_olm_decrypt.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_olm_decrypt.dir/test_olm_decrypt.cpp.o -MF CMakeFiles/test_olm_decrypt.dir/test_olm_decrypt.cpp.o.d -o CMakeFiles/test_olm_decrypt.dir/test_olm_decrypt.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:2: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:28:10: error: 'std::uint8_t' has not been declared 28 | std::uint8_t * output, std::size_t output_length | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp: In function 'void decode_hex(const char*, int*, std::size_t)': /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:30:10: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 30 | std::uint8_t * end = output + output_length; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:30:20: error: 'end' was not declared in this scope; did you mean 'std::end'? 30 | std::uint8_t * end = output + output_length; | ^~~ | std::end In file included from /usr/include/c++/13/string:53, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /usr/include/c++/13/iostream:41, from /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:16: /usr/include/c++/13/bits/range_access.h:106:5: note: 'std::end' declared here 106 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp: In function 'void decrypt_case(int, const test_case*)': /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:42:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 42 | std::vector session_memory(olm_session_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:42:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 42 | std::vector session_memory(olm_session_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:42:29: error: template argument 1 is invalid 42 | std::vector session_memory(olm_session_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:42:29: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:43:59: error: request for member 'data' in 'session_memory', which is of non-class type 'int' 43 | ::OlmSession * session = ::olm_session(session_memory.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:45:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 45 | std::vector pickled(strlen(session_data)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:45:22: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 45 | std::vector pickled(strlen(session_data)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:45:29: error: template argument 1 is invalid 45 | std::vector pickled(strlen(session_data)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:45:29: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:46:22: error: request for member 'data' in 'pickled', which is of non-class type 'int' 46 | ::memcpy(pickled.data(), session_data, pickled.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:46:52: error: request for member 'size' in 'pickled', which is of non-class type 'int' 46 | ::memcpy(pickled.data(), session_data, pickled.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:49:56: error: request for member 'data' in 'pickled', which is of non-class type 'int' 49 | ::olm_unpickle_session(session, "", 0, pickled.data(), pickled.size()) | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:100:55: note: in definition of macro 'assert_not_equals' 100 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:49:72: error: request for member 'size' in 'pickled', which is of non-class type 'int' 49 | ::olm_unpickle_session(session, "", 0, pickled.data(), pickled.size()) | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:100:55: note: in definition of macro 'assert_not_equals' 100 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:53:10: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 53 | std::uint8_t * message = (std::uint8_t *) ::malloc(message_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:53:20: error: 'message' was not declared in this scope 53 | std::uint8_t * message = (std::uint8_t *) ::malloc(message_length); | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:53:36: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 53 | std::uint8_t * message = (std::uint8_t *) ::malloc(message_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm_decrypt.cpp:53:45: error: expected primary-expression before ')' token 53 | std::uint8_t * message = (std::uint8_t *) ::malloc(message_length); | ^ gmake[2]: *** [tests/CMakeFiles/test_olm_decrypt.dir/build.make:76: tests/CMakeFiles/test_olm_decrypt.dir/test_olm_decrypt.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 52%] Building CXX object tests/CMakeFiles/test_olm.dir/test_olm.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_olm.dir/test_olm.cpp.o -MF CMakeFiles/test_olm.dir/test_olm.cpp.o.d -o CMakeFiles/test_olm.dir/test_olm.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:3: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp: In function 'int main()': /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [51], int, const char [15], const char [15], unsigned char*, unsigned char*, std::size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:69:1: note: in expansion of macro 'assert_equals' 69 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: candidate expects 6 arguments, 7 provided 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:69:1: note: in expansion of macro 'assert_equals' 69 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'unsigned char*' to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [51], int, const char [15], const char [15], unsigned char*, unsigned char*, std::size_t&)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:160:1: note: in expansion of macro 'assert_equals' 160 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: candidate expects 6 arguments, 7 provided 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:160:1: note: in expansion of macro 'assert_equals' 160 | assert_equals(pickle1.data(), pickle2.data(), pickle_length); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'unsigned char*' to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [51], int, const char [10], const char [19], uint8_t [13], unsigned char*, int)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:278:1: note: in expansion of macro 'assert_equals' 278 | assert_equals(plaintext, plaintext_1.data(), 12); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: deduced conflicting types for parameter 'const T' ('unsigned char [13]' and 'unsigned char*') 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:278:1: note: in expansion of macro 'assert_equals' 278 | assert_equals(plaintext, plaintext_1.data(), 12); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'uint8_t [13]' {aka 'unsigned char [13]'} to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [51], int, const char [10], const char [19], uint8_t [13], unsigned char*, int)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:302:1: note: in expansion of macro 'assert_equals' 302 | assert_equals(plaintext, plaintext_2.data(), 12); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: deduced conflicting types for parameter 'const T' ('unsigned char [13]' and 'unsigned char*') 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:302:1: note: in expansion of macro 'assert_equals' 302 | assert_equals(plaintext, plaintext_2.data(), 12); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'uint8_t [13]' {aka 'unsigned char [13]'} to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: error: no matching function for call to 'assert_equals(const char [51], int, const char [20], const char [20], unsigned char*, unsigned char*, std::vector::size_type)' 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:322:1: note: in expansion of macro 'assert_equals' 322 | assert_equals(a_session_id.data(), b_session_id.data(), b_session_id.size()); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: candidate: 'template void assert_equals(const char*, unsigned int, const char*, const char*, const T&, const T&)' 38 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:38:6: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:95:59: note: candidate expects 6 arguments, 7 provided 95 | #define assert_equals(expected, actual, ...) assert_equals( \ | ~~~~~~~~~~~~~^~~ 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | ) | ~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_olm.cpp:322:1: note: in expansion of macro 'assert_equals' 322 | assert_equals(a_session_id.data(), b_session_id.data(), b_session_id.size()); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:76:6: note: candidate: 'void assert_equals(const char*, unsigned int, const char*, const char*, const int*, const int*, std::size_t)' 76 | void assert_equals( | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:26: note: no known conversion for argument 5 from 'unsigned char*' to 'const int*' 81 | std::uint8_t const * expected, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ gmake[2]: *** [tests/CMakeFiles/test_olm.dir/build.make:76: tests/CMakeFiles/test_olm.dir/test_olm.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:336: tests/CMakeFiles/test_olm_decrypt.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:310: tests/CMakeFiles/test_olm.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 45%] Building CXX object tests/CMakeFiles/test_base64.dir/test_base64.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_base64.dir/test_base64.cpp.o -MF CMakeFiles/test_base64.dir/test_base64.cpp.o.d -o CMakeFiles/test_base64.dir/test_base64.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_base64.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 67%] Building CXX object tests/CMakeFiles/test_pk.dir/test_pk.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_pk.dir/test_pk.cpp.o -MF CMakeFiles/test_pk.dir/test_pk.cpp.o.d -o CMakeFiles/test_pk.dir/test_pk.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:5: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp: In function 'int main()': /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:18:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 18 | std::vector decryption_buffer(olm_pk_decryption_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:18:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 18 | std::vector decryption_buffer(olm_pk_decryption_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:18:25: error: template argument 1 is invalid 18 | std::vector decryption_buffer(olm_pk_decryption_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:18:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:19:67: error: request for member 'data' in 'decryption_buffer', which is of non-class type 'int' 19 | OlmPkDecryption *decryption = olm_pk_decryption(decryption_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:21:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 21 | std::uint8_t alice_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:28:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 28 | const std::uint8_t *alice_public = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmo"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:30:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 30 | std::uint8_t bob_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:37:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 37 | const std::uint8_t *bob_public = (std::uint8_t *) "3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hbeGdNrfx+FG+IK08"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:39:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 39 | std::vector pubkey(::olm_pk_key_length()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:39:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 39 | std::vector pubkey(::olm_pk_key_length()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:39:25: error: template argument 1 is invalid 39 | std::vector pubkey(::olm_pk_key_length()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:39:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:43:12: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 43 | pubkey.data(), pubkey.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:43:27: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 43 | pubkey.data(), pubkey.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:44:5: error: 'alice_private' was not declared in this scope 44 | alice_private, sizeof(alice_private) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:47:15: error: 'alice_public' was not declared in this scope 47 | assert_equals(alice_public, pubkey.data(), olm_pk_key_length()); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:47:36: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 47 | assert_equals(alice_public, pubkey.data(), olm_pk_key_length()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:54:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 54 | std::vector encryption_buffer(olm_pk_encryption_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:54:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 54 | std::vector encryption_buffer(olm_pk_encryption_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:54:25: error: template argument 1 is invalid 54 | std::vector encryption_buffer(olm_pk_encryption_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:54:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:55:67: error: request for member 'data' in 'encryption_buffer', which is of non-class type 'int' 55 | OlmPkEncryption *encryption = olm_pk_encryption(encryption_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:57:56: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 57 | olm_pk_encryption_set_recipient_key(encryption, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:57:71: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 57 | olm_pk_encryption_set_recipient_key(encryption, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:60:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 60 | const std::uint8_t *plaintext = (std::uint8_t *) "This is a test"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:63:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 63 | std::uint8_t *ciphertext_buffer = (std::uint8_t *) malloc(ciphertext_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:63:15: error: 'ciphertext_buffer' was not declared in this scope 63 | std::uint8_t *ciphertext_buffer = (std::uint8_t *) malloc(ciphertext_length); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:63:41: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 63 | std::uint8_t *ciphertext_buffer = (std::uint8_t *) malloc(ciphertext_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:63:50: error: expected primary-expression before ')' token 63 | std::uint8_t *ciphertext_buffer = (std::uint8_t *) malloc(ciphertext_length); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:65:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 65 | std::vector output_buffer(olm_pk_mac_length(encryption)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:65:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 65 | std::vector output_buffer(olm_pk_mac_length(encryption)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:65:25: error: template argument 1 is invalid 65 | std::vector output_buffer(olm_pk_mac_length(encryption)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:65:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:66:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 66 | std::vector ephemeral_key(olm_pk_key_length()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:66:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 66 | std::vector ephemeral_key(olm_pk_key_length()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:66:25: error: template argument 1 is invalid 66 | std::vector ephemeral_key(olm_pk_key_length()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:66:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:70:5: error: 'plaintext' was not declared in this scope 70 | plaintext, plaintext_length, | ^~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:72:19: error: request for member 'data' in 'output_buffer', which is of non-class type 'int' 72 | output_buffer.data(), output_buffer.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:72:41: error: request for member 'size' in 'output_buffer', which is of non-class type 'int' 72 | output_buffer.data(), output_buffer.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:73:19: error: request for member 'data' in 'ephemeral_key', which is of non-class type 'int' 73 | ephemeral_key.data(), ephemeral_key.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:73:41: error: request for member 'size' in 'ephemeral_key', which is of non-class type 'int' 73 | ephemeral_key.data(), ephemeral_key.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:74:5: error: 'bob_private' was not declared in this scope 74 | bob_private, sizeof(bob_private) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:77:15: error: 'bob_public' was not declared in this scope 77 | assert_equals(bob_public, ephemeral_key.data(), olm_pk_key_length()); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:77:41: error: request for member 'data' in 'ephemeral_key', which is of non-class type 'int' 77 | assert_equals(bob_public, ephemeral_key.data(), olm_pk_key_length()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:80:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 80 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:80:15: error: 'plaintext_buffer' was not declared in this scope 80 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:80:40: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 80 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:80:49: error: expected primary-expression before ')' token 80 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:84:19: error: request for member 'data' in 'ephemeral_key', which is of non-class type 'int' 84 | ephemeral_key.data(), ephemeral_key.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:84:41: error: request for member 'size' in 'ephemeral_key', which is of non-class type 'int' 84 | ephemeral_key.data(), ephemeral_key.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:85:19: error: request for member 'data' in 'output_buffer', which is of non-class type 'int' 85 | output_buffer.data(), output_buffer.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:85:41: error: request for member 'size' in 'output_buffer', which is of non-class type 'int' 85 | output_buffer.data(), output_buffer.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:101:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 101 | std::vector decryption_buffer(olm_pk_decryption_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:101:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 101 | std::vector decryption_buffer(olm_pk_decryption_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:101:25: error: template argument 1 is invalid 101 | std::vector decryption_buffer(olm_pk_decryption_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:101:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:102:67: error: request for member 'data' in 'decryption_buffer', which is of non-class type 'int' 102 | OlmPkDecryption *decryption = olm_pk_decryption(decryption_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:104:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 104 | std::uint8_t alice_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:111:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 111 | const std::uint8_t *alice_public = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmoK"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:113:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 113 | std::vector pubkey(olm_pk_key_length()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:113:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 113 | std::vector pubkey(olm_pk_key_length()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:113:25: error: template argument 1 is invalid 113 | std::vector pubkey(olm_pk_key_length()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:113:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:117:12: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 117 | pubkey.data(), pubkey.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:117:27: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 117 | pubkey.data(), pubkey.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:118:5: error: 'alice_private' was not declared in this scope 118 | alice_private, sizeof(alice_private) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:122:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 122 | std::vector pickle_buffer(olm_pickle_pk_decryption_length(decryption)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:122:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 122 | std::vector pickle_buffer(olm_pickle_pk_decryption_length(decryption)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:122:25: error: template argument 1 is invalid 122 | std::vector pickle_buffer(olm_pickle_pk_decryption_length(decryption)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:122:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:128:19: error: request for member 'data' in 'pickle_buffer', which is of non-class type 'int' 128 | pickle_buffer.data(), pickle_buffer.size() | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:128:41: error: request for member 'size' in 'pickle_buffer', which is of non-class type 'int' 128 | pickle_buffer.data(), pickle_buffer.size() | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:130:46: error: request for member 'data' in 'pickle_buffer', which is of non-class type 'int' 130 | assert_equals(expected_pickle, pickle_buffer.data(), olm_pickle_pk_decryption_length(decryption)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:134:15: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 134 | memset(pubkey.data(), 0, olm_pk_key_length()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:139:19: error: request for member 'data' in 'pickle_buffer', which is of non-class type 'int' 139 | pickle_buffer.data(), pickle_buffer.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:139:41: error: request for member 'size' in 'pickle_buffer', which is of non-class type 'int' 139 | pickle_buffer.data(), pickle_buffer.size(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:140:12: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 140 | pubkey.data(), pubkey.size() | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:140:27: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 140 | pubkey.data(), pubkey.size() | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:143:15: error: 'alice_public' was not declared in this scope 143 | assert_equals(alice_public, pubkey.data(), olm_pk_key_length()); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:143:36: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 143 | assert_equals(alice_public, pubkey.data(), olm_pk_key_length()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:149:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 149 | std::vector junk_pickle(pickle_length + junk_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:149:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 149 | std::vector junk_pickle(pickle_length + junk_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:149:25: error: template argument 1 is invalid 149 | std::vector junk_pickle(pickle_length + junk_length); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:149:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:154:17: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 154 | junk_pickle.data(), pickle_length | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:159:17: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 159 | junk_pickle.data(), | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:167:21: error: request for member 'data' in 'junk_pickle', which is of non-class type 'int' 167 | junk_pickle.data(), junk_pickle_length, | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:168:16: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 168 | pubkey.data(), pubkey.size() | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:168:31: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 168 | pubkey.data(), pubkey.size() | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:178:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 178 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:178:15: error: 'plaintext_buffer' was not declared in this scope 178 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:178:40: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 178 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:178:49: error: expected primary-expression before ')' token 178 | std::uint8_t *plaintext_buffer = (std::uint8_t *) malloc(max_plaintext_length); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:188:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 188 | const std::uint8_t *plaintext = (std::uint8_t *) "This is a test"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:190:15: error: 'plaintext' was not declared in this scope 190 | assert_equals(plaintext, plaintext_buffer, strlen((const char *)plaintext)); | ^~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:201:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 201 | std::vector signing_buffer(olm_pk_signing_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:201:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 201 | std::vector signing_buffer(olm_pk_signing_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:201:25: error: template argument 1 is invalid 201 | std::vector signing_buffer(olm_pk_signing_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:201:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:202:55: error: request for member 'data' in 'signing_buffer', which is of non-class type 'int' 202 | OlmPkSigning *signing = olm_pk_signing(signing_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:204:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 204 | std::uint8_t seed[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:218:5: error: 'seed' was not declared in this scope 218 | seed, sizeof(seed) | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:223:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 223 | std::uint8_t *sig_buffer = (std::uint8_t *) malloc(olm_pk_signature_length() + 1); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:223:15: error: 'sig_buffer' was not declared in this scope; did you mean 'setbuffer'? 223 | std::uint8_t *sig_buffer = (std::uint8_t *) malloc(olm_pk_signature_length() + 1); | ^~~~~~~~~~ | setbuffer /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:223:34: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 223 | std::uint8_t *sig_buffer = (std::uint8_t *) malloc(olm_pk_signature_length() + 1); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_pk.cpp:223:43: error: expected primary-expression before ')' token 223 | std::uint8_t *sig_buffer = (std::uint8_t *) malloc(olm_pk_signature_length() + 1); | ^ gmake[2]: *** [tests/CMakeFiles/test_pk.dir/build.make:76: tests/CMakeFiles/test_pk.dir/test_pk.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:466: tests/CMakeFiles/test_pk.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 69%] Building CXX object tests/CMakeFiles/test_sas.dir/test_sas.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_sas.dir/test_sas.cpp.o -MF CMakeFiles/test_sas.dir/test_sas.cpp.o.d -o CMakeFiles/test_sas.dir/test_sas.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp In file included from /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:5: /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:23:10: error: 'std::uint8_t' has not been declared 23 | std::uint8_t const * data, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:81:10: error: 'std::uint8_t' has not been declared 81 | std::uint8_t const * expected, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:82:10: error: 'std::uint8_t' has not been declared 82 | std::uint8_t const * actual, | ^~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp: In function 'int main()': /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:17:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 17 | std::uint8_t alice_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:24:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 24 | const std::uint8_t *alice_public = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmo"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:26:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 26 | std::uint8_t bob_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:33:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 33 | const std::uint8_t *bob_public = (std::uint8_t *) "3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hbeGdNrfx+FG+IK08"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:35:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 35 | std::vector alice_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:35:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 35 | std::vector alice_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:35:25: error: template argument 1 is invalid 35 | std::vector alice_sas_buffer(olm_sas_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:35:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:36:46: error: request for member 'data' in 'alice_sas_buffer', which is of non-class type 'int' 36 | OlmSAS *alice_sas = olm_sas(alice_sas_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:37:27: error: 'alice_private' was not declared in this scope 37 | olm_create_sas(alice_sas, alice_private, sizeof(alice_private)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:38:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 38 | std::vector bob_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:38:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 38 | std::vector bob_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:38:25: error: template argument 1 is invalid 38 | std::vector bob_sas_buffer(olm_sas_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:38:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:39:42: error: request for member 'data' in 'bob_sas_buffer', which is of non-class type 'int' 39 | OlmSAS *bob_sas = olm_sas(bob_sas_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:40:25: error: 'bob_private' was not declared in this scope 40 | olm_create_sas(bob_sas, bob_private, sizeof(bob_private)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:42:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 42 | std::vector pubkey(::olm_sas_pubkey_length(alice_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:42:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 42 | std::vector pubkey(::olm_sas_pubkey_length(alice_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:42:25: error: template argument 1 is invalid 42 | std::vector pubkey(::olm_sas_pubkey_length(alice_sas)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:42:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:44:38: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 44 | olm_sas_get_pubkey(alice_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:44:53: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 44 | olm_sas_get_pubkey(alice_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:46:15: error: 'alice_public' was not declared in this scope 46 | assert_equals(alice_public, pubkey.data(), olm_sas_pubkey_length(alice_sas)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:46:36: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 46 | assert_equals(alice_public, pubkey.data(), olm_sas_pubkey_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:48:39: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 48 | olm_sas_set_their_key(bob_sas, pubkey.data(), olm_sas_pubkey_length(bob_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:50:36: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 50 | olm_sas_get_pubkey(bob_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:50:51: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 50 | olm_sas_get_pubkey(bob_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:52:15: error: 'bob_public' was not declared in this scope 52 | assert_equals(bob_public, pubkey.data(), olm_sas_pubkey_length(bob_sas)); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:52:34: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 52 | assert_equals(bob_public, pubkey.data(), olm_sas_pubkey_length(bob_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:54:41: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 54 | olm_sas_set_their_key(alice_sas, pubkey.data(), olm_sas_pubkey_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:56:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 56 | std::uint8_t alice_bytes[6]; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:57:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 57 | std::uint8_t bob_bytes[6]; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:59:45: error: 'alice_bytes' was not declared in this scope; did you mean 'alice_sas'? 59 | olm_sas_generate_bytes(alice_sas, "SAS", 3, alice_bytes, 6); | ^~~~~~~~~~~ | alice_sas /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:60:43: error: 'bob_bytes' was not declared in this scope 60 | olm_sas_generate_bytes(bob_sas, "SAS", 3, bob_bytes, 6); | ^~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:70:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 70 | std::uint8_t alice_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:77:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 77 | const std::uint8_t *alice_public = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmo"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:79:6: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 79 | std::uint8_t bob_private[32] = { | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:86:12: error: 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? 86 | const std::uint8_t *bob_public = (std::uint8_t *) "3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hbeGdNrfx+FG+IK08"; | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:88:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 88 | std::vector alice_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:88:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 88 | std::vector alice_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:88:25: error: template argument 1 is invalid 88 | std::vector alice_sas_buffer(olm_sas_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:88:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:89:46: error: request for member 'data' in 'alice_sas_buffer', which is of non-class type 'int' 89 | OlmSAS *alice_sas = olm_sas(alice_sas_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:90:27: error: 'alice_private' was not declared in this scope 90 | olm_create_sas(alice_sas, alice_private, sizeof(alice_private)); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:91:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 91 | std::vector bob_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:91:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 91 | std::vector bob_sas_buffer(olm_sas_size()); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:91:25: error: template argument 1 is invalid 91 | std::vector bob_sas_buffer(olm_sas_size()); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:91:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:92:42: error: request for member 'data' in 'bob_sas_buffer', which is of non-class type 'int' 92 | OlmSAS *bob_sas = olm_sas(bob_sas_buffer.data()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:93:25: error: 'bob_private' was not declared in this scope 93 | olm_create_sas(bob_sas, bob_private, sizeof(bob_private)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:95:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 95 | std::vector pubkey(::olm_sas_pubkey_length(alice_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:95:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 95 | std::vector pubkey(::olm_sas_pubkey_length(alice_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:95:25: error: template argument 1 is invalid 95 | std::vector pubkey(::olm_sas_pubkey_length(alice_sas)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:95:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:97:38: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 97 | olm_sas_get_pubkey(alice_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:97:53: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 97 | olm_sas_get_pubkey(alice_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:99:15: error: 'alice_public' was not declared in this scope 99 | assert_equals(alice_public, pubkey.data(), olm_sas_pubkey_length(alice_sas)); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:99:36: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 99 | assert_equals(alice_public, pubkey.data(), olm_sas_pubkey_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:101:39: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 101 | olm_sas_set_their_key(bob_sas, pubkey.data(), olm_sas_pubkey_length(bob_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:103:36: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 103 | olm_sas_get_pubkey(bob_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:103:51: error: request for member 'size' in 'pubkey', which is of non-class type 'int' 103 | olm_sas_get_pubkey(bob_sas, pubkey.data(), pubkey.size()); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:105:15: error: 'bob_public' was not declared in this scope 105 | assert_equals(bob_public, pubkey.data(), olm_sas_pubkey_length(bob_sas)); | ^~~~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:105:34: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 105 | assert_equals(bob_public, pubkey.data(), olm_sas_pubkey_length(bob_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:107:41: error: request for member 'data' in 'pubkey', which is of non-class type 'int' 107 | olm_sas_set_their_key(alice_sas, pubkey.data(), olm_sas_pubkey_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:109:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 109 | std::vector alice_mac(olm_sas_mac_length(alice_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:109:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 109 | std::vector alice_mac(olm_sas_mac_length(alice_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:109:25: error: template argument 1 is invalid 109 | std::vector alice_mac(olm_sas_mac_length(alice_sas)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:109:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:110:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 110 | std::vector bob_mac(olm_sas_mac_length(bob_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:110:18: error: 'uint8_t' is not a member of 'std'; did you mean 'wint_t'? 110 | std::vector bob_mac(olm_sas_mac_length(bob_sas)); | ^~~~~~~ | wint_t /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:110:25: error: template argument 1 is invalid 110 | std::vector bob_mac(olm_sas_mac_length(bob_sas)); | ^ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:110:25: error: template argument 2 is invalid /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:112:83: error: request for member 'data' in 'alice_mac', which is of non-class type 'int' 112 | olm_sas_calculate_mac(alice_sas, (void *) "Hello world!", 12, "MAC", 3, alice_mac.data(), olm_sas_mac_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:113:79: error: request for member 'data' in 'bob_mac', which is of non-class type 'int' 113 | olm_sas_calculate_mac(bob_sas, (void *) "Hello world!", 12, "MAC", 3, bob_mac.data(), olm_sas_mac_length(bob_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:115:25: error: request for member 'data' in 'alice_mac', which is of non-class type 'int' 115 | assert_equals(alice_mac.data(), bob_mac.data(), olm_sas_mac_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:45: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_sas.cpp:115:41: error: request for member 'data' in 'bob_mac', which is of non-class type 'int' 115 | assert_equals(alice_mac.data(), bob_mac.data(), olm_sas_mac_length(alice_sas)); | ^~~~ /usr/src/RPM/BUILD/libolm-3.2.6/tests/include/unittest.hh:96:55: note: in definition of macro 'assert_equals' 96 | __FILE__, __LINE__, #expected, #actual, expected, actual, ##__VA_ARGS__ \ | ^~~~~~ gmake[2]: *** [tests/CMakeFiles/test_sas.dir/build.make:76: tests/CMakeFiles/test_sas.dir/test_sas.cpp.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:492: tests/CMakeFiles/test_sas.dir/all] Error 2 gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 71%] Building CXX object tests/CMakeFiles/test_ratchet.dir/test_ratchet.cpp.o cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/c++ -DOLMLIB_VERSION_MAJOR=3 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=6 -I/usr/src/RPM/BUILD/libolm-3.2.6/tests/include -I/usr/src/RPM/BUILD/libolm-3.2.6/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/CMakeFiles/test_ratchet.dir/test_ratchet.cpp.o -MF CMakeFiles/test_ratchet.dir/test_ratchet.cpp.o.d -o CMakeFiles/test_ratchet.dir/test_ratchet.cpp.o -c /usr/src/RPM/BUILD/libolm-3.2.6/tests/test_ratchet.cpp gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 73%] Linking CXX executable test_megolm cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_megolm.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG CMakeFiles/test_megolm.dir/test_megolm.cpp.o -o test_megolm -Wl,-rpath,/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux ../libolm.so.3.2.6 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 75%] Linking CXX executable test_session cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_session.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG CMakeFiles/test_session.dir/test_session.cpp.o -o test_session -Wl,-rpath,/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux ../libolm.so.3.2.6 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 81%] Built target test_session gmake[1]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 81%] Built target test_megolm gmake[1]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 77%] Linking CXX executable test_message cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_message.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG CMakeFiles/test_message.dir/test_message.cpp.o -o test_message -Wl,-rpath,/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux ../libolm.so.3.2.6 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 79%] Linking CXX executable test_base64 cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_base64.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG CMakeFiles/test_base64.dir/test_base64.cpp.o -o test_base64 -Wl,-rpath,/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux ../libolm.so.3.2.6 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 81%] Built target test_message gmake[1]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 81%] Built target test_base64 gmake[1]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 81%] Linking CXX executable test_ratchet cd /usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_ratchet.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O2 -DNDEBUG CMakeFiles/test_ratchet.dir/test_ratchet.cpp.o -o test_ratchet -Wl,-rpath,/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux ../libolm.so.3.2.6 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' [ 81%] Built target test_ratchet gmake[1]: Leaving directory '/usr/src/RPM/BUILD/libolm-3.2.6/x86_64-alt-linux' gmake: *** [Makefile:136: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.98214 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.98214 (%build) Command exited with non-zero status 1 11.33user 6.70system 0:03.87elapsed 465%CPU (0avgtext+0avgdata 82024maxresident)k 0inputs+0outputs (0major+640032minor)pagefaults 0swaps hsh-rebuild: rebuild of `libolm-3.2.6-alt1.src.rpm' failed. Command exited with non-zero status 1 1.88user 1.38system 0:10.56elapsed 30%CPU (0avgtext+0avgdata 111340maxresident)k 0inputs+0outputs (0major+210511minor)pagefaults 0swaps