D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/sfk-1.9.5-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.cOMD2B + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sfk-1.9.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/sfk-1.9.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sfk-1.9.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SMG4CB + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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=aarch64-mageia-linux-gnu --build=aarch64-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether aarch64-mageia-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of aarch64-mageia-linux-gnu-g++... none configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sfkpack.o sfkpack.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sfkext.o sfkext.cpp sfkext.cpp: In member function 'int HTTPClient::sendReq(const char*, char*, char*, int)': sfkext.cpp:4564:66: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 169 [-Wformat-truncation=] 4564 | snprintf(szAuth1,sizeof(szAuth1)-10, "Authorization: Basic %s", szAuth2); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 22 and 221 bytes into a destination of size 190 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'int SFKPatch::processFileUntilDone(char*)': sfkext.cpp:9347:28: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 9347 | sprintf(szProbeCmd,"%s%c%s",szBackupDir,glblPathChar,szRelFileName); | ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 5120 bytes into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:9411:36: warning: '%s' directive writing up to 4095 bytes into a region of size 4090 [-Wformat-overflow=] 9411 | sprintf(szCopyCmd, "cp -p %s %s",szProbeCmd,pszTargFileName); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 4103) into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:9426:36: warning: '%s' directive writing up to 4095 bytes into a region of size 4087 [-Wformat-overflow=] 9426 | sprintf(szCopyCmd, "chmod +w %s", szProbeCmd); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:9455:39: warning: '%s' directive writing up to 4095 bytes into a region of size 4087 [-Wformat-overflow=] 9455 | sprintf(szCopyCmd, "chmod +w %s", szProbeCmd); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:9481:35: warning: '%s' directive writing up to 4095 bytes into a region of size 4089 [-Wformat-overflow=] 9481 | sprintf(szCopyCmd,"cp -p %s %s",pszTargFileName,szBackupDir); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 4103) into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'void SrcParse::processLine(char*, bool)': sfkext.cpp:10055:31: warning: '%s' directive writing up to 4105 bytes into a region of size 4103 [-Wformat-overflow=] 10055 | sprintf(pszs, "{%s(\"%s\");", pszGlblMacro, szLineBuf3); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 4112) into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int sfkInstrument(char*, const char*, const char*, bool, bool, bool, int)': sfkext.cpp:10258:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 10258 | sprintf(szBupFile, "%s%c%s", szBupDir, glblPathChar, pszRelFile); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 613) into a destination of size 612 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execRename(Coi*)': sfkext.cpp:11132:61: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] 11132 | snprintf(abDstPrint, sizeof(abDstPrint)-10, "ERR : %s - %s", abDstAbs, szinfo); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 10 and 1232 bytes into a destination of size 1014 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:11139:61: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] 11139 | snprintf(abDstPrint, sizeof(abDstPrint)-10, "TO : %s", abDstAbs); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 7 and 1030 bytes into a destination of size 1014 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execXRename(Coi*)': sfkext.cpp:11473:61: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] 11473 | snprintf(abDstPrint, sizeof(abDstPrint)-10, "ERR : %s - %s", abDstAbs, szinfo); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 10 and 1232 bytes into a destination of size 1014 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:11480:61: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] 11480 | snprintf(abDstPrint, sizeof(abDstPrint)-10, "TO : %s", abDstAbs); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 7 and 1030 bytes into a destination of size 1014 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'void Media::closeOutput()': sfkext.cpp:12099:31: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 65 and 586 [-Wformat-truncation=] 12099 | "ffmpeg -y -i \"%s\" %s -codec copy \"%s\"", | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 32 and 1273 bytes into a destination of size 602 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'int Media::renderTempName(char*)': sfkext.cpp:12304:11: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 12290 | char *pszBase = szNameBuf; | ~~~~~~~~~ ...... 12304 | "%s-tmp.%s", pszBase, pszExt); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 527) into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execCsvConv(bool, Coi*, FILE*, StringPipe*, int, char*)': sfkext.cpp:12977:60: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size between 4074 and 4084 [-Wformat-truncation=] 12977 | snprintf(szLineBuf2, MAX_LINE_LEN, "[warning:%d]\t%s", isubrc, szLineBuf); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 13 and 4128 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execZipFile(Coi*, int, int)': sfkext.cpp:16098:46: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 611 [-Wformat-truncation=] 16098 | snprintf(szMatchBuf, MAX_LINE_LEN, "/%s/", szInZipNameUTF); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 614 bytes into a destination of size 612 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execUnzip(char*, char*, int, char**)': sfkext.cpp:17694:51: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size 4095 [-Wformat-truncation=] 17694 | snprintf(szLineBuf3, MAX_LINE_LEN, "%c%s%c", glblPathChar, szLineBuf2, glblPathChar); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 4108 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execJoin(char*, char*, bool, char*)': sfkext.cpp:18362:30: warning: '.part' directive writing 5 bytes into a region of size between 1 and 4106 [-Wformat-overflow=] 18362 | sprintf(szLineBuf2, "%s.part%0*d", pszBaseName, iDigits, nin); | ^~~~~ sfkext.cpp:18362:27: note: using the range [1, 2147483647] for directive argument 18362 | sprintf(szLineBuf2, "%s.part%0*d", pszBaseName, iDigits, nin); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 2147487759 bytes into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execFileCopy(Coi*)': sfkext.cpp:20313:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 20313 | sprintf(szAttrBuf, "%c%s", glblPathChar, pszRelSrc); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:20340:46: warning: '%s' directive writing up to 4105 bytes into a region of size 4093 [-Wformat-overflow=] 20340 | sprintf(szAttrBuf, "%czz-shadow-01%s%s", glblPathChar, glblPathStr, pszRelSrc); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 4119) into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execFileMove(Coi*)': sfkext.cpp:20619:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 20619 | sprintf(szAttrBuf, "%c%s", glblPathChar, pszRelSrc); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int extmain(int, char**, char**, char*, int&, bool, bool, bool&, int&, bool&, int&, int&, bool&)': sfkext.cpp:28480:20: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 28480 | "%s%szz-index%s.txt", szPathBuf1, psla, bExtPass ? "-ext" : ""); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 13 and 538 bytes into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:30775:34: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 30775 | sprintf(szIP, "%s.%d", szBase, icur); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 112 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:30622:36: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 30622 | sprintf(szBase, "%s.%d", szRoot, anet[i]); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 112 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:30652:37: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 30652 | sprintf(szIP, "%s.%d", szBase, ipcur); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 112 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:32995:69: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size between 3590 and 4089 [-Wformat-truncation=] 32995 | snprintf(szLineBuf, MAX_LINE_LEN, "%s%03d\tOK\t%s%s", szStatusPrefix, isubrc, pszRec, peol); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4613 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:32993:70: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size between 3581 and 4088 [-Wformat-truncation=] 32993 | snprintf(szLineBuf, MAX_LINE_LEN, "%s%03d\tERR\t%s%s", szStatusPrefix, isubrc, pszRec, peol); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 9 and 4622 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:37478:49: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size 4095 [-Wformat-truncation=] 37478 | snprintf(szLineBuf2,MAX_LINE_LEN,"\t%s",szLineBuf); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 4107 bytes into a destination of size 4096 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/sfk-1.9.5' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sfk.o sfk.cpp sfk.cpp: In function 'char* getHTTPUserAgent()': sfk.cpp:2959:68: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2959 | "Swiss File Knife/" SFK_VERSION " (sfk %s, " VER_STR_OS ")", | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 42 and 91 bytes into a destination of size 90 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from sfkbase.hpp:29, from sfk.cpp:1529: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int CommandChaining::addToCurLine(char*, char*, bool)' at sfk.cpp:12872:14: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In member function 'int CommandChaining::addToCurLine(char*, char*, bool)': sfk.cpp:12858:27: note: length computed here 12858 | int naddlen = strlen(pszWords); | ~~~~~~^~~~~~~~~~ sfk.cpp: In function 'int testReplace(int)': sfk.cpp:27635:67: warning: '%s' directive writing up to 199 bytes into a region of size between 60 and 458 [-Wformat-overflow=] 27635 | sprintf(szCmd, ".%csfk replace -quiet=2 -yes -bylist %s %s -to %s", | ^~ 27636 | glblPathChar, szPatFile, szName1, szName3); | ~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 43 and 640 bytes into a destination of size 500 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int evalFormBlock(char*, char*, StringTable&, int, int)': sfk.cpp:36314:50: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 38 and 39 [-Wformat-truncation=] 36314 | snprintf(szform2, sizeof(szform2)-10, "%s%%%ss%s", pquot, szform, pquot); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 104 bytes into a destination of size 40 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int applyForm(char*, bool, int, int)': sfk.cpp:36572:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 36572 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:36548:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 36548 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:36523:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 36523 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:36505:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 36505 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:36484:43: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 36484 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:36454:43: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 36454 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execFind(Coi*)': sfk.cpp:21650:44: warning: '%s' directive writing up to 4105 bytes into a region of size between 4093 and 4098 [-Wformat-overflow=] 21650 | sprintf(szLineBuf2, "%05d : %s", nMatchLines, szLineBuf3); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 4119 bytes into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execRefProcSrc(char*, char*, int, int)': sfk.cpp:25214:53: warning: '%s' directive writing up to 4105 bytes into a region of size 4094 [-Wformat-overflow=] 25214 | sprintf(szLineBuf2, "%s\t%s\t[by text \"%s\" within \"%.*s\"]", pszRel, pszDstRaw, pszDst, (int)nBruttoLen, pszPre); | ^~ sfk.cpp:25214:33: note: assuming directive output of 1 byte 25214 | sprintf(szLineBuf2, "%s\t%s\t[by text \"%s\" within \"%.*s\"]", pszRel, pszDstRaw, pszDst, (int)nBruttoLen, pszPre); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 4131) into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execJamFile(Coi*)': sfk.cpp:24533:76: warning: '%.40s' directive output may be truncated writing up to 40 bytes into a region of size between 0 and 250 [-Wformat-truncation=] 24533 | snprintf(szHeadBuf, sizeof(szHeadBuf), "%.50s%.*s%.40s%.40s%.40s%.40s%.40s%.40s", | ^~~~~ 24534 | pPrefix, (int)nPadLen, pGlblBlankBuf160, // tim siz otm osz cod web 24535 | szTimeInfo, szSizeInfo, szOTimeInf, szOSizeInf, szCodeInfo, szWebInfo); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 1 and 2147483938 bytes into a destination of size 250 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int prtFile(char*, char*, Coi*, char*, int, const char*, ...)': sfk.cpp:21698:34: warning: '%s' directive writing up to 4105 bytes into a region of size 4100 [-Wformat-overflow=] 21698 | sprintf(szPrintBuf2, "%05u %s%s%.*s%s", (uint)strlen(szPrintBuf1), szPrintBuf1, pq,nLen,pszFilename,pq); | ^~ ~~~~~~~~~~~ sfk.cpp:21698:28: note: assuming directive output of 1 byte 21698 | sprintf(szPrintBuf2, "%05u %s%s%.*s%s", (uint)strlen(szPrintBuf1), szPrintBuf1, pq,nLen,pszFilename,pq); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 8120 bytes into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In member function 'char* SFKHome::makePath(char*, bool)': sfk.cpp:15981:8: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 15981 | "%s%c%s", szClDir, glblPathChar, pszRelPath); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 523) into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'bool encodeURL(char*)': sfk.cpp:35850:45: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 35850 | snprintf(szTopURLBuf, MAX_LINE_LEN, "%.*s%s", | ^~ 35851 | (int)(ptmp-pszRaw), pszRaw, szLineBuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 1 and 2147487753 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:26841: sfkext.cpp: In function 'int execXFind(Coi*, char*)': sfkext.cpp:38689:52: warning: '%s' directive writing up to 99 bytes into a region of size 50 [-Wformat-overflow=] 38689 | sprintf(szOffBuf1, "at offset %s", numtoa(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 11 and 110 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:26841: sfkext.cpp:38690:44: warning: '%s' directive writing up to 99 bytes into a region of size 58 [-Wformat-overflow=] 38690 | sprintf(szOffBuf5, "0x%s", numtohex(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:26841: sfkext.cpp:38686:54: warning: '%s' directive writing up to 99 bytes into a region of size 48 [-Wformat-overflow=] 38686 | sprintf(szOffBuf1, "at offset 0x%s", numtohex(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 112 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:26841: sfkext.cpp:38703:48: warning: '%s' directive writing up to 99 bytes into a region of size 57 [-Wformat-overflow=] 38703 | sprintf(szOffBuf6, " 0x%s", numtohex(nPatLen)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 4 and 103 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:26841: sfkext.cpp:38700:48: warning: '%s' directive writing up to 99 bytes into a region of size 57 [-Wformat-overflow=] 38700 | sprintf(szOffBuf6, " 0x%s", numtohex(nPatLen)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 4 and 103 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execReplaceFix(Coi*)': sfk.cpp:27037:52: warning: '%s' directive writing up to 99 bytes into a region of size 50 [-Wformat-overflow=] 1740 | pszBuf = szBuf; | ~~~~~ ...... 27037 | sprintf(szOffBuf1, "at offset %s (0x%s)", numtoa(nAbsOff), numtohex(nAbsOff,1,szOffBuf5)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 174 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:27034:54: warning: '%s' directive writing up to 99 bytes into a region of size 48 [-Wformat-overflow=] 1740 | pszBuf = szBuf; | ~~~~~ ...... 27034 | sprintf(szOffBuf1, "at offset 0x%s", numtohex(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 112 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int httpServ(unsigned int, unsigned int, bool, bool, bool, bool)': sfk.cpp:33123:65: warning: '%s' directive output may be truncated writing up to 561 bytes into a region of size 182 [-Wformat-truncation=] 33123 | snprintf(szStatus, sizeof(szStatus)-10, "saved : %s (%s bytes) md5=%s",szFile,numtoa(nTotal),szmd5); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 23 and 782 bytes into a destination of size 190 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:33121:65: warning: '%s' directive output may be truncated writing up to 561 bytes into a region of size 182 [-Wformat-truncation=] 33121 | snprintf(szStatus, sizeof(szStatus)-10, "failed: %s (error %d)",szFile,iError); | ^~ ~~~~~~ sfk.cpp:33121:56: note: directive argument in the range [1, 3] 33121 | snprintf(szStatus, sizeof(szStatus)-10, "failed: %s (error %d)",szFile,iError); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 580 bytes into a destination of size 190 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In constructor 'SFKMapArgs::SFKMapArgs(char*, int, char**, int)': sfk.cpp:42293:54: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 89 [-Wformat-truncation=] 42293 | snprintf(szform2, sizeof(szform2)-10, "%%%ss", szform); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 102 bytes into a destination of size 90 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int submain(int, char**, char**, char*, int, bool&)': sfk.cpp:42477:18: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 183 [-Wformat-truncation=] 42477 | "CHAIN: %s %-30.30s ", szInInfo, dataAsTrace(szCmdInfo,strlen(szCmdInfo))); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 40 and 239 bytes into a destination of size 190 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:59387:37: warning: '%s' directive writing up to 100099 bytes into a region of size between 4089 and 4106 [-Wformat-overflow=] 59387 | sprintf(szLineBuf3, "%s%s%s%s %s%s", pszwopt, pszTarg, pszxopt, (char*)abBuf, pszTmpFile, pszsopt); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 100120) into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:59252:40: warning: '%s' directive writing up to 100099 bytes into a region of size between 4089 and 4106 [-Wformat-overflow=] 59252 | sprintf(szLineBuf2, "%s%s%s%s -flist %s%s", pszwopt, pszTarg, pszxopt, (char*)abBuf, pszTmpFile, pszsopt); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from sfkbase.hpp:28, from sfk.cpp:1529: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 100127) into a destination of size 4106 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' aarch64-mageia-linux-gnu-g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o sfk sfk.o sfkext.o sfkpack.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.QKDOcC + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 + cd sfk-1.9.5 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' test -z "/usr/bin" || /usr/bin/mkdir -p "/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/bin" /usr/bin/install -p sfk '/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/bin' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.5' + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.9.5-1.mga8 --unique-debug-suffix -1.9.5-1.mga8.aarch64 --unique-debug-src-base sfk-1.9.5-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/sfk-1.9.5 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/bin/sfk extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/bin/sfk original debug info size: 5328kB, size after compression: 5180kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 8853 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sfk-1.9.5-1.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9XyIED + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.5 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/doc/sfk + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/doc/sfk + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/doc/sfk + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/doc/sfk + cp -pr README /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/doc/sfk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TeXOhC + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.5 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/licenses/sfk + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/licenses/sfk + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64/usr/share/licenses/sfk + RPM_EC=0 ++ jobs -p + exit 0 Provides: sfk = 1.9.5-1.mga8 sfk(aarch-64) = 1.9.5-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) Processing files: sfk-debugsource-1.9.5-1.mga8.aarch64 Provides: sfk-debugsource = 1.9.5-1.mga8 sfk-debugsource(aarch-64) = 1.9.5-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sfk-debuginfo-1.9.5-1.mga8.aarch64 Provides: debuginfo(build-id) = 48489fbcc0df12f5df9d0567a534da92c7780fa9 sfk-debuginfo = 1.9.5-1.mga8 sfk-debuginfo(aarch-64) = 1.9.5-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sfk-debugsource(aarch-64) = 1.9.5-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sfk-1.9.5-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sfk-debuginfo-1.9.5-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sfk-debugsource-1.9.5-1.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ELeh8B + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.5 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.5-1.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RrlcEE + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf sfk-1.9.5 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!