Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 787094 Details for
Bug 853883
sys-block/partimage-0.6.9-r3 - partimaged-client.cpp: error: cannot convert std::nullptr_t to int in assignment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-block:partimage-0.6.9-r3:20220623-095214.log
sys-block:partimage-0.6.9-r3:20220623-095214.log (text/plain), 57.02 KB, created by
Toralf Förster
on 2022-06-23 09:59:20 UTC
(
hide
)
Description:
sys-block:partimage-0.6.9-r3:20220623-095214.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-06-23 09:59:20 UTC
Size:
57.02 KB
patch
obsolete
> * Package: sys-block/partimage-0.6.9-r3 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux nls pam ssl userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking partimage-0.6.9.tar.bz2 to /var/tmp/portage/sys-block/partimage-0.6.9-r3/work >>>> Source unpacked in /var/tmp/portage/sys-block/partimage-0.6.9-r3/work >>>> Preparing source in /var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9 ... > * Applying partimage-0.6.9-zlib-1.2.5.2-r1.patch ... > [ ok ] > * Applying partimage-0.6.9-minor-typo.patch ... > [ ok ] > * Applying partimage-0.6.9-openssl-1.1-compatibility.patch ... > [ ok ] > * Applying partimage-0.6.9-missing-includes.patch ... > [ ok ] > * Applying partimage-0.6.9-clang.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9' ... > * Running 'autopoint --force' ... > [ ok ] > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/sys-block/partimage-0.6.9-r3/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: partimage-0.6.9/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9 ... > * econf: updating partimage-0.6.9/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating partimage-0.6.9/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/partimage-0.6.9-r3 --htmldir=/usr/share/doc/partimage-0.6.9-r3/html --with-sysroot=/ --libdir=/usr/lib --enable-nls --enable-pam --enable-ssl --disable-all-static --with-log-dir=/var/log/partimage >checking build system type... x86_64-gentoo-linux-musl >checking host system type... x86_64-gentoo-linux-musl >checking target system type... x86_64-gentoo-linux-musl >checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports nested variables... (cached) yes >checking whether NLS is requested... yes >checking for msgfmt... /usr/bin/msgfmt >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for xgettext... /usr/bin/xgettext >checking for msgmerge... /usr/bin/msgmerge >checking whether make supports the include directive... yes (GNU style) >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes >checking dependency style of x86_64-gentoo-linux-musl-gcc... none >checking for ld used by GCC... /usr/x86_64-gentoo-linux-musl/bin/ld >checking if the linker (/usr/x86_64-gentoo-linux-musl/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... no >checking for iconv... yes >checking for GNU gettext in libintl... no >checking whether to use NLS... no >checking how to print strings... printf >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 x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B >checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 98304 >checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop >checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r >checking for x86_64-gentoo-linux-musl-file... no >checking for file... file >checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-gentoo-linux-musl-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar >checking for archiver @FILE support... @ >checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-gentoo-linux-musl-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) 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... no >checking for strerror in -lcposix... no >checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc >checking whether the compiler supports GNU C... (cached) yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes >checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... (cached) none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none >checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc >checking whether the compiler supports GNU C... (cached) yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes >checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... (cached) none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none >checking for egrep... (cached) /bin/grep -E >checking for gawk... (cached) gawk >checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ >checking whether the compiler supports GNU C++... yes >checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes >checking for x86_64-gentoo-linux-musl-g++ option to enable C++11 features... none needed >checking dependency style of x86_64-gentoo-linux-musl-g++... none >checking how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E >checking for ld used by x86_64-gentoo-linux-musl-g++... /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-gentoo-linux-musl-g++ option to produce PIC... -fPIC -DPIC >checking if x86_64-gentoo-linux-musl-g++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-gentoo-linux-musl-g++ static flag -static works... yes >checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... yes >checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... (cached) yes >checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... (cached) GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking how to run the C preprocessor... x86_64-gentoo-linux-musl-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... no >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 for fcntl.h... yes >checking for strings.h... (cached) yes >checking for limit.h... no >checking for malloc.h... yes >checking for strings.h... (cached) yes >checking for unistd.h... (cached) yes >checking for pthread.h... yes >checking for crypt.h... yes >checking for shadow.h... yes >checking for mntent.h... yes >checking for sys/param.h... yes >checking for sys/statfs.h... yes >checking for sys/mount.h... 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 requires zero arguments... yes >checking for getwd... no >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... 8 >checking size of unsigned long long... 8 >checking for egrep... (cached) /bin/grep -E >checking for stdint.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for stdio.h... (cached) 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 pam_start in -lpam... yes >checking for dlopen in -ldl... 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 >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating src/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 >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9' >Making all in m4 >make[2]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/m4' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/m4' >Making all in po >make[2]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/po' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/po' >Making all in src >make[2]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src' >Making all in shared >make[3]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/shared' >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o common.o common.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o access.o access.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o net.o net.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o exceptions.o exceptions.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o messages.o messages.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o privs.o privs.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/client -I../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o image_disk.o image_disk.cpp >image_disk.cpp: In member function 'virtual void CImageDisk::openWriting()': >image_disk.cpp:530:47: warning: '%8s' directive output may be truncated writing between 8 and 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] > 530 | snprintf(m_szSpaceFilename, MAXPATHLEN, "%s/%8s.tmp", szPathDir, szShortName); > | ^~~ ~~~~~~~~~~~ >image_disk.cpp:530:11: note: 'snprintf' output between 14 and 4132 bytes into a destination of size 4096 > 530 | snprintf(m_szSpaceFilename, MAXPATHLEN, "%s/%8s.tmp", szPathDir, szShortName); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >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] > 168 | return BANNERCMP_DIFFLOG; > | ^~~~~~~~~~~~~~~~~ >net.cpp:173:16: warning: enum constant in boolean context [-Wint-in-bool-context] > 173 | return BANNERCMP_DIFFSSL; > | ^~~~~~~~~~~~~~~~~ >rm -f libshared.a >x86_64-gentoo-linux-musl-ar cru libshared.a common.o access.o net.o exceptions.o messages.o privs.o image_disk.o >x86_64-gentoo-linux-musl-ranlib libshared.a >make[3]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/shared' >Making all in client >make[3]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/client' >Making all in fs >make[4]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/client/fs' >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_base.o fs_base.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_afs.o fs_afs.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_ext2.o fs_ext2.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_fat.o fs_fat.cpp >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] > 58 | int nResult; > | ^~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_hpfs.o fs_hpfs.cpp >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] > 52 | DWORD dwWordsPerBlock; > | ^~~~~~~~~~~~~~~ >fs_afs.cpp:53:9: warning: variable 'dwBlocksPerGroup' set but not used [-Wunused-but-set-variable] > 53 | DWORD dwBlocksPerGroup; > | ^~~~~~~~~~~~~~~~ >fs_afs.cpp:54:9: warning: variable 'qwCurBlock' set but not used [-Wunused-but-set-variable] > 54 | QWORD qwCurBlock; > | ^~~~~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_jfs.o fs_jfs.cpp >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] > 209 | DWORD dwBlocksInThisGroup; > | ^~~~~~~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_ntfs.o fs_ntfs.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_reiser.o fs_reiser.cpp >In file included from fs_jfs.cpp:20: >fs_jfs.cpp: In member function 'int CJfsPart::find_iag(long unsigned int, long long int*, DWORD)': >fs_jfs.h:347:27: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 347 | ( ((int64)((xad)->addr1)) << 32 | (xad)->addr2 ) > | ~~~~~~~~^~~~~~ >fs_jfs.cpp:215:29: note: in expansion of macro 'addressXAD' > 215 | rc = readData(buffer, addressXAD(&(page->xad[index])) * m_header.qwBlockSize /*<< l2bsize*/, PSIZE); > | ^~~~~~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:347:50: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 347 | ( ((int64)((xad)->addr1)) << 32 | (xad)->addr2 ) > | ~~~~~~~^~~~~ >fs_jfs.cpp:215:29: note: in expansion of macro 'addressXAD' > 215 | rc = readData(buffer, addressXAD(&(page->xad[index])) * m_header.qwBlockSize /*<< l2bsize*/, PSIZE); > | ^~~~~~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:345:27: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 345 | ( ((int64)((xad)->off1)) << 32 | (xad)->off2 ) > | ~~~~~~~~^~~~~ >fs_jfs.h:64:24: note: in expansion of macro 'offsetXAD' > 64 | s64 offset64 = offsetXAD(X); \ > | ^~~~~~~~~ >fs_jfs.cpp:177:7: note: in expansion of macro 'XT_CMP' > 177 | XT_CMP(cmp, iagblock, &(page->xad[index])); > | ^~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:345:49: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 345 | ( ((int64)((xad)->off1)) << 32 | (xad)->off2 ) > | ~~~~~~~^~~~ >fs_jfs.h:64:24: note: in expansion of macro 'offsetXAD' > 64 | s64 offset64 = offsetXAD(X); \ > | ^~~~~~~~~ >fs_jfs.cpp:177:7: note: in expansion of macro 'XT_CMP' > 177 | XT_CMP(cmp, iagblock, &(page->xad[index])); > | ^~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:348:34: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 348 | #define lengthXAD(xad) ( (xad)->len ) > | ~~~~~~~~~^~~~~ >fs_jfs.h:65:36: note: in expansion of macro 'lengthXAD' > 65 | (CMP) = ((K) >= offset64 + lengthXAD(X)) ? 1 : \ > | ^~~~~~~~~ >fs_jfs.cpp:177:7: note: in expansion of macro 'XT_CMP' > 177 | XT_CMP(cmp, iagblock, &(page->xad[index])); > | ^~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:347:27: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 347 | ( ((int64)((xad)->addr1)) << 32 | (xad)->addr2 ) > | ~~~~~~~~^~~~~~ >fs_jfs.cpp:191:37: note: in expansion of macro 'addressXAD' > 191 | rc = readData(buffer, addressXAD(&(page->xad[index])) * m_header.qwBlockSize /*<< l2bsize*/, PSIZE); > | ^~~~~~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:347:50: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 347 | ( ((int64)((xad)->addr1)) << 32 | (xad)->addr2 ) > | ~~~~~~~^~~~~ >fs_jfs.cpp:191:37: note: in expansion of macro 'addressXAD' > 191 | rc = readData(buffer, addressXAD(&(page->xad[index])) * m_header.qwBlockSize /*<< l2bsize*/, PSIZE); > | ^~~~~~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:347:27: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 347 | ( ((int64)((xad)->addr1)) << 32 | (xad)->addr2 ) > | ~~~~~~~~^~~~~~ >fs_jfs.cpp:183:27: note: in expansion of macro 'addressXAD' > 183 | *address = (addressXAD(&(page->xad[index])) > | ^~~~~~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >fs_jfs.h:347:50: warning: array subscript 'xtpage_t[0]' is partly outside array bounds of 'xtpage_t [0]' [-Warray-bounds] > 347 | ( ((int64)((xad)->addr1)) << 32 | (xad)->addr2 ) > | ~~~~~~~^~~~~ >fs_jfs.cpp:183:27: note: in expansion of macro 'addressXAD' > 183 | *address = (addressXAD(&(page->xad[index])) > | ^~~~~~~~~~ >fs_jfs.cpp:133:13: note: at offset [0, 272] into object 'buffer' of size 4096 > 133 | char buffer[PSIZE]; > | ^~~~~~ >fs_jfs.h:801:14: note: object 'CJfsDiskInode::di_DASD' of size 16 > 801 | BYTE di_DASD[16]; //dasd_t di_DASD; // 16: DASD limit info for directories F226941 > | ^~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_hfs.o fs_hfs.cpp >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] > 428 | bool bAttribResident; > | ^~~~~~~~~~~~~~~ >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] > 490 | WORD nAttrSize; > | ^~~~~~~~~ >fs_ntfs.cpp:491:13: warning: variable 'cDataResident' set but not used [-Wunused-but-set-variable] > 491 | 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] > 759 | bool bAttribResident; > | ^~~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_ufs.o fs_ufs.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../../.. -I../../.. -I../../../src/client -I../../../src/shared -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o fs_xfs.o fs_xfs.cpp >rm -f libfs.a >x86_64-gentoo-linux-musl-ar cru libfs.a fs_base.o fs_afs.o fs_ext2.o fs_fat.o fs_hpfs.o fs_jfs.o fs_ntfs.o fs_reiser.o fs_hfs.o fs_ufs.o fs_xfs.o >x86_64-gentoo-linux-musl-ranlib libfs.a >make[4]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/client/fs' >make[4]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/client' >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o netclient.o netclient.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o imagefile.o imagefile.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o misc.o misc.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o image_net.o image_net.cpp >misc.cpp: In function 'void savePartition(char*, char*, COptions*)': >misc.cpp:551:43: warning: value computed is not used [-Wunused-value] > 551 | else if (options->dwCompression == 1) + fprintf(stderr,i18n("partimage: status: Image type: GZIP\n")); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >misc.cpp: In function 'int isDevfsEnabled()': >misc.cpp:1776:9: warning: variable 'cPtr' set but not used [-Wunused-but-set-variable] > 1776 | char *cPtr; > | ^~~~ >imagefile.cpp: In constructor 'CImage::CImage(COptions*)': >imagefile.cpp:122:17: warning: the address of 'COptions::szAutoMount' will never be NULL [-Waddress] > 122 | if (m_options.szAutoMount) > | ~~~~~~~~~~^~~~~~~~~~~ >In file included from ./misc.h:22, > from ./image_base.h:22, > from ../../src/shared/image_disk.h:21, > from imagefile.h:22, > from imagefile.cpp:36: >../../src/shared/common.h:143:8: note: 'COptions::szAutoMount' declared here > 143 | char szAutoMount[MAXPATHLEN]; > | ^~~~~~~~~~~ >imagefile.cpp: In member function 'int CImage::mountImageLocation()': >imagefile.cpp:639:18: warning: the address of 'COptions::szAutoMount' will never be NULL [-Waddress] > 639 | if ((m_options.szAutoMount) && (strlen(m_options.szAutoMount)) && > | ~~~~~~~~~~~^~~~~~~~~~~~ >../../src/shared/common.h:143:8: note: 'COptions::szAutoMount' declared here > 143 | char szAutoMount[MAXPATHLEN]; > | ^~~~~~~~~~~ >imagefile.cpp: In member function 'int CImage::umountImageLocation()': >imagefile.cpp:668:18: warning: the address of 'COptions::szAutoMount' will never be NULL [-Waddress] > 668 | if ((m_options.szAutoMount) && (strlen(m_options.szAutoMount)) && (m_bIsMounted)) // if mounted > | ~~~~~~~~~~~^~~~~~~~~~~~ >../../src/shared/common.h:143:8: note: 'COptions::szAutoMount' declared here > 143 | char szAutoMount[MAXPATHLEN]; > | ^~~~~~~~~~~ >imagefile.cpp: In member function 'void CImage::openReading(CVolumeHeader*)': >imagefile.cpp:1008:22: warning: the address of 'COptions::szAutoMount' will never be NULL [-Waddress] > 1008 | if ((m_options.szAutoMount) && (strlen(m_options.szAutoMount))) > | ~~~~~~~~~~~^~~~~~~~~~~~ >../../src/shared/common.h:143:8: note: 'COptions::szAutoMount' declared here > 143 | char szAutoMount[MAXPATHLEN]; > | ^~~~~~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o buffer.o buffer.cpp >In file included from misc.h:21, > from misc.cpp:51: >misc.cpp: In function 'void restoreMbr(char*, COptions*)': >misc.cpp:191:25: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 509 [-Wformat-truncation=] > 191 | SNPRINTF(szTemp2, "%s [%s blocks]", mbrCurrent[i].szDevice, szTemp); > | ^~~~~~~~~~~~~~~~ ~~~~~~ >partimage.h:48:80: note: in definition of macro 'SNPRINTF' > 48 | Dest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ^~~~~~~~ > >misc.cpp:191:30: note: format string is defined here > 191 | SNPRINTF(szTemp2, "%s [%s blocks]", mbrCurrent[i].szDevice, szTemp); > | ^~ >partimage.h:48:53: note: 'snprintf' output 11 or more bytes (assuming 522) into a destination of size 511 > 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >misc.cpp:191:7: note: in expansion of macro 'SNPRINTF' > 191 | SNPRINTF(szTemp2, "%s [%s blocks]", mbrCurrent[i].szDevice, szTemp); > | ^~~~~~~~ >misc.cpp:215:24: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 499 and 506 [-Wformat-truncation=] > 215 | SNPRINTF(szTemp, "%.3u: %s [%" PRIu64 " blocks]", i, mbrOriginal[i].szDevice, mbrOriginal[i].qwBlocksCount); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >partimage.h:48:80: note: in definition of macro 'SNPRINTF' > 48 | Dest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ^~~~~~~~ > >partimage.h:48:53: note: 'snprintf' output between 17 and 554 bytes into a destination of size 511 > 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >misc.cpp:215:7: note: in expansion of macro 'SNPRINTF' > 215 | SNPRINTF(szTemp, "%.3u: %s [%" PRIu64 " blocks]", i, mbrOriginal[i].szDevice, mbrOriginal[i].qwBlocksCount); > | ^~~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o gui_text.o gui_text.cpp >gui_text.cpp: In member function 'void CRestoreMbrWindow::addHardDisk(char*, DWORD)': >gui_text.cpp:38:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 38 | newtListboxAppendEntry(m_list1, szText, (void*)dwNumber); > | ^~~~~~~~~~~~~~~ >gui_text.cpp: In member function 'void CRestoreMbrWindow::addMbr(char*, DWORD)': >gui_text.cpp:47:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 47 | newtListboxAppendEntry(m_list2, szText, (void*)dwNumber); > | ^~~~~~~~~~~~~~~ >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] > 137 | int nRes; > | ^~~~ >In file included from gui_text.h:21, > from gui_text.cpp:22: >gui_text.cpp:157:34: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 122 [-Wformat-truncation=] > 157 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); > | ^~~~~~~~~ ~~~~~~~~ >partimage.h:48:80: note: in definition of macro 'SNPRINTF' > 48 | Dest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ^~~~~~~~ > >gui_text.cpp:157:40: note: format string is defined here > 157 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); > | ^~ >partimage.h:48:53: note: 'snprintf' output between 6 and 133 bytes into a destination of size 127 > 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >gui_text.cpp:157:11: note: in expansion of macro 'SNPRINTF' > 157 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); > | ^~~~~~~~ >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=] > 259 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); > | ^~~~~~~~~ ~~~~~~~~ >partimage.h:48:80: note: in definition of macro 'SNPRINTF' > 48 | Dest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ^~~~~~~~ > >gui_text.cpp:259:36: note: format string is defined here > 259 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); > | ^~ >partimage.h:48:53: note: 'snprintf' output between 6 and 133 bytes into a destination of size 127 > 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >gui_text.cpp:259:7: note: in expansion of macro 'SNPRINTF' > 259 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); > | ^~~~~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o main.o main.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o imginfo.o imginfo.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o cbitmap.o cbitmap.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o interface_base.o interface_base.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o interface_newt.o interface_newt.cpp >interface_newt.cpp: In function 'fde* dir_here(newtComponent, char*)': >interface_newt.cpp:548:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] > 548 | if(strlen(dr) > 1) strcat(dp->name,"/"); strcat(dp->name,namelist[i]->d_name); > | ^~ >interface_newt.cpp:548:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' > 548 | if(strlen(dr) > 1) strcat(dp->name,"/"); strcat(dp->name,namelist[i]->d_name); > | ^~~~~~ > >interface_newt.cpp:520:25: warning: variable 'bf' set but not used [-Wunused-but-set-variable] > 520 | 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:52: warning: variable 'f1' set but not used [-Wunused-but-set-variable] > 613 | newtComponent lb, b1, b2, b3, l1, l2, f, f1; > | ^~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o interface_none.o interface_none.cpp >In file included from interface_newt.cpp:31: >interface_newt.cpp:704:51: warning: pointer used after 'void free(void*)' [-Wuse-after-free] > 704 | if(sel && S_ISREG(sel->st.st_mode)) // is a directory > | ^ >interface_newt.cpp:701:53: note: call to 'void free(void*)' here > 701 | free(sel); > | ~~~~^~~~~ >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o mbr_backup.o mbr_backup.cpp >main.cpp: In function 'int main(int, char**)': >main.cpp:459:16: warning: the address of 'COptions::szFullyBatchMode' will never be NULL [-Waddress] > 459 | if (!options.szFullyBatchMode || !strlen(options.szFullyBatchMode)) { > | ~~~~~~~~^~~~~~~~~~~~~~~~ >In file included from ./misc.h:22, > from ./interface_newt.h:22, > from ../../src/client/fs/fs_base.h:23, > from ../../src/client/fs/fs_ext2.h:22, > from main.cpp:47: >../../src/shared/common.h:146:8: note: 'COptions::szFullyBatchMode' declared here > 146 | char szFullyBatchMode[2048]; > | ^~~~~~~~~~~~~~~~ >main.cpp:490:16: warning: the address of 'COptions::szFullyBatchMode' will never be NULL [-Waddress] > 490 | if (!options.szFullyBatchMode || !strlen(options.szFullyBatchMode)) > | ~~~~~~~~^~~~~~~~~~~~~~~~ >../../src/shared/common.h:146:8: note: 'COptions::szFullyBatchMode' declared here > 146 | char szFullyBatchMode[2048]; > | ^~~~~~~~~~~~~~~~ >imginfo.cpp: In function 'void imageInfoShowRegular(char*, int, CMainHeader*, char*, DWORD)': >imginfo.cpp:104:57: warning: taking address of packed member of 'CMainHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] > 104 | head->dwMainFlags, szFlags, asctime_portable(&head->dateCreate), formatSize(head->qwPartSize, cTemp), head->szHostname, > | ^~~~~~~~~~~~~~~~~ >main.cpp:527:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] > 527 | strncpy(szDevice, argv[optind+1], MAX_DEVICENAMELEN); > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.cpp:528:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] > 528 | strncpy(szImageFile, argv[optind+2], MAXPATHLEN); > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >main.cpp:553:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] > 553 | strncpy(nChoice == OPERATION_REST_ALL || nChoice == OPERATION_SAVE_ALL ? szImageDir : szImageFile, argv[optind+1], MAXPATHLEN); > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from ../../src/shared/common.h:28, > from imginfo.cpp:22: >imginfo.cpp:71:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4075 [-Wformat-truncation=] > 71 | SNPRINTF(szDescription, "\n------------------\n%s\n------------------", head->szPartDescription); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./partimage.h:48:80: note: in definition of macro 'SNPRINTF' > 48 | Dest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ^~~~~~~~ > >imginfo.cpp:71:52: note: format string is defined here > 71 | SNPRINTF(szDescription, "\n------------------\n%s\n------------------", head->szPartDescription); > | ^~ >./partimage.h:48:53: note: 'snprintf' output between 40 and 4135 bytes into a destination of size 4095 > 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >imginfo.cpp:71:5: note: in expansion of macro 'SNPRINTF' > 71 | SNPRINTF(szDescription, "\n------------------\n%s\n------------------", head->szPartDescription); > | ^~~~~~~~ >mbr_backup.cpp: In function 'int mbrGetInfoDir(char*, char*)': >mbr_backup.cpp:77:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] > 77 | strncpy(szShort, szDevice+i+1, 256); > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mbr_backup.cpp: In function 'int mbrGetData(char*, CMbr*, DWORD)': >mbr_backup.cpp:223:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] > 223 | strncpy(mbr->szDevice, szDevice, MAX_DEVICENAMELEN); > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from mbr_backup.cpp:22: >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=] > 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); > | ^~~~~~~~~~ >partimage.h:48:80: note: in definition of macro 'SNPRINTF' > 48 | Dest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ^~~~~~~~ > >mbr_backup.cpp:252:27: note: format string is defined here > 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); > | ^~~~~~ >partimage.h:48:53: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4095 > 48 | #define SNPRINTF(szDest, szFormat, args...) snprintf(szDest, sizeof(szDest)-1, szFormat, ## args),szDest[sizeof(szDest)-1]=0 // allow to use this macro in 'else' > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mbr_backup.cpp:252:7: note: in expansion of macro 'SNPRINTF' > 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); > | ^~~~~~~~ >/bin/sh ../../libtool --tag=CXX --mode=link x86_64-gentoo-linux-musl-g++ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o partimage netclient.o imagefile.o misc.o image_net.o buffer.o gui_text.o main.o imginfo.o cbitmap.o interface_base.o interface_newt.o interface_none.o mbr_backup.o -lslang fs/libfs.a ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl >libtool: link: x86_64-gentoo-linux-musl-g++ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o partimage netclient.o imagefile.o misc.o image_net.o buffer.o gui_text.o main.o imginfo.o cbitmap.o interface_base.o interface_newt.o interface_none.o mbr_backup.o -Wl,--as-needed -lslang fs/libfs.a ../shared/libshared.a -lcrypt -ldl -lpam -lz -lnewt -lbz2 -lpthread -lcrypto -lssl >make[4]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/client' >make[3]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/client' >Making all in server >make[3]: Entering directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/server' >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/server -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o netserver.o netserver.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/server -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o partimaged.o partimaged.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/server -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o partimaged-client.o partimaged-client.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/server -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o partimaged-gui_dummy.o partimaged-gui_dummy.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/server -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o partimaged-gui_newt.o partimaged-gui_newt.cpp >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/server -I/usr/include/slang -Wno-deprecated -I/usr/include/openssl -Wall -pipe -march=native -fno-diagnostics-color -O2 -c -o partimaged-main.o partimaged-main.cpp >In file included from /usr/include/pthread.h:31, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/x86_64-gentoo-linux-musl/bits/gthr-default.h:35, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/x86_64-gentoo-linux-musl/bits/gthr.h:148, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/ext/atomicity.h:35, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/bits/ios_base.h:39, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/ios:42, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/ostream:38, > from /usr/lib/gcc/x86_64-gentoo-linux-musl/12.1.1/include/g++-v12/iostream:39, > from ../../src/shared/net.h:31, > from partimaged-client.h:18, > from partimaged-client.cpp:18: >partimaged-client.cpp: In member function 'void CPartimagedClients::Release(unsigned int)': >partimaged-client.cpp:92:26: error: cannot convert 'std::nullptr_t' to 'int' in assignment > 92 | Clients[client].Sock = NULL; > | ^~~~ >partimaged-client.cpp:94:27: error: cannot convert 'std::nullptr_t' to 'unsigned int' in assignment > 94 | Clients[client].MyPid = NULL; > | ^~~~ >partimaged-client.cpp: In member function 'void CPartimagedClients::ReleaseClientByPid(unsigned int)': >partimaged-client.cpp:112:32: error: cannot convert 'std::nullptr_t' to 'int' in assignment > 112 | Clients[next].Sock = NULL; > | ^~~~ >partimaged-client.cpp:114:33: error: cannot convert 'std::nullptr_t' to 'unsigned int' in assignment > 114 | Clients[next].MyPid = NULL; > | ^~~~ >make[3]: *** [Makefile:475: partimaged-client.o] Error 1 >make[3]: *** Waiting for unfinished jobs.... >make[3]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src/server' >make[2]: *** [Makefile:384: all-recursive] Error 1 >make[2]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9/src' >make[1]: *** [Makefile:491: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9' >make: *** [Makefile:402: all] Error 2 > * ERROR: sys-block/partimage-0.6.9-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-block/partimage-0.6.9-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-block/partimage-0.6.9-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-block:partimage-0.6.9-r3:20220623-095214.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-block/partimage-0.6.9-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-block/partimage-0.6.9-r3/temp/environment'. > * Working directory: '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9' > * S: '/var/tmp/portage/sys-block/partimage-0.6.9-r3/work/partimage-0.6.9' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 853883
:
787079
|
787082
|
787085
|
787088
|
787091
| 787094 |
787097