>>> libsemanage: Building testing/libsemanage 3.6-r0 (using abuild 3.13.0-r5) started Sat, 28 Sep 2024 15:43:17 +0000 >>> libsemanage: Checking sanity of /home/buildozer/aports/testing/libsemanage/APKBUILD... >>> libsemanage: Analyzing dependencies... >>> libsemanage: Installing for build: build-base libselinux-dev libsepol-dev bzip2-dev audit-dev bison flex python3 (1/36) Installing musl-fts (1.2.7-r6) (2/36) Installing libselinux (3.6-r1) (3/36) Installing bsd-compat-headers (0.7.2-r6) (4/36) Installing libformw (6.5_p20240601-r1) (5/36) Installing libmenuw (6.5_p20240601-r1) (6/36) Installing libpanelw (6.5_p20240601-r1) (7/36) Installing libncurses++ (6.5_p20240601-r1) (8/36) Installing ncurses-dev (6.5_p20240601-r1) (9/36) Installing libedit-dev (20240808.3.1-r0) (10/36) Installing zlib-dev (1.3.1-r2) (11/36) Installing libpcre2-16 (10.43-r0) (12/36) Installing libpcre2-32 (10.43-r0) (13/36) Installing pcre2-dev (10.43-r0) (14/36) Installing libsepol (3.6-r1) (15/36) Installing libsepol-dev (3.6-r1) (16/36) Installing libselinux-dev (3.6-r1) (17/36) Installing libbz2 (1.0.8-r6) (18/36) Installing bzip2-dev (1.0.8-r6) (19/36) Installing linux-headers (6.6-r0) (20/36) Installing libcap-ng (0.8.5-r0) (21/36) Installing audit-libs (4.0.2-r0) (22/36) Installing libcap-ng-dev (0.8.5-r0) (23/36) Installing audit-dev (4.0.2-r0) (24/36) Installing m4 (1.4.19-r3) (25/36) Installing bison (3.8.2-r1) (26/36) Installing flex (2.6.4-r6) (27/36) Installing libffi (3.4.6-r0) (28/36) Installing gdbm (1.24-r0) (29/36) Installing xz-libs (5.6.2-r0) (30/36) Installing mpdecimal (4.0.0-r0) (31/36) Installing sqlite-libs (3.46.1-r0) (32/36) Installing python3 (3.12.6-r0) (33/36) Installing python3-pycache-pyc0 (3.12.6-r0) (34/36) Installing pyc (3.12.6-r0) (35/36) Installing python3-pyc (3.12.6-r0) (36/36) Installing .makedepends-libsemanage (20240928.154322) Executing busybox-1.36.1-r32.trigger OK: 311 MiB in 141 packages >>> libsemanage: Cleaning up srcdir >>> libsemanage: Cleaning up pkgdir >>> libsemanage: Cleaning up tmpdir >>> libsemanage: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libsemanage-3.6.tar.gz >>> libsemanage: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libsemanage-3.6.tar.gz >>> libsemanage: Checking sha512sums... libsemanage-3.6.tar.gz: OK >>> libsemanage: Unpacking /var/cache/distfiles/libsemanage-3.6.tar.gz... make -C src all make[1]: Entering directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/src' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o boolean_record.o boolean_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o booleans_active.o booleans_active.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o booleans_activedb.o booleans_activedb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o booleans_file.o booleans_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o booleans_local.o booleans_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o booleans_policy.o booleans_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o booleans_policydb.o booleans_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o compressed_file.o compressed_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o context_record.o context_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o database.o database.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o database_activedb.o database_activedb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o database_file.o database_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o database_join.o database_join.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o database_llist.o database_llist.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o database_policydb.o database_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o debug.o debug.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o direct_api.o direct_api.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o fcontext_record.o fcontext_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o fcontexts_file.o fcontexts_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o fcontexts_local.o fcontexts_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o fcontexts_policy.o fcontexts_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o genhomedircon.o genhomedircon.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o handle.o handle.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibendport_record.o ibendport_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibendports_file.o ibendports_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibendports_local.o ibendports_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibendports_policy.o ibendports_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibendports_policydb.o ibendports_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibpkey_record.o ibpkey_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibpkeys_file.o ibpkeys_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibpkeys_local.o ibpkeys_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibpkeys_policy.o ibpkeys_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ibpkeys_policydb.o ibpkeys_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o iface_record.o iface_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o interfaces_file.o interfaces_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o interfaces_local.o interfaces_local.c direct_api.c: In function 'semanage_direct_install_file': direct_api.c:1738:20: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 1738 | filename = basename(path); | ^~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o interfaces_policy.o interfaces_policy.c direct_api.c:1738:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1738 | filename = basename(path); | ^ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o interfaces_policydb.o interfaces_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o modules.o modules.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o node_record.o node_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o nodes_file.o nodes_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o nodes_local.o nodes_local.c make[1]: *** [Makefile:111: direct_api.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/src' make: *** [Makefile:2: all] Error 2 >>> ERROR: libsemanage: build failed >>> libsemanage: Uninstalling dependencies... (1/36) Purging .makedepends-libsemanage (20240928.154322) (2/36) Purging libselinux-dev (3.6-r1) (3/36) Purging libselinux (3.6-r1) (4/36) Purging libsepol-dev (3.6-r1) (5/36) Purging libsepol (3.6-r1) (6/36) Purging bzip2-dev (1.0.8-r6) (7/36) Purging audit-dev (4.0.2-r0) (8/36) Purging audit-libs (4.0.2-r0) (9/36) Purging bison (3.8.2-r1) (10/36) Purging flex (2.6.4-r6) (11/36) Purging m4 (1.4.19-r3) (12/36) Purging python3-pyc (3.12.6-r0) (13/36) Purging python3-pycache-pyc0 (3.12.6-r0) (14/36) Purging pyc (3.12.6-r0) (15/36) Purging python3 (3.12.6-r0) (16/36) Purging gdbm (1.24-r0) (17/36) Purging libbz2 (1.0.8-r6) (18/36) Purging libcap-ng-dev (0.8.5-r0) (19/36) Purging linux-headers (6.6-r0) (20/36) Purging libcap-ng (0.8.5-r0) (21/36) Purging libffi (3.4.6-r0) (22/36) Purging mpdecimal (4.0.0-r0) (23/36) Purging musl-fts (1.2.7-r6) (24/36) Purging pcre2-dev (10.43-r0) (25/36) Purging libedit-dev (20240808.3.1-r0) (26/36) Purging bsd-compat-headers (0.7.2-r6) (27/36) Purging ncurses-dev (6.5_p20240601-r1) (28/36) Purging libncurses++ (6.5_p20240601-r1) (29/36) Purging libpanelw (6.5_p20240601-r1) (30/36) Purging zlib-dev (1.3.1-r2) (31/36) Purging libpcre2-16 (10.43-r0) (32/36) Purging libpcre2-32 (10.43-r0) (33/36) Purging sqlite-libs (3.46.1-r0) (34/36) Purging xz-libs (5.6.2-r0) (35/36) Purging libformw (6.5_p20240601-r1) (36/36) Purging libmenuw (6.5_p20240601-r1) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 105 packages