>>> dmg2img: Building community/dmg2img 1.6.7-r1 (using abuild 3.14.1-r1) started Fri, 01 Nov 2024 20:20:10 +0000 >>> dmg2img: Validating /home/buildozer/aports/community/dmg2img/APKBUILD... >>> dmg2img: Analyzing dependencies... >>> dmg2img: Installing for build: build-base bzip2-dev openssl-dev zlib-dev (1/5) Installing libbz2 (1.0.8-r6) (2/5) Installing bzip2-dev (1.0.8-r6) (3/5) Installing openssl-dev (3.3.2-r3) (4/5) Installing zlib-dev (1.3.1-r2) (5/5) Installing .makedepends-dmg2img (20241101.202021) OK: 273 MiB in 106 packages >>> dmg2img: Cleaning up srcdir >>> dmg2img: Cleaning up pkgdir >>> dmg2img: Cleaning up tmpdir >>> dmg2img: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/dmg2img-1.6.7.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/dmg2img-1.6.7.tar.gz.part' dmg2img-1.6.7.tar.gz 100% |********************************| 23238 0:00:00 ETA '/var/cache/distfiles/v3.21/dmg2img-1.6.7.tar.gz.part' saved >>> dmg2img: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/dmg2img-1.6.7.tar.gz >>> dmg2img: Checking sha512sums... dmg2img-1.6.7.tar.gz: OK openssl-compatibility.patch: OK >>> dmg2img: Unpacking /var/cache/distfiles/v3.21/dmg2img-1.6.7.tar.gz... tar: A lone zero block at 180 >>> dmg2img: openssl-compatibility.patch patching file vfdecrypt.c gcc -O2 -Wall -c dmg2img.c gcc -O2 -Wall -c base64.c gcc -O2 -Wall -c adc.c gcc -O2 -Wall -s -o vfdecrypt vfdecrypt.c -lcrypto vfdecrypt.c: In function 'compute_iv': vfdecrypt.c:199:3: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 199 | HMAC_Init_ex(hmacsha1_ctx, NULL, 0, NULL, NULL); | ^~~~~~~~~~~~ In file included from vfdecrypt.c:41: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ vfdecrypt.c:200:3: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 200 | HMAC_Update(hmacsha1_ctx, (void *) &chunk_no, sizeof(uint32_t)); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ vfdecrypt.c:201:3: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 201 | HMAC_Final(hmacsha1_ctx, mdResult, &mdLen); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ vfdecrypt.c: In function 'decrypt_chunk': vfdecrypt.c:209:3: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 209 | AES_cbc_encrypt(ctext, ptext, CHUNK_SIZE, &aes_decrypt_key, iv, AES_DECRYPT); | ^~~~~~~~~~~~~~~ In file included from vfdecrypt.c:40: /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ vfdecrypt.c: In function 'main': vfdecrypt.c:488:3: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 488 | hmacsha1_ctx = HMAC_CTX_new(); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ vfdecrypt.c:497:3: warning: 'HMAC_CTX_reset' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 497 | HMAC_CTX_reset(hmacsha1_ctx); | ^~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:34:27: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx); | ^~~~~~~~~~~~~~ vfdecrypt.c:501:3: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 501 | HMAC_Init_ex(hmacsha1_ctx, hmacsha1_key, sizeof(hmacsha1_key), EVP_sha1(), NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ vfdecrypt.c:502:3: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 502 | AES_set_decrypt_key(aes_key, CIPHER_KEY_LENGTH * 8, &aes_decrypt_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ vfdecrypt.c:527:3: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 527 | HMAC_CTX_free(hmacsha1_ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ vfdecrypt.c:371:18: warning: variable 'oflag' set but not used [-Wunused-but-set-variable] 371 | int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; | ^~~~~ vfdecrypt.c:371:7: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] 371 | int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; | ^~~~~ gcc -s -o dmg2img dmg2img.o base64.o adc.o -L. -lz -lbz2 >>> dmg2img: Entering fakeroot... mkdir -p /home/buildozer/aports/community/dmg2img/pkg/dmg2img/usr/bin install -c -s -m 755 -o root -g root dmg2img vfdecrypt /home/buildozer/aports/community/dmg2img/pkg/dmg2img/usr/bin >>> dmg2img*: Running postcheck for dmg2img >>> dmg2img*: Preparing package dmg2img... >>> dmg2img*: Stripping binaries >>> dmg2img*: Scanning shared objects >>> dmg2img*: Tracing dependencies... so:libbz2.so.1 so:libc.musl-armv7.so.1 so:libcrypto.so.3 so:libz.so.1 >>> dmg2img*: Package size: 34.5 KB >>> dmg2img*: Compressing data... >>> dmg2img*: Create checksum... >>> dmg2img*: Create dmg2img-1.6.7-r1.apk >>> dmg2img: Build complete at Fri, 01 Nov 2024 20:20:22 +0000 elapsed time 0h 0m 12s >>> dmg2img: Cleaning up srcdir >>> dmg2img: Cleaning up pkgdir >>> dmg2img: Uninstalling dependencies... (1/5) Purging .makedepends-dmg2img (20241101.202021) (2/5) Purging bzip2-dev (1.0.8-r6) (3/5) Purging libbz2 (1.0.8-r6) (4/5) Purging openssl-dev (3.3.2-r3) (5/5) Purging zlib-dev (1.3.1-r2) OK: 271 MiB in 101 packages >>> dmg2img: Updating the community/armv7 repository index... >>> dmg2img: Signing the index...