D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/sfk-1.9.7-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NxCit2 + 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.7 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/sfk-1.9.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sfk-1.9.7 + /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.zuMqm2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.7 + '[' 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=. + '[' 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=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.7' 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.7' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.7' 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 SFKPatch::processFileUntilDone(char*)': sfkext.cpp:9425:36: warning: '%s' directive writing up to 4095 bytes into a region of size 4090 [-Wformat-overflow=] 9425 | sprintf(szCopyCmd, "cp -p %s %s",szProbeCmd,pszTargFileName); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 4103) into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:9440:36: warning: '%s' directive writing up to 4095 bytes into a region of size 4087 [-Wformat-overflow=] 9440 | sprintf(szCopyCmd, "chmod +w %s", szProbeCmd); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:9469:39: warning: '%s' directive writing up to 4095 bytes into a region of size 4087 [-Wformat-overflow=] 9469 | sprintf(szCopyCmd, "chmod +w %s", szProbeCmd); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'void SrcParse::processLine(char*, bool)': sfkext.cpp:10069:31: warning: '%s' directive writing up to 4105 bytes into a region of size 4103 [-Wformat-overflow=] 10069 | sprintf(pszs, "{%s(\"%s\");", pszGlblMacro, szLineBuf3); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 4112) into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'void Media::closeOutput()': sfkext.cpp:12113:31: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 65 and 586 [-Wformat-truncation=] 12113 | "ffmpeg -y -i \"%s\" %s -codec copy \"%s\"", | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 32 and 1273 bytes into a destination of size 602 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'int Media::renderTempName(char*)': sfkext.cpp:12318:11: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 12304 | char *pszBase = szNameBuf; | ~~~~~~~~~ ...... 12318 | "%s-tmp.%s", pszBase, pszExt); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 527) into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In member function 'int Media::processMediaFile(char*, char*)': sfkext.cpp:12455:40: warning: '%s' directive writing up to 99 bytes into a region of size 97 [-Wformat-overflow=] 12455 | sprintf(szInfoBuf, "%s-%s (%s-%s)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 12456 | numtoa(nCurBeg, 10, szBuf1), numtoa(nCurEnd, 10, szBuf2), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12457 | movtimetoa(iBegSec*100,szBuf3),movtimetoa(iEndSec*100)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 204) into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'int execZipFile(Coi*, int, int)' at sfkext.cpp:16485:15: /usr/include/bits/stdio2.h:70:35: warning: 'int __builtin___snprintf_chk(char*, long unsigned int, int, long unsigned int, const char*, ...)' specified bound 4096 exceeds destination size 612 [-Wstringop-overflow=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execJoin(char*, char*, bool, char*)': sfkext.cpp:18749:30: warning: '.part' directive writing 5 bytes into a region of size between 1 and 4106 [-Wformat-overflow=] 18749 | sprintf(szLineBuf2, "%s.part%0*d", pszBaseName, iDigits, nin); | ^~~~~ sfkext.cpp:18749:27: note: using the range [1, 2147483647] for directive argument 18749 | sprintf(szLineBuf2, "%s.part%0*d", pszBaseName, iDigits, nin); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 7 and 2147487759 bytes into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execFileCopy(Coi*)': sfkext.cpp:20700:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 20700 | sprintf(szAttrBuf, "%c%s", glblPathChar, pszRelSrc); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:20727:46: warning: '%s' directive writing up to 4105 bytes into a region of size 4093 [-Wformat-overflow=] 20727 | sprintf(szAttrBuf, "%czz-shadow-01%s%s", glblPathChar, glblPathStr, pszRelSrc); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 4119) into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp: In function 'int execFileMove(Coi*)': sfkext.cpp:21006:31: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 21006 | sprintf(szAttrBuf, "%c%s", glblPathChar, pszRelSrc); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 2 and 4107 bytes into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __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:29176:20: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 29176 | "%s%szz-index%s.txt", szPathBuf1, psla, bExtPass ? "-ext" : ""); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 13 and 538 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:34080:69: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size 4089 [-Wformat-truncation=] 34080 | snprintf(szLineBuf, MAX_LINE_LEN, "%s%03d\tOK\t%s%s", szStatusPrefix, isubrc, pszRec, peol); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 4114) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfkext.cpp:34078:70: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size 4088 [-Wformat-truncation=] 34078 | snprintf(szLineBuf, MAX_LINE_LEN, "%s%03d\tERR\t%s%s", szStatusPrefix, isubrc, pszRec, peol); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfkext.cpp:11: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 4115) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.7' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.7' 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:3181:68: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 3181 | "Swiss File Knife/" SFK_VERSION " (sfk %s, " VER_STR_OS ")", | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 42 and 91 bytes into a destination of size 90 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In member function 'char* SFKHome::getPath(char*)': sfk.cpp:16427:8: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 16427 | "%s%c%s", szClDir, glblPathChar, pszRelPath); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 523) into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int testReplace(int)': sfk.cpp:28431:67: warning: '%s' directive writing up to 199 bytes into a region of size between 60 and 458 [-Wformat-overflow=] 28431 | sprintf(szCmd, ".%csfk replace -quiet=2 -yes -bylist %s %s -to %s", | ^~ 28432 | glblPathChar, szPatFile, szName1, szName3); | ~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 43 and 640 bytes into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from sfkbase.hpp:29, from sfk.cpp:1731: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int CommandChaining::addToCurLine(char*, char*, bool)' at sfk.cpp:13283:14: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In member function 'int CommandChaining::addToCurLine(char*, char*, bool)': sfk.cpp:13269:27: note: length computed here 13269 | int naddlen = strlen(pszWords); | ~~~~~~^~~~~~~~~~ sfk.cpp: In function 'int applyForm(char*, bool, int, int)': sfk.cpp:37857:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 37857 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:37833:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 37833 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:37808:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 37808 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:37790:40: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 37790 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:37769:43: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 37769 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:37739:43: warning: 's' directive writing 1 byte into a region of size between 0 and 99 [-Wformat-overflow=] 37739 | sprintf(szFormat2, "%%%ss", szFormat1); | ^ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execFind(Coi*)': sfk.cpp:22393:44: warning: '%s' directive writing up to 4105 bytes into a region of size between 4093 and 4098 [-Wformat-overflow=] 22393 | sprintf(szLineBuf2, "%05d : %s", nMatchLines, szLineBuf3); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 9 and 4119 bytes into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execJamFile(Coi*)': sfk.cpp:25295:76: warning: '%.40s' directive output may be truncated writing up to 40 bytes into a region of size between 0 and 250 [-Wformat-truncation=] 25295 | snprintf(szHeadBuf, sizeof(szHeadBuf), "%.50s%.*s%.40s%.40s%.40s%.40s%.40s%.40s", | ^~~~~ 25296 | pPrefix, (int)nPadLen, pGlblBlankBuf160, // tim siz otm osz cod web 25297 | szTimeInfo, szSizeInfo, szOTimeInf, szOSizeInf, szCodeInfo, szWebInfo); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 1 and 2147483938 bytes into a destination of size 250 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int prtFile(char*, char*, Coi*, char*, int, const char*, ...)': sfk.cpp:22441:34: warning: '%s' directive writing up to 4105 bytes into a region of size 4100 [-Wformat-overflow=] 22441 | sprintf(szPrintBuf2, "%05u %s%s%.*s%s", (uint)strlen(szPrintBuf1), szPrintBuf1, pq,nLen,pszFilename,pq); | ^~ ~~~~~~~~~~~ sfk.cpp:22441:28: note: assuming directive output of 1 byte 22441 | sprintf(szPrintBuf2, "%05u %s%s%.*s%s", (uint)strlen(szPrintBuf1), szPrintBuf1, pq,nLen,pszFilename,pq); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 7 and 8120 bytes into a destination of size 4106 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In member function 'char* SFKHome::makePath(char*, bool)': sfk.cpp:16427:8: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 512 [-Wformat-truncation=] 16427 | "%s%c%s", szClDir, glblPathChar, pszRelPath); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 523) into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int maphtaccess(char*, char*)': sfk.cpp:34012:43: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 499 [-Wformat-truncation=] 34012 | snprintf(szPat, imaxlen, "RewriteRule ^%s$", szRelFile); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 15 and 536 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:34027:34: warning: '%s' directive output may be truncated writing up to 521 bytes into a region of size 511 [-Wformat-truncation=] 34027 | snprintf(szOut, imaxlen, "%s%c%s", szBaseDir, glblPathChar, szRelFile); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 523) into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'bool encodeURL(char*)': sfk.cpp:37135:45: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 37135 | snprintf(szTopURLBuf, MAX_LINE_LEN, "%.*s%s", | ^~ 37136 | (int)(ptmp-pszRaw), pszRaw, szLineBuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 1 and 2147487753 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:27637: sfkext.cpp: In function 'int execXFind(Coi*, char*)': sfkext.cpp:39809:52: warning: '%s' directive writing up to 99 bytes into a region of size 50 [-Wformat-overflow=] 39809 | sprintf(szOffBuf1, "at offset %s", numtoa(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 11 and 110 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:27637: sfkext.cpp:39810:44: warning: '%s' directive writing up to 99 bytes into a region of size 58 [-Wformat-overflow=] 39810 | sprintf(szOffBuf5, "0x%s", numtohex(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 3 and 102 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:27637: sfkext.cpp:39806:54: warning: '%s' directive writing up to 99 bytes into a region of size 48 [-Wformat-overflow=] 39806 | sprintf(szOffBuf1, "at offset 0x%s", numtohex(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 13 and 112 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:27637: sfkext.cpp:39823:48: warning: '%s' directive writing up to 99 bytes into a region of size 57 [-Wformat-overflow=] 39823 | sprintf(szOffBuf6, " 0x%s", numtohex(nPatLen)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 4 and 103 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sfk.cpp:27637: sfkext.cpp:39820:48: warning: '%s' directive writing up to 99 bytes into a region of size 57 [-Wformat-overflow=] 39820 | sprintf(szOffBuf6, " 0x%s", numtohex(nPatLen)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 4 and 103 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int _Z11execFTPListPc.part.0(char*)': sfk.cpp:26280:24: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size 4087 [-Wformat-truncation=] 26280 | "%s\n" | ^~ 26281 | "%s %s %c%.3s%s" 26282 | , szLineBuf3, szLineBuf3 | ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 33 or more bytes (assuming 8346) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:26272:24: warning: '%s' directive output may be truncated writing up to 4105 bytes into a region of size between 3973 and 4072 [-Wformat-truncation=] 26272 | "%s" | ^~ ...... 26276 | , szLineBuf3, szLineBuf3 | ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 31 or more bytes (assuming 8340) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int execReplaceFix(Coi*)': sfk.cpp:27833:52: warning: '%s' directive writing up to 99 bytes into a region of size 50 [-Wformat-overflow=] 1943 | pszBuf = szBuf; | ~~~~~ ...... 27833 | sprintf(szOffBuf1, "at offset %s (0x%s)", numtoa(nAbsOff), numtohex(nAbsOff,1,szOffBuf5)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output 16 or more bytes (assuming 115) into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:27830:54: warning: '%s' directive writing up to 99 bytes into a region of size 48 [-Wformat-overflow=] 1943 | pszBuf = szBuf; | ~~~~~ ...... 27830 | sprintf(szOffBuf1, "at offset 0x%s", numtohex(nAbsOff)); | ^~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:38:34: note: '__builtin___sprintf_chk' output between 13 and 112 bytes into a destination of size 60 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int httpServ(unsigned int, unsigned int, bool, bool, bool, bool)': sfk.cpp:34328:35: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 59 and 158 [-Wformat-truncation=] 34328 | "md5sum = %s",szFile,numtoa(nTotal),szmd5); | ^~ ~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 40 or more bytes (assuming 238) into a destination of size 190 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int ftpClient(char*, unsigned int, char*, char*, char*, bool)': sfk.cpp:31542:21: warning: '%s' directive output may be truncated writing up to 4103 bytes into a region of size 4092 [-Wformat-truncation=] 31541 | snprintf(szLineBuf2, sizeof(szLineBuf2)-10, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31542 | "NLST%s", szLineBuf+2); | ~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 5 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:31530:21: warning: '%s' directive output may be truncated writing up to 4103 bytes into a region of size 4092 [-Wformat-truncation=] 31529 | snprintf(szLineBuf2, sizeof(szLineBuf2)-10, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31530 | "NLST%s", szLineBuf+2); | ~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 5 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:31514:18: warning: '%s' directive output may be truncated writing up to 4101 bytes into a region of size 4092 [-Wformat-truncation=] 31513 | snprintf(szLineBuf2, sizeof(szLineBuf2)-10, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31514 | "MLSD%s", szLineBuf+4); | ~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 5 and 4106 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:31502:21: warning: '%s' directive output may be truncated writing up to 4102 bytes into a region of size 4092 [-Wformat-truncation=] 31501 | snprintf(szLineBuf2, sizeof(szLineBuf2)-10, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31502 | "SLST%s", szLineBuf+3); | ~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 5 and 4107 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp:31490:21: warning: '%s' directive output may be truncated writing up to 4102 bytes into a region of size 4092 [-Wformat-truncation=] 31489 | snprintf(szLineBuf2, sizeof(szLineBuf2)-10, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31490 | "LIST%s", szLineBuf+3); | ~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 5 and 4107 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfk.cpp: In function 'int submain(int, char**, char**, char*, int, bool&)': sfk.cpp:66771:48: warning: '%s' directive output may be truncated writing up to 1095 bytes into a region of size 1013 [-Wformat-truncation=] 66771 | snprintf(szCmd, sizeof(szCmd)-10, "%s %s", argv[0], szGlblHelpCmdText+4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from sfkbase.hpp:28, from sfk.cpp:1731: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1097) into a destination of size 1014 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.7' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.7' 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.7' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZsKYh4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 + cd sfk-1.9.7 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sfk-1.9.7' test -z "/usr/bin" || /usr/bin/mkdir -p "/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64/usr/bin" /usr/bin/install -p sfk '/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-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.7' + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.9.7-1.mga8 --unique-debug-suffix -1.9.7-1.mga8.aarch64 --unique-debug-src-base sfk-1.9.7-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.7 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64/usr/bin/sfk extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64/usr/bin/sfk original debug info size: 6052kB, size after compression: 5884kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 9048 blocks + /usr/lib/rpm/check-buildroot + '[' -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/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/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sfk-1.9.7-1.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.w0v9Z0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.7 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-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.7-1.mga8.aarch64/usr/share/doc/sfk + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64/usr/share/doc/sfk + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64/usr/share/doc/sfk + cp -pr README /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-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.8YPMH2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.7 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-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.7-1.mga8.aarch64/usr/share/licenses/sfk + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64/usr/share/licenses/sfk + RPM_EC=0 ++ jobs -p + exit 0 Provides: sfk = 1.9.7-1.mga8 sfk(aarch-64) = 1.9.7-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.7-1.mga8.aarch64 Provides: sfk-debugsource = 1.9.7-1.mga8 sfk-debugsource(aarch-64) = 1.9.7-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.7-1.mga8.aarch64 Provides: debuginfo(build-id) = 2c922ea1ec5b1fa71e16312058b7d896cc09650d sfk-debuginfo = 1.9.7-1.mga8 sfk-debuginfo(aarch-64) = 1.9.7-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.7-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sfk-1.9.7-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sfk-debugsource-1.9.7-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sfk-debuginfo-1.9.7-1.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lf2eH4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sfk-1.9.7 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/sfk-1.9.7-1.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KdBSw3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf sfk-1.9.7 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!