>>> idevicerestore: Building testing/idevicerestore 1.0.0-r4 (using abuild 3.14.1-r1) started Wed, 30 Oct 2024 21:42:32 +0000 >>> idevicerestore: Validating /home/buildozer/aports/testing/idevicerestore/APKBUILD... >>> idevicerestore: Analyzing dependencies... >>> idevicerestore: Installing for build: build-base libirecovery-dev libimobiledevice-dev libzip-dev curl-dev (1/34) Installing libplist (2.6.0-r1) (2/34) Installing libimobiledevice-glue (1.3.1-r0) (3/34) Installing libusb (1.0.27-r0) (4/34) Installing libirecovery (1.2.1-r0) (5/34) Installing libplist++ (2.6.0-r1) (6/34) Installing libplist-dev (2.6.0-r1) (7/34) Installing libimobiledevice-glue-dev (1.3.1-r0) (8/34) Installing libusb-dev (1.0.27-r0) (9/34) Installing libirecovery-dev (1.2.1-r0) (10/34) Installing libusbmuxd (2.1.0-r0) (11/34) Installing libimobiledevice (1.3.0-r9) (12/34) Installing libusbmuxd-dev (2.1.0-r0) (13/34) Installing openssl-dev (3.3.2-r3) (14/34) Installing libimobiledevice-dev (1.3.0-r9) (15/34) Installing libbz2 (1.0.8-r6) (16/34) Installing xz-libs (5.6.3-r0) (17/34) Installing libzip (1.11.1-r0) (18/34) Installing libzip-tools (1.11.1-r0) (19/34) Installing bzip2-dev (1.0.8-r6) (20/34) Installing xz (5.6.3-r0) (21/34) Installing xz-dev (5.6.3-r0) (22/34) Installing zlib-dev (1.3.1-r2) (23/34) Installing zstd (1.5.6-r1) (24/34) Installing zstd-dev (1.5.6-r1) (25/34) Installing libzip-dev (1.11.1-r0) (26/34) Installing brotli (1.1.0-r2) (27/34) Installing brotli-dev (1.1.0-r2) (28/34) Installing c-ares-dev (1.34.2-r0) (29/34) Installing libidn2-dev (2.3.7-r0) (30/34) Installing libpsl-utils (0.21.5-r3) (31/34) Installing libpsl-dev (0.21.5-r3) (32/34) Installing nghttp2-dev (1.63.0-r0) (33/34) Installing curl-dev (8.10.1-r0) (34/34) Installing .makedepends-idevicerestore (20241030.214234) Executing busybox-1.37.0-r3.trigger OK: 437 MiB in 140 packages >>> idevicerestore: Cleaning up srcdir >>> idevicerestore: Cleaning up pkgdir >>> idevicerestore: Cleaning up tmpdir >>> idevicerestore: Fetching https://distfiles.alpinelinux.org/distfiles/edge/idevicerestore-1.0.0.tar.bz2 >>> idevicerestore: Fetching https://distfiles.alpinelinux.org/distfiles/edge/idevicerestore-1.0.0.tar.bz2 >>> idevicerestore: Checking sha512sums... idevicerestore-1.0.0.tar.bz2: OK >>> idevicerestore: Unpacking /var/cache/distfiles/edge/idevicerestore-1.0.0.tar.bz2... >>> idevicerestore: Updating ./config.sub checking build system type... aarch64-alpine-linux-musl checking host system type... aarch64-alpine-linux-musl checking target system type... aarch64-alpine-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for aarch64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/aarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/aarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert aarch64-alpine-linux-musl file names to aarch64-alpine-linux-musl format... func_convert_file_noop checking how to convert aarch64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/aarch64-alpine-linux-musl/bin/ld option to reload object files... -r checking for aarch64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-alpine-linux-musl-strip... no checking for strip... strip checking for aarch64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for aarch64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/aarch64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for aarch64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libirecovery... yes checking for libimobiledevice... yes checking for libplist... yes checking for libzip... yes checking for libcurl... yes checking for zlib... yes checking for openssl... yes checking whether we need platform-specific build settings... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for strsep... yes checking for strcspn... yes checking for mkstemp... yes checking for realpath... yes ./configure: line 14112: CFLAGS+= : not found checking for IDEVICE_E_TIMEOUT in enum idevice_error_t... yes checking for RESTORE_E_RECEIVE_TIMEOUT in enum restored_error_t... yes checking for enum idevice_connection_type... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration for idevicerestore 1.0.0: ------------------------------------------- Install prefix: .........: /usr Now type 'make' to build idevicerestore 1.0.0, and then 'make install' for installation. make all-recursive make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' Making all in src make[2]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' CC idevicerestore-idevicerestore.o CC idevicerestore-common.o CC idevicerestore-tss.o CC idevicerestore-fls.o CC idevicerestore-mbn.o CC idevicerestore-img3.o CC idevicerestore-img4.o CC idevicerestore-ftab.o CC idevicerestore-ipsw.o CC idevicerestore-normal.o CC idevicerestore-dfu.o CC idevicerestore-recovery.o CC idevicerestore-restore.o CC idevicerestore-asr.o CC idevicerestore-fdr.o CC idevicerestore-limera1n.o CC idevicerestore-download.o CC idevicerestore-locking.o CC idevicerestore-socket.o CC idevicerestore-thread.o CC idevicerestore-jsmn.o CC idevicerestore-json_plist.o asr.c: In function 'asr_send_payload': asr.c:378:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 378 | SHA1_Init(&sha1); | ^~~~~~~~~ In file included from asr.c:34: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ asr.c:413:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 413 | SHA1_Update(&sha1, (unsigned char*)data, size); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ asr.c:418:33: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 418 | SHA1_Final((unsigned char*)data, &sha1); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ asr.c:429:33: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 429 | SHA1_Init(&sha1); | ^~~~~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ ipsw.c: In function 'sha1_verify_fp': asr.c:447:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 447 | SHA1_Final((unsigned char*)data, &sha1); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ ipsw.c:696:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 696 | SHA1_Init(&sha1ctx); | ^~~~~~~~~ In file included from ipsw.c:36: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ ipsw.c:700:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 700 | SHA1_Update(&sha1ctx, (const void*)buf, sz); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ ipsw.c:702:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 702 | SHA1_Final(tsha1, &sha1ctx); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ restore.c: In function 'restore_sign_bbfw': restore.c:1423:25: warning: 'zip_replace' is deprecated: use 'zip_file_replace' instead [-Wdeprecated-declarations] 1423 | if (zip_replace(za, zindex, zs) == -1) { | ^~ In file included from restore.c:33: /usr/include/zip.h:387:65: note: declared here 387 | ZIP_DEPRECATED("use 'zip_file_replace' instead") ZIP_EXTERN int zip_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull); | ^~~~~~~~~~~ restore.c:1441:9: warning: 'zip_get_num_files' is deprecated: use 'zip_get_num_entries' instead [-Wdeprecated-declarations] 1441 | int i, j, keep, numf = zip_get_num_files(za); | ^~~ /usr/include/zip.h:385:68: note: declared here 385 | ZIP_DEPRECATED("use 'zip_get_num_entries' instead") ZIP_EXTERN int zip_get_num_files(zip_t *_Nonnull); | ^~~~~~~~~~~~~~~~~ restore.c:1542:25: warning: 'zip_replace' is deprecated: use 'zip_file_replace' instead [-Wdeprecated-declarations] 1542 | if (zip_replace(za, zindex, zs) == -1) { | ^~ /usr/include/zip.h:387:65: note: declared here 387 | ZIP_DEPRECATED("use 'zip_file_replace' instead") ZIP_EXTERN int zip_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull); | ^~~~~~~~~~~ restore.c:1563:25: warning: 'zip_add' is deprecated: use 'zip_file_add' instead [-Wdeprecated-declarations] 1563 | if (zip_add(za, "bbticket.der", zs) == -1) { | ^~ /usr/include/zip.h:382:69: note: declared here 382 | ZIP_DEPRECATED("use 'zip_file_add' instead") ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull); | ^~~~~~~ download.c: In function 'download_to_file': download.c:132:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 132 | curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, (curl_progress_callback)&download_progress); | ^~~~~~~~~~~~~~~~ In file included from download.c:25: /usr/include/curl/curl.h:1304:3: note: declared here 1304 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ CCLD idevicerestore make[2]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' Making all in docs make[2]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[2]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' Making check in src make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' Making check in docs make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' >>> idevicerestore: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' make[2]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' make[2]: Nothing to be done for 'install-data-am'. .././install-sh -c -d '/home/buildozer/aports/testing/idevicerestore/pkg/idevicerestore/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c idevicerestore '/home/buildozer/aports/testing/idevicerestore/pkg/idevicerestore/usr/bin' libtool: install: /usr/bin/install -c idevicerestore /home/buildozer/aports/testing/idevicerestore/pkg/idevicerestore/usr/bin/idevicerestore make[2]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/src' Making install in docs make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[2]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[2]: Nothing to be done for 'install-exec-am'. .././install-sh -c -d '/home/buildozer/aports/testing/idevicerestore/pkg/idevicerestore/usr/share/man/man1' /usr/bin/install -c -m 644 idevicerestore.1 '/home/buildozer/aports/testing/idevicerestore/pkg/idevicerestore/usr/share/man/man1' make[2]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0/docs' make[1]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' make[2]: Entering directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' make[1]: Leaving directory '/home/buildozer/aports/testing/idevicerestore/src/idevicerestore-1.0.0' >>> idevicerestore-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/testing/idevicerestore/pkg/idevicerestore-doc/usr/share/man' >>> idevicerestore-doc*: Preparing subpackage idevicerestore-doc... >>> idevicerestore-doc*: Running postcheck for idevicerestore-doc >>> idevicerestore*: Running postcheck for idevicerestore >>> idevicerestore*: Preparing package idevicerestore... >>> idevicerestore*: Stripping binaries >>> idevicerestore-doc*: Scanning shared objects >>> idevicerestore*: Scanning shared objects >>> idevicerestore-doc*: Tracing dependencies... >>> idevicerestore-doc*: Package size: 906.0 B >>> idevicerestore-doc*: Compressing data... >>> idevicerestore-doc*: Create checksum... >>> idevicerestore-doc*: Create idevicerestore-doc-1.0.0-r4.apk >>> idevicerestore*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libcrypto.so.3 so:libcurl.so.4 so:libimobiledevice-1.0.so.6 so:libirecovery-1.0.so.5 so:libplist-2.0.so.4 so:libz.so.1 so:libzip.so.5 >>> idevicerestore*: Package size: 196.7 KB >>> idevicerestore*: Compressing data... >>> idevicerestore*: Create checksum... >>> idevicerestore*: Create idevicerestore-1.0.0-r4.apk >>> idevicerestore: Build complete at Wed, 30 Oct 2024 21:42:38 +0000 elapsed time 0h 0m 6s >>> idevicerestore: Cleaning up srcdir >>> idevicerestore: Cleaning up pkgdir >>> idevicerestore: Uninstalling dependencies... (1/34) Purging .makedepends-idevicerestore (20241030.214234) (2/34) Purging libirecovery-dev (1.2.1-r0) (3/34) Purging libirecovery (1.2.1-r0) (4/34) Purging libimobiledevice-dev (1.3.0-r9) (5/34) Purging libimobiledevice (1.3.0-r9) (6/34) Purging libzip-dev (1.11.1-r0) (7/34) Purging libzip-tools (1.11.1-r0) (8/34) Purging bzip2-dev (1.0.8-r6) (9/34) Purging xz-dev (5.6.3-r0) (10/34) Purging xz (5.6.3-r0) (11/34) Purging libzip (1.11.1-r0) (12/34) Purging curl-dev (8.10.1-r0) (13/34) Purging brotli-dev (1.1.0-r2) (14/34) Purging brotli (1.1.0-r2) (15/34) Purging c-ares-dev (1.34.2-r0) (16/34) Purging libbz2 (1.0.8-r6) (17/34) Purging libpsl-dev (0.21.5-r3) (18/34) Purging libpsl-utils (0.21.5-r3) (19/34) Purging libusb-dev (1.0.27-r0) (20/34) Purging libusb (1.0.27-r0) (21/34) Purging libusbmuxd-dev (2.1.0-r0) (22/34) Purging libusbmuxd (2.1.0-r0) (23/34) Purging nghttp2-dev (1.63.0-r0) (24/34) Purging openssl-dev (3.3.2-r3) (25/34) Purging xz-libs (5.6.3-r0) (26/34) Purging zlib-dev (1.3.1-r2) (27/34) Purging zstd-dev (1.5.6-r1) (28/34) Purging zstd (1.5.6-r1) (29/34) Purging libidn2-dev (2.3.7-r0) (30/34) Purging libimobiledevice-glue-dev (1.3.1-r0) (31/34) Purging libimobiledevice-glue (1.3.1-r0) (32/34) Purging libplist-dev (2.6.0-r1) (33/34) Purging libplist++ (2.6.0-r1) (34/34) Purging libplist (2.6.0-r1) Executing busybox-1.37.0-r3.trigger OK: 431 MiB in 106 packages >>> idevicerestore: Updating the testing/aarch64 repository index... >>> idevicerestore: Signing the index...