>>> libcrystalhd: Building community/libcrystalhd 20130708-r3 (using abuild 3.11.0_rc13-r0) started Mon, 24 Apr 2023 03:16:58 +0000 >>> libcrystalhd: Checking sanity of /home/buildozer/aports/community/libcrystalhd/APKBUILD... >>> libcrystalhd: Analyzing dependencies... >>> libcrystalhd: Installing for build: build-base linux-headers (1/2) Installing linux-headers (6.2-r0) (2/2) Installing .makedepends-libcrystalhd (20230424.031714) OK: 381 MiB in 100 packages >>> libcrystalhd: Cleaning up srcdir >>> libcrystalhd: Cleaning up pkgdir >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/libcrystalhd-20130708.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 100 3050k 100 3050k 0 0 17.4M 0 --:--:-- --:--:-- --:--:-- 17.5M >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/sse2neon-34527ec22a73cb85bb7060848147eb4c2be82e3a.h % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 1187k 0 --:--:-- --:--:-- --:--:-- 1192k >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/libcrystalhd-20130708.tar.gz >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/sse2neon-34527ec22a73cb85bb7060848147eb4c2be82e3a.h >>> libcrystalhd: Checking sha512sums... libcrystalhd-20130708.tar.gz: OK sse2neon-34527ec22a73cb85bb7060848147eb4c2be82e3a.h: OK gcc-opts-fix.patch: OK libcrystalhd_alpine_aarch64.patch: OK musl-1.2.3.patch: OK >>> libcrystalhd: Unpacking /var/cache/distfiles/v3.18/libcrystalhd-20130708.tar.gz... >>> libcrystalhd: gcc-opts-fix.patch patching file Makefile >>> libcrystalhd: libcrystalhd_alpine_aarch64.patch patching file libcrystalhd_int_if.cpp >>> libcrystalhd: musl-1.2.3.patch patching file libcrystalhd_int_if.cpp >>> libcrystalhd: Building library OBJFILES = libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_if.o libcrystalhd_if.cpp SRCFILES = libcrystalhd_if.cpp libcrystalhd_int_if.cpp libcrystalhd_fwcmds.cpp libcrystalhd_priv.cpp libcrystalhd_fwdiag_if.cpp libcrystalhd_fwload_if.cpp libcrystalhd_parser.cpp LNM = libcrystalhd.so.3.6 libcrystalhd.so.3 g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_int_if.o libcrystalhd_int_if.cpp g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwcmds.o libcrystalhd_fwcmds.cpp g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_priv.o libcrystalhd_priv.cpp g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwdiag_if.o libcrystalhd_fwdiag_if.cpp libcrystalhd_if.cpp: In function 'BC_STATUS DtsGetFWVersionFromFile(HANDLE, uint32_t*, uint32_t*, char*)': libcrystalhd_if.cpp:719:44: warning: argument to 'sizeof' in 'char* strncat(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 719 | strncat(fwfile,FWBINFILE_70015,sizeof(FWBINFILE_70015)); | ^~~~~~~~~~~~~~~~~~~~~~~ libcrystalhd_if.cpp:721:44: warning: argument to 'sizeof' in 'char* strncat(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 721 | strncat(fwfile,FWBINFILE_70012,sizeof(FWBINFILE_70012)); | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_fwload_if.o libcrystalhd_fwload_if.cpp g++ -Os -Wformat -Werror=format-security -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -c -o libcrystalhd_parser.o libcrystalhd_parser.cpp libcrystalhd_if.cpp: In function 'BC_STATUS DtsGetDILPath(HANDLE, char*, uint32_t)': libcrystalhd_if.cpp:2813:40: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 2813 | strncpy(DilPath, Ctx->DilPath, sizeof(Ctx->DilPath)); | ^~~~~~~~~~~~~~~~~~~~ libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemRd(HANDLE, uint32_t*, uint32_t, uint32_t)': libcrystalhd_int_if.cpp:745:57: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable] 745 | uint32_t IOcCode,size_in_dword; | ^~~~~~~ libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemWr(HANDLE, uint32_t*, uint32_t, uint32_t)': libcrystalhd_int_if.cpp:828:57: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable] 828 | uint32_t IOcCode,size_in_dword; | ^~~~~~~ libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyRawDataToOutBuff(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)': libcrystalhd_int_if.cpp:1222:40: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable] 1222 | uint32_t srcWidthInPixels = 0, srcHeightInPixels; | ^~~~~~~~~~~~~~~~~ libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12ToYV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)': libcrystalhd_int_if.cpp:1287:36: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable] 1287 | uint32_t srcWidthInPixels, srcHeightInPixels; | ^~~~~~~~~~~~~~~~~ libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)': libcrystalhd_int_if.cpp:1370:38: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable] 1370 | uint32_t srcWidthInPixels=0, srcHeightInPixels; | ^~~~~~~~~~~~~~~~~ libcrystalhd_priv.cpp: In function 'BC_STATUS DtsPrepareMdataASFHdr(DTS_LIB_CONTEXT*, DTS_INPUT_MDATA*, uint8_t*)': libcrystalhd_priv.cpp:2119:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2119 | if(buf==NULL) | ^~ libcrystalhd_priv.cpp:2122:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2122 | buf[0]=0; | ^~~ libcrystalhd_int_if.cpp: At global scope: libcrystalhd_int_if.cpp:1679:18: warning: 'BC_STATUS DtsCopy420ToYV12(uint8_t*, uint8_t*, const uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function] 1679 | static BC_STATUS DtsCopy420ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, const uint8_t *srcUV, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV) | ^~~~~~~~~~~~~~~~ libcrystalhd_int_if.cpp:1476:18: warning: 'BC_STATUS DtsCopy422ToYV12(uint8_t*, uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function] 1476 | static BC_STATUS DtsCopy422ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV) | ^~~~~~~~~~~~~~~~ libcrystalhd_priv.cpp: In function 'void* txThreadProc(void*)': libcrystalhd_priv.cpp:2503:43: warning: result of '(3 << 31)' requires 34 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] 2503 | pStat.cpbEmptySize = (0x3 << 31); | ~~~~^~~~~ libcrystalhd_parser.cpp: In function 'BC_STATUS DtsAddH264SCode(HANDLE, uint8_t**, uint32_t*, uint64_t*)': libcrystalhd_parser.cpp:542:18: warning: variable 'pNALU' set but not used [-Wunused-but-set-variable] 542 | uint8_t *pNALU = NULL; | ^~~~~ libcrystalhd_parser.cpp:543:18: warning: variable 'ulNalSize' set but not used [-Wunused-but-set-variable] 543 | uint32_t ulNalSize = 0; | ^~~~~~~~~ g++ -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -Wl,-soname,libcrystalhd.so.3 -pthread -o libcrystalhd.so.3.6 libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o ln -sf libcrystalhd.so.3.6 libcrystalhd.so ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3 >>> libcrystalhd: Entering fakeroot... mkdir -p /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/lib mkdir -p /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/lib/firmware mkdir -p /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd cp libcrystalhd_if.h /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/ chmod 0644 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/libcrystalhd_if.h cp ../../include/bc_dts_defs.h /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/ chmod 0644 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/bc_dts_defs.h cp ../../include/bc_dts_types.h /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/ chmod 0644 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/bc_dts_types.h cp ../../include/libcrystalhd_version.h /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/ chmod 0644 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/include/libcrystalhd/libcrystalhd_version.h cp ../../firmware/fwbin/70012/bcm70012fw.bin /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/lib/firmware/ chmod 0644 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/lib/firmware/bcm70012fw.bin cp ../../firmware/fwbin/70015/bcm70015fw.bin /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/lib/firmware/ chmod 0644 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/lib/firmware/bcm70015fw.bin install -m 755 libcrystalhd.so.3.6 /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/lib (cd /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so) (cd /home/buildozer/aports/community/libcrystalhd/pkg/libcrystalhd/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3) >>> libcrystalhd-dev*: Running split function dev... >>> libcrystalhd-dev*: Preparing subpackage libcrystalhd-dev... >>> libcrystalhd-dev*: Stripping binaries >>> libcrystalhd-dev*: Running postcheck for libcrystalhd-dev >>> libcrystalhd*: Running postcheck for libcrystalhd >>> libcrystalhd*: Preparing package libcrystalhd... >>> libcrystalhd*: Stripping binaries >>> libcrystalhd-dev*: Scanning shared objects >>> libcrystalhd*: Scanning shared objects >>> libcrystalhd-dev*: Tracing dependencies... libcrystalhd=20130708-r3 >>> libcrystalhd-dev*: Package size: 92.0 KB >>> libcrystalhd-dev*: Compressing data... >>> libcrystalhd-dev*: Create checksum... >>> libcrystalhd-dev*: Create libcrystalhd-dev-20130708-r3.apk >>> libcrystalhd*: Tracing dependencies... so:libc.musl-x86.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> libcrystalhd*: Package size: 3.6 MB >>> libcrystalhd*: Compressing data... >>> libcrystalhd*: Create checksum... >>> libcrystalhd*: Create libcrystalhd-20130708-r3.apk >>> libcrystalhd: Build complete at Mon, 24 Apr 2023 03:17:17 +0000 elapsed time 0h 0m 19s >>> libcrystalhd: Cleaning up srcdir >>> libcrystalhd: Cleaning up pkgdir >>> libcrystalhd: Uninstalling dependencies... (1/2) Purging .makedepends-libcrystalhd (20230424.031714) (2/2) Purging linux-headers (6.2-r0) OK: 373 MiB in 98 packages >>> libcrystalhd: Updating the community/x86 repository index... >>> libcrystalhd: Signing the index...