Cook: partimage 0.6.9 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): libcroco-0.6.12-i486 Installing (pkg/local): gettext-0.19.8.1-i486 Installing (pkg/local): gettext-dev-0.19.8.1-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): oniguruma-6.9.0-i486 Installing (pkg/local): slang-2.3.1-i486 Installing (pkg/local): tcl-8.6.9-i486 Installing (pkg/local): newt-0.52.20-i486 Installing (pkg/local): newt-dev-0.52.20-any Installing (pkg/local): slang-dev-2.3.1-i486 Installing (pkg/local): bzip2-dev-1.0.8-i486 Installing (pkg/local): openssl-dev-1.1.1d-i486 Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): pam-1.3.0-i486 Installing (pkg/local): db-6.2.32-i486 Installing (pkg/local): libdb-cxx-6.2.32-i486 Installing (pkg/local): db-dev-6.2.32-i486 Installing (pkg/local): libtirpc-dev-1.1.4-any Installing (pkg/local): pam-dev-1.3.0-any Extracting source archive "partimage-0.6.9.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Applying patch partimage-0.6.9-zlib-1.2.6.patch patching file src/client/imagefile.cpp Hunk #1 succeeded at 783 with fuzz 2. patching file src/client/imagefile.h Applying patch use-SSLv3-by-default.patch patching file src/client/netclient.cpp patching file src/client/netclient.h patching file src/server/netserver.cpp patching file src/server/netserver.h Preparing set pam Switching to the default set ================================================================================ src : /home/slitaz/wok/partimage/source/partimage-0.6.9 install: /home/slitaz/wok/partimage/install configure: loading site script /etc/slitaz/cook.site checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/nm -B output from i486-slitaz-linux-gcc object... ok checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for strerror in -lcposix... no checking for i486-slitaz-linux-gcc... (cached) i486-slitaz-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i486-slitaz-linux-gcc accepts -g... (cached) yes checking for i486-slitaz-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of i486-slitaz-linux-gcc... (cached) gcc3 checking for i486-slitaz-linux-gcc... (cached) i486-slitaz-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i486-slitaz-linux-gcc accepts -g... (cached) yes checking for i486-slitaz-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of i486-slitaz-linux-gcc... (cached) gcc3 checking for ANSI C header files... (cached) yes checking for gawk... (cached) awk checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether i486-slitaz-linux-g++ accepts -g... (cached) yes checking dependency style of i486-slitaz-linux-g++... (cached) gcc3 checking how to run the C++ preprocessor... i486-slitaz-linux-g++ -E checking for ld used by i486-slitaz-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i486-slitaz-linux-g++ option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-g++ static flag -static works... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking whether ln -s works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for pthread_create in -lpthread... yes checking for BZ2_bzopen in -lbz2... yes checking for newtCenteredWindow in -lnewt... yes checking for gzwrite in -lz... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for strings.h... (cached) yes checking limit.h usability... no checking limit.h presence... no checking for limit.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether setpgrp takes no argument... yes checking for getwd... yes checking for strerror... yes checking for strdup... yes checking for atoll... yes checking for strtoll... yes checking for setpgid... yes checking for fstat64... yes checking for fstatfs64... yes checking for open64... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long int... 4 checking size of unsigned long long... 8 checking for ANSI C header files... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for getopt.h... (cached) yes checking for sys/types.h... (cached) yes checking for openssl... /usr/bin/openssl configure: checking for SSL Library and Header files ... ... checking "for rsa.h crypto.h x509.h pem.h ssl.h err.h"... (/usr/include/openssl) yes checking for X509_new in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking for crypt in -lcrypt... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/shared/Makefile config.status: creating src/shared/pathnames.h config.status: creating src/client/Makefile config.status: creating src/client/fs/Makefile config.status: creating src/server/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9' Making all in m4 make[2]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/m4' Making all in po make[2]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/po' Making all in src make[2]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src' Making all in shared make[3]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/shared' CXX common.o CXX access.o CXX net.o CXX exceptions.o CXX privs.o CXX messages.o CXX image_disk.o privs.cpp: In constructor 'CPrivs::CPrivs(const char*)': privs.cpp:43:13: warning: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] setuid(user); ~~~~~~^~~~~~ privs.cpp:44:14: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(user); ~~~~~~~^~~~~~ privs.cpp:56:17: warning: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] setuid(0); ~~~~~~^~~ privs.cpp:57:18: warning: ignoring return value of 'int setegid(__gid_t)', declared with attribute warn_unused_result [-Wunused-result] setegid(group); // we're now _group ~~~~~~~^~~~~~~ privs.cpp:58:18: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(user); // we're now _user ~~~~~~~^~~~~~ privs.cpp: In member function 'void CPrivs::Root()': privs.cpp:77:10: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ~~~~~~~^~~ privs.cpp: In member function 'void CPrivs::User()': privs.cpp:84:10: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(user); ~~~~~~~^~~~~~ privs.cpp: In member function 'void CPrivs::ForceUser()': privs.cpp:91:10: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ~~~~~~~^~~ privs.cpp:92:9: warning: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] setuid(user); ~~~~~~^~~~~~ privs.cpp:93:10: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(user); ~~~~~~~^~~~~~ access.cpp: In function 'unsigned int CheckAccess(bool, char*, char*)': access.cpp:129:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char *tmp; ^~~ access.cpp: In function 'unsigned int CheckAccessFile(const char*)': access.cpp:316:10: warning: variable 'mode' set but not used [-Wunused-but-set-variable] mode_t mode; ^~~~ common.cpp:275:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(szText, nMaxLen, i18n("%"PRId64" bytes"), qwSize); ^ common.cpp:314:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(szText, nMaxLen, i18n("%"PRId64" Bytes"), qwSize); ^ image_disk.cpp: In member function 'virtual void CImageDisk::openWriting()': image_disk.cpp:530:43: warning: '%8s' directive output may be truncated writing between 8 and 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(m_szSpaceFilename, MAXPATHLEN, "%s/%8s.tmp", szPathDir, szShortName); ^~~~~~~~~~~~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from image_disk.cpp:43: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 14 and 4132 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net.cpp: In member function 'bool CNet::CompareBanner(char*, char*, char*, int)': net.cpp:168:16: warning: enum constant in boolean context [-Wint-in-bool-context] return BANNERCMP_DIFFLOG; ^~~~~~~~~~~~~~~~~ net.cpp:173:16: warning: enum constant in boolean context [-Wint-in-bool-context] return BANNERCMP_DIFFSSL; ^~~~~~~~~~~~~~~~~ AR libshared.a make[3]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/shared' Making all in client make[3]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/client' Making all in fs make[4]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/client/fs' CXX fs_base.o CXX fs_afs.o CXX fs_ext2.o CXX fs_fat.o CXX fs_hpfs.o CXX fs_jfs.o CXX fs_ntfs.o CXX fs_reiser.o fs_fat.cpp: In member function 'void CFatPart::compareFatCopies()': fs_fat.cpp:58:7: warning: variable 'nResult' set but not used [-Wunused-but-set-variable] int nResult; ^~~~~~~ CXX fs_hfs.o fs_base.cpp:733:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF(szBlocksInfo, i18n("Block size:...................%"PRIu64" bytes\n" ^ fs_base.cpp:734:7: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Total blocks count:...........%"PRIu64"\n" ^ fs_base.cpp:735:7: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Used blocks count:............%"PRIu64"\n" ^ fs_base.cpp:736:7: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Free blocks count:............%"PRIu64"\n"), ^ fs_base.cpp:748:6: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Space usage:..................%"PRIu64" %%\n" ^ fs_ntfs.cpp:315:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "LCN of MFT Data attrib:.......%"PRIu64"\n"), ^ fs_ntfs.cpp:733:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, "cluster[%llu] = %"PRIu64"\n", (long long unsigned int)i, m_qwOffset[i]); ^ fs_hfs.cpp:145:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Allocation Group count:.......%"PRIu64"\n" ^ fs_hfs.cpp:148:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "First allocation block:.......%"PRIu64"\n"), ^ fs_afs.cpp: In member function 'virtual void CAfsPart::readBitmap(COptions*)': fs_afs.cpp:52:9: warning: variable 'dwWordsPerBlock' set but not used [-Wunused-but-set-variable] DWORD dwWordsPerBlock; ^~~~~~~~~~~~~~~ fs_afs.cpp:53:9: warning: variable 'dwBlocksPerGroup' set but not used [-Wunused-but-set-variable] DWORD dwBlocksPerGroup; ^~~~~~~~~~~~~~~~ fs_afs.cpp:54:9: warning: variable 'qwCurBlock' set but not used [-Wunused-but-set-variable] QWORD qwCurBlock; ^~~~~~~~~~ fs_ntfs.cpp: In member function 'int CNtfsPart::readFileRecord(BYTE*, CNtfsRunList*, QWORD*, QWORD*)': fs_ntfs.cpp:428:8: warning: variable 'bAttribResident' set but not used [-Wunused-but-set-variable] bool bAttribResident; ^~~~~~~~~~~~~~~ fs_ext2.cpp: In member function 'virtual void CExt2Part::readBitmap(COptions*)': fs_ext2.cpp:209:9: warning: variable 'dwBlocksInThisGroup' set but not used [-Wunused-but-set-variable] DWORD dwBlocksInThisGroup; ^~~~~~~~~~~~~~~~~~~ fs_ntfs.cpp: In member function 'int CNtfsPart::readDataAttribute(BYTE*, CNtfsRunList*, QWORD*, QWORD*)': fs_ntfs.cpp:490:12: warning: variable 'nAttrSize' set but not used [-Wunused-but-set-variable] WORD nAttrSize; ^~~~~~~~~ fs_ntfs.cpp:491:13: warning: variable 'cDataResident' set but not used [-Wunused-but-set-variable] BYTE *cDataResident; ^~~~~~~~~~~~~ fs_ntfs.cpp: In member function 'int CNtfsPart::checkFilenameForRecordIs(BYTE*, const char*, bool)': fs_ntfs.cpp:759:8: warning: variable 'bAttribResident' set but not used [-Wunused-but-set-variable] bool bAttribResident; ^~~~~~~~~~~~~~~ CXX fs_ufs.o CXX fs_xfs.o fs_ufs.cpp:220:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Data frags count:.............%"PRIu64"\n"), ^ AR libfs.a make[4]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/client' CXX netclient.o CXX imagefile.o CXX misc.o CXX image_net.o CXX buffer.o CXX gui_text.o CXX imginfo.o CXX main.o gui_text.cpp:344:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF(szTemp, "%"PRIu64"", (!!options.qwSplitSize) ? (options.qwSplitSize/1024/1024) : 2048); ^ gui_text.cpp:465:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF(szTemp, i18n("Size of the Partition:.......%s = %"PRIu64" bytes"), formatSize(qwPartSize, szTemp2), qwPartSize); ^ gui_text.cpp:613:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF (szTemp, i18n("Available space for image:...%s = %"PRIu64" bytes"), formatSize(qwFreeSpace, szTemp2), qwFreeSpace); ^ gui_text.cpp:737:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF(szTemp, i18n("Size of partition to restore:.....%s = %"PRIu64" bytes"), formatSize(qwCurPartSize, szTemp2), qwCurPartSize); ^ gui_text.cpp:754:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF(szTemp, i18n("Size of the original partition:...%s = %"PRIu64" bytes"), formatSize(qwOrigPartSize, szTemp2), qwOrigPartSize); ^ gui_text.cpp: In function 'char* processHardDrive(char*, newtComponent)': gui_text.cpp:137:7: warning: variable 'nRes' set but not used [-Wunused-but-set-variable] int nRes; ^~~~ In file included from gui_text.h:21, from gui_text.cpp:22: gui_text.cpp:157:27: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 122 [-Wformat-truncation=] SNPRINTF(szFullDevice, "/dev/%s", szDevice); ^~~~~~~~~ ~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' ^~~~~~~~ In file included from /usr/include/stdio.h:873, from partimage.h:23, from gui_text.h:21, from gui_text.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 133 bytes into a destination of size 127 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui_text.h:21, from gui_text.cpp:22: gui_text.cpp: In function 'int fillPartitionList(newtComponent)': gui_text.cpp:259:30: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 122 [-Wformat-truncation=] SNPRINTF(szFullDevice, "/dev/%s", szDevice); ^~~~~~~~~ ~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' ^~~~~~~~ In file included from /usr/include/stdio.h:873, from partimage.h:23, from gui_text.h:21, from gui_text.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 133 bytes into a destination of size 127 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX cbitmap.o imginfo.cpp:114:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Device blocks count:...%"PRIu64"\n" ^ imginfo.cpp:156:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), ^ imginfo.cpp:156:42: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), ^ misc.cpp:214:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] SNPRINTF(szTemp, "%.3u: %s [%"PRIu64" blocks]", i, mbrOriginal[i].szDevice, mbrOriginal[i].qwBlocksCount); ^ main.cpp:304:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, i18n("Volume size: %"PRIu64" bytes (%ld MiB)\n"), ^ CXX interface_base.o CXX interface_newt.o CXX interface_none.o CXX mbr_backup.o misc.cpp: In function 'void savePartition(char*, char*, COptions*)': misc.cpp:550:43: warning: value computed is not used [-Wunused-value] else if (options->dwCompression == 1) + fprintf(stderr,i18n("partimage: status: Image type: GZIP\n")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cpp: In function 'int checkInodeForDevice(char*, char*)': misc.cpp:1683:103: error: expected ';' before ')' token nRes = mknod(szDevice, S_IFBLK | S_IREAD | S_IWRITE | S_IRGRP | S_IROTH, makedev(nMajor, nMinor)); ^ interface_newt.cpp: In function 'fde* dir_here(newtComponent, char*)': interface_newt.cpp:548:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(strlen(dr) > 1) strcat(dp->name,"/"); strcat(dp->name,namelist[i]->d_name); ^~ interface_newt.cpp:548:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(strlen(dr) > 1) strcat(dp->name,"/"); strcat(dp->name,namelist[i]->d_name); ^~~~~~ interface_newt.cpp:520:18: warning: variable 'bf' set but not used [-Wunused-but-set-variable] char buf[128], *bf; // really, we have newt listbox->width-7 (7 is for frame with listbox) ^~ interface_newt.cpp: In function 'char* filesel(char*)': interface_newt.cpp:613:43: warning: variable 'f1' set but not used [-Wunused-but-set-variable] newtComponent lb, b1, b2, b3, l1, l2, f, f1; ^~ In file included from ../../src/shared/common.h:27, from imginfo.cpp:22: imginfo.cpp: In function 'void imageInfoShowRegular(char*, int, CMainHeader*, char*, DWORD)': imginfo.cpp:71:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4075 [-Wformat-truncation=] SNPRINTF(szDescription, "\n------------------\n%s\n------------------", head->szPartDescription); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./partimage.h:48:80: note: in definition of macro 'SNPRINTF' #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ./partimage.h:23, from ../../src/shared/common.h:27, from imginfo.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:419: misc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from imagefile.cpp:35: imagefile.cpp: In member function 'int CImage::openWritingFdDisk()': imagefile.cpp:738:23: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] SNPRINTF(aux2, "%s/%s.%.3d", szAux, get_szOriginalFilename(), ^~~~~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' ^~~~~~~~ imagefile.cpp:738:23: note: using the range [-2147483648, 2147483647] for directive argument SNPRINTF(aux2, "%s/%s.%.3d", szAux, get_szOriginalFilename(), ^~~~~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' ^~~~~~~~ In file included from /usr/include/stdio.h:873, from partimage.h:23, from imagefile.cpp:35: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mbr_backup.cpp:22: mbr_backup.cpp: In function 'int mbrGetData(char*, CMbr*, DWORD)': mbr_backup.cpp:252:24: warning: '/model' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] SNPRINTF(szTemp, "%s/model", szInfoDir); ^~~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' ^~~~~~~~ In file included from /usr/include/stdio.h:873, from partimage.h:23, from mbr_backup.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/client' make[3]: *** [Makefile:455: all-recursive] Error 1 make[3]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src/client' make[2]: *** [Makefile:292: all-recursive] Error 1 make[2]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9/src' make[1]: *** [Makefile:385: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/partimage/source/partimage-0.6.9' make: *** [Makefile:294: all] Error 2 Build dependencies to remove: 27 Removing: bzip2-dev db db-dev gettext gettext-dev glib libcroco libdb libdb-cxx libpcre libpng libtirpc-dev libxml2 newt newt-dev oniguruma openssl-dev pam pam-dev slang slang-dev tcl util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid zlib-dev Debug information ret1. ================================================================================ Cook date: 2022-07-22 16:06 Wasted time : 12s 528:misc.cpp:1683:103: error: expected ';' before ')' token ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================