From nobody Mon Dec 30 01:22:25 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YLyy95QK5z5j7ZG for ; Mon, 30 Dec 2024 01:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLyy91S6mz4r1K for ; Mon, 30 Dec 2024 01:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735521745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=afBkap9sLa9HuLHq+QrNdsbYwmCpQNpiq0FIrHL/y74=; b=KC2f2yed9OOPYftWpAZS1DsLkBXsgUYnfl1m/Cr3gePb3HoBZMKUWYe2jxGvT/9aLzRckG iVI8TUO+ewlYAXcEloXvoq1rdehVsTHfwUyXjpXOuCRyoXT6TSz5uHAjR/zp+VmXqtay/D vIYxNS8KehIMVFISk0CWS2PVEYZxyXQEcbNzDrv2sbkiJWwVPPjdNdT0SrEOaq4iloxORD D0PJLlwDGKuiYwjLqOtZePRo7u2HLF6TfV8Nuap/M6iR+VVEFZKHSYSMPYftMkDGwetSAW XL/eUvnndztIzZVZ68X/j+ekqD9t5uA0qFKujnI9bUnhD6rgu4KABqklZi+utA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735521745; a=rsa-sha256; cv=none; b=wuBE8fk3g7fYL44MItBizqbLVvuG789Sylqt24vZKiXrNc1Q6WApEh37CwbkkeO3NsjwKc BGNs7h0XHl9I5lGE2rhFRBGUZ0PP4m0M8iOmJxlP8e8kEzVQaXE+TKLLDnF707qTxxWII4 0/4+q9srCU9XvBiw+QFFe58ACXjPzzB0LRovNyqO72fdySKeSJe9QwQM7akiXHHAXqV2AE L4YN8kEJvkz4NUmqgroWpBeiwyyTqjHnqPZ5HVUoQJHejEzyXskftBHApCTaSjPLdgsUvM oCtTtUXQHeQQ/EQltBM7tRA//AdHn9CinUD/ngOiCfJ+1YsbIpUf6/iidho97A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YLyy90yrCzYyy for ; Mon, 30 Dec 2024 01:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BU1MO6E069609 for ; Mon, 30 Dec 2024 01:22:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BU1MOLr069608 for ports-bugs@FreeBSD.org; Mon, 30 Dec 2024 01:22:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyODEwMjhdIHd3dy9oaWF3YXRoYTogdXBkYXRlIDExLjIg?= =?UTF-8?B?4oaSIDExLjY=?= Date: Mon, 30 Dec 2024 01:22:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cpetrik@proton.me X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281028 Chris Petrik changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cpetrik@proton.me --- Comment #12 from Chris Petrik --- It is going to be a royal pain to hack each new Hiawatha version due to lac= k of interest in updating mbedtls and most people aren't going to waste there ti= me with it. why would I use the port when I can just use the internal lib that= is as new as it gets as Hugo was awesome about this. Now why can't we just use the internal lib live ive done with OpenBSD and NetBSD is beyond me and again this has been a issue for 4 years now. hacking software isn't the way to go when you can easily import mbedtls3 and use th= at making it easier in the long run to run as well as a starting point for peo= ple to update the code from 2.x FAILED: CMakeFiles/hiawatha.dir/src/tls.c.o /usr/bin/cc -I/home/chris/buildports/www/hiawatha/work/hiawatha-11.6 -I/usr/local/include/libxml2 -O2 -Wall -Wextra -O2 -pipe=20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -gdwarf-4 -O2 -g -DNDEBUG -MD -MT CMakeFiles/hiawatha.dir/src/tls.c.o -MF CMakeFiles/hiawatha.dir/src/tls.c.o.d -o CMakeFiles/hiawatha.dir/src/tls.c.= o -c /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:69:2: erro= r: use of undeclared identifier 'MBEDTLS_TLS1_3_CHACHA20_POLY1305_SHA256'; did= you mean 'MBEDTLS_CIPHER_CHACHA20_POLY1305'? 69 | MBEDTLS_TLS1_3_CHACHA20_POLY1305_SHA256, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MBEDTLS_CIPHER_CHACHA20_POLY1305 /usr/local/include/mbedtls/cipher.h:172:5: note: 'MBEDTLS_CIPHER_CHACHA20_POLY1305' declared here 172 | MBEDTLS_CIPHER_CHACHA20_POLY1305, /**< ChaCha20-Poly1305 AEAD cipher. */ | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:70:2: erro= r: use of undeclared identifier 'MBEDTLS_TLS1_3_AES_256_GCM_SHA384' 70 | MBEDTLS_TLS1_3_AES_256_GCM_SHA384, | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:71:2: erro= r: use of undeclared identifier 'MBEDTLS_TLS1_3_AES_128_GCM_SHA256' 71 | MBEDTLS_TLS1_3_AES_128_GCM_SHA256, | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:72:2: erro= r: use of undeclared identifier 'MBEDTLS_TLS1_3_AES_128_CCM_SHA256' 72 | MBEDTLS_TLS1_3_AES_128_CCM_SHA256, | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:233:2: err= or: use of undeclared identifier 'psa_status_t' 233 | psa_status_t psa_status; | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:244:2: warning: call to undeclared function 'mbedtls_ssl_conf_min_tls_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | mbedtls_ssl_conf_min_tls_version(*tls_config, MBEDTLS_SSL_VERSION_TLS1_2); | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:244:48: er= ror: use of undeclared identifier 'MBEDTLS_SSL_VERSION_TLS1_2' 244 | mbedtls_ssl_conf_min_tls_version(*tls_config, MBEDTLS_SSL_VERSION_TLS1_2); | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:245:2: warning: call to undeclared function 'mbedtls_ssl_conf_max_tls_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | mbedtls_ssl_conf_max_tls_version(*tls_config, MBEDTLS_SSL_VERSION_TLS1_3); | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:245:48: er= ror: use of undeclared identifier 'MBEDTLS_SSL_VERSION_TLS1_3' 245 | mbedtls_ssl_conf_max_tls_version(*tls_config, MBEDTLS_SSL_VERSION_TLS1_3); | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:280:2: err= or: use of undeclared identifier 'psa_status' 280 | psa_status =3D psa_crypto_init(); | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:280:15: warning: call to undeclared function 'psa_crypto_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | psa_status =3D psa_crypto_init(); | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:281:6: err= or: use of undeclared identifier 'psa_status' 281 | if (psa_status !=3D PSA_SUCCESS) { | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:281:20: er= ror: use of undeclared identifier 'PSA_SUCCESS' 281 | if (psa_status !=3D PSA_SUCCESS) { | ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:282:88: er= ror: use of undeclared identifier 'psa_status' 282 | mbedtls_fprintf(stderr, "Failed to initialize PSA Crypto implementation: %d\n", (int)psa_status); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:347:67: er= ror: too many arguments to function call, expected 3, have 5 347 | if ((result =3D mbedtls_pk_parse_keyfile(*private_key, file, NULL, mbedtls_psa_get_random, MBEDTLS_PSA_RANDOM_STATE)) !=3D 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/mbedtls/pk.h:751:5: note: 'mbedtls_pk_parse_keyfile' declared here 751 | int mbedtls_pk_parse_keyfile(mbedtls_pk_context *ctx, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 752 | const char *path, const char *password= ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/chris/buildports/www/hiawatha/work/hiawatha-11.6/src/tls.c:461:20: er= ror: use of undeclared identifier 'MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE' 461 | if (handshake =3D=3D MBEDTLS_ERR_SSL_HANDSHAKE_FAIL= URE) { | ^ 3 warnings and 13 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /home/chris/buildports/www/hiawatha *** Error code 1 Stop. make: stopped in /home/chris/buildports/www/hiawatha --=20 You are receiving this mail because: You are the assignee for the bug.=