D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Installing /home/iurt/rpmbuild/SRPMS/medusa-2.2-4.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tulwu3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf medusa-2.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/medusa-2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd medusa-2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (349ef7f0c24b627c6dbba8bcd5b47173806473a2.patch):' Patch #0 (349ef7f0c24b627c6dbba8bcd5b47173806473a2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.h.in patching file configure Hunk #1 succeeded at 5114 (offset -12 lines). Hunk #2 succeeded at 5208 (offset -12 lines). patching file configure.ac patching file src/medusa-net.c patching file src/medusa-thread-ssl.c patching file src/medusa.h patching file src/modsrc/vnc.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FRXgj3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd medusa-2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + 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 --with-default-mod-path=/usr/lib64/medusa/modules 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 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 for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.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/ssh.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... no configure: WARNING: *** AFPFS-NG header files required for AFP module. *** The AFPFS-NG package must be installed for the AFP module to function. This includes both the library and header files. AFPFS-NG is available at the following site: http://alexthepuffin.googlepages.com/. The AFP module will NOT be built. checking whether to enable AFP module... no 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... no configure: WARNING: *** FreeRDP header files required for RDP module. *** The FreeRDP package must be installed for RDP module to function. This includes both the library and header files. Your distribution may offer packages such as freerdp and libfreerdp-dev, which will provide these files. checking whether to enable RDP module... no 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 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 configure: WARNING: LIBSSH2 path not found. Assuming it was... ldd: missing file arguments Try `ldd --help' for more information. 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_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 ** Disabled ** 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 ** Disabled ** configure: REXEC Enabled configure: RLOGIN Enabled configure: RSH Enabled configure: SMBNT Enabled 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 config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src Making all in modsrc make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o http-digest.o http-digest.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sha1.o sha1.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o cvs.o cvs.c In file included from /usr/include/string.h:495, from cvs.c:32: In function 'strncpy', inlined from 'tryLogin' at cvs.c:315:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvs.c: In function 'tryLogin': cvs.c:315:3: note: length computed here 315 | strncpy(szPassTmp, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from cvs.c:32: In function 'strncpy', inlined from 'go' at cvs.c:123:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvs.c: In function 'go': cvs.c:123:7: note: length computed here 123 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from cvs.c:32: In function 'strncpy', inlined from 'go' at cvs.c:137:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvs.c: In function 'go': cvs.c:137:11: note: length computed here 137 | strncpy((char *)psSessionData->szDir, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mssql.o mssql.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ftp.o ftp.c In file included from /usr/include/string.h:495, from ftp.c:32: In function 'strncpy', inlined from 'go' at ftp.c:152:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c: In function 'go': ftp.c:152:7: note: length computed here 152 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o imap.o imap.c In file included from /usr/include/string.h:495, from imap.c:36: In function 'strncpy', inlined from 'go' at imap.c:156:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'go': imap.c:156:7: note: length computed here 156 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from imap.c:36: In function 'strncpy', inlined from 'go' at imap.c:200:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'go': imap.c:200:11: note: length computed here 200 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from imap.c:36: In function 'strncpy', inlined from 'go' at imap.c:170:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'go': imap.c:170:47: note: length computed here 170 | strncpy(psSessionData->szTag, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mysql.o mysql.c In file included from /usr/include/string.h:495, from mysql.c:41: In function 'strncpy', inlined from 'MySQLPrepareAuthOld' at mysql.c:490:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'MySQLPrepareAuthOld': mysql.c:466:19: note: length computed here 466 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from mysql.c:41: In function 'strncpy', inlined from 'MySQLPrepareAuth' at mysql.c:567:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'MySQLPrepareAuth': mysql.c:532:19: note: length computed here 532 | int login_len = strlen(szLogin) > 16 ? 16 : strlen(szLogin); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from mysql.c:41: In function 'strncpy', inlined from 'go' at mysql.c:149:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'go': mysql.c:149:7: note: length computed here 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nntp.o nntp.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ncp.o ncp.c In file included from /usr/include/string.h:495, from ncp.c:35: In function 'strncpy', inlined from 'tryLogin' at ncp.c:415:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncp.c: In function 'tryLogin': ncp.c:415:7: note: length computed here 415 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ncp.c:35: In function 'strncat', inlined from 'tryLogin' at ncp.c:416:7: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncp.c: In function 'tryLogin': ncp.c:416:7: note: length computed here 416 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ncp.c:35: In function 'strncpy', inlined from 'initModule' at ncp.c:214:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncp.c: In function 'initModule': ncp.c:214:11: note: length computed here 214 | strncpy(szUserContext, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ncp.c:35: In function 'strncpy', inlined from 'initModule' at ncp.c:215:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncp.c: In function 'initModule': ncp.c:215:11: note: length computed here 215 | strncpy(szUserContext + strlen(psCredSet->psUser->pUser), _psSessionData->context, strlen(_psSessionData->context)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ncp.c:35: In function 'strncpy', inlined from 'go' at ncp.c:147:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncp.c: In function 'go': ncp.c:147:7: note: length computed here 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ncp.c:35: In function 'strncpy', inlined from 'go' at ncp.c:160:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ncp.c: In function 'go': ncp.c:160:11: note: length computed here 160 | strncpy((char *)psSessionData->context, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o http.o http.c In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncat', inlined from 'sendAuthDigest' at http.c:654:5: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'sendAuthDigest': http.c:654:5: note: length computed here 654 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncat', inlined from 'sendAuthDigest' at http.c:647:5: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'sendAuthDigest': http.c:647:5: note: length computed here 647 | strncat(szURI, _psSessionData->szDir, strlen(_psSessionData->szDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncpy', inlined from 'go' at http.c:151:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'go': http.c:151:7: note: length computed here 151 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncpy', inlined from 'go' at http.c:229:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'go': http.c:229:11: note: length computed here 229 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncpy', inlined from 'go' at http.c:197:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'go': http.c:197:11: note: length computed here 197 | strncpy(psSessionData->szCustomHeader + nCustomHeadersSize, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncpy', inlined from 'go' at http.c:179:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'go': http.c:179:53: note: length computed here 179 | strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from http.c:34: In function 'strncpy', inlined from 'go' at http.c:165:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c: In function 'go': http.c:165:47: note: length computed here 165 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o postgres.o postgres.c In file included from /usr/include/string.h:495, from postgres.c:30: In function 'strncpy', inlined from 'go' at postgres.c:126:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgres.c: In function 'go': postgres.c:126:7: note: length computed here 126 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from postgres.c:30: In function 'strncpy', inlined from 'go' at postgres.c:140:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ postgres.c: In function 'go': postgres.c:140:11: note: length computed here 140 | strncpy((char *)psSessionData->szDB, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pcanywhere.o pcanywhere.c In file included from /usr/include/string.h:495, from pcanywhere.c:54: In function 'strncpy', inlined from 'pcaUserAuth' at pcanywhere.c:372:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcanywhere.c: In function 'pcaUserAuth': pcanywhere.c:372:7: note: length computed here 372 | strncpy(szTmp, szDomain, strlen(szDomain)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pcanywhere.c:54: In function 'strncpy', inlined from 'pcaUserAuth' at pcanywhere.c:374:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcanywhere.c: In function 'pcaUserAuth': pcanywhere.c:374:7: note: length computed here 374 | strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pcanywhere.c:54: In function 'strncpy', inlined from 'go' at pcanywhere.c:145:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcanywhere.c: In function 'go': pcanywhere.c:145:7: note: length computed here 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o rexec.o rexec.c In file included from /usr/include/string.h:495, from rexec.c:30: In function 'strncpy', inlined from 'tryLogin' at rexec.c:227:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexec.c: In function 'tryLogin': rexec.c:227:3: note: length computed here 227 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from rexec.c:30: In function 'strncpy', inlined from 'tryLogin' at rexec.c:229:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexec.c: In function 'tryLogin': rexec.c:229:3: note: length computed here 229 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o rlogin.o rlogin.c In file included from /usr/include/string.h:495, from rlogin.c:29: In function 'strncpy', inlined from 'tryLogin' at rlogin.c:225:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'tryLogin': rlogin.c:225:3: note: length computed here 225 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from rlogin.c:29: In function 'strncpy', inlined from 'tryLogin' at rlogin.c:227:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rlogin.c: In function 'tryLogin': rlogin.c:227:3: note: length computed here 227 | strncpy((char *)bufSend+2+strlen(szLogin), szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hmacmd5.o hmacmd5.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ntlm.o ntlm.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o rsh.o rsh.c In file included from /usr/include/string.h:495, from rsh.c:30: In function 'strncpy', inlined from 'tryLogin' at rsh.c:230:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsh.c: In function 'tryLogin': rsh.c:230:3: note: length computed here 230 | strncpy((char *)bufSend+1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from rsh.c:30: In function 'strncpy', inlined from 'tryLogin' at rsh.c:232:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rsh.c: In function 'tryLogin': rsh.c:232:3: note: length computed here 232 | strncpy((char *)bufSend+2+strlen(szLogin), szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pop3.o pop3.c In file included from /usr/include/string.h:495, from pop3.c:30: In function 'strncpy', inlined from 'sendAuthPLAIN' at pop3.c:543:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'sendAuthPLAIN': pop3.c:543:3: note: length computed here 543 | strncpy(szTmpBuf, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pop3.c:30: In function 'strncpy', inlined from 'sendAuthPLAIN' at pop3.c:544:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'sendAuthPLAIN': pop3.c:544:3: note: length computed here 544 | strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pop3.c:30: In function 'strncpy', inlined from 'sendAuthPLAIN' at pop3.c:545:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'sendAuthPLAIN': pop3.c:545:3: note: length computed here 545 | strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pop3.c:30: In function 'strncpy', inlined from 'go' at pop3.c:145:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'go': pop3.c:145:7: note: length computed here 145 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from pop3.c:30: In function 'strncpy', inlined from 'go' at pop3.c:189:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'go': pop3.c:189:11: note: length computed here 189 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o vmauthd.o vmauthd.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o smtp-vrfy.o smtp-vrfy.c smtp-vrfy.c: In function 'tryLogin': smtp-vrfy.c:534:41: warning: '%.250s' directive writing up to 250 bytes into a region of size between 48 and 298 [-Wformat-overflow=] 534 | sprintf((char *)bufSend, "%s %.250s@%.250s\r\n", szVerb, szAccount, szDomain); | ^~~~~~ In file included from /usr/include/stdio.h:867, from smtp-vrfy.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 505) into a destination of size 300 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp-vrfy.c:30: In function 'strncpy', inlined from 'go' at smtp-vrfy.c:149:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c: In function 'go': smtp-vrfy.c:149:7: note: length computed here 149 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp-vrfy.c:30: In function 'strncpy', inlined from 'go' at smtp-vrfy.c:195:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c: In function 'go': smtp-vrfy.c:195:11: note: length computed here 195 | strncpy((char *) psSessionData->szMAILFROM, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp-vrfy.c:30: In function 'strncpy', inlined from 'go' at smtp-vrfy.c:182:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp-vrfy.c: In function 'go': smtp-vrfy.c:182:11: note: length computed here 182 | strncpy((char *) psSessionData->szHELO, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ssh.o ssh.c In file included from /usr/include/string.h:495, from ssh.c:31: In function 'strncpy', inlined from 'response_callback' at ssh.c:424:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh.c: In function 'response_callback': ssh.c:424:9: note: length computed here 424 | strncpy(responses[i].text, pPass, strlen(pPass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ssh.c:31: In function 'strncpy', inlined from 'go' at ssh.c:136:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh.c: In function 'go': ssh.c:136:7: note: length computed here 136 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ssh.c:31: In function 'strncpy', inlined from 'go' at ssh.c:146:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh.c: In function 'go': ssh.c:146:11: note: length computed here 146 | strncpy((char *) psSessionData->szBannerMsg, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o svn.o svn.c svn.c: In function 'tryLogin': svn.c:353:3: warning: 'svn_client_list3' is deprecated [-Wdeprecated-declarations] 353 | err = svn_client_list3(canonical, &revision, &revision, svn_depth_empty, SVN_DIRENT_ALL, FALSE, FALSE, print_dirent, &ctx->auth_baton, ctx, pool); | ^~~ In file included from svn.c:47: /usr/include/subversion-1/svn_client.h:6806:1: note: declared here 6806 | svn_client_list3(const char *path_or_url, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from svn.c:32: In function 'strncpy', inlined from 'go' at svn.c:132:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svn.c: In function 'go': svn.c:132:7: note: length computed here 132 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from svn.c:32: In function 'strncpy', inlined from 'go' at svn.c:146:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svn.c: In function 'go': svn.c:146:11: note: length computed here 146 | strncpy((char *)psSessionData->szBranch, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o smtp.o smtp.c In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', inlined from 'sendAuthPLAIN' at smtp.c:529:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'sendAuthPLAIN': smtp.c:529:3: note: length computed here 529 | strncpy((char *)szTmpBuf, szLogin, strlen((char *)szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', inlined from 'sendAuthPLAIN' at smtp.c:530:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'sendAuthPLAIN': smtp.c:530:3: note: length computed here 530 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', inlined from 'sendAuthPLAIN' at smtp.c:531:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'sendAuthPLAIN': smtp.c:531:3: note: length computed here 531 | strncpy((char *)szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', inlined from 'go' at smtp.c:147:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'go': smtp.c:147:7: note: length computed here 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', inlined from 'go' at smtp.c:190:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'go': smtp.c:190:11: note: length computed here 190 | strncpy((char *) psSessionData->szEHLO, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smtp.c:33: In function 'strncpy', inlined from 'go' at smtp.c:177:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'go': smtp.c:177:11: note: length computed here 177 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o snmp.o snmp.c In file included from /usr/include/string.h:495, from snmp.c:33: In function 'strncpy', inlined from 'sendWrite' at snmp.c:677:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snmp.c: In function 'sendWrite': snmp.c:677:3: note: length computed here 677 | strncpy((char *)bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from snmp.c:33: In function 'strncpy', inlined from 'go' at snmp.c:167:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snmp.c: In function 'go': snmp.c:167:7: note: length computed here 167 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o telnet.o telnet.c telnet.c: In function 'initModule': telnet.c:277:67: warning: comparison between pointer and zero character constant [-Wpointer-compare] 277 | if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') | ^~ telnet.c:277:17: note: did you mean to dereference the pointer? 277 | if (strcasestr((char *)bufReceive, (char *)"Sign On") != '\0') | ^ telnet.c:306:74: warning: comparison between pointer and zero character constant [-Wpointer-compare] 306 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^~ telnet.c:306:19: note: did you mean to dereference the pointer? 306 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^ telnet.c:318:72: warning: comparison between pointer and zero character constant [-Wpointer-compare] 318 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^~ telnet.c:318:19: note: did you mean to dereference the pointer? 318 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^ telnet.c: In function 'tryLogin': telnet.c:482:66: warning: comparison between pointer and zero character constant [-Wpointer-compare] 482 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^~ telnet.c:482:13: note: did you mean to dereference the pointer? 482 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^ telnet.c:494:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] 494 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^~ telnet.c:494:15: note: did you mean to dereference the pointer? 494 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^ telnet.c:582:70: warning: comparison between pointer and zero character constant [-Wpointer-compare] 582 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^~ telnet.c:582:15: note: did you mean to dereference the pointer? 582 | if (strcasestr((char *)bufReceive, KNOWN_LOGIN_PROMPTS[i]) != '\0') | ^ telnet.c:597:68: warning: comparison between pointer and zero character constant [-Wpointer-compare] 597 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^~ telnet.c:597:15: note: did you mean to dereference the pointer? 597 | if (strcasestr((char *)bufReceive, KNOWN_PWD_PROMPTS[i]) != '\0') | ^ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:764:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:764:5: note: length computed here 764 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:754:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:754:5: note: length computed here 754 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:744:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:744:5: note: length computed here 744 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:734:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:734:5: note: length computed here 734 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:711:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:711:5: note: length computed here 711 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:701:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:701:5: note: length computed here 701 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'tryLoginAS400' at telnet.c:691:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'tryLoginAS400': telnet.c:691:5: note: length computed here 691 | strncpy((*psLogin)->pErrorMsg, szErrorMsg, strlen(szErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from telnet.c:42: In function 'strncpy', inlined from 'go' at telnet.c:155:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function 'go': telnet.c:155:7: note: length computed here 155 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o d3des.o d3des.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ../medusa-trace.o ../medusa-trace.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/local/lib -L/usr//lib -rdynamic -o ftp.mod ftp.o ../medusa-trace.o -lncp -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: multiple definition of `iVerboseLevel'; ftp.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: multiple definition of `pOutputFile'; ftp.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: multiple definition of `ptmFileMutex'; ftp.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: multiple definition of `iErrorLevel'; ftp.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: first defined here /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/librt.so when searching for -lrt /usr/bin/ld: skipping incompatible /usr//lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr//lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 collect2: error: ld returned 1 exit status make[3]: *** [Makefile:697: ftp.mod] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/local/lib -L/usr//lib -rdynamic -o cvs.mod cvs.o ../medusa-trace.o -lncp -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: multiple definition of `iVerboseLevel'; cvs.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: multiple definition of `pOutputFile'; cvs.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: multiple definition of `ptmFileMutex'; cvs.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: multiple definition of `iErrorLevel'; cvs.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: first defined here /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/librt.so when searching for -lrt /usr/bin/ld: skipping incompatible /usr//lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr//lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 collect2: error: ld returned 1 exit status make[3]: *** [Makefile:693: cvs.mod] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/local/lib -L/usr//lib -rdynamic -o imap.mod imap.o ntlm.o ../medusa-trace.o -lncp -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: multiple definition of `iVerboseLevel'; imap.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: multiple definition of `pOutputFile'; imap.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: multiple definition of `ptmFileMutex'; imap.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: multiple definition of `iErrorLevel'; imap.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: first defined here /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/librt.so when searching for -lrt /usr/bin/ld: skipping incompatible /usr//lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr//lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 collect2: error: ld returned 1 exit status make[3]: *** [Makefile:705: imap.mod] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/local/lib -L/usr//lib -rdynamic -o http.mod http.o ntlm.o http-digest.o ../medusa-trace.o -lncp -lpq -lssh2 -lsvn_client-1 -shared -ldl -lpthread -lssl -lcrypto -lssl -lcrypto -ldl -lrt -lm /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: multiple definition of `iVerboseLevel'; http.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:68: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: multiple definition of `pOutputFile'; http.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:66: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: multiple definition of `ptmFileMutex'; http.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:67: first defined here /usr/bin/ld: ../medusa-trace.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: multiple definition of `iErrorLevel'; http.o:/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc/../medusa.h:69: first defined here /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /usr//lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr//lib/librt.so when searching for -lrt /usr/bin/ld: skipping incompatible /usr//lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr//lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr//lib/libgcc_s.so.1 when searching for libgcc_s.so.1 collect2: error: ld returned 1 exit status make[3]: *** [Makefile:701: http.mod] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o web-form.o web-form.c In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'initModule' at web-form.c:356:15: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'initModule': web-form.c:356:15: note: length computed here 356 | strncpy(_psSessionData->szFormUser, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'initModule' at web-form.c:364:15: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'initModule': web-form.c:364:15: note: length computed here 364 | strncpy(_psSessionData->szFormPass, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'initModule' at web-form.c:372:15: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'initModule': web-form.c:372:15: note: length computed here 372 | strncpy(_psSessionData->szFormRest, pTemp, strlen(pTemp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:148:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:148:7: note: length computed here 148 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:229:13: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:229:13: note: length computed here 229 | strncpy(psSessionData->szCustomHeader + oldSize, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:220:13: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:220:13: note: length computed here 220 | strncpy(psSessionData->szCustomHeader, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:204:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:204:11: note: length computed here 204 | strncpy(psSessionData->szUserAgent, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:190:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:190:11: note: length computed here 190 | strncpy(psSessionData->szFormData, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:176:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:176:11: note: length computed here 176 | strncpy(psSessionData->szDenySignal, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../medusa-net.h:27, from module.h:35, from web-form.c:32: In function 'strncpy', inlined from 'go' at web-form.c:162:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ web-form.c: In function 'go': web-form.c:162:11: note: length computed here 162 | strncpy(psSessionData->szDir, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o wrapper.o wrapper.c In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'initModule' at wrapper.c:275:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'initModule': wrapper.c:275:11: note: length computed here 275 | strncpy(szCmdTmp + nCmdPartLength, psLogin->psServer->pHostIP, strlen(psLogin->psServer->pHostIP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'initModule' at wrapper.c:294:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'initModule': wrapper.c:294:11: note: length computed here 294 | strncpy(_psSessionData->szCmdParamFull + nCmdPartLength, psCredSet->psUser->pUser, strlen(psCredSet->psUser->pUser)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'initModule' at wrapper.c:313:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'initModule': wrapper.c:313:11: note: length computed here 313 | strncpy(szCmdTmp + nCmdPartLength, psCredSet->pPass, strlen(psCredSet->pPass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'initModule' at wrapper.c:335:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'initModule': wrapper.c:335:9: note: length computed here 335 | strncpy(_psSessionData->szCmdFull, _psSessionData->szCmd, strlen(_psSessionData->szCmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncat', inlined from 'initModule' at wrapper.c:337:9: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'initModule': wrapper.c:337:9: note: length computed here 337 | strncat(_psSessionData->szCmdFull, _psSessionData->szCmdParamFull, strlen(_psSessionData->szCmdParamFull)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'go' at wrapper.c:147:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'go': wrapper.c:147:7: note: length computed here 147 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'go' at wrapper.c:189:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'go': wrapper.c:189:60: note: length computed here 189 | strncpy((char *)psSessionData->szCmdParam, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from wrapper.c:30: In function 'strncpy', inlined from 'go' at wrapper.c:175:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wrapper.c: In function 'go': wrapper.c:175:55: note: length computed here 175 | strncpy((char *)psSessionData->szCmd, pOpt, strlen(pOpt) + 1); | ^~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o smbnt.o smbnt.c In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', inlined from 'parseFullyQualifiedUsername' at smbnt.c:560:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'parseFullyQualifiedUsername': smbnt.c:560:5: note: length computed here 560 | strncpy(szUser, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', inlined from 'parseFullyQualifiedUsername' at smbnt.c:539:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'parseFullyQualifiedUsername': smbnt.c:539:5: note: length computed here 539 | strncpy(pOptTmp, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', inlined from 'parseFullyQualifiedUsername' at smbnt.c:549:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'parseFullyQualifiedUsername': smbnt.c:549:5: note: length computed here 549 | strncpy(szUser, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', inlined from 'tryLogin' at smbnt.c:1895:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'tryLogin': smbnt.c:1895:7: note: length computed here 1895 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncat', inlined from 'tryLogin' at smbnt.c:1896:7: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'tryLogin': smbnt.c:1896:7: note: length computed here 1896 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', inlined from 'tryLogin' at smbnt.c:1926:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'tryLogin': smbnt.c:1926:7: note: length computed here 1926 | strncpy((*psLogin)->pErrorMsg, ErrorCode, strlen(ErrorCode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncat', inlined from 'tryLogin' at smbnt.c:1927:7: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'tryLogin': smbnt.c:1927:7: note: length computed here 1927 | strncat((*psLogin)->pErrorMsg, pErrorMsg, strlen(pErrorMsg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from smbnt.c:87: In function 'strncpy', inlined from 'go' at smbnt.c:293:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smbnt.c: In function 'go': smbnt.c:293:7: note: length computed here 293 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' x86_64-mageia-linux-gnu-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/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o vnc.o vnc.c In file included from /usr/include/string.h:495, from vnc.c:35: In function 'strncpy', inlined from 'sendAuthMSLogin' at vnc.c:870:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c: In function 'sendAuthMSLogin': vnc.c:868:38: note: length computed here 868 | if ((_psSessionData->szDomain) && (strlen(_psSessionData->szDomain) + 1 + strlen(szLogin) < 256)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from vnc.c:35: In function 'strncat', inlined from 'sendAuthMSLogin' at vnc.c:872:5: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c: In function 'sendAuthMSLogin': vnc.c:872:5: note: length computed here 872 | strncat((char *)ms_user, szLogin, strlen(szLogin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from vnc.c:35: In function 'strncpy', inlined from 'go' at vnc.c:160:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c: In function 'go': vnc.c:160:7: note: length computed here 160 | strncpy(pOptTmp, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from vnc.c:35: In function 'strncpy', inlined from 'go' at vnc.c:184:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vnc.c: In function 'go': vnc.c:184:11: note: length computed here 184 | strncpy((char *) psSessionData->szDomain, pOpt, strlen(pOpt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/medusa-2.2/src/modsrc' make[2]: *** [Makefile:451: all-recursive] Error 1 make[1]: *** [Makefile:446: all-recursive] Error 1 make: *** [Makefile:344: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.FRXgj3 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.FRXgj3 (%build) I: [iurt_root_command] ERROR: chroot