D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/partimage-0.6.9-14.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0PzOC9 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf partimage-0.6.9 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/partimage-0.6.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd partimage-0.6.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.7-ssl-certs-policy.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.8-lzma.patch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.7-splash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.9-fedora-gzfile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.9-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.9-no-sslv2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/03-openssl11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/partimage-0.6.9-sysmacros.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + for i in /usr/share/automake-1.*/mkinstalldirs + cp -f /usr/share/automake-1.16/mkinstalldirs . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VmRxJ9 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd partimage-0.6.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cp /usr/share/gettext/config.rpath . + autoreconf -fi Copying file config.rpath Copying file mkinstalldirs Copying file po/Makevars.template libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:14: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/general.m4:2080: AC_CANONICAL_SYSTEM is expanded from... configure.ac:14: the top level configure.ac:18: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:18: the top level configure.ac:24: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... m4/po.m4:23: AM_PO_SUBDIRS is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:24: the top level configure.ac:24: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from... m4/gettext.m4:486: gt_INTL_MACOSX is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:24: the top level configure.ac:24: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:24: the top level configure.ac:24: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from... m4/iconv.m4:20: AM_ICONV_LINK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:24: the top level configure.ac:26: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:26: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:26: the top level configure.ac:29: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:29: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:29: the top level configure.ac:218: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:218: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:218: the top level configure.ac:241: warning: The macro `AC_CHECKING' is obsolete. configure.ac:241: You should run autoupdate. ./lib/autoconf/general.m4:2498: AC_CHECKING is expanded from... configure.ac:241: the top level configure.ac:24: installing './compile' configure.ac:16: installing './missing' src/client/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/client/Makefile.am: installing './depcomp' src/client/Makefile.am:41: warning: 'CPPFLAGS' is a user variable, you should not override it; src/client/Makefile.am:41: use 'AM_CPPFLAGS' instead src/client/fs/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/client/fs/Makefile.am:27: warning: 'CPPFLAGS' is a user variable, you should not override it; src/client/fs/Makefile.am:27: use 'AM_CPPFLAGS' instead src/server/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/server/Makefile.am:30: warning: 'CPPFLAGS' is a user variable, you should not override it; src/server/Makefile.am:30: use 'AM_CPPFLAGS' instead src/shared/Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/shared/Makefile.am:30: warning: 'CPPFLAGS' is a user variable, you should not override it; src/shared/Makefile.am:30: use 'AM_CPPFLAGS' instead + 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 + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking target system type... aarch64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/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/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether make supports the include directive... yes (GNU style) checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none 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 how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-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/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc... (cached) aarch64-mageia-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of aarch64-mageia-linux-gnu-gcc... (cached) none checking for egrep... (cached) /usr/bin/grep -E checking for gawk... (cached) gawk checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether aarch64-mageia-linux-gnu-g++ accepts -g... yes checking for aarch64-mageia-linux-gnu-g++ option to enable C++11 features... none needed checking dependency style of aarch64-mageia-linux-gnu-g++... none checking how to run the C++ preprocessor... aarch64-mageia-linux-gnu-g++ -E checking for ld used by aarch64-mageia-linux-gnu-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the aarch64-mageia-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for aarch64-mageia-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-g++ static flag -static works... no checking if aarch64-mageia-linux-gnu-g++ supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-g++ linker (/usr/bin/ld) 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... aarch64-mageia-linux-gnu-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 lzmadec_open in -llzmadec... 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... 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... 8 checking size of unsigned long long... 8 checking for egrep... (cached) /usr/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 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 CRYPTO_free 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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in src Making all in shared make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o exceptions.o exceptions.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o messages.o messages.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o privs.o privs.cpp 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] 43 | setuid(user); | ~~~~~~^~~~~~ privs.cpp:44:14: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | seteuid(user); | ~~~~~~~^~~~~~ privs.cpp:56:17: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | setuid(0); | ~~~~~~^~~ privs.cpp:57:18: warning: ignoring return value of 'int setegid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | 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] 58 | 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] 77 | 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] 84 | 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] 91 | seteuid(0); | ~~~~~~~^~~ privs.cpp:92:9: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | setuid(user); | ~~~~~~^~~~~~ privs.cpp:93:10: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | seteuid(user); | ~~~~~~~^~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o access.o access.cpp 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] 129 | 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] 316 | mode_t mode; | ^~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o common.o common.cpp common.cpp:275:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 275 | 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] 314 | snprintf(szText, nMaxLen, i18n("%"PRId64" Bytes"), qwSize); | ^ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o image_disk.o image_disk.cpp image_disk.cpp: In member function 'virtual int CImageDisk::getCompressionLevelForImage(char*)': image_disk.cpp:346:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 346 | fread(b, 4, 1, f); | ~~~~~^~~~~~~~~~~~ image_disk.cpp: In member function 'virtual void CImageDisk::openWriting()': image_disk.cpp:544: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=] 544 | snprintf(m_szSpaceFilename, MAXPATHLEN, "%s/%8s.tmp", szPathDir, szShortName); | ^~~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from image_disk.cpp:43: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 14 and 4132 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o net.o net.cpp 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; | ^~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' rm -f libshared.a aarch64-mageia-linux-gnu-ar cru libshared.a common.o access.o net.o exceptions.o messages.o privs.o image_disk.o aarch64-mageia-linux-gnu-ranlib libshared.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' Making all in client Making all in fs make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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; | ^~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_reiser.o fs_reiser.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_hpfs.o fs_hpfs.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_ntfs.o fs_ntfs.cpp fs_ntfs.cpp:315:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 315 | "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] 733 | fprintf(stderr, "cluster[%llu] = %"PRIu64"\n", (long long unsigned int)i, m_qwOffset[i]); | ^ 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; | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_jfs.o fs_jfs.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_ufs.o fs_ufs.cpp fs_ufs.cpp:220:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 220 | "Data frags count:.............%"PRIu64"\n"), | ^ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_afs.o fs_afs.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; | ^~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_ext2.o fs_ext2.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; | ^~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_hfs.o fs_hfs.cpp fs_hfs.cpp:145:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 145 | "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] 148 | "First allocation block:.......%"PRIu64"\n"), | ^ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_base.o fs_base.cpp fs_base.cpp:733:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 733 | 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] 734 | "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] 735 | "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] 736 | "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] 748 | "Space usage:..................%"PRIu64" %%\n" | ^ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fs_xfs.o fs_xfs.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' rm -f libfs.a aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-ranlib libfs.a make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o imginfo.o imginfo.cpp imginfo.cpp:114:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 114 | "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] 156 | "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] 156 | "Identificator:.........%"PRIu64"=%"PRIX64"\n\n"), | ^ imginfo.cpp: In function 'void imageInfoShowRegular(char*, int, CMainHeader*, char*, DWORD)': imginfo.cpp:104:50: 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, | ^~~~~~~~~~~~~~~~~ In file included from ../../src/shared/common.h:27, 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 | #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:52: note: format string is defined here 71 | SNPRINTF(szDescription, "\n------------------\n%s\n------------------", head->szPartDescription); | ^~ In file included from /usr/include/stdio.h:866, from ./partimage.h:23, from ../../src/shared/common.h:27, from imginfo.cpp:22: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o cbitmap.o cbitmap.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o buffer.o buffer.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o image_net.o image_net.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o gui_text.o gui_text.cpp gui_text.cpp:349:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 349 | SNPRINTF(szTemp, "%"PRIu64"", (!!options.qwSplitSize) ? (options.qwSplitSize/1024/1024) : 2048); | ^ gui_text.cpp:470:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 470 | SNPRINTF(szTemp, i18n("Size of the Partition:.......%s = %"PRIu64" bytes"), formatSize(qwPartSize, szTemp2), qwPartSize); | ^ gui_text.cpp:618:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 618 | SNPRINTF (szTemp, i18n("Available space for image:...%s = %"PRIu64" bytes"), formatSize(qwFreeSpace, szTemp2), qwFreeSpace); | ^ gui_text.cpp:742:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 742 | SNPRINTF(szTemp, i18n("Size of partition to restore:.....%s = %"PRIu64" bytes"), formatSize(qwCurPartSize, szTemp2), qwCurPartSize); | ^ gui_text.cpp:759:25: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 759 | SNPRINTF(szTemp, i18n("Size of the original partition:...%s = %"PRIu64" bytes"), formatSize(qwOrigPartSize, szTemp2), qwOrigPartSize); | ^ gui_text.cpp: In member function 'void CRestoreMbrWindow::addHardDisk(char*, DWORD)': gui_text.cpp:43:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 43 | newtListboxAppendEntry(m_list1, szText, (void*)dwNumber); | ^~~~~~~~~~~~~~~ gui_text.cpp: In member function 'void CRestoreMbrWindow::addMbr(char*, DWORD)': gui_text.cpp:52:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | newtListboxAppendEntry(m_list2, szText, (void*)dwNumber); | ^~~~~~~~~~~~~~~ gui_text.cpp: In function 'char* processHardDrive(char*, newtComponent)': gui_text.cpp:142:7: warning: variable 'nRes' set but not used [-Wunused-but-set-variable] 142 | int nRes; | ^~~~ gui_text.cpp: In member function 'void CRestoringWindow::showStats(time_t, QWORD, QWORD, QWORD, QWORD, bool, char*)': gui_text.cpp:876:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 876 | write(notify, szTempSplash, strlen(szTempSplash)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui_text.cpp:878:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 878 | write(notify, "x\n", 2); | ~~~~~^~~~~~~~~~~~~~~~~~ gui_text.cpp:893:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 893 | fscanf(stdin, "%c", &c); | ~~~~~~^~~~~~~~~~~~~~~~~ In file included from gui_text.h:21, from gui_text.cpp:22: gui_text.cpp: In function 'char* processHardDrive(char*, newtComponent)': gui_text.cpp:162:27: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 122 [-Wformat-truncation=] 162 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); | ^~~~~~~~~ ~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' 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:162:33: note: format string is defined here 162 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); | ^~ In file included from /usr/include/stdio.h:866, from partimage.h:23, from gui_text.h:21, from gui_text.cpp:22: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 6 and 133 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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:264:30: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 122 [-Wformat-truncation=] 264 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); | ^~~~~~~~~ ~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' 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:264:36: note: format string is defined here 264 | SNPRINTF(szFullDevice, "/dev/%s", szDevice); | ^~ In file included from /usr/include/stdio.h:866, from partimage.h:23, from gui_text.h:21, from gui_text.cpp:22: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 6 and 133 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o interface_base.o interface_base.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netclient.o netclient.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o main.o main.cpp main.cpp:304:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 304 | fprintf (stderr, i18n("Volume size: %"PRIu64" bytes (%ld MiB)\n"), | ^ In file included from /usr/include/string.h:519, from ../../src/shared/net.h:26, from main.cpp:60: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int main(int, char**)' at main.cpp:527:14: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int main(int, char**)' at main.cpp:528:14: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o interface_newt.o interface_newt.cpp interface_newt.cpp: In function 'fde* dir_here(newtComponent, char*)': interface_newt.cpp:548:5: 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:46: 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:18: 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:43: warning: variable 'f1' set but not used [-Wunused-but-set-variable] 613 | newtComponent lb, b1, b2, b3, l1, l2, f, f1; | ^~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o interface_none.o interface_none.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o imagefile.o imagefile.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mbr_backup.o mbr_backup.cpp In file included from /usr/include/string.h:519, from ../../src/shared/image_disk.h:29, from imagefile.h:22, from mbr_backup.cpp:24: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int mbrGetInfoDir(char*, char*)' at mbr_backup.cpp:77:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int mbrGetData(char*, CMbr*, DWORD)' at mbr_backup.cpp:223:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 512 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); | ^~~~~~~~~~ partimage.h:48:80: note: in definition of macro 'SNPRINTF' 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:27: note: format string is defined here 252 | SNPRINTF(szTemp, "%s/model", szInfoDir); | ^~~~~~ In file included from /usr/include/stdio.h:866, from partimage.h:23, from mbr_backup.cpp:22: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 4095 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o misc.o misc.cpp misc.cpp:215:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 215 | SNPRINTF(szTemp, "%.3u: %s [%"PRIu64" blocks]", i, mbrOriginal[i].szDevice, mbrOriginal[i].qwBlocksCount); | ^ 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; | ^~~~ 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 | #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:30: note: format string is defined here 191 | SNPRINTF(szTemp2, "%s [%s blocks]", mbrCurrent[i].szDevice, szTemp); | ^~ In file included from /usr/include/stdio.h:866, from misc.cpp:22: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 522) into a destination of size 511 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from misc.h:21, from misc.cpp:51: 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 | #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:866, from misc.cpp:22: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 17 and 554 bytes into a destination of size 511 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' /bin/sh ../../libtool --tag=CXX --mode=link 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 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 -lz -lnewt -llzmadec -lbz2 -lpthread -lcrypto -lssl libtool: link: 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 -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 -lz -lnewt -llzmadec -lbz2 -lpthread -lcrypto -lssl make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' Making all in server make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o partimaged-gui_dummy.o partimaged-gui_dummy.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o partimaged-gui_newt.o partimaged-gui_newt.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o partimaged-client.o partimaged-client.cpp partimaged-client.cpp: In member function 'void CPartimagedClients::Release(unsigned int)': partimaged-client.cpp:92:26: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 92 | Clients[client].Sock = NULL; | ^~~~ partimaged-client.cpp:94:27: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] 94 | Clients[client].MyPid = NULL; | ^~~~ partimaged-client.cpp: In member function 'void CPartimagedClients::ReleaseClientByPid(unsigned int)': partimaged-client.cpp:112:32: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] 112 | Clients[next].Sock = NULL; | ^~~~ partimaged-client.cpp:114:33: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] 114 | Clients[next].MyPid = NULL; | ^~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netserver.o netserver.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o partimaged.o partimaged.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' aarch64-mageia-linux-gnu-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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o partimaged-main.o partimaged-main.cpp make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' /bin/sh ../../libtool --tag=CXX --mode=link 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 partimaged netserver.o partimaged.o partimaged-client.o partimaged-gui_dummy.o partimaged-gui_newt.o partimaged-main.o -lslang ../shared/libshared.a -lcrypt -lz -lnewt -llzmadec -lbz2 -lpthread -lcrypto -lssl libtool: link: 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 -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o partimaged netserver.o partimaged.o partimaged-client.o partimaged-gui_dummy.o partimaged-gui_newt.o partimaged-main.o -lslang ../shared/libshared.a -lcrypt -lz -lnewt -llzmadec -lbz2 -lpthread -lcrypto -lssl make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Id7IL9 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 + cd partimage-0.6.9 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 'INSTALL=/usr/bin/install -p' Making install in m4 make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/m4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/m4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/m4' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/m4' Making install in po make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/po' /bin/sh .././/mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/da/LC_MESSAGES installing da.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/da/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/de/LC_MESSAGES installing de.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/de/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/es/LC_MESSAGES installing es.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/es/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/eu/LC_MESSAGES installing eu.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/eu/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/fi/LC_MESSAGES installing fi.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/fi/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/fr/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/gl/LC_MESSAGES installing gl.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/gl/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/it/LC_MESSAGES installing it.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/it/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/nl/LC_MESSAGES installing nl.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/nl/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/pl/LC_MESSAGES installing pl.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/pl/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/pt/LC_MESSAGES installing pt.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/pt/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/sk/LC_MESSAGES installing sk.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/sk/LC_MESSAGES/partimage.mo mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/ru/LC_MESSAGES installing ru.gmo as /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/locale/ru/LC_MESSAGES/partimage.mo if test "partimage" = "gettext-tools"; then \ /bin/sh .././/mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/po' Making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src' Making install in shared make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/shared' Making install in client make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' Making install in fs make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client/fs' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -p partimage '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin' libtool: install: /usr/bin/install -p partimage /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin/partimage make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/client' Making install in server make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin' /bin/sh ../../libtool --mode=install /usr/bin/install -p partimaged '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin' libtool: install: /usr/bin/install -p partimaged /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin/partimaged make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src/server' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc /bin/sh ./mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged mkdir -p -- /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged if test ! -f /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ; then \ echo "# note: '#' introduces comments" > \ /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ;\ echo -n "#add only users allowed to " >> \ /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ;\ echo "connect partimaged" >> /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ;\ echo "# (only one login per line)" >> \ /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ;\ echo "" >> /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ;\ echo "#sample # user 'sample' is allowed to connect partimaged" >> \ /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers ;\ chmod 600 /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/partimaged/partimagedusers || true;\ fi /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage' /usr/bin/install -p -m 644 AUTHORS BUGS COPYING ChangeLog README README.partimaged partimage.lsm '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/partimage-0.6.9' + rm -rf '/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/info/*' + install -m644 /home/iurt/rpmbuild/SOURCES/partimage.1 -D /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/man/man1/partimage.1 + install -m644 /home/iurt/rpmbuild/SOURCES/partimaged.8 -D /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/man/man8/partimaged.8 + install -m644 /home/iurt/rpmbuild/SOURCES/partimagedusers.5 -D /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/man/man5/partimagedusers.5 + install -m644 /home/iurt/rpmbuild/SOURCES/partimaged-sysconfig -D /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/sysconfig/partimaged + install -m755 /home/iurt/rpmbuild/SOURCES/partimaged-init.d -D /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/etc/rc.d/init.d/partimaged + cat + /usr/lib/rpm/find-lang.sh /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 partimage + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.6.9-14.mga8 --unique-debug-suffix -0.6.9-14.mga8.aarch64 --unique-debug-src-base partimage-0.6.9-14.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/partimage-0.6.9 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin/partimaged explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin/partimage extracting debug info from /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin/partimaged extracting debug info from /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/sbin/partimage original debug info size: 1760kB, size after compression: 1352kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 1455 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 mangling shebang in /etc/rc.d/init.d/partimaged from /bin/sh to #!/usr/bin/sh Processing files: partimage-0.6.9-14.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BWF107 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd partimage-0.6.9 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr BUGS /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr ABOUT-NLS /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr partimage.lsm /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr FORMAT /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr README /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr README.partimaged /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr README.mga /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + cp -pr THANKS /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64/usr/share/doc/partimage + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(partimage) = 0.6.9-14.mga8 partimage = 0.6.9-14.mga8 partimage(aarch-64) = 0.6.9-14.mga8 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh rpm-helper >= 0.21 Requires(preun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) liblzmadec.so.0()(64bit) libnewt.so.0.52()(64bit) libnewt.so.0.52(NEWT_0.52)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libslang.so.2()(64bit) libslang.so.2(SLANG2)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_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) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.3.3)(64bit) Processing files: partimage-debugsource-0.6.9-14.mga8.aarch64 Provides: partimage-debugsource = 0.6.9-14.mga8 partimage-debugsource(aarch-64) = 0.6.9-14.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: partimage-debuginfo-0.6.9-14.mga8.aarch64 Provides: debuginfo(build-id) = 13c8b0848900456241ab32a58dd5bc076d335205 debuginfo(build-id) = 6a6c53399589f3361889fe33dfd8ba497ea0c14e partimage-debuginfo = 0.6.9-14.mga8 partimage-debuginfo(aarch-64) = 0.6.9-14.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: partimage-debugsource(aarch-64) = 0.6.9-14.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/partimage-debugsource-0.6.9-14.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/partimage-0.6.9-14.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/partimage-debuginfo-0.6.9-14.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0RDDpa + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd partimage-0.6.9 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/partimage-0.6.9-14.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ByfSq8 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf partimage-0.6.9 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!