>>> libcrystalhd: Building community/libcrystalhd 20130708-r3 (using abuild 3.13.0-r3) started Tue, 30 Apr 2024 13:56:32 +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.6-r0) (2/2) Installing .makedepends-libcrystalhd (20240430.135652) OK: 482 MiB in 109 packages >>> libcrystalhd: Cleaning up srcdir >>> libcrystalhd: Cleaning up pkgdir >>> libcrystalhd: Cleaning up tmpdir >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/libcrystalhd-20130708.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/libcrystalhd-20130708.tar.gz.part' libcrystalhd-2013070 100% |********************************| 3050k 0:00:00 ETA '/var/cache/distfiles/libcrystalhd-20130708.tar.gz.part' saved >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/sse2neon-34527ec22a73cb85bb7060848147eb4c2be82e3a.h Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/sse2neon-34527ec22a73cb85bb7060848147eb4c2be82e3a.h.part' sse2neon-34527ec22a7 100% |********************************| 143k 0:00:00 ETA '/var/cache/distfiles/sse2neon-34527ec22a73cb85bb7060848147eb4c2be82e3a.h.part' saved >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/libcrystalhd-20130708.tar.gz >>> libcrystalhd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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/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 -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -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 -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -c -o libcrystalhd_int_if.o libcrystalhd_int_if.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -c -o libcrystalhd_fwcmds.o libcrystalhd_fwcmds.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -c -o libcrystalhd_priv.o libcrystalhd_priv.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -c -o libcrystalhd_fwdiag_if.o libcrystalhd_fwdiag_if.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -c -o libcrystalhd_fwload_if.o libcrystalhd_fwload_if.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -c -o libcrystalhd_parser.o libcrystalhd_parser.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)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~ 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_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_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_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_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) | ^~~~~~~~~~~~~~~~ g++ -D__LINUX_USER__ -I./ -I/usr/include -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -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-aarch64.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 Tue, 30 Apr 2024 13:56:54 +0000 elapsed time 0h 0m 22s >>> libcrystalhd: Cleaning up srcdir >>> libcrystalhd: Cleaning up pkgdir >>> libcrystalhd: Uninstalling dependencies... (1/2) Purging .makedepends-libcrystalhd (20240430.135652) (2/2) Purging linux-headers (6.6-r0) OK: 474 MiB in 107 packages >>> libcrystalhd: Updating the community/aarch64 repository index... >>> libcrystalhd: Signing the index...