D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/ssmtp-2.66-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wrZMUA Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U94nyC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssmtp-2.66-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ssmtp-2.66-build + rm -rf ssmtp-2.66 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ssmtp-2.66.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ssmtp-2.66 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cLfHgR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ssmtp-2.66-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-all -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-all -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-all -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-all -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,--no-undefined -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 ssmtp-2.66 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -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-all -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-all -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-all -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,--no-undefined -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 + /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/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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-ssl --enable-md5auth --enable-inet6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... 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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for obsolete openlog... no checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for library containing gethostname... none required checking for library containing socket... none required checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strndup... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -DPACKAGE_NAME=\"ssmtp\" -DPACKAGE_TARNAME=\"ssmtp\" -DPACKAGE_VERSION=\"2.66\" -DPACKAGE_STRING=\"ssmtp\ 2.66\" -DPACKAGE_BUGREPORT=\"https://github.com/solbu/ssmtp\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssmtp\" -DVERSION=\"2.66\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -I. -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o arpadate.o arpadate.c gcc -DPACKAGE_NAME=\"ssmtp\" -DPACKAGE_TARNAME=\"ssmtp\" -DPACKAGE_VERSION=\"2.66\" -DPACKAGE_STRING=\"ssmtp\ 2.66\" -DPACKAGE_BUGREPORT=\"https://github.com/solbu/ssmtp\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssmtp\" -DVERSION=\"2.66\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -I. -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o md5auth/hmac_md5.o md5auth/hmac_md5.c md5auth/hmac_md5.c: In function 'hmac_md5': md5auth/hmac_md5.c:27:17: error: too many arguments to function 'MD5Init'; expected 0, have 1 27 | MD5Init(&tctx); | ^~~~~~~ ~~~~~ In file included from md5auth/hmac_md5.c:4: md5auth/md5.h:35:6: note: declared here 35 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^~~~~~~ md5auth/hmac_md5.c:28:17: error: too many arguments to function 'MD5Update'; expected 0, have 3 28 | MD5Update(&tctx, key, key_len); | ^~~~~~~~~ ~~~~~ md5auth/md5.h:36:6: note: declared here 36 | void MD5Update PROTO_LIST | ^~~~~~~~~ md5auth/hmac_md5.c:29:17: error: too many arguments to function 'MD5Final'; expected 0, have 2 29 | MD5Final(tk, &tctx); | ^~~~~~~~ ~~ md5auth/md5.h:38:6: note: declared here 38 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^~~~~~~~ md5auth/hmac_md5.c:60:9: error: too many arguments to function 'MD5Init'; expected 0, have 1 60 | MD5Init(&context); /* init context for 1st pass */ | ^~~~~~~ ~~~~~~~~ md5auth/md5.h:35:6: note: declared here 35 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^~~~~~~ md5auth/hmac_md5.c:61:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 61 | MD5Update(&context, k_ipad, 64); /* start with inner pad */ | ^~~~~~~~~ ~~~~~~~~ md5auth/md5.h:36:6: note: declared here 36 | void MD5Update PROTO_LIST | ^~~~~~~~~ md5auth/hmac_md5.c:62:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 62 | MD5Update(&context, text, text_len); /* then text of datagram */ | ^~~~~~~~~ ~~~~~~~~ md5auth/md5.h:36:6: note: declared here 36 | void MD5Update PROTO_LIST | ^~~~~~~~~ md5auth/hmac_md5.c:63:9: error: too many arguments to function 'MD5Final'; expected 0, have 2 63 | MD5Final(digest, &context); /* finish up 1st pass */ | ^~~~~~~~ ~~~~~~ md5auth/md5.h:38:6: note: declared here 38 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^~~~~~~~ md5auth/hmac_md5.c:67:9: error: too many arguments to function 'MD5Init'; expected 0, have 1 67 | MD5Init(&context); /* init context for 2nd | ^~~~~~~ ~~~~~~~~ md5auth/md5.h:35:6: note: declared here 35 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^~~~~~~ md5auth/hmac_md5.c:69:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 69 | MD5Update(&context, k_opad, 64); /* start with outer pad */ | ^~~~~~~~~ ~~~~~~~~ md5auth/md5.h:36:6: note: declared here 36 | void MD5Update PROTO_LIST | ^~~~~~~~~ md5auth/hmac_md5.c:70:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 70 | MD5Update(&context, digest, 16); /* then results of 1st | ^~~~~~~~~ ~~~~~~~~ md5auth/md5.h:36:6: note: declared here 36 | void MD5Update PROTO_LIST | ^~~~~~~~~ md5auth/hmac_md5.c:72:9: error: too many arguments to function 'MD5Final'; expected 0, have 2 72 | MD5Final(digest, &context); /* finish up 2nd pass */ | ^~~~~~~~ ~~~~~~ md5auth/md5.h:38:6: note: declared here 38 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^~~~~~~~ make: *** [Makefile:437: md5auth/hmac_md5.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -DPACKAGE_NAME=\"ssmtp\" -DPACKAGE_TARNAME=\"ssmtp\" -DPACKAGE_VERSION=\"2.66\" -DPACKAGE_STRING=\"ssmtp\ 2.66\" -DPACKAGE_BUGREPORT=\"https://github.com/solbu/ssmtp\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssmtp\" -DVERSION=\"2.66\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -I. -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o md5auth/md5c.o md5auth/md5c.c md5auth/md5c.c: In function 'MD5Init': md5auth/md5c.c:100:6: warning: old-style function definition [-Wold-style-definition] 100 | void MD5Init (context) | ^~~~~~~ md5auth/md5c.c:102:1: error: number of arguments doesn't match prototype 102 | { | ^ In file included from md5auth/md5c.c:28: md5auth/md5.h:35:6: error: prototype declaration 35 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^~~~~~~ md5auth/md5c.c: In function 'MD5Update': md5auth/md5c.c:116:6: warning: old-style function definition [-Wold-style-definition] 116 | void MD5Update (context, input, inputLen) | ^~~~~~~~~ md5auth/md5c.c:120:1: error: number of arguments doesn't match prototype 120 | { | ^ md5auth/md5.h:36:6: error: prototype declaration 36 | void MD5Update PROTO_LIST | ^~~~~~~~~ md5auth/md5c.c:137:2: error: too many arguments to function 'MD5_memcpy'; expected 0, have 3 137 | MD5_memcpy | ^~~~~~~~~~ 138 | ((POINTER)&context->buffer[index], (POINTER)input, partLen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5auth/md5c.c:54:13: note: declared here 54 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^~~~~~~~~~ md5auth/md5c.c:139:2: error: too many arguments to function 'MD5Transform'; expected 0, have 2 139 | MD5Transform (context->state, context->buffer); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ md5auth/md5c.c:49:13: note: declared here 49 | static void MD5Transform PROTO_LIST ((uint32_t [4], unsigned char [64])); | ^~~~~~~~~~~~ md5auth/md5c.c:142:4: error: too many arguments to function 'MD5Transform'; expected 0, have 2 142 | MD5Transform (context->state, &input[i]); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ md5auth/md5c.c:49:13: note: declared here 49 | static void MD5Transform PROTO_LIST ((uint32_t [4], unsigned char [64])); | ^~~~~~~~~~~~ md5auth/md5c.c:150:3: error: too many arguments to function 'MD5_memcpy'; expected 0, have 3 150 | MD5_memcpy | ^~~~~~~~~~ 151 | ((POINTER)&context->buffer[index], (POINTER)&input[i], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5auth/md5c.c:54:13: note: declared here 54 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^~~~~~~~~~ md5auth/md5c.c: In function 'MD5Final': md5auth/md5c.c:158:6: warning: old-style function definition [-Wold-style-definition] 158 | void MD5Final (digest, context) | ^~~~~~~~ md5auth/md5c.c:161:1: error: number of arguments doesn't match prototype 161 | { | ^ md5auth/md5.h:38:6: error: prototype declaration 38 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^~~~~~~~ md5auth/md5c.c:166:3: error: too many arguments to function 'Encode'; expected 0, have 3 166 | Encode (bits, context->count, 8); | ^~~~~~ ~~~~ md5auth/md5c.c:50:13: note: declared here 50 | static void Encode PROTO_LIST | ^~~~~~ md5auth/md5c.c:172:3: error: too many arguments to function 'MD5Update'; expected 0, have 3 172 | MD5Update (context, PADDING, padLen); | ^~~~~~~~~ ~~~~~~~ md5auth/md5c.c:116:6: note: declared here 116 | void MD5Update (context, input, inputLen) | ^~~~~~~~~ md5auth/md5c.c:175:3: error: too many arguments to function 'MD5Update'; expected 0, have 3 175 | MD5Update (context, bits, 8); | ^~~~~~~~~ ~~~~~~~ md5auth/md5c.c:116:6: note: declared here 116 | void MD5Update (context, input, inputLen) | ^~~~~~~~~ md5auth/md5c.c:177:3: error: too many arguments to function 'Encode'; expected 0, have 3 177 | Encode (digest, context->state, 16); | ^~~~~~ ~~~~~~ md5auth/md5c.c:50:13: note: declared here 50 | static void Encode PROTO_LIST | ^~~~~~ md5auth/md5c.c:181:3: error: too many arguments to function 'MD5_memset'; expected 0, have 3 181 | MD5_memset ((POINTER)context, 0, sizeof (*context)); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ md5auth/md5c.c:55:13: note: declared here 55 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^~~~~~~~~~ md5auth/md5c.c: In function 'MD5Transform': md5auth/md5c.c:186:13: warning: old-style function definition [-Wold-style-definition] 186 | static void MD5Transform (state, block) | ^~~~~~~~~~~~ md5auth/md5c.c:192:3: error: too many arguments to function 'Decode'; expected 0, have 3 192 | Decode (x, block, 64); | ^~~~~~ ~ md5auth/md5c.c:52:13: note: declared here 52 | static void Decode PROTO_LIST | ^~~~~~ md5auth/md5c.c:273:3: error: too many arguments to function 'MD5_memset'; expected 0, have 3 273 | MD5_memset ((POINTER)x, 0, sizeof (x)); | ^~~~~~~~~~ ~~~~~~~~~~ md5auth/md5c.c:55:13: note: declared here 55 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^~~~~~~~~~ md5auth/md5c.c: In function 'Encode': md5auth/md5c.c:279:13: warning: old-style function definition [-Wold-style-definition] 279 | static void Encode (output, input, len) | ^~~~~~ md5auth/md5c.c: In function 'Decode': md5auth/md5c.c:297:13: warning: old-style function definition [-Wold-style-definition] 297 | static void Decode (output, input, len) | ^~~~~~ md5auth/md5c.c: In function 'MD5_memcpy': md5auth/md5c.c:312:13: warning: old-style function definition [-Wold-style-definition] 312 | static void MD5_memcpy (output, input, len) | ^~~~~~~~~~ md5auth/md5c.c: In function 'MD5_memset': md5auth/md5c.c:325:13: warning: old-style function definition [-Wold-style-definition] 325 | static void MD5_memset (output, value, len) | ^~~~~~~~~~ make: *** [Makefile:437: md5auth/md5c.o] Error 1 gcc -DPACKAGE_NAME=\"ssmtp\" -DPACKAGE_TARNAME=\"ssmtp\" -DPACKAGE_VERSION=\"2.66\" -DPACKAGE_STRING=\"ssmtp\ 2.66\" -DPACKAGE_BUGREPORT=\"https://github.com/solbu/ssmtp\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssmtp\" -DVERSION=\"2.66\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -I. -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xgethostname.o xgethostname.c gcc -DPACKAGE_NAME=\"ssmtp\" -DPACKAGE_TARNAME=\"ssmtp\" -DPACKAGE_VERSION=\"2.66\" -DPACKAGE_STRING=\"ssmtp\ 2.66\" -DPACKAGE_BUGREPORT=\"https://github.com/solbu/ssmtp\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssmtp\" -DVERSION=\"2.66\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -I. -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o base64.o base64.c gcc -DPACKAGE_NAME=\"ssmtp\" -DPACKAGE_TARNAME=\"ssmtp\" -DPACKAGE_VERSION=\"2.66\" -DPACKAGE_STRING=\"ssmtp\ 2.66\" -DPACKAGE_BUGREPORT=\"https://github.com/solbu/ssmtp\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ssmtp\" -DVERSION=\"2.66\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRNDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1 -DMD5AUTH=1 -I. -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ssmtp.o ssmtp.c ssmtp.c: In function 'ssmtp': ssmtp.c:1521:31: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1521 | (void)signal(SIGALRM, (void(*)())handler); /* Catch SIGALRM */ | ^~~~~~~~~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/sys/param.h:28, from ssmtp.c:19: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ ssmtp.c:1459:6: note: 'handler' declared here 1459 | void handler(void) | ^~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make: *** [Makefile:437: ssmtp.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cLfHgR (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cLfHgR (%build) I: [iurt_root_command] ERROR: chroot