[Bug 290228] net-mgmt/nrpe fails to build without the SSL option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Oct 2025 13:27:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290228

            Bug ID: 290228
           Summary: net-mgmt/nrpe fails to build without the SSL option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: freebsd-bugzilla@thismonkey.com
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Hi,
after deselecting SSL via make config, the port (nrpe-4.1.3) fails to build:

/usr/ports/net-mgmt/nrpe# make
===>  Building for nrpe-4.1.3
--- all ---
cd ./src/; /usr/bin/make
--- nrpe ---
--- check_nrpe ---
--- nrpe ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -I
../include -I ./../include -o nrpe ./nrpe.c utils.o  ./acl.c   -lwrap
--- check_nrpe ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DHAVE_CONFIG_H -I
../include -I ./../include -o check_nrpe ./check_nrpe.c utils.o
--- nrpe ---
In file included from ./nrpe.c:44:
../include/nrpe-ssl.h:47:50: error: unknown type name 'X509_STORE_CTX'
   47 | int ssl_verify_callback_common(int preverify_ok, X509_STORE_CTX * ctx,
int is_invalid);
      |                                                  ^
--- check_nrpe ---
In file included from ./check_nrpe.c:44:
../include/nrpe-ssl.h:47:50: error: unknown type name 'X509_STORE_CTX'
   47 | int ssl_verify_callback_common(int preverify_ok, X509_STORE_CTX * ctx,
int is_invalid);
      |                                                  ^
--- nrpe ---
./nrpe.c:577:23: warning: relational comparison result unused
[-Wunused-comparison]
  577 |         for (i = 0, j = 0; i < length, j < length; i++, j++) {
      |                            ~~^~~~~~~~
--- check_nrpe ---
1 error generated.
--- nrpe ---
1 warning and 1 error generated.
--- check_nrpe ---
*** [check_nrpe] Error code 1

make[1]: stopped in /usr/ports/net-mgmt/nrpe/work-default/nrpe-nrpe-4.1.3/src
--- nrpe ---
*** [nrpe] Error code 1

make[1]: stopped in /usr/ports/net-mgmt/nrpe/work-default/nrpe-nrpe-4.1.3/src
2 errors

make[1]: stopped in /usr/ports/net-mgmt/nrpe/work-default/nrpe-nrpe-4.1.3/src
*** [all] Error code 2

make: stopped in /usr/ports/net-mgmt/nrpe/work-default/nrpe-nrpe-4.1.3
1 error

make: stopped in /usr/ports/net-mgmt/nrpe/work-default/nrpe-nrpe-4.1.3
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/nrpe

-- 
You are receiving this mail because:
You are the assignee for the bug.