>>> gatling: Building testing/gatling 0.16-r4 (using abuild 3.13.0-r5) started Mon, 23 Sep 2024 06:45:32 +0000 >>> gatling: Checking sanity of /home/buildozer/aports/testing/gatling/APKBUILD... >>> gatling: Analyzing dependencies... >>> gatling: Installing for build: build-base openssl-dev>3 libowfat-dev zlib-dev libcap-dev (1/6) Installing openssl-dev (3.3.2-r1) (2/6) Installing libowfat-dev (0.33-r0) (3/6) Installing zlib-dev (1.3.1-r2) (4/6) Installing linux-headers (6.6-r0) (5/6) Installing libcap-dev (2.70-r0) (6/6) Installing .makedepends-gatling (20240923.064537) OK: 262 MiB in 109 packages >>> gatling: Cleaning up srcdir >>> gatling: Cleaning up pkgdir >>> gatling: Cleaning up tmpdir >>> gatling: Fetching https://distfiles.alpinelinux.org/distfiles/edge/gatling-0.16.tar.xz >>> gatling: Fetching https://distfiles.alpinelinux.org/distfiles/edge/gatling-0.16.tar.xz >>> gatling: Checking sha512sums... gatling-0.16.tar.xz: OK build-fixes.patch: OK gatling.confd: OK gatling.initd: OK >>> gatling: Unpacking /var/cache/distfiles/gatling-0.16.tar.xz... >>> gatling: build-fixes.patch patching file ssl.c rm -f havealloca.h echo "#include " > havealloca.h if gcc -pipe -Wall -O2 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -c tryalloca.c -DA >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h if gcc -pipe -Wall -O2 -fomit-frame-pointer -I/usr/local/include -DUSE_ZLIB -c tryalloca.c -DB >/dev/null 2>&1; then echo "#include "; fi >> havealloca.h rm -f tryalloca.o rm -f havesetresuid.h if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o tryresuid trysetresuid.c >/dev/null 2>&1; then echo "#define LIBC_HAS_SETRESUID"; fi > havesetresuid.h (head -n 1 CHANGES | sed 's/\([^:]*\):/#define VERSION "\1"/') > version.h if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trymd5 trymd5.c >/dev/null 2>&1; then echo ""; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trymd5 trymd5.c -lmd >/dev/null 2>&1; then echo "-lmd"; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trymd5 trymd5.c -lcrypto >/dev/null 2>&1; then echo "-lcrypto"; \ fi; fi; fi > md5lib if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl"; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trysocket trysocket.c -lwsock32 >/dev/null 2>&1; then echo "-lwsock32"; \ fi; fi; fi; fi > libsocket if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o tryiconv tryiconv.c >/dev/null 2>&1; then echo ""; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o tryiconv tryiconv.c -liconv >/dev/null 2>&1; then echo "-liconv"; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o tryiconv tryiconv.c -L/usr/local/lib -liconv >/dev/null 2>&1; then \ echo "-L/usr/local/lib -liconv"; \ fi; fi; fi > libiconv touch dummy.c if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trycrypt trycrypt.c >/dev/null 2>&1; then echo ""; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o trycrypt trycrypt.c -lcrypt >/dev/null 2>&1; then echo "-lcrypt"; \ fi; fi > libcrypt gcc -c ssl.c -o ssl.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o tryssl ssl.c -DMAIN -lowfat -lssl -lcrypto >/dev/null 2>&1 ; then echo ""; else \ if gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat -o tryssl ssl.c -DMAIN -lowfat -lssl -lcrypto -lpthread >/dev/null 2>&1 ; then echo "-lpthread"; \ fi; fi > libsslpthread gcc -c mime.c -o mime.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c ftp.c -o ftp.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c http.c -o http.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c smb.c -o smb.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c common.c -o common.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c connstat.c -o connstat.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c httpstream.c -o httpstream.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c dirfd.c -o dirfd.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat gcc -c dummy.c -o dummy.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat In file included from ssl.c:6: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ common.c: In function 'open_for_writing': common.c:54:7: error: implicit declaration of function 'alloca'; did you mean 'calloc'? [-Wimplicit-function-declaration] 54 | x=alloca(c-name+1); | ^~~~~~ | calloc common.c:54:6: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 54 | x=alloca(c-name+1); | ^ rm -f tryiconv rm -f tryresuid common.c: In function 'ip_vhost': common.c:157:4: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 157 | y=alloca(IP6_FMT+7); | ^ gcc -c gatling.c -o gatling.o -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -std=c99 -I/usr/include/libowfat ftp.c: In function 'ftp_open': ftp.c:42:11: error: implicit declaration of function 'alloca'; did you mean 'calloc'? [-Wimplicit-function-declaration] 42 | char* x=alloca(l+str_len(s)+5); | ^~~~~~ | calloc ftp.c:42:11: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] ftp.c: In function 'ftp_list': ftp.c:286:11: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 286 | char* x=alloca(l+str_len(s)+5); | ^~~~~~ make: *** [GNUmakefile:139: common.o] Error 1 make: *** Waiting for unfinished jobs.... ftp.c:384:19: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 384 | pathprefix=alloca(z+2); | ^ ftp.c:404:17: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 404 | pathprefix=alloca(z+2); | ^ ftp.c: In function 'ftp_cwd': ftp.c:506:11: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 506 | char* x=alloca(l+str_len(s)+5); | ^~~~~~ rm -f trycrypt make: *** [GNUmakefile:139: ftp.o] Error 1 http.c: In function 'get_md5_randomness': rm -f trysocket http.c:2215:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2215 | MD5Init(&md5_ctx); | ^~~~~~~ In file included from http.c:36: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ http.c:2216:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2216 | MD5Update(&md5_ctx,buf,16); | ^~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http.c:2219:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2219 | MD5Update(&md5_ctx,randomness,len); | ^~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ http.c:2221:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2221 | MD5Final((uint8_t*)digest,&temp); | ^~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ rm -f trymd5 ssl.c: In function 'new_context': ssl.c:96:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 96 | if ((dh=PEM_read_bio_DHparams(bio,NULL,NULL,NULL))) { | ^~ In file included from /usr/include/openssl/ssl.h:37, from ssl.c:9: /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ssl.c:102:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 102 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ssl.c: In function 'init_clientside_tls': ssl.c:329:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ssl.c:10: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f tryssl >>> ERROR: gatling: build failed >>> gatling: Uninstalling dependencies... (1/6) Purging .makedepends-gatling (20240923.064537) (2/6) Purging openssl-dev (3.3.2-r1) (3/6) Purging libowfat-dev (0.33-r0) (4/6) Purging zlib-dev (1.3.1-r2) (5/6) Purging libcap-dev (2.70-r0) (6/6) Purging linux-headers (6.6-r0) OK: 251 MiB in 103 packages