>>> libsemanage: Building testing/libsemanage 3.6-r0 (using abuild 3.12.0-r0) started Thu, 28 Dec 2023 04:20:06 +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/37) Installing musl-fts (1.2.7-r6) (2/37) Installing libselinux (3.6-r0) (3/37) Installing bsd-compat-headers (0.7.2-r5) (4/37) Installing libformw (6.4_p20231125-r0) (5/37) Installing libmenuw (6.4_p20231125-r0) (6/37) Installing libpanelw (6.4_p20231125-r0) (7/37) Installing libncurses++ (6.4_p20231125-r0) (8/37) Installing ncurses-dev (6.4_p20231125-r0) (9/37) Installing libedit-dev (20230828.3.1-r3) (10/37) Installing zlib-dev (1.3-r2) (11/37) Installing libpcre2-16 (10.42-r2) (12/37) Installing libpcre2-32 (10.42-r2) (13/37) Installing pcre2-dev (10.42-r2) (14/37) Installing libsepol (3.6-r0) (15/37) Installing libsepol-dev (3.6-r0) (16/37) Installing libselinux-dev (3.6-r0) (17/37) Installing libbz2 (1.0.8-r6) (18/37) Installing bzip2-dev (1.0.8-r6) (19/37) Installing linux-headers (6.6-r0) (20/37) Installing libcap-ng (0.8.4-r0) (21/37) Installing audit-libs (3.1.2-r1) (22/37) Installing libcap-ng-dev (0.8.4-r0) (23/37) Installing audit-dev (3.1.2-r1) (24/37) Installing m4 (1.4.19-r3) (25/37) Installing bison (3.8.2-r1) (26/37) Installing flex (2.6.4-r6) (27/37) Installing libffi (3.4.4-r3) (28/37) Installing gdbm (1.23-r1) (29/37) Installing xz-libs (5.4.5-r0) (30/37) Installing mpdecimal (2.5.1-r2) (31/37) Installing readline (8.2.7-r0) (32/37) Installing sqlite-libs (3.44.2-r0) (33/37) Installing python3 (3.11.6-r1) (34/37) Installing python3-pycache-pyc0 (3.11.6-r1) (35/37) Installing pyc (3.11.6-r1) (36/37) Installing python3-pyc (3.11.6-r1) (37/37) Installing .makedepends-libsemanage (20231228.042008) Executing busybox-1.36.1-r18.trigger OK: 443 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 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libsemanage: Fetching https://github.com/SELinuxProject/selinux/releases/download/3.6/libsemanage-3.6.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 178k 100 178k 0 0 465k 0 --:--:-- --:--:-- --:--:-- 465k >>> 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 gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o interfaces_policy.o interfaces_policy.c 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 gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o nodes_policy.o nodes_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o nodes_policydb.o nodes_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o parse_utils.o parse_utils.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o policy_components.o policy_components.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o port_record.o port_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ports_file.o ports_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ports_local.o ports_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ports_policy.o ports_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o ports_policydb.o ports_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o semanage_store.o semanage_store.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o seuser_record.o seuser_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o seusers_file.o seusers_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o seusers_local.o seusers_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o seusers_policy.o seusers_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o sha256.o sha256.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o user_base_record.o user_base_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o user_extra_record.o user_extra_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o user_record.o user_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o users_base_file.o users_base_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o users_base_policydb.o users_base_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o users_extra_file.o users_extra_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o users_join.o users_join.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o users_local.o users_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o users_policy.o users_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o utilities.o utilities.c bison -d -o conf-parse.c conf-parse.y gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o boolean_record.lo boolean_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_active.lo booleans_active.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_activedb.lo booleans_activedb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_file.lo booleans_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_local.lo booleans_local.c conf-parse.y:55.1-24: warning: deprecated directive: ‘%name-prefix "semanage_"’, use ‘%define api.prefix {semanage_}’ [-Wdeprecated] 55 | %name-prefix "semanage_" | ^~~~~~~~~~~~~~~~~~~~~~~~ | %define api.prefix {semanage_} gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policy.lo booleans_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o booleans_policydb.lo booleans_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o compressed_file.lo compressed_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o context_record.lo context_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database.lo database.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_activedb.lo database_activedb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_file.lo database_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_join.lo database_join.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_llist.lo database_llist.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o database_policydb.lo database_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o debug.lo debug.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o direct_api.lo direct_api.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontext_record.lo fcontext_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_file.lo fcontexts_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_local.lo fcontexts_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o fcontexts_policy.lo fcontexts_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o genhomedircon.lo genhomedircon.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o handle.lo handle.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendport_record.lo ibendport_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_file.lo ibendports_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_local.lo ibendports_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policy.lo ibendports_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibendports_policydb.lo ibendports_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkey_record.lo ibpkey_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_file.lo ibpkeys_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_local.lo ibpkeys_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policy.lo ibpkeys_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ibpkeys_policydb.lo ibpkeys_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o iface_record.lo iface_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_file.lo interfaces_file.c direct_api.c: In function 'semanage_direct_install_file': gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_local.lo interfaces_local.c direct_api.c:1738:20: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 1738 | filename = basename(path); | ^~~~~~~~ direct_api.c:1738:18: warning: 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 -fPIC -DSHARED -c -o interfaces_policy.lo interfaces_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o interfaces_policydb.lo interfaces_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o modules.lo modules.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o node_record.lo node_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_file.lo nodes_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_local.lo nodes_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policy.lo nodes_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o nodes_policydb.lo nodes_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o parse_utils.lo parse_utils.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o policy_components.lo policy_components.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o port_record.lo port_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_file.lo ports_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_local.lo ports_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policy.lo ports_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o ports_policydb.lo ports_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o semanage_store.lo semanage_store.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seuser_record.lo seuser_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_file.lo seusers_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_local.lo seusers_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o seusers_policy.lo seusers_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o sha256.lo sha256.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_base_record.lo user_base_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_extra_record.lo user_extra_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o user_record.lo user_record.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_file.lo users_base_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_base_policydb.lo users_base_policydb.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_extra_file.lo users_extra_file.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_join.lo users_join.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_local.lo users_local.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o users_policy.lo users_policy.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o utilities.lo utilities.c sed -e 's/@VERSION@/3.6/; s:@prefix@:/usr:; s:@libdir@:/usr/lib:; s:@includedir@:/usr/include:' < libsemanage.pc.in > libsemanage.pc direct_api.c: In function 'semanage_direct_install_file': direct_api.c:1738:20: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 1738 | filename = basename(path); | ^~~~~~~~ direct_api.c:1738:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1738 | filename = basename(path); | ^ conf-parse.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] flex -s -o conf-scan.c conf-scan.l gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o conf-parse.o conf-parse.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-parse.lo conf-parse.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -c -o conf-scan.o conf-scan.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -fPIC -DSHARED -c -o conf-scan.lo conf-scan.c conf-parse.y: In function 'semanage_conf_init': conf-parse.y: In function 'semanage_conf_init': conf-parse.y:353:35: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 353 | conf->store_path = strdup(basename(selinux_policy_root())); | ^~~~~~~~ conf-parse.y:353:35: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 353 | conf->store_path = strdup(basename(selinux_policy_root())); | ^~~~~~~~ conf-parse.y:353:35: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [-Wint-conversion] 353 | conf->store_path = strdup(basename(selinux_policy_root())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/fortify/string.h:23, from conf-parse.y:32: /usr/include/string.h:70:15: note: expected 'const char *' but argument is of type 'int' 70 | char *strdup (const char *); | ^~~~~~~~~~~~ conf-parse.y:353:35: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [-Wint-conversion] 353 | conf->store_path = strdup(basename(selinux_policy_root())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/fortify/string.h:23, from conf-parse.y:32: /usr/include/string.h:70:15: note: expected 'const char *' but argument is of type 'int' 70 | char *strdup (const char *); | ^~~~~~~~~~~~ conf-parse.y: In function 'parse_module_store': conf-parse.y:509:28: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [-Wint-conversion] 509 | strdup(basename(selinux_policy_root())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/string.h:70:15: note: expected 'const char *' but argument is of type 'int' 70 | char *strdup (const char *); | ^~~~~~~~~~~~ conf-parse.y: In function 'parse_module_store': conf-parse.y:509:28: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [-Wint-conversion] 509 | strdup(basename(selinux_policy_root())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/string.h:70:15: note: expected 'const char *' but argument is of type 'int' 70 | char *strdup (const char *); | ^~~~~~~~~~~~ ar rcs libsemanage.a boolean_record.o booleans_active.o booleans_activedb.o booleans_file.o booleans_local.o booleans_policy.o booleans_policydb.o compressed_file.o context_record.o database.o database_activedb.o database_file.o database_join.o database_llist.o database_policydb.o debug.o direct_api.o fcontext_record.o fcontexts_file.o fcontexts_local.o fcontexts_policy.o genhomedircon.o handle.o ibendport_record.o ibendports_file.o ibendports_local.o ibendports_policy.o ibendports_policydb.o ibpkey_record.o ibpkeys_file.o ibpkeys_local.o ibpkeys_policy.o ibpkeys_policydb.o iface_record.o interfaces_file.o interfaces_local.o interfaces_policy.o interfaces_policydb.o modules.o node_record.o nodes_file.o nodes_local.o nodes_policy.o nodes_policydb.o parse_utils.o policy_components.o port_record.o ports_file.o ports_local.o ports_policy.o ports_policydb.o semanage_store.o seuser_record.o seusers_file.o seusers_local.o seusers_policy.o sha256.o user_base_record.o user_extra_record.o user_record.o users_base_file.o users_base_policydb.o users_extra_file.o users_join.o users_local.o users_policy.o utilities.o conf-scan.o conf-parse.o ranlib libsemanage.a gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -I../include -D_GNU_SOURCE -Wl,--as-needed,-O1,--sort-common -shared -o libsemanage.so.2 boolean_record.lo booleans_active.lo booleans_activedb.lo booleans_file.lo booleans_local.lo booleans_policy.lo booleans_policydb.lo compressed_file.lo context_record.lo database.lo database_activedb.lo database_file.lo database_join.lo database_llist.lo database_policydb.lo debug.lo direct_api.lo fcontext_record.lo fcontexts_file.lo fcontexts_local.lo fcontexts_policy.lo genhomedircon.lo handle.lo ibendport_record.lo ibendports_file.lo ibendports_local.lo ibendports_policy.lo ibendports_policydb.lo ibpkey_record.lo ibpkeys_file.lo ibpkeys_local.lo ibpkeys_policy.lo ibpkeys_policydb.lo iface_record.lo interfaces_file.lo interfaces_local.lo interfaces_policy.lo interfaces_policydb.lo modules.lo node_record.lo nodes_file.lo nodes_local.lo nodes_policy.lo nodes_policydb.lo parse_utils.lo policy_components.lo port_record.lo ports_file.lo ports_local.lo ports_policy.lo ports_policydb.lo semanage_store.lo seuser_record.lo seusers_file.lo seusers_local.lo seusers_policy.lo sha256.lo user_base_record.lo user_extra_record.lo user_record.lo users_base_file.lo users_base_policydb.lo users_extra_file.lo users_join.lo users_local.lo users_policy.lo utilities.lo conf-scan.lo conf-parse.lo -lsepol -laudit -lselinux -lbz2 -Wl,-soname,libsemanage.so.2,--version-script=libsemanage.map,-z,defs ln -sf libsemanage.so.2 libsemanage.so make[1]: Leaving directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/src' >>> WARNING: libsemanage: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> libsemanage: Entering fakeroot... make -C include install make[1]: Entering directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/include' test -d /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/include/semanage || install -m 755 -d /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/include/semanage install -m 644 semanage/boolean_record.h semanage/booleans_active.h semanage/booleans_local.h semanage/booleans_policy.h semanage/context_record.h semanage/debug.h semanage/fcontext_record.h semanage/fcontexts_local.h semanage/fcontexts_policy.h semanage/handle.h semanage/ibendport_record.h semanage/ibendports_local.h semanage/ibendports_policy.h semanage/ibpkey_record.h semanage/ibpkeys_local.h semanage/ibpkeys_policy.h semanage/iface_record.h semanage/interfaces_local.h semanage/interfaces_policy.h semanage/modules.h semanage/node_record.h semanage/nodes_local.h semanage/nodes_policy.h semanage/port_record.h semanage/ports_local.h semanage/ports_policy.h semanage/semanage.h semanage/seuser_record.h semanage/seusers_local.h semanage/seusers_policy.h semanage/user_record.h semanage/users_local.h semanage/users_policy.h /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/include/semanage make[1]: Leaving directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/include' make -C src install make[1]: Entering directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/src' test -d /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib || install -m 755 -d /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib install -m 644 libsemanage.a /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib install -m 755 libsemanage.so.2 /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib test -d /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib/pkgconfig || install -m 755 -d /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib/pkgconfig install -m 644 libsemanage.pc /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib/pkgconfig test -f /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/etc/selinux/semanage.conf || install -m 644 -D semanage.conf /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/etc/selinux/semanage.conf cd /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/lib && ln -sf libsemanage.so.2 libsemanage.so make[1]: Leaving directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/src' make -C man install make[1]: Entering directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/man' mkdir -p /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/man3 mkdir -p /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/man5 install -m 644 man3/*.3 /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/man3 install -m 644 man5/*.5 /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/man5 for lang in ; do \ if [ -e ${lang}/man3 ] ; then \ mkdir -p /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/${lang}/man3 ; \ install -m 644 ${lang}/man3/*.3 /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/${lang}/man3 ; \ fi ; \ if [ -e ${lang}/man5 ] ; then \ mkdir -p /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/${lang}/man5 ; \ install -m 644 ${lang}/man5/*.5 /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/share/man/${lang}/man5 ; \ fi ; \ done make[1]: Leaving directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/man' make -C utils install make[1]: Entering directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/utils' mkdir -p /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/libexec/selinux/ install -m 755 semanage_migrate_store /home/buildozer/aports/testing/libsemanage/pkg/libsemanage/usr/libexec/selinux/ make[1]: Leaving directory '/home/buildozer/aports/testing/libsemanage/src/libsemanage-3.6/utils' >>> libsemanage-dev*: Running split function dev... >>> libsemanage-dev*: Preparing subpackage libsemanage-dev... >>> libsemanage-dev*: Stripping binaries >>> libsemanage-dev*: Running postcheck for libsemanage-dev >>> libsemanage-doc*: Running split function doc... >>> libsemanage-doc*: Preparing subpackage libsemanage-doc... >>> libsemanage-doc*: Running postcheck for libsemanage-doc >>> libsemanage*: Running postcheck for libsemanage >>> libsemanage*: Preparing package libsemanage... >>> libsemanage*: Stripping binaries >>> libsemanage-dev*: Scanning shared objects >>> libsemanage-doc*: Scanning shared objects >>> libsemanage*: Scanning shared objects >>> libsemanage-dev*: Tracing dependencies... libsemanage=3.6-r0 pc:libselinux pc:libsepol pkgconfig >>> libsemanage-dev*: Package size: 752.0 KB >>> libsemanage-dev*: Compressing data... >>> libsemanage-dev*: Create checksum... >>> libsemanage-dev*: Create libsemanage-dev-3.6-r0.apk >>> libsemanage-doc*: Tracing dependencies... >>> libsemanage-doc*: Package size: 456.0 KB >>> libsemanage-doc*: Compressing data... >>> libsemanage-doc*: Create checksum... >>> libsemanage-doc*: Create libsemanage-doc-3.6-r0.apk >>> libsemanage*: Tracing dependencies... so:libaudit.so.1 so:libbz2.so.1 so:libc.musl-aarch64.so.1 so:libselinux.so.1 so:libsepol.so.2 >>> libsemanage*: Package size: 304.0 KB >>> libsemanage*: Compressing data... >>> libsemanage*: Create checksum... >>> libsemanage*: Create libsemanage-3.6-r0.apk >>> libsemanage: Build complete at Thu, 28 Dec 2023 04:20:12 +0000 elapsed time 0h 0m 6s >>> libsemanage: Cleaning up srcdir >>> libsemanage: Cleaning up pkgdir >>> libsemanage: Uninstalling dependencies... (1/37) Purging .makedepends-libsemanage (20231228.042008) (2/37) Purging libselinux-dev (3.6-r0) (3/37) Purging libselinux (3.6-r0) (4/37) Purging libsepol-dev (3.6-r0) (5/37) Purging libsepol (3.6-r0) (6/37) Purging bzip2-dev (1.0.8-r6) (7/37) Purging audit-dev (3.1.2-r1) (8/37) Purging audit-libs (3.1.2-r1) (9/37) Purging bison (3.8.2-r1) (10/37) Purging flex (2.6.4-r6) (11/37) Purging m4 (1.4.19-r3) (12/37) Purging libcap-ng-dev (0.8.4-r0) (13/37) Purging linux-headers (6.6-r0) (14/37) Purging libcap-ng (0.8.4-r0) (15/37) Purging musl-fts (1.2.7-r6) (16/37) Purging pcre2-dev (10.42-r2) (17/37) Purging libedit-dev (20230828.3.1-r3) (18/37) Purging bsd-compat-headers (0.7.2-r5) (19/37) Purging ncurses-dev (6.4_p20231125-r0) (20/37) Purging libncurses++ (6.4_p20231125-r0) (21/37) Purging zlib-dev (1.3-r2) (22/37) Purging libpcre2-16 (10.42-r2) (23/37) Purging libpcre2-32 (10.42-r2) (24/37) Purging python3-pyc (3.11.6-r1) (25/37) Purging python3-pycache-pyc0 (3.11.6-r1) (26/37) Purging pyc (3.11.6-r1) (27/37) Purging python3 (3.11.6-r1) (28/37) Purging gdbm (1.23-r1) (29/37) Purging libbz2 (1.0.8-r6) (30/37) Purging libffi (3.4.4-r3) (31/37) Purging libformw (6.4_p20231125-r0) (32/37) Purging libmenuw (6.4_p20231125-r0) (33/37) Purging libpanelw (6.4_p20231125-r0) (34/37) Purging mpdecimal (2.5.1-r2) (35/37) Purging readline (8.2.7-r0) (36/37) Purging sqlite-libs (3.44.2-r0) (37/37) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r18.trigger OK: 380 MiB in 104 packages >>> libsemanage: Updating the testing/aarch64 repository index... >>> libsemanage: Signing the index...