>>> dmg2img: Building community/dmg2img 1.6.7-r1 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 23:43:49 +0000 >>> dmg2img: Checking sanity of /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.0-r1) (4/5) Installing zlib-dev (1.3.1-r1) (5/5) Installing .makedepends-dmg2img (20240426.234356) OK: 474 MiB in 112 packages >>> dmg2img: Cleaning up srcdir >>> dmg2img: Cleaning up pkgdir >>> dmg2img: Cleaning up tmpdir >>> dmg2img: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/dmg2img-1.6.7.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> dmg2img: Fetching http://vu1tur.eu.org/tools/dmg2img-1.6.7.tar.gz Connecting to vu1tur.eu.org (91.239.234.18:80) saving to '/var/cache/distfiles/v3.20/dmg2img-1.6.7.tar.gz.part' dmg2img-1.6.7.tar.gz 100% |********************************| 23238 0:00:00 ETA '/var/cache/distfiles/v3.20/dmg2img-1.6.7.tar.gz.part' saved >>> dmg2img: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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.20/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-x86_64.so.1 so:libcrypto.so.3 so:libz.so.1 >>> dmg2img*: Package size: 68.0 KB >>> dmg2img*: Compressing data... >>> dmg2img*: Create checksum... >>> dmg2img*: Create dmg2img-1.6.7-r1.apk >>> dmg2img: Build complete at Fri, 26 Apr 2024 23:44:00 +0000 elapsed time 0h 0m 11s >>> dmg2img: Cleaning up srcdir >>> dmg2img: Cleaning up pkgdir >>> dmg2img: Uninstalling dependencies... (1/5) Purging .makedepends-dmg2img (20240426.234356) (2/5) Purging bzip2-dev (1.0.8-r6) (3/5) Purging libbz2 (1.0.8-r6) (4/5) Purging openssl-dev (3.3.0-r1) (5/5) Purging zlib-dev (1.3.1-r1) OK: 472 MiB in 107 packages >>> dmg2img: Updating the community/x86_64 repository index... >>> dmg2img: Signing the index...