>>> axc: Building community/axc 0.3.7-r2 (using abuild 3.13.0-r3) started Wed, 24 Apr 2024 10:03:11 +0000 >>> axc: Checking sanity of /home/buildozer/aports/community/axc/APKBUILD... >>> axc: Analyzing dependencies... >>> axc: Installing for build: build-base glib-dev libgcrypt-dev libsignal-protocol-c-dev sqlite-dev cmocka-dev (1/89) Installing libbz2 (1.0.8-r6) (2/89) Installing bzip2-dev (1.0.8-r6) (3/89) Installing xz-libs (5.6.1-r3) (4/89) Installing libxml2 (2.12.6-r2) (5/89) Installing libxml2-utils (2.12.6-r2) (6/89) Installing docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.post-install (7/89) Installing libgpg-error (1.48-r0) (8/89) Installing libgcrypt (1.10.3-r0) (9/89) Installing libxslt (1.1.39-r1) (10/89) Installing docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.post-install (11/89) Installing xz (5.6.1-r3) (12/89) Installing gettext-asprintf (0.22.5-r0) (13/89) Installing libintl (0.22.5-r0) (14/89) Installing gettext-libs (0.22.5-r0) (15/89) Installing gettext-envsubst (0.22.5-r0) (16/89) Installing gettext (0.22.5-r0) (17/89) Installing gettext-dev (0.22.5-r0) (18/89) Installing libffi (3.4.6-r0) (19/89) Installing gdbm (1.23-r1) (20/89) Installing mpdecimal (4.0.0-r0) (21/89) Installing libpanelw (6.4_p20240330-r0) (22/89) Installing readline (8.2.10-r0) (23/89) Installing sqlite-libs (3.45.3-r0) (24/89) Installing python3 (3.12.3-r1) (25/89) Installing python3-pycache-pyc0 (3.12.3-r1) (26/89) Installing pyc (3.12.3-r1) (27/89) Installing python3-pyc (3.12.3-r1) (28/89) Installing py3-parsing (3.1.2-r1) (29/89) Installing py3-parsing-pyc (3.1.2-r1) (30/89) Installing py3-packaging (24.0-r1) (31/89) Installing py3-packaging-pyc (24.0-r1) (32/89) Installing libeconf (0.6.2-r0) (33/89) Installing libblkid (2.40-r2) (34/89) Installing libmount (2.40-r2) (35/89) Installing glib (2.80.0-r3) (36/89) Installing linux-headers (6.6-r0) (37/89) Installing libffi-dev (3.4.6-r0) (38/89) Installing bsd-compat-headers (0.7.2-r6) (39/89) Installing libformw (6.4_p20240330-r0) (40/89) Installing libmenuw (6.4_p20240330-r0) (41/89) Installing libncurses++ (6.4_p20240330-r0) (42/89) Installing ncurses-dev (6.4_p20240330-r0) (43/89) Installing libedit-dev (20230828.3.1-r4) (44/89) Installing zlib-dev (1.3.1-r1) (45/89) Installing libpcre2-16 (10.43-r0) (46/89) Installing libpcre2-32 (10.43-r0) (47/89) Installing pcre2-dev (10.43-r0) (48/89) Installing libuuid (2.40-r2) (49/89) Installing libfdisk (2.40-r2) (50/89) Installing libsmartcols (2.40-r2) (51/89) Installing sqlite (3.45.3-r0) (52/89) Installing sqlite-dev (3.45.3-r0) (53/89) Installing util-linux (2.40-r2) (54/89) Installing setarch (2.40-r2) (55/89) Installing util-linux-misc (2.40-r2) (56/89) Installing skalibs (2.14.1.1-r0) (57/89) Installing utmps-libs (0.1.2.2-r1) (58/89) Installing linux-pam (1.6.0-r0) (59/89) Installing runuser (2.40-r2) (60/89) Installing mount (2.40-r2) (61/89) Installing losetup (2.40-r2) (62/89) Installing hexdump (2.40-r2) (63/89) Installing uuidgen (2.40-r2) (64/89) Installing blkid (2.40-r2) (65/89) Installing sfdisk (2.40-r2) (66/89) Installing mcookie (2.40-r2) (67/89) Installing agetty (2.40-r2) (68/89) Installing wipefs (2.40-r2) (69/89) Installing cfdisk (2.40-r2) (70/89) Installing umount (2.40-r2) (71/89) Installing flock (2.40-r2) (72/89) Installing lsblk (2.40-r2) (73/89) Installing libcap-ng (0.8.4-r0) (74/89) Installing setpriv (2.40-r2) (75/89) Installing logger (2.40-r2) (76/89) Installing partx (2.40-r2) (77/89) Installing fstrim (2.40-r2) (78/89) Installing findmnt (2.40-r2) (79/89) Installing util-linux-dev (2.40-r2) (80/89) Installing glib-dev (2.80.0-r3) (81/89) Installing libgpg-error-dev (1.48-r0) (82/89) Installing libgcrypt-dev (1.10.3-r0) (83/89) Installing libsignal-protocol-c (2.3.3-r3) (84/89) Installing libsignal-protocol-c-dev (2.3.3-r3) (85/89) Installing cmocka (1.1.7-r2) (86/89) Installing cmocka-dev (1.1.7-r2) (87/89) Installing .makedepends-axc (20240424.100317) (88/89) Installing util-linux-openrc (2.40-r2) (89/89) Installing agetty-openrc (0.54-r1) Executing busybox-1.36.1-r25.trigger Executing glib-2.80.0-r3.trigger No schema files found: doing nothing. OK: 595 MiB in 196 packages >>> axc: Cleaning up srcdir >>> axc: Cleaning up pkgdir >>> axc: Cleaning up tmpdir >>> axc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/axc-0.3.7.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> axc: Fetching axc-0.3.7.tar.gz::https://github.com/gkdr/axc/archive/v0.3.7.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/axc-0.3.7.tar.gz.part' axc-0.3.7.tar.gz.par 100% |********************************| 41742 0:00:00 ETA '/var/cache/distfiles/axc-0.3.7.tar.gz.part' saved >>> axc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/axc-0.3.7.tar.gz >>> axc: Checking sha512sums... axc-0.3.7.tar.gz: OK 0002-added-pkgconfig-suport.patch: OK 0003-no-longer-statically-build-against-libsignal-protoco.patch: OK >>> axc: Unpacking /var/cache/distfiles/axc-0.3.7.tar.gz... >>> axc: 0002-added-pkgconfig-suport.patch patching file src/libaxc.pc >>> axc: 0003-no-longer-statically-build-against-libsignal-protoco.patch patching file .gitmodules patching file src/axc.c Hunk #1 succeeded at 18 with fuzz 2 (offset 1 line). patching file src/axc.h patching file src/axc_crypto.c patching file src/axc_crypto.h patching file src/axc_store.c patching file src/axc_store.h mkdir -p build gcc -fPIC -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/signal -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/axc.c -o build/axc.o gcc -fPIC -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/signal -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/axc_crypto.c -o build/axc_crypto.o gcc -fPIC -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/signal -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/axc_store.c -o build/axc_store.o gcc -shared -Wl,-soname,libaxc.so.0 -o build/libaxc.so -fPIC -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/signal -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security src/axc.c src/axc_crypto.c src/axc_store.c -Wl,--as-needed,-O1,--sort-common -pthread -ldl -lglib-2.0 -lintl -lsqlite3 -lgcrypt -lgpg-error -lsignal-protocol-c -lm -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE echo 'prefix='/usr/local > build/libaxc.pc echo 'exec_prefix=${prefix}' >> build/libaxc.pc echo 'libdir=${prefix}/lib/' >> build/libaxc.pc echo 'includedir=${prefix}/include' >> build/libaxc.pc echo 'Name: libaxc' >> build/libaxc.pc echo 'Version: 0.3.7' >> build/libaxc.pc echo 'Description: client library for libsignal-protocol-c' >> build/libaxc.pc echo 'Requires: libsignal-protocol-c' >> build/libaxc.pc echo 'Cflags: -I${includedir}/axc' >> build/libaxc.pc echo 'Libs: -L${libdir} -laxc' >> build/libaxc.pc ar rcs build/libaxc.a build/axc.o build/axc_crypto.o build/axc_store.o gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/signal -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -o test/test_client.o src/axc_crypto.c test/test_client.c -lcmocka -Wl,--as-needed,-O1,--sort-common -pthread -ldl -lglib-2.0 -lintl -lsqlite3 -lgcrypt -lgpg-error -lsignal-protocol-c -lm In file included from test/test_client.c:11: test/test_client.c: In function 'test_session_exists_prekeys': test/test_client.c:544:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 544 | assert_string_equal(axc_buf_get_data(pt_buf_p), "hello"); | ^ | | | uint8_t * {aka unsigned char *} /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_client.o [==========] tests: Running 13 test(s). [ RUN ] test_init [ OK ] test_init [ RUN ] test_recursive_mutex_lock [ OK ] test_recursive_mutex_lock [ RUN ] test_recursive_mutex_unlock [ OK ] test_recursive_mutex_unlock [ RUN ] test_install_should_generate_necessary_data [ OK ] test_install_should_generate_necessary_data [ RUN ] test_install_should_not_do_anything_if_already_initialiased [ OK ] test_install_should_not_do_anything_if_already_initialiased [ RUN ] test_install_should_reset_if_needed [ OK ] test_install_should_reset_if_needed [ RUN ] test_message_encrypt_decrypt axc_message_encrypt_and_serialize: axc ctx is null! axc_message_encrypt_and_serialize: axc ctx is null! axc_message_encrypt_and_serialize: axc ctx is null! axc_message_decrypt_from_serialized: axc ctx is null! axc_message_decrypt_from_serialized: axc ctx is null! axc_message_decrypt_from_serialized: axc ctx is null! [ OK ] test_message_encrypt_decrypt [ RUN ] test_session_exists_any [ OK ] test_session_exists_any [ RUN ] test_session_exists_prekeys [ OK ] test_session_exists_prekeys [ RUN ] test_session_from_bundle_and_handle_prekey_message [ OK ] test_session_from_bundle_and_handle_prekey_message [ RUN ] test_bundle_collect [ OK ] test_bundle_collect [ RUN ] test_key_load_public_own [ OK ] test_key_load_public_own [ RUN ] test_key_load_public_addr [ OK ] test_key_load_public_addr [==========] tests: 13 test(s) run. [ PASSED ] 13 test(s). find . -maxdepth 1 -iname 'test*.g*' -exec mv {} test \; gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/signal -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -o test/test_store.o test/test_store.c src/axc_crypto.c -lcmocka -Wl,--as-needed,-O1,--sort-common -pthread -ldl -lglib-2.0 -lintl -lsqlite3 -lgcrypt -lgpg-error -lsignal-protocol-c -lm In file included from test/test_store.c:11: test/test_store.c: In function 'test_db_create_should_create_necessary_tables': test/test_store.c:148:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 148 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "name"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:149:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 149 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "TEXT"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:152:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 152 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "name_len"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:153:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 153 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:156:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 156 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "device_id"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:157:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 157 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:160:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 160 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "session_record"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:161:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 161 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "BLOB"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:164:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 164 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "record_len"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:165:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 165 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:174:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 174 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "id"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:175:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 175 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:178:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 178 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "pre_key_record"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:179:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 179 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "BLOB"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:182:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 182 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "record_len"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:183:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 183 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:192:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 192 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "id"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:193:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 193 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:196:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 196 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "signed_pre_key_record"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:197:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 197 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "BLOB"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:200:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 200 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "record_len"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:201:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 201 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:210:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 210 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "name"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:211:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 211 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "TEXT"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:214:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 214 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "key"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:215:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 215 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "BLOB"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:218:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 218 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "key_len"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:219:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 219 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:222:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 222 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "trusted"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:223:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 223 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:232:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 232 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "name"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:233:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 233 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "TEXT"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:236:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 236 | assert_string_equal(sqlite3_column_text(pstmt_p, 1), "property"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c:237:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 237 | assert_string_equal(sqlite3_column_text(pstmt_p, 2), "INTEGER"); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c: In function 'test_db_session_store_should_work': test/test_store.c:338:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 338 | assert_string_equal(sqlite3_column_text(pstmt_p, 0), addr_alice_42.name); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.c: In function 'test_db_identity_save': test/test_store.c:716:23: warning: pointer targets in passing argument 1 of '_assert_string_equal' differ in signedness [-Wpointer-sign] 716 | assert_string_equal(sqlite3_column_text(pstmt_p, 0), addr_alice_21.name); | ^ | | | const unsigned char * /usr/include/cmocka.h:2304:46: note: expected 'const char * const' but argument is of type 'const unsigned char *' 2304 | void _assert_string_equal(const char * const a, const char * const b, | ~~~~~~~~~~~~~~~~~~~^ test/test_store.o [==========] tests: Running 36 test(s). [ RUN ] test_db_conn_open_should_create_db_default_filename [ OK ] test_db_conn_open_should_create_db_default_filename [ RUN ] test_db_conn_open_should_create_db [ OK ] test_db_conn_open_should_create_db [ RUN ] test_db_conn_open_should_prepare_statement [ OK ] test_db_conn_open_should_prepare_statement [ RUN ] test_db_conn_open_should_fail_on_null_pointer [ OK ] test_db_conn_open_should_fail_on_null_pointer [ RUN ] test_db_exec_single_change_should_only_succeed_on_correct_number_of_changes [ OK ] test_db_exec_single_change_should_only_succeed_on_correct_number_of_changes [ RUN ] test_db_exec_quick_should_exec [ OK ] test_db_exec_quick_should_exec [ RUN ] test_db_create_should_create_necessary_tables [ OK ] test_db_create_should_create_necessary_tables [ RUN ] test_db_destroy_should_drop_all_tables [ OK ] test_db_destroy_should_drop_all_tables [ RUN ] test_db_property_set_should_set_property_correctly [ OK ] test_db_property_set_should_set_property_correctly [ RUN ] test_db_property_get_should_get_correctly [ OK ] test_db_property_get_should_get_correctly [ RUN ] test_db_property_get_should_fail_on_no_results [ OK ] test_db_property_get_should_fail_on_no_results [ RUN ] test_db_init_status_set_should_work [ OK ] test_db_init_status_set_should_work [ RUN ] test_db_init_status_get_should_work [ OK ] test_db_init_status_get_should_work [ RUN ] test_db_session_store_should_work [ OK ] test_db_session_store_should_work [ RUN ] test_db_session_load_should_find_session [ OK ] test_db_session_load_should_find_session [ RUN ] test_db_session_load_should_not_find_session [ OK ] test_db_session_load_should_not_find_session [ RUN ] test_db_session_get_sub_device_sessions_should_find_and_return_correct_number [ OK ] test_db_session_get_sub_device_sessions_should_find_and_return_correct_number [ RUN ] test_db_session_contains_should_return_correct_values [ OK ] test_db_session_contains_should_return_correct_values [ RUN ] test_db_session_delete_should_return_correct_values [ OK ] test_db_session_delete_should_return_correct_values [ RUN ] test_db_session_delete_all_should_return_correct_values [ OK ] test_db_session_delete_all_should_return_correct_values [ RUN ] test_db_pre_key_store_should_work [ OK ] test_db_pre_key_store_should_work [ RUN ] test_db_pre_key_store_list [ OK ] test_db_pre_key_store_list [ RUN ] test_db_pre_key_get_list [ OK ] test_db_pre_key_get_list [ RUN ] test_db_pre_key_load_should_return_correct_values_and_key [ OK ] test_db_pre_key_load_should_return_correct_values_and_key [ RUN ] test_db_pre_key_contains_should_return_correct_values [ OK ] test_db_pre_key_contains_should_return_correct_values [ RUN ] test_db_pre_key_remove [ OK ] test_db_pre_key_remove [ RUN ] test_db_pre_key_get_max_id [ OK ] test_db_pre_key_get_max_id [ RUN ] test_db_signed_pre_key_store_should_work [ OK ] test_db_signed_pre_key_store_should_work [ RUN ] test_db_signed_pre_key_load_should_return_correct_values_and_key [ OK ] test_db_signed_pre_key_load_should_return_correct_values_and_key [ RUN ] test_db_signed_pre_key_contains_should_return_correct_values [ OK ] test_db_signed_pre_key_contains_should_return_correct_values [ RUN ] test_db_signed_pre_key_remove [ OK ] test_db_signed_pre_key_remove [ RUN ] test_db_identity_set_local_registration_id [ OK ] test_db_identity_set_local_registration_id [ RUN ] test_db_identity_get_local_registration_id [ OK ] test_db_identity_get_local_registration_id [ RUN ] test_db_identity_set_and_get_key_pair [ OK ] test_db_identity_set_and_get_key_pair [ RUN ] test_db_identity_save [ OK ] test_db_identity_save [ RUN ] test_db_identity_get_key_pair_keys_not_found [ OK ] test_db_identity_get_key_pair_keys_not_found [==========] tests: 36 test(s) run. [ PASSED ] 36 test(s). find . -maxdepth 1 -iname 'test*.g*' -exec mv {} test \; >>> axc: Entering fakeroot... install -d /home/buildozer/aports/community/axc/pkg/axc//usr/lib//pkgconfig/ install -m 644 build/libaxc.a /home/buildozer/aports/community/axc/pkg/axc//usr/lib//libaxc.a install -m 644 build/libaxc.so /home/buildozer/aports/community/axc/pkg/axc//usr/lib//libaxc.so.0.3.7 ln -s libaxc.so.0.3.7 /home/buildozer/aports/community/axc/pkg/axc//usr/lib//libaxc.so.0 ln -s libaxc.so.0.3.7 /home/buildozer/aports/community/axc/pkg/axc//usr/lib//libaxc.so install -m 644 build/libaxc.pc /home/buildozer/aports/community/axc/pkg/axc//usr/lib//pkgconfig/ install -d /home/buildozer/aports/community/axc/pkg/axc//usr/include/axc/ install -m 644 src/axc.h /home/buildozer/aports/community/axc/pkg/axc//usr/include/axc/ install -m 644 src/axc_crypto.h /home/buildozer/aports/community/axc/pkg/axc//usr/include/axc/ install -m 644 src/axc_store.h /home/buildozer/aports/community/axc/pkg/axc//usr/include/axc/ >>> axc-dev*: Running split function dev... >>> axc-dev*: Preparing subpackage axc-dev... >>> axc-dev*: Stripping binaries >>> axc-dev*: Running postcheck for axc-dev >>> axc*: Running postcheck for axc >>> axc*: Preparing package axc... >>> axc*: Stripping binaries >>> axc-dev*: Scanning shared objects >>> axc*: Scanning shared objects >>> axc-dev*: Tracing dependencies... axc=0.3.7-r2 pc:libsignal-protocol-c pkgconfig >>> axc-dev*: Package size: 52.0 KB >>> axc-dev*: Compressing data... >>> axc-dev*: Create checksum... >>> axc-dev*: Create axc-dev-0.3.7-r2.apk >>> axc*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libgcrypt.so.20 so:libglib-2.0.so.0 so:libsignal-protocol-c.so.2 so:libsqlite3.so.0 >>> axc*: Package size: 80.0 KB >>> axc*: Compressing data... >>> axc*: Create checksum... >>> axc*: Create axc-0.3.7-r2.apk >>> axc: Build complete at Wed, 24 Apr 2024 10:03:22 +0000 elapsed time 0h 0m 11s >>> axc: Cleaning up srcdir >>> axc: Cleaning up pkgdir >>> axc: Uninstalling dependencies... (1/89) Purging .makedepends-axc (20240424.100317) (2/89) Purging glib-dev (2.80.0-r3) (3/89) Purging bzip2-dev (1.0.8-r6) (4/89) Purging docbook-xsl (1.79.2-r9) Executing docbook-xsl-1.79.2-r9.pre-deinstall (5/89) Purging docbook-xml (4.5-r9) Executing docbook-xml-4.5-r9.pre-deinstall (6/89) Purging gettext-dev (0.22.5-r0) (7/89) Purging xz (5.6.1-r3) (8/89) Purging gettext-asprintf (0.22.5-r0) (9/89) Purging gettext (0.22.5-r0) (10/89) Purging gettext-envsubst (0.22.5-r0) (11/89) Purging libxml2-utils (2.12.6-r2) (12/89) Purging libxslt (1.1.39-r1) (13/89) Purging py3-packaging-pyc (24.0-r1) (14/89) Purging py3-packaging (24.0-r1) (15/89) Purging py3-parsing-pyc (3.1.2-r1) (16/89) Purging py3-parsing (3.1.2-r1) (17/89) Purging python3-pyc (3.12.3-r1) (18/89) Purging python3-pycache-pyc0 (3.12.3-r1) (19/89) Purging pyc (3.12.3-r1) (20/89) Purging python3 (3.12.3-r1) (21/89) Purging libgcrypt-dev (1.10.3-r0) (22/89) Purging libsignal-protocol-c-dev (2.3.3-r3) (23/89) Purging libsignal-protocol-c (2.3.3-r3) (24/89) Purging cmocka-dev (1.1.7-r2) (25/89) Purging cmocka (1.1.7-r2) (26/89) Purging agetty-openrc (0.54-r1) (27/89) Purging agetty (2.40-r2) (28/89) Purging blkid (2.40-r2) (29/89) Purging cfdisk (2.40-r2) (30/89) Purging findmnt (2.40-r2) (31/89) Purging flock (2.40-r2) (32/89) Purging fstrim (2.40-r2) (33/89) Purging gdbm (1.23-r1) (34/89) Purging gettext-libs (0.22.5-r0) (35/89) Purging glib (2.80.0-r3) (36/89) Purging hexdump (2.40-r2) (37/89) Purging libbz2 (1.0.8-r6) (38/89) Purging libffi-dev (3.4.6-r0) (39/89) Purging linux-headers (6.6-r0) (40/89) Purging libffi (3.4.6-r0) (41/89) Purging libgcrypt (1.10.3-r0) (42/89) Purging libgpg-error-dev (1.48-r0) (43/89) Purging libgpg-error (1.48-r0) (44/89) Purging libintl (0.22.5-r0) (45/89) Purging libxml2 (2.12.6-r2) (46/89) Purging logger (2.40-r2) (47/89) Purging losetup (2.40-r2) (48/89) Purging lsblk (2.40-r2) (49/89) Purging mcookie (2.40-r2) (50/89) Purging mount (2.40-r2) (51/89) Purging mpdecimal (4.0.0-r0) (52/89) Purging partx (2.40-r2) (53/89) Purging pcre2-dev (10.43-r0) (54/89) Purging libedit-dev (20230828.3.1-r4) (55/89) Purging bsd-compat-headers (0.7.2-r6) (56/89) Purging ncurses-dev (6.4_p20240330-r0) (57/89) Purging libncurses++ (6.4_p20240330-r0) (58/89) Purging libpanelw (6.4_p20240330-r0) (59/89) Purging zlib-dev (1.3.1-r1) (60/89) Purging libpcre2-16 (10.43-r0) (61/89) Purging libpcre2-32 (10.43-r0) (62/89) Purging runuser (2.40-r2) (63/89) Purging setpriv (2.40-r2) (64/89) Purging sfdisk (2.40-r2) (65/89) Purging umount (2.40-r2) (66/89) Purging util-linux-dev (2.40-r2) (67/89) Purging util-linux-misc (2.40-r2) (68/89) Purging setarch (2.40-r2) (69/89) Purging util-linux-openrc (2.40-r2) (70/89) Purging uuidgen (2.40-r2) (71/89) Purging wipefs (2.40-r2) (72/89) Purging xz-libs (5.6.1-r3) (73/89) Purging libfdisk (2.40-r2) (74/89) Purging libmount (2.40-r2) (75/89) Purging libblkid (2.40-r2) (76/89) Purging libcap-ng (0.8.4-r0) (77/89) Purging libeconf (0.6.2-r0) (78/89) Purging libformw (6.4_p20240330-r0) (79/89) Purging libmenuw (6.4_p20240330-r0) (80/89) Purging libsmartcols (2.40-r2) (81/89) Purging libuuid (2.40-r2) (82/89) Purging linux-pam (1.6.0-r0) (83/89) Purging sqlite-dev (3.45.3-r0) (84/89) Purging sqlite (3.45.3-r0) (85/89) Purging readline (8.2.10-r0) (86/89) Purging utmps-libs (0.1.2.2-r1) (87/89) Purging skalibs (2.14.1.1-r0) (88/89) Purging util-linux (2.40-r2) (89/89) Purging sqlite-libs (3.45.3-r0) Executing busybox-1.36.1-r25.trigger OK: 473 MiB in 107 packages >>> axc: Updating the community/aarch64 repository index... >>> axc: Signing the index...