From nobody Wed May 3 01:01:45 2023 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 4Q9zDV3J4zz48PGp for ; Wed, 3 May 2023 01:01:46 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q9zDV0WZ5z418C for ; Wed, 3 May 2023 01:01:46 +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=1683075706; 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; bh=korNYPZIFMWl40BBINDU/E1IN/5uLDFgMCWWrgUIQ+c=; b=EkrrLMxc0ZxO3gMFBoREyMC4uPcMqm95TRpe674uDW12hRlpCsIGewN5OWyejp0bbwJGq4 6hFvEvzJogCb2XTdWyFZdw+XQG81SJby5CxgZXeVHCzVEw01dvhTb1TvAPkogZ2ftNHAbh gjxARH2nL7z2kEAvRWifP6OfXtPEUkzFMLmvM+PMlrJJ00dYLl4w2Rn2MiJnkhLfFNnAxF cFhzv+uUcvzI29dOcPFVUkv8mBHE3uiLzsh7LuxV8KMbLA0Un15atb8cIpuTkSss7bHpfK ejCmhCl/WQQQ/vLJzBFpzVGGWWiNvyJJAdiUR05HWqik/aMojczrVt7/bbueFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683075706; a=rsa-sha256; cv=none; b=gcQu0GpOKKkYxc51Ba+Q7AmbOxcxBERfmggAh29Anpvw8SGv4+UQO05a1W48Env8LmTn+3 IR+vELw0YjENBCkUk7EvUuXdougrW63qzv3pcFmCLiwNKPdSbPkJo4IpQF6lI8hG7h9bNV v1Ej1c5kX2lbjKUkhg3WyDMwy0yx4K0co4wopn6ajI/K9wgwyBTbh6OF2rht9rwk+TOxCn oXUrI75OWU8dYkvCvpPnkmqpziG4fvA9ZuCbRWVLf6xC9WOOGcf2MpC8oksk8cAxlFq5M7 tu8afCOUcdfCugYEHK8kPA4H17sApj7wbzzOB01Q6w7N+GAgUEIKabcYoQaWdg== 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 4Q9zDT6Q0Dz18fs for ; Wed, 3 May 2023 01:01:45 +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 34311jRg017888 for ; Wed, 3 May 2023 01:01:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34311j6p017886 for ports-bugs@FreeBSD.org; Wed, 3 May 2023 01:01:45 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: [Bug 271219] net-mgmt/nrpe3: fails to build with OpenSSL 3 Date: Wed, 03 May 2023 01:01:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271219 Bug ID: 271219 Summary: net-mgmt/nrpe3: fails to build with OpenSSL 3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org The port fails to compile/link against OpenSSL 3 because it's using depreca= ted OpenSSL APIs. There's a newer version upstream which seems to support OpenSSL 3. It's 4.1= .0+ according to the changelog: https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md#410---20= 22-07-18 From https://pkg.bofh.network/data/MAIN-default-openssl3/2023-05-03_02h33m48s/lo= gs/errors/nrpe3-3.2.1.log : ./nrpe.c:285:2: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations] ENGINE_load_builtin_engines(); ^ /usr/local/include/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engin= es' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./nrpe.c:286:2: warning: 'RAND_set_rand_engine' is deprecated [-Wdeprecated-declarations] RAND_set_rand_engine(NULL); ^ /usr/local/include/openssl/rand.h:52:1: note: 'RAND_set_rand_engine' has be= en explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./nrpe.c:287:3: warning: 'ENGINE_register_all_complete' is deprecated [-Wdeprecated-declarations] ENGINE_register_all_complete(); ^ /usr/local/include/openssl/engine.h:415:1: note: 'ENGINE_register_all_compl= ete' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./nrpe.c:351:9: warning: enumeration values 'SSLv2' and 'SSLv2_plus' not handled in switch [-Wswitch] switch(sslprm.ssl_proto_ver) { ^~~~~~~~~~~~~~~~~~~~ ./nrpe.c:432:16: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL, NULL, N= ULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./nrpe.c:456:8: warning: call to undeclared function 'get_dh2048'; ISO C99 = and later do not support implicit function declarations [-Wimplicit-function-declaration] dh =3D get_dh2048(); ^ ./nrpe.c:456:6: warning: incompatible integer to pointer conversion assigni= ng to 'DH *' (aka 'struct dh_st *') from 'int' [-Wint-conversion] dh =3D get_dh2048(); ^ ~~~~~~~~~~~~ ./nrpe.c:458:3: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /usr/local/include/openssl/dh.h:200:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ --- check_nrpe --- ./check_nrpe.c:825:3: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations] ENGINE_load_builtin_engines(); ^ /usr/local/include/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engin= es' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:826:3: warning: 'RAND_set_rand_engine' is deprecated [-Wdeprecated-declarations] RAND_set_rand_engine(NULL); ^ /usr/local/include/openssl/rand.h:52:1: note: 'RAND_set_rand_engine' has be= en explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:827:4: warning: 'ENGINE_register_all_complete' is deprecated [-Wdeprecated-declarations] ENGINE_register_all_complete(); ^ /usr/local/include/openssl/engine.h:415:1: note: 'ENGINE_register_all_compl= ete' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:867:9: warning: enumeration values 'SSL_Ver_Invalid', 'SSLv2= ', and 'SSLv2_plus' not handled in switch [-Wswitch] switch(sslprm.ssl_proto_ver) { ^~~~~~~~~~~~~~~~~~~~ ./check_nrpe.c:924:17: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL,= NULL, NULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:933:17: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL,= NULL, NULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:946:17: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL,= NULL, NULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:973:16: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL, NULL, N= ULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:1047:16: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL, NULL, N= ULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ./check_nrpe.c:1055:16: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL, NULL, N= ULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ --- nrpe --- ./nrpe.c:1930:16: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations] while ((x =3D ERR_get_error_line_data(NULL, NULL, N= ULL, NULL)) !=3D 0) { ^ /usr/local/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ --- check_nrpe --- 10 warnings generated. --- nrpe --- 9 warnings generated. ld: error: undefined symbol: get_dh2048 >>> referenced by nrpe.c >>> /tmp/nrpe-f4469f.o:(init_ssl) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [nrpe] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/nrpe3/work/nrpe-nrpe-3.2.1/= src 1 error make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/nrpe3/work/nrpe-nrpe-3.2.1/= src *** [all] Error code 2 make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/nrpe3/work/nrpe-nrpe-3.2.1 1 error make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/nrpe3/work/nrpe-nrpe-3.2.1 --=20 You are receiving this mail because: You are the assignee for the bug.=