>>> libpri: Building main/libpri 1.6.0-r1 (using abuild 3.9.0-r0) started Wed, 13 Apr 2022 10:32:40 +0000 >>> libpri: Checking sanity of /home/buildozer/aports/main/libpri/APKBUILD... >>> libpri: Analyzing dependencies... >>> libpri: Installing for build: build-base dahdi-linux-dev dahdi-tools-dev (1/10) Installing dahdi-linux-dev (3.1.0-r0) (2/10) Installing bsd-compat-headers (0.7.2-r3) (3/10) Installing linux-headers (5.16.7-r1) (4/10) Installing pcre (8.45-r2) (5/10) Installing slang (2.3.2-r0) (6/10) Installing newt (0.52.21-r2) (7/10) Installing newt-dev (0.52.21-r2) (8/10) Installing dahdi-tools (3.1.0-r1) (9/10) Installing dahdi-tools-dev (3.1.0-r1) (10/10) Installing .makedepends-libpri (20220413.103241) Executing busybox-1.35.0-r8.trigger OK: 307 MiB in 95 packages >>> libpri: Cleaning up srcdir >>> libpri: Cleaning up pkgdir >>> libpri: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/libpri-1.6.0.tar.gz >>> libpri: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/libpri-1.6.0.tar.gz >>> libpri: Checking sha512sums... libpri-1.6.0.tar.gz: OK >>> libpri: Unpacking /var/cache/distfiles/v3.16/libpri-1.6.0.tar.gz... gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT copy_string.o -MF .copy_string.o.d -MP -c -o copy_string.o copy_string.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pri.o -MF .pri.o.d -MP -c -o pri.o pri.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT q921.o -MF .q921.o.d -MP -c -o q921.o q921.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT prisched.o -MF .prisched.o.d -MP -c -o prisched.o prisched.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT q931.o -MF .q931.o.d -MP -c -o q931.o q931.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pri_aoc.o -MF .pri_aoc.o.d -MP -c -o pri_aoc.o pri_aoc.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pri_cc.o -MF .pri_cc.o.d -MP -c -o pri_cc.o pri_cc.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pri_facility.o -MF .pri_facility.o.d -MP -c -o pri_facility.o pri_facility.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT asn1_primitive.o -MF .asn1_primitive.o.d -MP -c -o asn1_primitive.o asn1_primitive.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose.o -MF .rose.o.d -MP -c -o rose.o rose.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_address.o -MF .rose_address.o.d -MP -c -o rose_address.o rose_address.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_etsi_aoc.o -MF .rose_etsi_aoc.o.d -MP -c -o rose_etsi_aoc.o rose_etsi_aoc.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_etsi_cc.o -MF .rose_etsi_cc.o.d -MP -c -o rose_etsi_cc.o rose_etsi_cc.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_etsi_diversion.o -MF .rose_etsi_diversion.o.d -MP -c -o rose_etsi_diversion.o rose_etsi_diversion.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_etsi_ect.o -MF .rose_etsi_ect.o.d -MP -c -o rose_etsi_ect.o rose_etsi_ect.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_etsi_mwi.o -MF .rose_etsi_mwi.o.d -MP -c -o rose_etsi_mwi.o rose_etsi_mwi.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_other.o -MF .rose_other.o.d -MP -c -o rose_other.o rose_other.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_q931.o -MF .rose_q931.o.d -MP -c -o rose_q931.o rose_q931.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_qsig_aoc.o -MF .rose_qsig_aoc.o.d -MP -c -o rose_qsig_aoc.o rose_qsig_aoc.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_qsig_cc.o -MF .rose_qsig_cc.o.d -MP -c -o rose_qsig_cc.o rose_qsig_cc.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_qsig_ct.o -MF .rose_qsig_ct.o.d -MP -c -o rose_qsig_ct.o rose_qsig_ct.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_qsig_diversion.o -MF .rose_qsig_diversion.o.d -MP -c -o rose_qsig_diversion.o rose_qsig_diversion.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_qsig_mwi.o -MF .rose_qsig_mwi.o.d -MP -c -o rose_qsig_mwi.o rose_qsig_mwi.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rose_qsig_name.o -MF .rose_qsig_name.o.d -MP -c -o rose_qsig_name.o rose_qsig_name.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT rosetest.o -MF .rosetest.o.d -MP -c -o rosetest.o rosetest.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -D_REENTRANT -D_GNU_SOURCE -MD -MT testprilib.o -MF .testprilib.o.d -MP -c -o testprilib.o testprilib.c gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c q921.c: In function 'q921_dump': q921.c:1333:85: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1333 | if ((h->u.ft == 3) && (h->u.m3 == 0) && (h->u.m2 == 0) && (h->u.data[0] == 0x0f)) { | ~~~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1338:59: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1338 | type = q921_tei_mgmt2str(h->u.data[3]); | ~~~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1340:40: warning: array subscript 1 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1340 | ri = (h->u.data[1] << 8) | h->u.data[2]; | ~~~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1340:61: warning: array subscript 2 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1340 | ri = (h->u.data[1] << 8) | h->u.data[2]; | ~~~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1342:34: warning: array subscript 4 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1342 | action = &h->u.data[4]; | ^~~~~~~~~~~~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c: In function 'q921_mdl_send.constprop': q921.c:215:16: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 215 | f->data[0] = 0x0f; /* Management entity */ | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:216:16: warning: array subscript 1 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 216 | f->data[1] = (ri >> 8) & 0xff; | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:217:16: warning: array subscript 2 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 217 | f->data[2] = ri & 0xff; | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:218:16: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 218 | f->data[3] = message; | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:219:16: warning: array subscript 4 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 219 | f->data[4] = (ai << 1) | 1; | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c: In function 'q921_receive': q921.c:1501:20: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1501 | if (h->data[0] != 0x0f) { | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1510:20: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1510 | if (h->data[3] != Q921_TEI_IDENTITY_CHECK_RESPONSE | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1511:29: warning: array subscript 4 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1511 | && !(h->data[4] & 0x01)) { | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1528:22: warning: array subscript 1 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1528 | ri = (h->data[1] << 8) | h->data[2]; | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1528:41: warning: array subscript 2 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1528 | ri = (h->data[1] << 8) | h->data[2]; | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1529:23: warning: array subscript 4 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1529 | tei = (h->data[4] >> 1); | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1531:24: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1531 | switch (h->data[3]) { | ~~~~~~~^~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q921.c:1606:26: warning: array subscript 4 is outside the bounds of an interior zero-length array 'u_int8_t[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1606 | action = &h->data[4]; | ^~~~~~~~~~~ In file included from pri_internal.h:35, from q921.c:38: pri_q921.h:136:18: note: while referencing 'data' 136 | u_int8_t data[0]; /* Any further data */ | ^~~~ q931.c: In function 'q931_receive': q931.c:7688:46: warning: array subscript 17 is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] 7688 | h->raw[h->crlen + 2] -= 0x8; | ^~ In file included from pri_internal.h:36, from q931.c:32: pri_q931.h:40:23: note: while referencing 'raw' 40 | unsigned char raw[0]; | ^~~ q931.c:7688:46: warning: array subscript 17 is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] 7688 | h->raw[h->crlen + 2] -= 0x8; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from pri_internal.h:36, from q931.c:32: pri_q931.h:40:23: note: while referencing 'raw' 40 | unsigned char raw[0]; | ^~~ ar rcs libpri.a copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o gcc -shared -Wl,-hlibpri.so.1.4 -o libpri.so.1.4 copy_string.o pri.o q921.o prisched.o q931.o pri_aoc.o pri_cc.o pri_facility.o asn1_primitive.o rose.o rose_address.o rose_etsi_aoc.o rose_etsi_cc.o rose_etsi_diversion.o rose_etsi_ect.o rose_etsi_mwi.o rose_other.o rose_q931.o rose_qsig_aoc.o rose_qsig_cc.o rose_qsig_ct.o rose_qsig_diversion.o rose_qsig_mwi.o rose_qsig_name.o version.o ranlib libpri.a gcc -o pritest pritest.o libpri.a -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 gcc -o rosetest rosetest.o libpri.a -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 gcc -o testprilib testprilib.o libpri.a -lpthread -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 echo -n . .ln -sf libpri.so.1.4 libpri.so gcc -o pridump pridump.o -L. -lpri -Os -fomit-frame-pointer -Os -fomit-frame-pointer -Wall -Wno-error -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 >>> libpri: Entering fakeroot... mkdir -p /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib mkdir -p /home/buildozer/aports/main/libpri/pkg/libpri/usr/include install -m 644 libpri.h /home/buildozer/aports/main/libpri/pkg/libpri/usr/include install -m 755 libpri.so.1.4 /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib #if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/restorecon -v /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib/libpri.so.1.4; fi ( cd /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib ; ln -sf libpri.so.1.4 libpri.so) install -m 644 libpri.a /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib if test $(id -u) = 0; then echo -n /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib; fi /home/buildozer/aports/main/libpri/pkg/libpri/usr/lib>>> libpri-dev*: Running split function dev... >>> libpri-dev*: Preparing subpackage libpri-dev... >>> libpri-dev*: Stripping binaries >>> libpri-dev*: Running postcheck for libpri-dev >>> libpri*: Running postcheck for libpri >>> libpri*: Preparing package libpri... >>> libpri*: Stripping binaries >>> libpri-dev*: Scanning shared objects >>> libpri*: Scanning shared objects >>> libpri-dev*: Tracing dependencies... libpri=1.6.0-r1 >>> libpri-dev*: Package size: 92.0 KB >>> libpri-dev*: Compressing data... >>> libpri-dev*: Create checksum... >>> libpri-dev*: Create libpri-dev-1.6.0-r1.apk >>> libpri*: Tracing dependencies... so:libc.musl-armhf.so.1 >>> libpri*: Package size: 444.0 KB >>> libpri*: Compressing data... >>> libpri*: Create checksum... >>> libpri*: Create libpri-1.6.0-r1.apk >>> libpri: Build complete at Wed, 13 Apr 2022 10:32:46 +0000 elapsed time 0h 0m 6s >>> libpri: Cleaning up srcdir >>> libpri: Cleaning up pkgdir >>> libpri: Uninstalling dependencies... (1/10) Purging .makedepends-libpri (20220413.103241) (2/10) Purging dahdi-tools-dev (3.1.0-r1) (3/10) Purging bsd-compat-headers (0.7.2-r3) (4/10) Purging linux-headers (5.16.7-r1) (5/10) Purging dahdi-linux-dev (3.1.0-r0) (6/10) Purging newt-dev (0.52.21-r2) (7/10) Purging dahdi-tools (3.1.0-r1) (8/10) Purging newt (0.52.21-r2) (9/10) Purging slang (2.3.2-r0) (10/10) Purging pcre (8.45-r2) Executing busybox-1.35.0-r8.trigger OK: 296 MiB in 85 packages >>> libpri: Updating the main/armhf repository index... >>> libpri: Signing the index...