D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/tac_plus-4.0.4.28-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WNzYau Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.t7R6pI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build + rm -rf tacacs-F4.0.4.28 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tacacs-F4.0.4.28.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tacacs-F4.0.4.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tac_plus-4.0.4.28-mga-multiarch-libs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tac_plus-4.0.4.26-linkage.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tac_plus-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xxIkm5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-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 tacacs-F4.0.4.28 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I aconf autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'aconf'. libtoolize: copying file 'aconf/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'aconf'. libtoolize: copying file 'aconf/libtool.m4' libtoolize: copying file 'aconf/ltoptions.m4' libtoolize: copying file 'aconf/ltsugar.m4' libtoolize: copying file 'aconf/ltversion.m4' libtoolize: copying file 'aconf/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I aconf autoreconf: running: /usr/bin/autoconf --force configure.ac:121: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:121: You should run autoupdate. aconf/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:121: the top level configure.ac:121: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:121: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aconf/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:121: the top level configure.ac:122: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:122: You should run autoupdate. aconf/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:122: the top level configure.ac:124: warning: The macro 'AC_LANG_C' is obsolete. configure.ac:124: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... aconf/acx_pthread.m4:78: ACX_PTHREAD is expanded from... configure.ac:124: the top level configure.ac:124: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:124: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aconf/acx_pthread.m4:78: ACX_PTHREAD is expanded from... configure.ac:124: the top level configure.ac:136: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... aclocal.m4:630: AM_PROG_LEX is expanded from... configure.ac:136: the top level configure.ac:163: warning: The macro 'AC_WORDS_BIGENDIAN' is obsolete. configure.ac:163: You should run autoupdate. ./lib/autoconf/oldnames.m4:83: AC_WORDS_BIGENDIAN is expanded from... configure.ac:163: the top level configure.ac:164: warning: The macro 'AC_LONG_64_BITS' is obsolete. configure.ac:164: You should run autoupdate. ./lib/autoconf/types.m4:897: AC_LONG_64_BITS is expanded from... configure.ac:164: the top level configure.ac:279: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:279: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.ac:279: the top level configure.ac:232: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:232: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:232: the top level configure.ac:694: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:694: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:694: the top level configure.ac:729: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:729: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:729: the top level configure.ac:730: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:730: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:730: the top level configure.ac:746: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:746: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:746: the top level configure.ac:772: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:772: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.ac:772: the top level configure.ac:806: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:806: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.ac:806: the top level configure.ac:844: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:844: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.ac:844: the top level configure.ac:844: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:844: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2960: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2979: AC_RUN_IFELSE is expanded from... ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... configure.ac:844: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:122: installing 'aconf/compile' configure.ac:14: installing 'aconf/missing' Makefile.am: installing 'aconf/depcomp' 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 ./aconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./aconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./aconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./aconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./aconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./aconf/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 + /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 --disable-static --enable-acls --enable-uenable --enable-maxsess --enable-finger --enable-debug --enable-warn --enable-mschap --without-libwrap 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 whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for gmake... /usr/bin/gmake checking whether /usr/bin/gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking how to print strings... printf checking whether /usr/bin/gmake supports the include directive... yes (GNU style) 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 dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for inline... inline checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking whether yacc is bison in disguise... yes checking whether byte ordering is bigendian... no checking size of long int... 8 checking whether to include symbols... yes checking whether to set gcc warnings... yes -Wall checking whether to use libwrap... no checking whether to include skey support... no checking whether to include RSA SecurID support... no checking whether to setuid()... no checking whether to setgid()... no checking whether to include ACL support... yes checking whether to include user-enable support... yes checking whether to include maximum sessions (maxsess) support... yes checking whether to include maxsess finger support... yes checking whether to include ARAP DES support... no checking whether to include MSCHAP support... checking for mschap_.h... no yes checking whether to include MSCHAP DES support... no checking for alt pid file FQPN... /var/run/tac_plus.pid checking for alt accounting file FQPN... /var/log/tac_plus.acct checking for alt log file FQPN... /var/log/tac_plus.log checking for alt wholog file FQPN... /var/log/tacwho.log checking whether to profile... no checking for pam_start in -lpam... yes checking for egrep... (cached) /usr/bin/grep -E checking for crypt.h... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for shadow.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/resource.h... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... yes checking for sysexits.h... yes checking for syslog.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for utmp.h... yes checking for utmpx.h... yes checking for wait.h... yes checking return type of signal handlers... void checking for socklen_t... yes checking for pid_t... yes checking for getdtablesize... yes checking for memcpy... yes checking for memset... yes checking for random... yes checking for strchr... yes checking for strcspn... yes checking for strerror... yes checking for strrchr... yes checking for wait3... yes checking for wait4... yes checking for waitpid... yes checking whether setpgrp requires zero arguments... yes checking if waitpid takes a union wait... no checking if signals need to be re-armed... no checking if children need to be reaped... yes checking if children need to be reaped with SIG_IGN... no checking for gnutar... no checking for gtar... gtar checking for perl5... /usr/bin/perl5 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating version.h config.status: creating pathsl.h config.status: creating tac_plus.8 config.status: creating tac_plus.conf.5 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/gmake all-am gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o tac_pwd.o tac_pwd.c tac_pwd.c: In function 'main': tac_pwd.c:139:26: error: conflicting types for 'crypt'; have 'char *(void)' 139 | char *crypt(); | ^~~~~ In file included from tac_pwd.c:52: /usr/include/crypt.h:63:14: note: previous declaration of 'crypt' with type 'char *(const char *, const char *)' 63 | extern char *crypt (const char *__phrase, const char *__setting) | ^~~~~ tac_pwd.c:182:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | write(1, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tac_pwd.c:187:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 187 | write(1, "\n", strlen("\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tac_pwd.c:197:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | write(1, result, strlen(result)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tac_pwd.c:198:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | write(1, "\n", 1); | ^~~~~~~~~~~~~~~~~ gmake[1]: *** [Makefile:813: tac_pwd.o] Error 1 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o authen.o authen.c authen.c: In function 'authen': authen.c:62:9: error: too many arguments to function 'do_start'; expected 0, have 1 62 | do_start(pak); | ^~~~~~~~ ~~~ authen.c:26:13: note: declared here 26 | static void do_start(); | ^~~~~~~~ authen.c: At top level: authen.c:77:1: error: conflicting types for 'do_start'; have 'void(u_char *)' {aka 'void(unsigned char *)'} 77 | do_start(u_char *pak) | ^~~~~~~~ authen.c:26:13: note: previous declaration of 'do_start' with type 'void(void)' 26 | static void do_start(); | ^~~~~~~~ authen.c: In function 'do_start': authen.c:144:11: error: too many arguments to function 'choose'; expected 0, have 2 144 | ret = choose(&authen_data, &authen_type); | ^~~~~~ ~~~~~~~~~~~~ authen.c:24:12: note: declared here 24 | static int choose(); | ^~~~~~ authen.c:149:9: error: too many arguments to function 'authenticate'; expected 0, have 2 149 | authenticate(&authen_data, &authen_type); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ authen.c:25:13: note: declared here 25 | static void authenticate(); | ^~~~~~~~~~~~ authen.c: At top level: authen.c:192:1: error: conflicting types for 'choose'; have 'int(struct authen_data *, struct authen_type *)' 192 | choose(struct authen_data *datap, struct authen_type *typep) | ^~~~~~ authen.c:24:12: note: previous declaration of 'choose' with type 'int(void)' 24 | static int choose(); | ^~~~~~ authen.c:306:1: error: conflicting types for 'authenticate'; have 'void(struct authen_data *, struct authen_type *)' 306 | authenticate(struct authen_data *datap, struct authen_type *typep) | ^~~~~~~~~~~~ authen.c:25:13: note: previous declaration of 'authenticate' with type 'void(void)' 25 | static void authenticate(); | ^~~~~~~~~~~~ authen.c: In function 'authenticate': authen.c:332:14: error: too many arguments to function 'func'; expected 0, have 1 332 | if ((*func)(datap)) { | ~^~~~~~ ~~~~~ authen.c:403:23: error: too many arguments to function 'func'; expected 0, have 1 403 | ((*func)(datap)); | ~^~~~~~ ~~~~~ authen.c:419:23: error: too many arguments to function 'func'; expected 0, have 1 419 | ((*func)(datap)); | ~^~~~~~ ~~~~~ authen.c: At top level: authen.c:24:12: warning: 'choose' used but never defined 24 | static int choose(); | ^~~~~~ authen.c:25:13: warning: 'authenticate' used but never defined 25 | static void authenticate(); | ^~~~~~~~~~~~ authen.c:26:13: warning: 'do_start' used but never defined 26 | static void do_start(); | ^~~~~~~~ authen.c:306:1: warning: 'authenticate' defined but not used [-Wunused-function] 306 | authenticate(struct authen_data *datap, struct authen_type *typep) | ^~~~~~~~~~~~ authen.c:192:1: warning: 'choose' defined but not used [-Wunused-function] 192 | choose(struct authen_data *datap, struct authen_type *typep) | ^~~~~~ authen.c:77:1: warning: 'do_start' defined but not used [-Wunused-function] 77 | do_start(u_char *pak) | ^~~~~~~~ gmake[1]: *** [Makefile:813: authen.o] Error 1 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o choose_authen.o choose_authen.c choose_authen.c: In function 'choose_authen': choose_authen.c:76:31: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct authen_data *)' [-Wincompatible-pointer-types] 76 | type->authen_func = enable_fn; | ^ In file included from choose_authen.c:22: tac_plus.h:451:5: note: 'enable_fn' declared here 451 | int enable_fn(struct authen_data *data); | ^~~~~~~~~ choose_authen.c: In function 'choose_login': choose_authen.c:162:27: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct authen_data *)' [-Wincompatible-pointer-types] 162 | type->authen_func = default_fn; | ^ tac_plus.h:407:9: note: 'default_fn' declared here 407 | int default_fn(struct authen_data *); | ^~~~~~~~~~ choose_authen.c:199:31: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct authen_data *)' [-Wincompatible-pointer-types] 199 | type->authen_func = default_v0_fn; | ^ tac_plus.h:450:5: note: 'default_v0_fn' declared here 450 | int default_v0_fn(struct authen_data *data); | ^~~~~~~~~~~~~ choose_authen.c:213:27: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct authen_data *)' [-Wincompatible-pointer-types] 213 | type->authen_func = default_fn; | ^ tac_plus.h:407:9: note: 'default_fn' declared here 407 | int default_fn(struct authen_data *); | ^~~~~~~~~~ choose_authen.c: In function 'choose_sendauth': choose_authen.c:265:27: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct authen_data *)' [-Wincompatible-pointer-types] 265 | type->authen_func = sendauth_fn; | ^ tac_plus.h:452:5: note: 'sendauth_fn' declared here 452 | int sendauth_fn(struct authen_data *data); | ^~~~~~~~~~~ choose_authen.c: In function 'choose_sendpass': choose_authen.c:307:27: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(struct authen_data *)' [-Wincompatible-pointer-types] 307 | type->authen_func = sendpass_fn; | ^ tac_plus.h:453:5: note: 'sendpass_fn' declared here 453 | int sendpass_fn(struct authen_data *data); | ^~~~~~~~~~~ gmake[1]: *** [Makefile:813: choose_authen.o] Error 1 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o maxsessint.o maxsessint.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o expire.o expire.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o default_v0_fn.o default_v0_fn.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o enable.o enable.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o encrypt.o encrypt.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o acct.o acct.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o author.o author.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o hash.o hash.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o dump.o dump.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o do_acct.o do_acct.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o default_fn.o default_fn.c default_fn.c: In function 'mschap_deshash': default_fn.c:629:35: warning: pointer targets in passing argument 2 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 629 | mschap_desencrypt(MSCHAP_KEY, clear, cypher); | ^~~~~ | | | char * default_fn.c:562:47: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~ default_fn.c:629:42: warning: pointer targets in passing argument 3 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 629 | mschap_desencrypt(MSCHAP_KEY, clear, cypher); | ^~~~~~ | | | char * default_fn.c:562:67: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~~~~ default_fn.c: In function 'mschap_lmpasswordhash': default_fn.c:645:20: warning: pointer targets in passing argument 1 of 'mschap_deshash' differ in signedness [-Wpointer-sign] 645 | mschap_deshash(&upassword[0], &passwordhash[0]); | ^~~~~~~~~~~~~ | | | unsigned char * default_fn.c:627:22: note: expected 'char *' but argument is of type 'unsigned char *' 627 | mschap_deshash(char *clear, char *cypher) | ~~~~~~^~~~~ default_fn.c:646:20: warning: pointer targets in passing argument 1 of 'mschap_deshash' differ in signedness [-Wpointer-sign] 646 | mschap_deshash(&upassword[7], &passwordhash[8]); | ^~~~~~~~~~~~~ | | | unsigned char * default_fn.c:627:22: note: expected 'char *' but argument is of type 'unsigned char *' 627 | mschap_deshash(char *clear, char *cypher) | ~~~~~~^~~~~ default_fn.c: In function 'mschap_challengeresponse': default_fn.c:658:34: warning: pointer targets in passing argument 2 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 658 | mschap_desencrypt(challenge, &zpasswordhash[0], &response[0]); | ^~~~~~~~~~~~~~~~~ | | | char * default_fn.c:562:47: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~ default_fn.c:658:53: warning: pointer targets in passing argument 3 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 658 | mschap_desencrypt(challenge, &zpasswordhash[0], &response[0]); | ^~~~~~~~~~~~ | | | char * default_fn.c:562:67: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~~~~ default_fn.c:659:34: warning: pointer targets in passing argument 2 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 659 | mschap_desencrypt(challenge, &zpasswordhash[7], &response[8]); | ^~~~~~~~~~~~~~~~~ | | | char * default_fn.c:562:47: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~ default_fn.c:659:53: warning: pointer targets in passing argument 3 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 659 | mschap_desencrypt(challenge, &zpasswordhash[7], &response[8]); | ^~~~~~~~~~~~ | | | char * default_fn.c:562:67: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~~~~ default_fn.c:660:34: warning: pointer targets in passing argument 2 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 660 | mschap_desencrypt(challenge, &zpasswordhash[14], &response[16]); | ^~~~~~~~~~~~~~~~~~ | | | char * default_fn.c:562:47: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~ default_fn.c:660:54: warning: pointer targets in passing argument 3 of 'mschap_desencrypt' differ in signedness [-Wpointer-sign] 660 | mschap_desencrypt(challenge, &zpasswordhash[14], &response[16]); | ^~~~~~~~~~~~~ | | | char * default_fn.c:562:67: note: expected 'unsigned char *' but argument is of type 'char *' 562 | mschap_desencrypt(char *clear, unsigned char *str, unsigned char *cypher) | ~~~~~~~~~~~~~~~^~~~~~ default_fn.c: In function 'mschap_ntpasswordhash': default_fn.c:707:34: warning: pointer targets in passing argument 1 of 'mschap_unicode_len' differ in signedness [-Wpointer-sign] 707 | mschap_unicode_len(unicode_password)); | ^~~~~~~~~~~~~~~~ | | | unsigned char * default_fn.c:675:26: note: expected 'char *' but argument is of type 'unsigned char *' 675 | mschap_unicode_len(char *password) | ~~~~~~^~~~~~~~ default_fn.c:708:14: warning: pointer targets in passing argument 1 of 'MD4Final' differ in signedness [-Wpointer-sign] 708 | MD4Final(passwordhash, &context); | ^~~~~~~~~~~~ | | | char * In file included from default_fn.c:28: md4.h:55:17: note: expected 'unsigned char *' but argument is of type 'char *' 55 | void MD4Final(unsigned char *, MD4_CTX *); | ^~~~~~~~~~~~~~~ gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o do_author.o do_author.c gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' gcc -DHAVE_CONFIG_H -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-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/local/include -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 -Wall -g -c -o config.o config.c config.c: In function 'cfg_read_config': config.c:916:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 916 | sprintf(buf, "%s ", sym_buf); | ^ In file included from /usr/include/stdio.h:970, from tac_plus.h:45, from config.c:22: In function 'sprintf', inlined from 'parse_host' at config.c:916:3, inlined from 'parse_decls' at config.c:826:6, inlined from 'cfg_read_config' at config.c:2029:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_read_config': config.c:1199:38: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1199 | sprintf(buf, "%s ", sym_buf); | ^ In function 'sprintf', inlined from 'parse_user' at config.c:1199:7, inlined from 'parse_decls' at config.c:831:6, inlined from 'cfg_read_config' at config.c:2029:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_read_config': config.c:1167:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1167 | sprintf(buf, "%s ", sym_buf); | ^ In function 'sprintf', inlined from 'parse_user' at config.c:1167:3, inlined from 'parse_decls' at config.c:831:6, inlined from 'cfg_read_config' at config.c:2029:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_read_config': config.c:1275:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1275 | sprintf(buf, "%s ", sym_buf); | ^ In function 'sprintf', inlined from 'parse_user' at config.c:1275:6, inlined from 'parse_decls' at config.c:831:6, inlined from 'cfg_read_config' at config.c:2029:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_read_config': config.c:1124:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1124 | sprintf(buf, "%s ", sym_buf); | ^ In function 'sprintf', inlined from 'parse_user' at config.c:1124:3, inlined from 'parse_decls' at config.c:831:6, inlined from 'cfg_read_config' at config.c:2029:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tac_plus-4.0.4.28-build/tacacs-F4.0.4.28' make: *** [Makefile:535: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xxIkm5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xxIkm5 (%build) I: [iurt_root_command] ERROR: chroot