Running phase: unpackPhase unpacking source archive /nix/store/grz4b0v08v0wd2w7qrg2a5qvl459ql4n-source source root is source Running phase: patchPhase substituteStream() in derivation gmnisrv-1.0: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'config.sh') Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#!/bin/sh -e" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh -e" configure flags: --prefix=/nix/store/ll5jw5l4r257hahmnajz89j113nv776j-gmnisrv-1.0 Checking for -g... yes Checking for -std=c11... yes Checking for -D_XOPEN_SOURCE=700... yes Checking for -Wall... yes Checking for -Wextra... yes Checking for -Werror... yes Checking for -pedantic... yes Checking for OpenSSL... OK Checking for OpenSSL... OK Checking for scdoc... yes Creating .build/config.mk... done Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash CC src/config.o CC src/escape.o CC src/ini.o CC src/log.o CC src/main.o CC src/mime.o CC src/regexp.o CC src/serve.o CC src/server.o CC src/tls.o src/tls.c: In function 'tls_host_gencert': src/tls.c:35:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 35 | EC_KEY* ec_key = EC_KEY_new_by_curve_name(NID_secp384r1); | ^~~~~~ In file included from /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/x509.h:33, from /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/pem.h:23, from src/tls.c:6: /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/tls.c:37:9: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 37 | int r = EC_KEY_generate_key(ec_key); | ^~~ /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ src/tls.c:40:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 40 | EVP_PKEY_assign_EC_KEY(pkey, ec_key); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/pem.h:22: /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include/openssl/evp.h:1345:5: note: declared here 1345 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ CC src/url.o src/url.c: In function 'curl_url': src/url.c:1026:24: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Werror=calloc-transposed-args8;;] 1026 | return calloc(sizeof(struct Curl_URL), 1); | ^~~~~~ src/url.c:1026:24: note: earlier argument should specify number of elements, later size of each element src/url.c: In function 'curl_url_dup': src/url.c:1046:38: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcalloc-transposed-args-Werror=calloc-transposed-args8;;] 1046 | struct Curl_URL *u = calloc(sizeof(struct Curl_URL), 1); | ^~~~~~ src/url.c:1046:38: note: earlier argument should specify number of elements, later size of each element cc1: all warnings being treated as errors make: *** [Makefile:20: src/url.o] Error 1