D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/medusa-2.3-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LuCPGQ
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dLhZ3M
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/medusa-2.3-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/medusa-2.3-build
+ rm -rf medusa-2.3
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/medusa-2.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd medusa-2.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ sed -e 's:$_dir/libssh2.so:/usr/lib64/libssh2.so:' -i configure.ac
+ sed -e s:/usr/local/lib:/usr/lib64: -i configure.ac
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E6YLsW
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/medusa-2.3-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd medusa-2.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-module-afp=yes
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking target system type... x86_64-mageia-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for x86_64-mageia-linux-gnu-gcc... 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of short... 2
checking whether to enable debugging... yes
configure: checking for pthread support...
checking for main in -lpthread... yes
configure: checking for dlopen/dlclose...
checking for dlclose in -ldl... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
configure: checking for OpenSSL Library and Header files...
checking /usr//include/openssl/ssl.h... found
checking for CRYPTO_lock in -lcrypto... no
configure: WARNING:  *** LibCrypto may be required for *BSD ***
checking for openssl/ssl.h... yes
checking for main in -lssl... yes
checking for openssl/crypto.h... yes
checking for main in -lssl... (cached) yes
configure: *** Checking module dependencies and enabling accordingly ***
configure: checking for AFPFS-NG Library and Header files...
checking for afpfs-ng/afp_protocol.h... yes
checking for main in -lafpclient... yes
checking whether to enable AFP module... yes
checking whether to enable CVS module... yes
checking whether to enable FTP module... yes
checking whether to enable HTTP module... yes
checking whether to enable IMAP module... yes
checking whether to enable MSSQL module... yes
checking whether to enable MYSQL module... yes
configure: checking for NCPFS Library and Header files...
checking for ncp/nwcalls.h... yes
checking for main in -lncp... yes
checking whether to enable NCP module... yes
checking whether to enable NNTP module... yes
checking whether to enable PCANYWHERE module... yes
checking whether to enable POP3 module... yes
configure: checking for PostgreSQL Library and Header files...
checking for libpq-fe.h... yes
checking for main in -lpq... yes
checking whether to enable POSTGRES module... yes
configure: checking for FreeRDP Library and Header files...
checking for freerdp/freerdp.h... yes
checking for main in -lfreerdp2... yes
checking whether to enable RDP module... yes
checking whether to enable REXEC module... yes
checking whether to enable RLOGIN module... yes
checking whether to enable RSH module... yes
checking whether to enable SMBNT module... yes
configure: checking for libsmb2 Library and Header files...
checking for smb2/libsmb2.h... no
configure: WARNING:  *** libsmb2 header files required for SMBNT module SMBv2 support. ***

      https://github.com/sahlberg/libsmb2

  
checking whether to enable SMBNT module SMBv2 support... no
checking whether to enable SMTP module... yes
checking whether to enable SMTP-VRFY module... yes
checking whether to enable SNMP module... yes
configure: checking for Libssh2 Library files...
checking for main in -lssh2... yes
checking whether to enable SSH module... yes
configure: checking for Subversion Library and Header files...
checking for apr-1-config... /usr/bin/apr-1-config
checking for /usr/include/apr-1/apr_tables.h... yes
checking for subversion-1/svn_client.h... yes
checking for main in -lsvn_client-1... yes
checking for svn_client_list4 in -lsvn_client-1... yes
checking for svn_client_list3 in -lsvn_client-1... yes
checking whether to enable SVN module... yes
checking whether to enable TELNET module... yes
checking whether to enable VMAUTHD module... yes
checking whether to enable VNC module... yes
checking whether to enable WRAPPER module... yes
checking whether to enable WEB-FORM module... yes
configure: 
configure: *******************************************************
configure:     Medusa Module Build Summary
configure: 
configure:     AFP             Enabled
configure:     CVS             Enabled
configure:     FTP             Enabled
configure:     HTTP            Enabled
configure:     IMAP            Enabled
configure:     MSSQL           Enabled
configure:     MYSQL           Enabled
configure:     NCP             Enabled
configure:     NNTP            Enabled
configure:     PCANYWHERE      Enabled
configure:     POP3            Enabled
configure:     POSTGRES        Enabled
configure:     RDP             Enabled
configure:     REXEC           Enabled
configure:     RLOGIN          Enabled
configure:     RSH             Enabled
configure:     SMBNT           Enabled
configure:     SMBNT (SMBv2)   ** Disabled **
configure:     SMTP            Enabled
configure:     SMTP-VRFY       Enabled
configure:     SNMP            Enabled
configure:     SSH             Enabled
configure:     SVN             Enabled
configure:     TELNET          Enabled
configure:     VMAUTHD         Enabled
configure:     VNC             Enabled
configure:     WRAPPER         Enabled
configure:     WEB-FORM        Enabled
configure: 
configure:  If a module is unexpectedly marked as disabled, check 
configure:  above output and verify dependancies were satisfied. 
configure: 
configure:  It should also be noted that, by default, not all of 
configure:  the modules are built. Incomplete modules or modules 
configure:  which have not been sufficiently tested may be 
configure:  disabled. To enable non-default modules, use the 
configure:  "--enable-module-MODULE_NAME" configure option.
configure: *******************************************************
configure: 
checking for strcasestr... yes
checking for asprintf... yes
checking for vasprintf... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modsrc/Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
Making all in modsrc
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o web-form.o web-form.c
make[3]: gcc: Resource temporarily unavailable
make[3]: *** [Makefile:785: web-form.o] Error 127
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: *** Waiting for unfinished jobs....
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o svn.o svn.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[3]: *** [Makefile:785: svn.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o telnet.o telnet.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[3]: *** [Makefile:785: telnet.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o vmauthd.o vmauthd.c
gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable
compilation terminated.
make[3]: *** [Makefile:785: vmauthd.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o snmp.o snmp.c
gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable
compilation terminated.
make[3]: *** [Makefile:785: snmp.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o vnc.o vnc.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[3]: *** [Makefile:785: vnc.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o d3des.o d3des.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[3]: *** [Makefile:785: d3des.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sha1.o sha1.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ssh.o ssh.c
ssh.c: In function 'initModule':
ssh.c:261:9: warning: 'libssh2_banner_set' is deprecated: since libssh2 1.4.0. Use libssh2_session_banner_set() [-Wdeprecated-declarations]
  261 |         if ( libssh2_banner_set(session, _psSessionData->szBannerMsg) ) {
      |         ^~
In file included from ssh.c:46:
/usr/include/libssh2.h:666:17: note: declared here
  666 | LIBSSH2_API int libssh2_banner_set(LIBSSH2_SESSION *session,
      |                 ^~~~~~~~~~~~~~~~~~
ssh.c:287:11: warning: 'libssh2_session_startup' is deprecated: since libssh2 1.2.8. Use libssh2_session_handshake() [-Wdeprecated-declarations]
  287 |           if (libssh2_session_startup(session, hSocket)) {
      |           ^~
/usr/include/libssh2.h:670:17: note: declared here
  670 | LIBSSH2_API int libssh2_session_startup(LIBSSH2_SESSION *session, int sock);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
ssh.c: In function 'tryLogin':
ssh.c:442:21: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(const char *, int,  const char *, int,  int,  const LIBSSH2_USERAUTH_KBDINT_PROMPT *, LIBSSH2_USERAUTH_KBDINT_RESPONSE *, void **)' [-Wincompatible-pointer-types]
  442 |   pResponseCallback = response_callback;
      |                     ^
ssh.c:398:6: note: 'response_callback' declared here
  398 | void response_callback(const char* name, int name_len, const char* instruction, int instruction_len, int num_prompts, const LIBSSH2_USERAUTH_KBDINT_PROMPT* prompts, LIBSSH2_USERAUTH_KBDINT_RESPONSE* responses, void **abstract)
      |      ^~~~~~~~~~~~~~~~~
ssh.c:495:11: error: passing argument 4 of 'libssh2_userauth_keyboard_interactive_ex' from incompatible pointer type [-Wincompatible-pointer-types]
  495 |       if (libssh2_userauth_keyboard_interactive(session, szLogin, pResponseCallback) )
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |           |
      |           void (*)(void)
/usr/include/libssh2.h:798:42: note: expected 'void (*)(const char *, int,  const char *, int,  int,  const LIBSSH2_USERAUTH_KBDINT_PROMPT *, LIBSSH2_USERAUTH_KBDINT_RESPONSE *, void **)' but argument is of type 'void (*)(void)'
  798 |                                          LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC
      |                                          ^
make[3]: *** [Makefile:785: ssh.o] Error 1
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o http-digest.o http-digest.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o smbnt-smb2.o smbnt-smb2.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hmacmd5.o hmacmd5.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rsh.o rsh.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rexec.o rexec.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o afp.o afp.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o postgres.o postgres.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rlogin.o rlogin.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nntp.o nntp.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cvs.o cvs.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mssql.o mssql.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ftp.o ftp.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ncp.o ncp.c
ncp.c: In function 'tryLogin':
ncp.c:414:7: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  414 |       strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg));
      |       ^
ncp.c:414:49: note: length computed here
  414 |       strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg));
      |                                                 ^~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pcanywhere.o pcanywhere.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o smtp-vrfy.o smtp-vrfy.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o smbnt.o smbnt.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rdp.o rdp.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mysql.o mysql.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o imap.o imap.c
imap.c: In function 'sendAuthPlain':
imap.c:577:30: warning: '
   ' directive writing 2 bytes into a region of size between 1 and 2147483647 [-Wformat-overflow=]
  577 |   sprintf((char*)bufSend, "%s\r\n", szEncodedAuth);
      |                              ^~~~
In file included from /usr/include/stdio.h:970,
                 from imap.c:35:
In function 'sprintf',
    inlined from 'sendAuthPlain' at imap.c:577:3:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 2147483649 bytes into a destination of size 2147483647
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o smtp.o smtp.c
smtp.c: In function 'sendAuthPLAIN':
smtp.c:535:31: warning: '
   ' directive output between 2 and 2 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=]
  535 |   sprintf((char *)bufSend, "%s\r\n", szTmpBuf64);
      |                               ^~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pop3.o pop3.c
pop3.c: In function 'sendAuthPLAIN':
pop3.c:550:39: warning: '%s' directive output between 0 and 2147483646 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=]
  550 |   sprintf((char*)bufSend, "AUTH PLAIN %s\r\n", szTmpBuf64);
      |                                       ^~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o http.o http.c
http.c: In function 'sendAuthDigest':
http.c:915:92: warning: '%s' directive writing up to 2147483646 bytes into a region of size 2147483597 [-Wformat-overflow=]
  915 |   sprintf((char*)bufSend, "%s /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: %s\r\nConnection: keep-alive\r\n%s\r\n",
      |                                                                                            ^~
In file included from /usr/include/stdio.h:970,
                 from ../medusa-net.h:26,
                 from module.h:35,
                 from http.c:34:
In function 'sprintf',
    inlined from 'sendAuthDigest' at http.c:915:3:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 79 or more bytes (assuming 2147483725) into a destination of size 2147483647
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o smbnt-smb1.o smbnt-smb1.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src  -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/usr//include -I/usr/include/freerdp2 -I/usr/include/winpr2 -I/usr/include/smb2  -I/usr/include/apr-1  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ntlm.o ntlm.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/medusa-2.3-build/medusa-2.3/src/modsrc'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[1]: *** [Makefile:451: all-recursive] Error 1
make: *** [Makefile:349: all] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.E6YLsW (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.E6YLsW (%build)
I: [iurt_root_command] ERROR: chroot