D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/ss5-3.8.9-21.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tZoiUR + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ss5-3.8.9 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ss5-3.8.9-8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ss5-3.8.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-make.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-ss5-ha-loc.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-init.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ss5-3.8.9-openssl11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.h7kCXS + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ss5-3.8.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline' + 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,--no-undefined -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 + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-epollio --with-gssapi --with-mysql --with-logpathbase=/var/log/ss5 --with-configfile=/etc/ss5/ss5.conf --with-passwordfile=/etc/ss5/ss5.passwd --with-logfile=/var/log/ss5/ss5.log --with-profilepath=/etc/ss5 --with-libpath=/usr/lib64 --with-tracepath=/var/log/ss5 --with-confpathbase=/etc configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for main in -ldl... yes checking for main in -lldap... yes checking for main in -lpam... yes checking for main in -lpam_misc... yes checking for main in -lpthread... yes checking for main in -lssl... yes checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether x86_64-mageia-linux-gnu-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strtol... yes checking for main in -lgssapi... no checking for main in -lgssglue... yes configure: creating ./config.status config.status: creating Makefile config.status: creating modules/Makefile config.status: creating modules/mod_authen/Makefile config.status: creating modules/mod_author/Makefile config.status: creating modules/mod_balance/Makefile config.status: creating modules/mod_bandwidth/Makefile config.status: creating modules/mod_dump/Makefile config.status: creating modules/mod_filter/Makefile config.status: creating modules/mod_log/Makefile config.status: creating modules/mod_proxy/Makefile config.status: creating modules/mod_socks4/Makefile config.status: creating modules/mod_socks5/Makefile config.status: creating modules/mod_statistics/Makefile config.status: creating common/Makefile config.status: creating src/Makefile config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 'CXX=g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -fPIC -c -o SS5OpenLdap.o SS5OpenLdap.c make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4' 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 -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -c -o SS5Mod_socks4.o SS5Mod_socks4.c SS5OpenLdap.c: In function 'DirectoryQuery': SS5OpenLdap.c:202:14: warning: implicit declaration of function 'ldap_bind_s' [-Wimplicit-function-declaration] 202 | if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) { | ^~~~~~~~~~~ SS5OpenLdap.c:205:5: warning: implicit declaration of function 'ldap_unbind'; did you mean 'ldap_unbind_ext'? [-Wimplicit-function-declaration] 205 | ldap_unbind( ld ); | ^~~~~~~~~~~ | ldap_unbind_ext SS5OpenLdap.c:211:14: warning: implicit declaration of function 'ldap_search_st'; did you mean 'ldap_search_ext'? [-Wimplicit-function-declaration] 211 | if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) { | ^~~~~~~~~~~~~~ | ldap_search_ext SS5Mod_socks4.c: In function 'RequestParsing': SS5Mod_socks4.c:116:94: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 57 and 66 [-Wformat-truncation=] 116 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~ SS5Mod_socks4.c:116:30: note: using the range [-2147483648, 2147483647] for directive argument 116 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 76 and 222 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:100:7: note: in expansion of macro 'ERRNO' 100 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks4.c:137:94: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 57 and 66 [-Wformat-truncation=] 137 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~ SS5Mod_socks4.c:137:30: note: using the range [-2147483648, 2147483647] for directive argument 137 | snprintf(logString,128,"[%u] [DEBU] [S4 REQUEST PACKET] Receiving socks destination ip %s and port: %d.",pid,ri->DstAddr,ri->DstPort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 76 and 222 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:145:7: note: in expansion of macro 'ERRNO' 145 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:79:5: note: in expansion of macro 'ERRNO' 79 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:59:5: note: in expansion of macro 'ERRNO' 59 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SS5Mod_socks4.c: In function 'S5ResolvHostName': SS5Mod_socks4.c:738:54: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 99 and 108 [-Wformat-truncation=] 738 | snprintf(logString,128,"[%u] [VERB] Resolved %s to %s.",pid,ri->DstAddr,resolvedHostList[count].NextHost); | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 177 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: SS5Mod_socks4.c: In function 'FileCheck': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 93 and 102 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:831:7: note: in expansion of macro 'ERRNO' 831 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 28 and 164 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: SS5Mod_socks4.c: In function 'UpstreamServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:205:11: note: in expansion of macro 'ERRNO' 205 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:264:9: note: in expansion of macro 'ERRNO' 264 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:299:9: note: in expansion of macro 'ERRNO' 299 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:279:9: note: in expansion of macro 'ERRNO' 279 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:251:7: note: in expansion of macro 'ERRNO' 251 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:242:7: note: in expansion of macro 'ERRNO' 242 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:232:7: note: in expansion of macro 'ERRNO' 232 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 87 and 96 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:184:5: note: in expansion of macro 'ERRNO' 184 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 170 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -fPIC -c -o SS5Radius.o SS5Radius.c In file included from SS5Mod_socks4.c:20: SS5Mod_socks4.c: In function 'ConnectServing': ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:385:15: note: in expansion of macro 'ERRNO' 385 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:364:11: note: in expansion of macro 'ERRNO' 364 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:399:11: note: in expansion of macro 'ERRNO' 399 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:409:15: note: in expansion of macro 'ERRNO' 409 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:349:7: note: in expansion of macro 'ERRNO' 349 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from SS5Mod_socks4.c:20: ../../include/SS5Main.h:208:49: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 88 and 97 [-Wformat-truncation=] 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ SS5Mod_socks4.c:435:5: note: in expansion of macro 'ERRNO' 435 | ERRNO(pid) | ^~~~~ ../../include/SS5Main.h:208:69: note: format string is defined here 208 | sizeof(logString) - 1,"[%u] [ERRO] $%s$: (%s).",p,__func__,s); LOGUPDATE() } | ^~ In file included from /usr/include/stdio.h:867, from ../../include/SS5Main.h:33, from SS5Mod_socks4.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 169 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -o mod_socks4.so SS5Mod_socks4.o ../../common/SS5OpenLdap.o -lpthread /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:472: multiple definition of `SS5SocksOpt'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:472: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5OpenLdap.h:34: multiple definition of `S5Ldap'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5OpenLdap.h:34: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:1096: multiple definition of `SS5Modules'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:1096: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Mod_authorization.h:38: multiple definition of `NLdapStore'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Mod_authorization.h:38: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Mod_authorization.h:48: multiple definition of `ACMutex'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Mod_authorization.h:48: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Mod_authorization.h:39: multiple definition of `NMysqlStore'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Mod_authorization.h:39: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Mod_authorization.h:36: multiple definition of `_tmp_NAclList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Mod_authorization.h:36: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Mod_authorization.h:35: multiple definition of `NAclList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Mod_authorization.h:35: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:867: multiple definition of `_old_S5DumpList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:867: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:866: multiple definition of `_tmp_S5DumpList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:866: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:865: multiple definition of `S5DumpList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:865: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:842: multiple definition of `BTMutex'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:842: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:840: multiple definition of `_tmp_NBandwidthList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:840: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:839: multiple definition of `NBandwidthList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:839: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:837: multiple definition of `_old_S5BandTableList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:837: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:836: multiple definition of `_tmp_S5BandTableList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:836: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:835: multiple definition of `S5BandTableList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:835: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:833: multiple definition of `S5GlobalBandwidth'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:833: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:807: multiple definition of `S5LogFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:807: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:799: multiple definition of `CSMutex'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:799: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:797: multiple definition of `SS5Statistics'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:797: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:719: multiple definition of `CAMutex'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:719: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:718: multiple definition of `CTMutex'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:718: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:716: multiple definition of `S5StickyList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:716: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:705: multiple definition of `_tmp_NReal'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:705: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:704: multiple definition of `NReal'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:704: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:702: multiple definition of `S5ConnectionTable'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:702: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:653: multiple definition of `S5AuthoCacheList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:653: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:636: multiple definition of `_old_S5AclList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:636: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:635: multiple definition of `_tmp_S5AclList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:635: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:634: multiple definition of `S5AclList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:634: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:586: multiple definition of `S5AuthCacheList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:586: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:558: multiple definition of `_old_S5ProxyList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:558: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:557: multiple definition of `_tmp_S5ProxyList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:557: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:556: multiple definition of `S5ProxyList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:556: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:538: multiple definition of `_old_S5RouteList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:538: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:537: multiple definition of `_tmp_S5RouteList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:537: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:536: multiple definition of `S5RouteList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:536: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:522: multiple definition of `_old_S5MethodList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:522: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:521: multiple definition of `_tmp_S5MethodList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:521: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:520: multiple definition of `S5MethodList'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:520: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:431: multiple definition of `NInterF'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:431: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:429: multiple definition of `S5Interface'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:429: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:424: multiple definition of `NPeers'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:424: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:422: multiple definition of `SS5Peer'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:422: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:418: multiple definition of `COMutex'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:418: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:416: multiple definition of `S5RepKey'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:416: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:415: multiple definition of `S5LoggingFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:415: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:414: multiple definition of `S5ProfilePath'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:414: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:413: multiple definition of `S5TracePath'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:413: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:412: multiple definition of `S5LibPath'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:412: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:411: multiple definition of `S5PasswordFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:411: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:410: multiple definition of `S5PeersFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:410: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:409: multiple definition of `S5ConfigFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:409: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:408: multiple definition of `S5PidFileName'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:408: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:406: multiple definition of `S5PidFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:406: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:404: multiple definition of `S5PeerFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:404: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:402: multiple definition of `S5ConfFile'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:402: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:400: multiple definition of `S5SocksSsin'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:400: first defined here /usr/bin/ld: ../../common/SS5OpenLdap.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common/../include/SS5Main.h:398: multiple definition of `S5SocksSocket'; SS5Mod_socks4.o:/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4/../../include/SS5Main.h:398: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:38: mod_socks4.so] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules/mod_socks4' make[1]: *** [Makefile:6: all] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/modules' make: *** [Makefile:27: modules] Error 2 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fgnu89-inline -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -D EPOLL_IO -DSS5_USE_GSSAPI -DSS5_USE_MYSQL -fPIC -c -o SS5MySql.o SS5MySql.c SS5MySql.c: In function 'MySqlQuery': SS5MySql.c:118:52: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'const char *' [-Wformat=] 118 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int const char * | %s SS5MySql.c:118:63: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 118 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ | | | char * SS5MySql.c:127:52: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'const char *' [-Wformat=] 127 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int const char * | %s SS5MySql.c:127:63: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 127 | snprintf(logString, sizeof(logString) - 1,"[%u] [DEBU] %s\n", mysql_error(conn)); | ~^ | | | char * SS5MySql.c:111:40: warning: ' '' directive output may be truncated writing 2 bytes into a region of size between 0 and 127 [-Wformat-truncation=] 111 | snprintf(query,sizeof(query) - 1,"%s '%s'",S5Mysql.SqlString,group); | ^~ In file included from /usr/include/stdio.h:867, from ../include/SS5Main.h:33, from SS5MySql.c:21: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 131) into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/ss5-3.8.9/common' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.h7kCXS (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.h7kCXS (%build) I: [iurt_root_command] ERROR: chroot