<86>Aug 25 00:56:57 userdel[1091806]: delete user 'rooter'
<86>Aug 25 00:56:57 userdel[1091806]: removed group 'rooter' owned by 'rooter'
<86>Aug 25 00:56:57 userdel[1091806]: removed shadow group 'rooter' owned by 'rooter'
<86>Aug 25 00:56:58 groupadd[1091874]: group added to /etc/group: name=rooter, GID=1226
<86>Aug 25 00:56:58 groupadd[1091874]: group added to /etc/gshadow: name=rooter
<86>Aug 25 00:56:58 groupadd[1091874]: new group: name=rooter, GID=1226
<86>Aug 25 00:56:58 useradd[1091932]: new user: name=rooter, UID=1226, GID=1226, home=/root, shell=/bin/bash, from=none
<86>Aug 25 00:56:58 userdel[1092016]: delete user 'builder'
<86>Aug 25 00:56:58 userdel[1092016]: removed group 'builder' owned by 'builder'
<86>Aug 25 00:56:58 userdel[1092016]: removed shadow group 'builder' owned by 'builder'
<86>Aug 25 00:56:58 groupadd[1092120]: group added to /etc/group: name=builder, GID=1227
<86>Aug 25 00:56:58 groupadd[1092120]: group added to /etc/gshadow: name=builder
<86>Aug 25 00:56:58 groupadd[1092120]: new group: name=builder, GID=1227
<86>Aug 25 00:56:58 useradd[1092189]: new user: name=builder, UID=1227, GID=1227, home=/usr/src, shell=/bin/bash, from=none
warning: line 63: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-plugins
<13>Aug 25 00:57:03 rpmi: libp11-kit-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083439 installed
<13>Aug 25 00:57:03 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed
<13>Aug 25 00:57:03 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Aug 25 00:57:03 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Aug 25 00:57:03 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed
<13>Aug 25 00:57:03 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Aug 25 00:57:03 rpmi: p11-kit-trust-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083439 installed
<13>Aug 25 00:57:03 rpmi: libcrypto3-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed
<13>Aug 25 00:57:03 rpmi: libssl3-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed
<13>Aug 25 00:57:03 rpmi: libssl-devel-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed
<13>Aug 25 00:57:03 rpmi: openssl-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed
warning: line 63: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-plugins
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/nagios-nrpe-3.2.1-alt7.nosrc.rpm (w1.gzdio)
warning: line 58: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-plugins
Installing nagios-nrpe-3.2.1-alt7.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.23213
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf nagios-nrpe-3.2.1
+ echo 'Source #0 (nagios-nrpe-3.2.1.tar):'
Source #0 (nagios-nrpe-3.2.1.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/nagios-nrpe-3.2.1.tar
+ cd nagios-nrpe-3.2.1
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (nrpe-3.2.1-alt-config.patch):'
Patch #0 (nrpe-3.2.1-alt-config.patch):
+ /usr/bin/patch -p1
patching file contrib/README.nrpe_check_control
patching file sample-config/nrpe.cfg.in
Hunk #1 succeeded at 58 (offset 17 lines).
Hunk #2 succeeded at 187 with fuzz 2 (offset 15 lines).
Hunk #3 succeeded at 287 (offset 98 lines).
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.23213
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd nagios-nrpe-3.2.1
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ sort -u
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ echo 'rpm-build: warning: ./configure script does not support --runstatedir'
rpm-build: warning: ./configure script does not support --runstatedir
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-nrpe-user=nagios --with-nrpe-group=nagiosnew --with-nrpe-port=65534 --enable-ssl --disable-command-args --with-pluginsdir=/usr/lib/nagios/plugins --with-piddir=/run
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking for a BSD-compatible install... /bin/install -c
checking what the operating system is ... linux
checking what the distribution type is ... altlinux
checking what init system is being used ... /proc/self/stat: No such file or directory
unknown
checking what inetd is being used ... /proc/self/stat: No such file or directory
unknown
checking for which paths to use ... default
checking for which init file to use ... unknown
checking for which inetd files to use ... unknown
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking tcpd.h usability... no
checking tcpd.h presence... no
checking for tcpd.h... no
checking for unistd.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking for uint32_t... yes
checking for u_int32_t... yes
checking for int32_t... yes
checking for struct sockaddr_storage... yes
checking for seteuid... yes
checking for va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for C99 vsnprintf... yes
checking for getopt_long... yes
checking for main in -lnsl... no
checking for socket in -lsocket... no
checking for main in -lwrap... no
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for strtok_r... yes
checking for initgroups... yes
checking for closesocket... no
checking for sigaction... yes
checking for scandir... yes
checking for socklen_t... yes
checking for type of socket size... size_t
checking for Kerberos include files... configure: WARNING: could not find include files
checking for x86_64-alt-linux-pkg-config... no
checking for pkg-config... pkg-config
checking whether compiling and linking against SSL works... yes
checking for openssl... /usr/bin/openssl

*** Generating DH Parameters for SSL/TLS ***
dhparam: Unknown option: -C
dhparam: Use -help for summary.
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating nrpe.spec
config.status: creating uninstall
config.status: creating sample-config/nrpe.cfg
config.status: creating startup/bsd-init
config.status: creating startup/debian-init
config.status: creating startup/default-init
config.status: creating startup/default-inetd
config.status: creating startup/default-service
config.status: creating startup/default-socket
config.status: creating startup/default-socket-svc
config.status: creating startup/default-xinetd
config.status: creating startup/mac-init.plist
config.status: creating startup/mac-inetd.plist
config.status: creating startup/newbsd-init
config.status: creating startup/openbsd-init
config.status: creating startup/openrc-conf
config.status: creating startup/openrc-init
config.status: creating startup/solaris-init.xml
config.status: creating startup/solaris-inetd.xml
config.status: creating startup/tmpfile.conf
config.status: creating startup/upstart-init
config.status: creating startup/rh-upstart-init
config.status: creating include/common.h
config.status: creating include/config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext


*** Configuration summary for nrpe 3.2.1 2017-09-01 ***:

 General Options:
 -------------------------
 NRPE port:    65534
 NRPE user:    nagios
 NRPE group:   nagiosnew
 Nagios user:  nagios
 Nagios group: nagios


Review the options above for accuracy.  If they look okay,
type 'make all' to compile the NRPE daemon and client
or type 'make' to get a list of make options.

+ make -j8 all
cd ./src/; make
make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-nrpe-3.2.1/src'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -DHAVE_CONFIG_H -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -lssl -lcrypto   
./check_nrpe.c: In function 'setup_ssl':
./check_nrpe.c:825:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  825 |                 ENGINE_load_builtin_engines();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/common.h:36,
                 from ./check_nrpe.c:40:
/usr/include/openssl/engine.h:358:28: note: declared here
  358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:826:17: warning: 'RAND_set_rand_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  826 |                 RAND_set_rand_engine(NULL);
      |                 ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/common.h:35:
/usr/include/openssl/rand.h:52:27: note: declared here
   52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine);
      |                           ^~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:827:17: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  827 |                 ENGINE_register_all_complete();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/engine.h:415:27: note: declared here
  415 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:867:9: warning: enumeration value 'SSL_Ver_Invalid' not handled in switch [-Wswitch]
  867 |         switch(sslprm.ssl_proto_ver) {
      |         ^~~~~~
./check_nrpe.c:867:9: warning: enumeration value 'SSLv2' not handled in switch [-Wswitch]
./check_nrpe.c:867:9: warning: enumeration value 'SSLv2_plus' not handled in switch [-Wswitch]
./check_nrpe.c:924:33: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  924 |                                 while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                                 ^~~~~
In file included from ../include/common.h:34:
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:933:33: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  933 |                                 while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                                 ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:946:33: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  946 |                                 while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                                 ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:973:25: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  973 |                         while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                         ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c: In function 'connect_to_remote':
./check_nrpe.c:1047:25: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1047 |                         while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                         ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:1055:25: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1055 |                         while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                         ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./check_nrpe.c:1102:30: warning: unused variable 'peer_cn' [-Wunused-variable]
 1102 |                         char peer_cn[256], buffer[2048];
      |                              ^~~~~~~
./check_nrpe.c: In function 'verify_callback':
./check_nrpe.c:1549:14: warning: variable 'ssl' set but not used [-Wunused-but-set-variable]
 1549 |         SSL *ssl;
      |              ^~~
./utils.c: In function 'clean_environ':
./utils.c:273:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  273 |                 asprintf(&keep, "%s,NRPE_MULTILINESUPPORT,NRPE_PROGRAMVERSION", keep_env_vars);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./utils.c:275:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  275 |                 asprintf(&keep, "NRPE_MULTILINESUPPORT,NRPE_PROGRAMVERSION");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-nrpe-3.2.1/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-nrpe-3.2.1/src'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto  -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto    
./nrpe.c: In function 'main':
./nrpe.c:167:19: warning: unused variable 'y' [-Wunused-variable]
  167 |         uint32_t  y;
      |                   ^
./nrpe.c: In function 'init_ssl':
./nrpe.c:285:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  285 |         ENGINE_load_builtin_engines();
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/common.h:36,
                 from ./nrpe.c:38:
/usr/include/openssl/engine.h:358:28: note: declared here
  358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c:286:9: warning: 'RAND_set_rand_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  286 |         RAND_set_rand_engine(NULL);
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/common.h:35:
/usr/include/openssl/rand.h:52:27: note: declared here
   52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine);
      |                           ^~~~~~~~~~~~~~~~~~~~
./nrpe.c:287:9: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  287 |         ENGINE_register_all_complete();
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/engine.h:415:27: note: declared here
  415 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c:351:9: warning: enumeration value 'SSLv2' not handled in switch [-Wswitch]
  351 |         switch(sslprm.ssl_proto_ver) {
      |         ^~~~~~
./nrpe.c:351:9: warning: enumeration value 'SSLv2_plus' not handled in switch [-Wswitch]
./nrpe.c:432:25: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  432 |                         while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                         ^~~~~
In file included from ../include/common.h:34:
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c:456:22: warning: implicit declaration of function 'get_dh2048' [-Wimplicit-function-declaration]
  456 |                 dh = get_dh2048();
      |                      ^~~~~~~~~~
./nrpe.c:456:20: warning: assignment to 'DH *' {aka 'struct dh_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  456 |                 dh = get_dh2048();
      |                    ^
./nrpe.c:458:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  458 |                 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:31,
                 from ../include/common.h:32:
/usr/include/openssl/dh.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
./nrpe.c: In function 'verify_callback':
./nrpe.c:725:19: warning: variable 'ssl' set but not used [-Wunused-but-set-variable]
  725 |         SSL      *ssl;
      |                   ^~~
./nrpe.c: In function 'read_config_file':
./nrpe.c:751:21: warning: unused variable 'st' [-Wunused-variable]
  751 |         struct stat st;
      |                     ^~
./nrpe.c: In function 'handle_conn_ssl':
./nrpe.c:1930:25: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1930 |                         while ((x = ERR_get_error_line_data(NULL, NULL, NULL, NULL)) != 0) {
      |                         ^~~~~
/usr/include/openssl/err.h:425:15: note: declared here
  425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c: In function 'init':
./nrpe.c:243:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  243 |         asprintf(&env_string, "NRPE_MULTILINESUPPORT=1");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./nrpe.c:245:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  245 |         asprintf(&env_string, "NRPE_PROGRAMVERSION=%s", PROGRAM_VERSION);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./nrpe.c:41:
../include/acl.h: At top level:
../include/acl.h:61:39: warning: 'dns_acl_prev' defined but not used [-Wunused-variable]
   61 | static struct dns_acl *dns_acl_head, *dns_acl_prev;
      |                                       ^~~~~~~~~~~~
../include/acl.h:61:24: warning: 'dns_acl_head' defined but not used [-Wunused-variable]
   61 | static struct dns_acl *dns_acl_head, *dns_acl_prev;
      |                        ^~~~~~~~~~~~
../include/acl.h:60:37: warning: 'ip_acl_prev' defined but not used [-Wunused-variable]
   60 | static struct ip_acl *ip_acl_head, *ip_acl_prev;
      |                                     ^~~~~~~~~~~
../include/acl.h:60:23: warning: 'ip_acl_head' defined but not used [-Wunused-variable]
   60 | static struct ip_acl *ip_acl_head, *ip_acl_prev;
      |                       ^~~~~~~~~~~
./utils.c: In function 'clean_environ':
./utils.c:273:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  273 |                 asprintf(&keep, "%s,NRPE_MULTILINESUPPORT,NRPE_PROGRAMVERSION", keep_env_vars);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./utils.c:275:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  275 |                 asprintf(&keep, "NRPE_MULTILINESUPPORT,NRPE_PROGRAMVERSION");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: /usr/src/tmp/ccSTFegV.ltrans0.ltrans.o: in function `main':
/usr/src/RPM/BUILD/nagios-nrpe-3.2.1/src/./nrpe.c:456: undefined reference to `get_dh2048'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:48: nrpe] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-nrpe-3.2.1/src'
make: *** [Makefile:65: all] Error 2
error: Bad exit status from /usr/src/tmp/rpm-tmp.23213 (%build)


RPM build errors:
    line 58: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-plugins
    Bad exit status from /usr/src/tmp/rpm-tmp.23213 (%build)
Command exited with non-zero status 1
7.52user 3.82system 0:10.13elapsed 112%CPU (0avgtext+0avgdata 47016maxresident)k
0inputs+0outputs (0major+721112minor)pagefaults 0swaps
hsh-rebuild: rebuild of `nagios-nrpe-3.2.1-alt7.src.rpm' failed.
Command exited with non-zero status 1
5.66user 2.69system 0:22.94elapsed 36%CPU (0avgtext+0avgdata 125316maxresident)k
0inputs+0outputs (0major+187660minor)pagefaults 0swaps