>>> sngtc_client: Building main/sngtc_client 1.3.11-r2 (using abuild 3.11.0_rc12-r0) started Wed, 19 Apr 2023 23:38:44 +0000 >>> sngtc_client: Checking sanity of /home/buildozer/aports/main/sngtc_client/APKBUILD... >>> sngtc_client: Analyzing dependencies... >>> sngtc_client: Installing for build: build-base ortp-dev linux-headers bctoolbox-dev (1/7) Installing mbedtls (2.28.3-r1) (2/7) Installing bctoolbox (5.2.51-r0) (3/7) Installing ortp (5.2.51-r0) (4/7) Installing ortp-dev (5.2.51-r0) (5/7) Installing linux-headers (6.2-r0) (6/7) Installing bctoolbox-dev (5.2.51-r0) (7/7) Installing .makedepends-sngtc_client (20230419.233845) OK: 292 MiB in 104 packages >>> sngtc_client: Cleaning up srcdir >>> sngtc_client: Cleaning up pkgdir >>> sngtc_client: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/sng-tc-linux-1.3.11.x86_64.tgz >>> sngtc_client: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/sng-tc-linux-1.3.11.x86_64.tgz >>> sngtc_client: Checking sha512sums... sng-tc-linux-1.3.11.x86_64.tgz: OK sngtc_client-dynamic-ortp.patch: OK musl-fix-types.patch: OK ortp.patch: OK bctoolbox-underlinking.patch: OK >>> sngtc_client: Unpacking /var/cache/distfiles/v3.18/sng-tc-linux-1.3.11.x86_64.tgz... >>> sngtc_client: sngtc_client-dynamic-ortp.patch patching file client/sngtc_client/Makefile >>> sngtc_client: musl-fix-types.patch patching file soap/stdsoap2.h >>> sngtc_client: ortp.patch patching file client/sngtc_client/sngtc_client.c patching file client/sngtc_client/sngtc_client.c >>> sngtc_client: bctoolbox-underlinking.patch patching file client/sngtc_client/Makefile mkdir -p include/ mkdir -p lib/ make -C server/libsngtc make[1]: Entering directory '/home/buildozer/aports/main/sngtc_client/src/sng-tc-linux-1.3.11.x86_64/server/libsngtc' Nothing to do make[1]: Leaving directory '/home/buildozer/aports/main/sngtc_client/src/sng-tc-linux-1.3.11.x86_64/server/libsngtc' mkdir -p include/sng_tc cp server/libsngtc/*.h include/sng_tc/ cp server/libsngtc/libsng-tc.so lib/ make -C client/libsngtc_node make[1]: Entering directory '/home/buildozer/aports/main/sngtc_client/src/sng-tc-linux-1.3.11.x86_64/client/libsngtc_node' gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -g -O0 -I. -I.. -I../../soap -I../../include -DSYS_UNIX=1 -shared -fPIC -D_GNUC_ -D_REENTRANT -D_GNU_SOURCE -nostdlib -D__GLIBC__ -Os -Wformat -Werror=format-security -c -o sngtc_node.o sngtc_node.c gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -g -O0 -I. -I.. -I../../soap -I../../include -DSYS_UNIX=1 -shared -fPIC -D_GNUC_ -D_REENTRANT -D_GNU_SOURCE -nostdlib -D__GLIBC__ -Os -Wformat -Werror=format-security -c -o sngtc_node_utils.o sngtc_node_utils.c gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -g -O0 -I. -I.. -I../../soap -I../../include -DSYS_UNIX=1 -shared -fPIC -D_GNUC_ -D_REENTRANT -D_GNU_SOURCE -nostdlib -D__GLIBC__ -Os -Wformat -Werror=format-security -c -o soapC.o ../../soap/soapC.c gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -g -O0 -I. -I.. -I../../soap -I../../include -DSYS_UNIX=1 -shared -fPIC -D_GNUC_ -D_REENTRANT -D_GNU_SOURCE -nostdlib -D__GLIBC__ -Os -Wformat -Werror=format-security -c -o soapClient.o ../../soap/soapClient.c gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -g -O0 -I. -I.. -I../../soap -I../../include -DSYS_UNIX=1 -shared -fPIC -D_GNUC_ -D_REENTRANT -D_GNU_SOURCE -nostdlib -D__GLIBC__ -Os -Wformat -Werror=format-security -c -o stdsoap2.o ../../soap/stdsoap2.c rm -f libsngtc_node.so gcc -shared -Wl,-soname,libsngtc_node.so -o libsngtc_node.so sngtc_node.o sngtc_node_utils.o soapC.o soapClient.o stdsoap2.o make[1]: Leaving directory '/home/buildozer/aports/main/sngtc_client/src/sng-tc-linux-1.3.11.x86_64/client/libsngtc_node' cp client/libsngtc_node/*.h include/sng_tc/ cp client/libsngtc_node/libsngtc_node.so lib/ make -C client/sngtc_client make[1]: Entering directory '/home/buildozer/aports/main/sngtc_client/src/sng-tc-linux-1.3.11.x86_64/client/sngtc_client' gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -Wall -ggdb3 -O0 -I. -I../../include -Os -Wformat -Werror=format-security -c -o sngtc_client.o sngtc_client.c sngtc_client.c: In function 'run_transcoding_session': sngtc_client.c:1137:19: error: assignment to 'pthread_t' {aka 'struct __pthread *'} from 'long int' makes pointer from integer without a cast [-Werror=int-conversion] 1137 | thread_id = syscall(SYS_gettid); | ^ sngtc_client.c: In function 'main': sngtc_client.c:1871:30: warning: passing argument 1 of 'ortp_set_log_handler' from incompatible pointer type [-Wincompatible-pointer-types] 1871 | ortp_set_log_handler(local_ortp_logger); | ^~~~~~~~~~~~~~~~~ | | | void (*)(BctbxLogLevel, const char *, va_list) In file included from /usr/include/ortp/ortp.h:67, from sngtc_client.c:43: /usr/include/ortp/logging.h:63:51: note: expected 'BctbxLogFunc' {aka 'void (*)(const char *, BctbxLogLevel, const char *, va_list)'} but argument is of type 'void (*)(BctbxLogLevel, const char *, va_list)' 63 | ORTP_PUBLIC void ortp_set_log_handler(OrtpLogFunc func); | ^ sngtc_client.c: In function 'run_transcoding_session': sngtc_client.c:1428:65: warning: 'bert.sync_err' may be used uninitialized [-Wmaybe-uninitialized] 1428 | local_sngtc_logger(SNGTC_LOGLEVEL_BERT, "BERT test warning, expecting = %d(%x), rx = %d(%x), sample index = %d, bss = %d serr=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1429 | bert.test_data, bert.test_data, media_buffer[i], media_buffer[i], i, bert.byte_since_sync,bert.sync_err); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sngtc_client.c:1126:11: note: 'bert.sync_err' was declared here 1126 | } bert; | ^~~~ sngtc_client.c:1421:69: warning: 'bert.byte_since_sync' may be used uninitialized [-Wmaybe-uninitialized] 1421 | bert.byte_since_sync++; | ~~~~~~~~~~~~~~~~~~~~^~ sngtc_client.c:1126:11: note: 'bert.byte_since_sync' was declared here 1126 | } bert; | ^~~~ sngtc_client.c:1403:44: warning: 'bert.sync' may be used uninitialized [-Wmaybe-uninitialized] 1403 | if (!bert.sync) { | ^ sngtc_client.c:1126:11: note: 'bert.sync' was declared here 1126 | } bert; | ^~~~ sngtc_client.c:1404:52: warning: 'bert.test_data' may be used uninitialized [-Wmaybe-uninitialized] 1404 | if (bert.test_data != media_buffer[i]) { | ^ sngtc_client.c:1126:11: note: 'bert.test_data' was declared here 1126 | } bert; | ^~~~ sngtc_client.c:1489:52: warning: 'bert.tx_inc' may be used uninitialized [-Wmaybe-uninitialized] 1489 | bert.tx_inc++; | ~~~~~~~~~~~^~ sngtc_client.c:1126:11: note: 'bert.tx_inc' was declared here 1126 | } bert; | ^~~~ cc1: some warnings being treated as errors make[1]: *** [: sngtc_client.o] Error 1 make[1]: Leaving directory '/home/buildozer/aports/main/sngtc_client/src/sng-tc-linux-1.3.11.x86_64/client/sngtc_client' make: *** [Makefile:119: sngtc_client] Error 2 >>> ERROR: sngtc_client: build failed >>> sngtc_client: Uninstalling dependencies... (1/7) Purging .makedepends-sngtc_client (20230419.233845) (2/7) Purging ortp-dev (5.2.51-r0) (3/7) Purging ortp (5.2.51-r0) (4/7) Purging linux-headers (6.2-r0) (5/7) Purging bctoolbox-dev (5.2.51-r0) (6/7) Purging bctoolbox (5.2.51-r0) (7/7) Purging mbedtls (2.28.3-r1) OK: 283 MiB in 97 packages