<86>Dec 19 05:14:11 userdel[1736308]: delete user 'rooter' <86>Dec 19 05:14:11 userdel[1736308]: removed group 'rooter' owned by 'rooter' <86>Dec 19 05:14:11 userdel[1736308]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 19 05:14:11 groupadd[1736317]: group added to /etc/group: name=rooter, GID=1217 <86>Dec 19 05:14:11 groupadd[1736317]: group added to /etc/gshadow: name=rooter <86>Dec 19 05:14:11 groupadd[1736317]: new group: name=rooter, GID=1217 <86>Dec 19 05:14:11 useradd[1736323]: new user: name=rooter, UID=1217, GID=1217, home=/root, shell=/bin/bash, from=none <86>Dec 19 05:14:11 userdel[1736334]: delete user 'builder' <86>Dec 19 05:14:11 userdel[1736334]: removed group 'builder' owned by 'builder' <86>Dec 19 05:14:11 userdel[1736334]: removed shadow group 'builder' owned by 'builder' <86>Dec 19 05:14:11 groupadd[1736345]: group added to /etc/group: name=builder, GID=1218 <86>Dec 19 05:14:11 groupadd[1736345]: group added to /etc/gshadow: name=builder <86>Dec 19 05:14:11 groupadd[1736345]: new group: name=builder, GID=1218 <86>Dec 19 05:14:11 useradd[1736361]: new user: name=builder, UID=1218, GID=1218, home=/usr/src, shell=/bin/bash, from=none <13>Dec 19 05:14:16 rpmi: libsqlite3-3.47.1-alt1 sisyphus+365248.200.3.1 1734527620 installed <13>Dec 19 05:14:16 rpmi: libdevmapper-1.02.202-alt1 sisyphus+361775.200.5.1 1730990757 installed <13>Dec 19 05:14:16 rpmi: libcryptopp-8.9.0-alt1 sisyphus+337150.100.1.1 1703463627 installed <13>Dec 19 05:14:16 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 19 05:14:16 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 05:14:17 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 05:14:17 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 05:14:17 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 19 05:14:17 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 05:14:17 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 05:14:17 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 19 05:14:17 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 19 05:14:17 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 05:14:18 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 05:14:18 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 05:14:18 rpmi: libssl-devel-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 05:14:18 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 19 05:14:18 rpmi: libcryptopp-devel-8.9.0-alt1 sisyphus+337150.100.1.1 1703463627 installed <13>Dec 19 05:14:18 rpmi: libdevmapper-devel-1.02.202-alt1 sisyphus+361775.200.5.1 1730990757 installed <13>Dec 19 05:14:18 rpmi: libsqlite3-devel-3.47.1-alt1 sisyphus+365248.200.3.1 1734527620 installed <13>Dec 19 05:14:18 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 19 05:14:18 rpmi: libzstd-devel-1.5.5-alt2 sisyphus+327847.100.1.1 1692867219 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/urbackup-client-2.5.25-alt1.nosrc.rpm (w1.gzdio) Installing urbackup-client-2.5.25-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.752 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf urbackup-client-2.5.25.0 + echo 'Source #0 (urbackup-client-2.5.25.tar.gz):' Source #0 (urbackup-client-2.5.25.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/urbackup-client-2.5.25.tar.gz + /bin/tar -xf - + cd urbackup-client-2.5.25.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (urbackup-client-fix-link-sqlite3.patch):' Patch #1 (urbackup-client-fix-link-sqlite3.patch): + /usr/bin/patch -p1 patching file Makefile.am Hunk #1 succeeded at 72 with fuzz 1 (offset 20 lines). + echo 'Patch #2 (md5-bytes.patch):' Patch #2 (md5-bytes.patch): + /usr/bin/patch -p0 patching file md5.h Hunk #1 succeeded at 124 with fuzz 2. Hunk #2 succeeded at 162 (offset 4 lines). + echo 'Patch #3 (uintptr_t.patch):' Patch #3 (uintptr_t.patch): + /usr/bin/patch -p1 patching file blockalign_src/crc.cpp + sed -i s@/usr/local/sbin/urbackupclientbackend@/usr/sbin/urbackupclientbackend@g urbackupclientbackend-redhat.service + sed -i s,armhf,armh, cryptoplugin/src/configure.ac + sed -i s,gnueabihf,gnueabi, cryptoplugin/src/configure.ac + sed -i '/\#include \"cryptopp_inc.h\"/a #include "assert.h"' cryptoplugin/AESGCMDecryption.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.752 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-client-2.5.25.0 + export SUID_CFLAGS=-fPIE + SUID_CFLAGS=-fPIE + export SUID_LDFLAGS=-fpie + SUID_LDFLAGS=-fpie + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: Entering directory '.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: adding subdirectory cryptoplugin/src to autoreconf autoreconf-default: Entering directory 'cryptoplugin/src' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using Gtkdoc autoreconf-default: running: aclocal --force -I m4 autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.ac:68: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:68: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:68: the top level autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:68: installing './compile' configure.ac:61: installing './missing' Makefile.am: installing './depcomp' Makefile.am:280: warning: variable 'cryptest_SOURCES' is defined but no program or Makefile.am:280: library has 'cryptest' as canonical name (possible typo) Makefile.am:300: warning: variable 'cryptestcwd_SOURCES' is defined but no program or Makefile.am:300: library has 'cryptestcwd' as canonical name (possible typo) Makefile.am:296: warning: variable 'nodist_cryptest_SOURCES' is defined but no program or Makefile.am:296: library has 'cryptest' as canonical name (possible typo) Makefile.am:316: warning: variable 'nodist_cryptestcwd_SOURCES' is defined but no program or Makefile.am:316: library has 'cryptestcwd' as canonical name (possible typo) Makefile.am:297: warning: variable 'cryptest_LDADD' is defined but no program or Makefile.am:297: library has 'cryptest' as canonical name (possible typo) Makefile.am:317: warning: variable 'cryptestcwd_LDADD' is defined but no program or Makefile.am:317: library has 'cryptestcwd' as canonical name (possible typo) autoreconf-default: Leaving directory 'cryptoplugin/src' autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using Gtkdoc autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.ac:7: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:7: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:7: the top level configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:8: the top level configure.ac:57: warning: The macro `AC_LANG_C' is obsolete. configure.ac:57: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/ax_pthread.m4:81: AX_PTHREAD is expanded from... configure.ac:57: the top level configure.ac:57: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:57: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/ax_pthread.m4:81: AX_PTHREAD is expanded from... configure.ac:57: the top level configure.ac:70: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:70: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:70: the top level configure.ac:78: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:78: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:78: the top level configure.ac:81: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/c.m4:289: AC_LANG_CPLUSPLUS 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... m4/ac_cxx_have_sstream.m4:8: AC_CXX_HAVE_SSTREAM is expanded from... configure.ac:81: the top level configure.ac:81: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_namespaces.m4:9: AC_CXX_NAMESPACES is expanded from... m4/ac_cxx_have_sstream.m4:8: AC_CXX_HAVE_SSTREAM is expanded from... configure.ac:81: the top level configure.ac:81: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/c.m4:289: AC_LANG_CPLUSPLUS is expanded from... m4/ac_cxx_have_sstream.m4:8: AC_CXX_HAVE_SSTREAM is expanded from... configure.ac:81: the top level configure.ac:81: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_have_sstream.m4:8: AC_CXX_HAVE_SSTREAM is expanded from... configure.ac:81: the top level configure.ac:82: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:82: You should run autoupdate. ./lib/autoconf/c.m4:289: AC_LANG_CPLUSPLUS is expanded from... m4/ac_cxx_have_strstream.m4:7: AC_CXX_HAVE_STRSTREAM is expanded from... configure.ac:82: the top level configure.ac:82: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:82: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ac_cxx_have_strstream.m4:7: AC_CXX_HAVE_STRSTREAM is expanded from... configure.ac:82: the top level configure.ac:83: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:83: You should run autoupdate. ./lib/autoconf/c.m4:289: AC_LANG_CPLUSPLUS is expanded from... m4/ac_cxx_have_long_long.m4:5: AC_CXX_HAVE_LONG_LONG is expanded from... configure.ac:83: the top level configure.ac:83: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:83: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... m4/ac_cxx_have_long_long.m4:5: AC_CXX_HAVE_LONG_LONG is expanded from... configure.ac:83: the top level configure.ac:115: warning: The macro `AC_LANG_C' is obsolete. configure.ac:115: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/m4-ax_check_zlib.m4:68: AX_CHECK_ZLIB is expanded from... configure.ac:115: the top level autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --without-embedded-sqlite3 --enable-headless checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -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 for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for x86_64-alt-linux-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the compiler supports GNU Objective C++... no checking whether x86_64-alt-linux-g++ accepts -g... no checking dependency style of x86_64-alt-linux-g++... none checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... 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 sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for pthread.h... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for mntent.h... yes checking for spawn.h... yes checking for linux/fiemap.h... yes checking for sys/random.h... yes checking for linux/fs.h... yes checking for _Bool... no checking for stdbool.h that conforms to C99... 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 the compiler implements namespaces... yes checking for sstream... yes checking whether the STL defines stringstream... yes checking for strstream... yes checking whether the STL defines strstream... yes checking whether C++ compiler accepts -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE... yes checking whether C++ compiler accepts -msse4.1 -msse4.2... yes checking whether the linker accepts -Wl,-z,relro... yes checking for operating system... checking for library containing gethostbyname... none required checking for library containing socket... none required checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking for zlib.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strstr... yes checking for syncfs... yes checking for fallocate64... yes checking for utimensat... yes checking for accept4... yes checking for getrandom... yes checking for dlopen in -ldl... yes checking for ZSTD_CCtx_setParameter in -lzstd... yes checking for zstd.h... yes checking for crypto++ version >= 5.1... yes (version 8.9, installed) checking whether Crypto++ contains CryptoPP::AlignedAllocate function... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... pkg-config checking whether compiling and linking against OpenSSL works... yes checking whether function added in OpenSSL 1.1.0 works... yes checking for SQLite3 library >= 3.8.7.0... yes grep: warning: stray \ before " checking for library containing clock_gettime... none required checking for dm_task_set_name in -ldevmapper... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j8 make all-recursive make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-ServerLinux.o `test -f 'ServerLinux.cpp' || echo './'`ServerLinux.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ServerLinux.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Client.o `test -f 'Client.cpp' || echo './'`Client.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Client.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Client.h:1, from Client.cpp:21: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-AcceptThread.o `test -f 'AcceptThread.cpp' || echo './'`AcceptThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from AcceptThread.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from AcceptThread.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from AcceptThread.cpp:21: AcceptThread.h: In constructor 'CAcceptThread::CAcceptThread(unsigned int, short unsigned int)': AcceptThread.h:31:14: warning: 'CAcceptThread::error' will be initialized after [-Wreorder] 31 | bool error; | ^~~~~ AcceptThread.h:29:16: warning: 'int CAcceptThread::s_v6' [-Wreorder] 29 | SOCKET s_v6; | ^~~~ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) | ^~~~~~~~~~~~~ AcceptThread.h:29:16: warning: 'CAcceptThread::s_v6' will be initialized after [-Wreorder] 29 | SOCKET s_v6; | ^~~~ AcceptThread.h:28:16: warning: 'int CAcceptThread::s' [-Wreorder] 28 | SOCKET s; | ^ AcceptThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CAcceptThread::CAcceptThread( unsigned int nWorkerThreadsPerMaster, unsigned short int uPort ) | ^~~~~~~~~~~~~ AcceptThread.cpp: In destructor 'CAcceptThread::~CAcceptThread()': AcceptThread.cpp:143:17: warning: deleting object of polymorphic class type 'CSelectThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 143 | delete SelectThreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientctl-stringtools.o `test -f 'stringtools.cpp' || echo './'`stringtools.cpp In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, from stringtools.cpp:21: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from utf8/utf8.h:32: utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from stringtools.cpp:37: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:13: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const std::string&, std::vector >&, std::string)': stringtools.cpp:536:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' 219 | result = append(cp, result); | ~~~~~~^~~~~~~~~~~~ stringtools.cpp:267:18: required from here 267 | utf8::utf16to8(tmp.begin(), tmp.end(), back_inserter(*pStr)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-SelectThread.o `test -f 'SelectThread.cpp' || echo './'`SelectThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from SelectThread.cpp:27: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from SelectThread.cpp:28: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SelectThread.cpp: In destructor 'CSelectThread::~CSelectThread()': SelectThread.cpp:86:25: warning: deleting object of polymorphic class type 'CWorkerThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 86 | delete workers[i]; | ^~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Client.h:1, from SelectThread.cpp:25: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Query.o `test -f 'Query.cpp' || echo './'`Query.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Query.cpp:22: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Query.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:39: Database.h:95:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Database.h:96:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:43: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Query.cpp: In destructor 'CQuery::~CQuery()': Query.cpp:75:9: warning: deleting object of polymorphic class type 'DatabaseCursor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 75 | delete cursor; | ^~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Database.o `test -f 'Database.cpp' || echo './'`Database.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Database.cpp:26: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:36: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:42: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from Database.cpp:48: Database.h: At global scope: Database.h:95:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Database.h:96:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Database.cpp:49: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Database.cpp: In destructor 'virtual CDatabase::~CDatabase()': Database.cpp:112:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 112 | delete q; | ^~~~~~~~ Database.cpp: In member function 'virtual db_results CDatabase::Read(std::string)': Database.cpp:228:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 228 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual bool CDatabase::Write(std::string)': Database.cpp:242:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 242 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyQuery(IQuery*)': Database.cpp:469:25: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 469 | delete cq; | ^~~~~~~~~ Database.cpp:475:9: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 475 | delete cq; | ^~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyAllQueries()': Database.cpp:485:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 485 | delete cq; | ^~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-ServiceAcceptor.o `test -f 'ServiceAcceptor.cpp' || echo './'`ServiceAcceptor.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ServiceAcceptor.h:6, from ServiceAcceptor.cpp:23: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceAcceptor.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ServiceAcceptor.h: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.h:42:13: warning: 'CServiceAcceptor::maxClientsPerThread' will be initialized after [-Wreorder] 42 | int maxClientsPerThread; | ^~~~~~~~~~~~~~~~~~~ ServiceAcceptor.h:27:16: warning: 'int CServiceAcceptor::s' [-Wreorder] 27 | SOCKET s; | ^ ServiceAcceptor.cpp:56:1: warning: when initialized here [-Wreorder] 56 | CServiceAcceptor::CServiceAcceptor(IService * pService, std::string pName, unsigned short port, int pMaxClientsPerThread, IServer::BindTarget bindTarget) | ^~~~~~~~~~~~~~~~ ServiceAcceptor.cpp:68:13: warning: unused variable 'rc' [-Wunused-variable] 68 | int rc; | ^~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:150:17: warning: deleting object of polymorphic class type 'CServiceWorker' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 150 | delete workers[i]; | ^~~~~~~~~~~~~~~~~ ServiceAcceptor.cpp: In constructor 'CServiceAcceptor::CServiceAcceptor(IService*, std::string, short unsigned int, int, IServer::BindTarget)': ServiceAcceptor.cpp:65:13: warning: ignoring return value of 'int pipe(int*)' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | pipe(xpipe); | ~~~~^~~~~~~ ServiceAcceptor.cpp: In destructor 'CServiceAcceptor::~CServiceAcceptor()': ServiceAcceptor.cpp:120:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | write(xpipe[1], &ch, 1); | ~~~~~^~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-StreamPipe.o `test -f 'StreamPipe.cpp' || echo './'`StreamPipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from StreamPipe.cpp:27: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from StreamPipe.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from StreamPipe.h:5, from StreamPipe.cpp:22: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-ServiceWorker.o `test -f 'ServiceWorker.cpp' || echo './'`ServiceWorker.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ServiceWorker.cpp:23: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from ServiceWorker.cpp:24: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from ServiceWorker.h:9, from ServiceWorker.cpp:21: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-SessionMgr.o `test -f 'SessionMgr.cpp' || echo './'`SessionMgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from SessionMgr.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from SessionMgr.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Template.o `test -f 'Template.cpp' || echo './'`Template.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Template.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utf8/utf8.h:31, from Template.cpp:23: utf8/utf8/checked.h: At global scope: utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, from Template.h:1, from Template.cpp:20: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from utf8/utf8.h:32: utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from Template.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-WorkerThread.o `test -f 'WorkerThread.cpp' || echo './'`WorkerThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from WorkerThread.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from WorkerThread.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from WorkerThread.cpp:28: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ WorkerThread.cpp: In member function 'virtual void CWorkerThread::operator()()': WorkerThread.cpp:66:24: warning: unused variable 'nq' [-Wunused-variable] 66 | size_t nq=0; | ^~ Interface/File.h: At global scope: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from Client.h:1, from WorkerThread.cpp:23: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-main.o `test -f 'main.cpp' || echo './'`main.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from main.cpp:24: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:34: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main_fkt(int, char**)': main.cpp:499:21: warning: unused variable 'rc' [-Wunused-variable] 499 | int rc=getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ main.cpp:529:21: warning: unused variable 'rc' [-Wunused-variable] 529 | int rc = getpwnam_r(daemon_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ main.cpp:628:9: warning: deleting object of polymorphic class type 'CLoadbalancerClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 628 | delete lbs; | ^~~~~~~~~~ main.cpp:633:9: warning: deleting object of polymorphic class type 'CServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 633 | delete Server; | ^~~~~~~~~~~~~ main.cpp:405:36: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 405 | dup(i); | ~~~^~~ main.cpp:406:36: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 406 | dup(i); | ~~~^~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-file_fstream.o `test -f 'file_fstream.cpp' || echo './'`file_fstream.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from file.h:4, from file_fstream.cpp:20: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_fstream.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Mutex_lin.o `test -f 'Mutex_lin.cpp' || echo './'`Mutex_lin.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Mutex_lin.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Mutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-LoadbalancerClient.o `test -f 'LoadbalancerClient.cpp' || echo './'`LoadbalancerClient.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from LoadbalancerClient.cpp:21: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ LoadbalancerClient.cpp: In member function 'virtual void CLoadbalancerClient::operator()()': LoadbalancerClient.cpp:35:13: warning: unused variable 'rc' [-Wunused-variable] 35 | int rc; | ^~ In file included from LoadbalancerClient.cpp:19: socket_header.h: At global scope: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-md5.o `test -f 'md5.cpp' || echo './'`md5.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from md5.cpp:558: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.cpp: In member function 'void MD5::update(FILE*)': md5.cpp:582:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | while (len = (int)fread(buffer, 1, 1024, file)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-stringtools.o `test -f 'stringtools.cpp' || echo './'`stringtools.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, from stringtools.cpp:21: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from utf8/utf8.h:32: utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from stringtools.cpp:37: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:13: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const std::string&, std::vector >&, std::string)': stringtools.cpp:536:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' 219 | result = append(cp, result); | ~~~~~~^~~~~~~~~~~~ stringtools.cpp:267:18: required from here 267 | utf8::utf16to8(tmp.begin(), tmp.end(), back_inserter(*pStr)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-file_common.o `test -f 'file_common.cpp' || echo './'`file_common.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from file_common.cpp:19: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from file.h:4, from file_common.cpp:20: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_common.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-DBSettingsReader.o `test -f 'DBSettingsReader.cpp' || echo './'`DBSettingsReader.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from DBSettingsReader.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from DBSettingsReader.cpp:24: Server.h: At global scope: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-OutputStream.o `test -f 'OutputStream.cpp' || echo './'`OutputStream.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-SettingsReader.o `test -f 'SettingsReader.cpp' || echo './'`SettingsReader.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from SettingsReader.cpp:20: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-LookupService.o `test -f 'LookupService.cpp' || echo './'`LookupService.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from LookupService.cpp:19: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Server.o `test -f 'Server.cpp' || echo './'`Server.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Server.cpp:40: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:42: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Interface/Plugin.h:4, from Interface/PluginMgr.h:2, from Server.cpp:35: Interface/Object.h: At global scope: Interface/Object.h:13:22: warning: 'virtual void IObject::Remove()' was hidden [-Woverloaded-virtual=] 13 | virtual void Remove(void) | ^~~~~~ In file included from Server.cpp:50: ThreadPool.h:39:14: note: by 'void CThreadPool::Remove(CPoolThread*, bool)' 39 | void Remove(CPoolThread *pt, bool decr); | ^~~~~~ In file included from file.h:4, from Server.cpp:51: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from utf8/utf8.h:31, from Server.cpp:52: utf8/utf8/checked.h: At global scope: utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from Server.cpp:25: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from utf8/utf8.h:32: utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from Server.cpp:55: Database.h:95:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Database.h:96:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:57: PipeThrottler.h:34:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 34 | std::auto_ptr updater; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:59: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Server.cpp:64: OpenSSLPipe.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr bpipe; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.cpp: In destructor 'CServer::~CServer()': Server.cpp:285:17: warning: deleting object of polymorphic class type 'CServiceAcceptor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 285 | delete stream_services[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.cpp:336:9: warning: deleting object of polymorphic class type 'CSessionMgr' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 336 | delete sessmgr; | ^~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const std::string&, std::string)': Server.cpp:514:29: warning: unused variable 'rc' [-Wunused-variable] 514 | int rc=getpwnam_r(chown_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ Server.cpp: In member function 'virtual THREAD_ID CServer::getThreadID()': Server.cpp:872:27: warning: comparison of integer expressions of different signedness: 'THREAD_ID' {aka 'int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 872 | if( curr_thread_id>=MAX_THREAD_ID ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::randomFill(char*, size_t)': Server.cpp:2058:28: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 2058 | if(dptr-buf>=sizeof(unsigned int)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = short unsigned int*; octet_iterator = std::back_insert_iterator >]' 219 | result = append(cp, result); | ~~~~~~^~~~~~~~~~~~ Server.cpp:1809:17: required from here 1809 | utf8::utf16to8((utf8::uint16_t*)&input[0], (utf8::uint16_t*)(&input[input.size()-1]+1), back_inserter(ret)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const std::string&, std::string)': Server.cpp:517:38: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | chown(plf.c_str(), pw->pw_uid, pw->pw_gid); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Table.o `test -f 'Table.cpp' || echo './'`Table.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-file_linux.o `test -f 'file_linux.cpp' || echo './'`file_linux.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from file_linux.cpp:26: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from file.h:4, from file_linux.cpp:27: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from file_linux.cpp:29: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-mt19937ar.o `test -f 'mt19937ar.cpp' || echo './'`mt19937ar.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-FileSettingsReader.o `test -f 'FileSettingsReader.cpp' || echo './'`FileSettingsReader.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from FileSettingsReader.cpp:20: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from FileSettingsReader.cpp:21: Server.h: At global scope: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from FileSettingsReader.cpp:24: Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ FileSettingsReader.cpp: In member function 'void CFileSettingsReader::read(const std::string&)': FileSettingsReader.cpp:70:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 70 | std::auto_ptr file(Server->openFile(pFile)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Interface/File.h: At global scope: Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-SQLiteFactory.o `test -f 'SQLiteFactory.cpp' || echo './'`SQLiteFactory.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from SQLiteFactory.cpp:22: Database.h:95:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 95 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Database.h:4: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Database.h:96:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 96 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-Condition_lin.o `test -f 'Condition_lin.cpp' || echo './'`Condition_lin.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from Condition_lin.cpp:26: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from Condition_lin.cpp:27: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-StaticPluginRegistration.o `test -f 'StaticPluginRegistration.cpp' || echo './'`StaticPluginRegistration.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-MemoryPipe.o `test -f 'MemoryPipe.cpp' || echo './'`MemoryPipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from MemoryPipe.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:19: MemoryPipe.h: In constructor 'CMemoryPipe::CMemoryPipe()': MemoryPipe.h:51:14: warning: 'CMemoryPipe::has_error' will be initialized after [-Wreorder] 51 | bool has_error; | ^~~~~~~~~ MemoryPipe.h:50:16: warning: 'size_t CMemoryPipe::waiters' [-Wreorder] 50 | size_t waiters; | ^~~~~~~ MemoryPipe.cpp:25:1: warning: when initialized here [-Wreorder] 25 | CMemoryPipe::CMemoryPipe(void) | ^~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h: At global scope: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-MemorySettingsReader.o `test -f 'MemorySettingsReader.cpp' || echo './'`MemorySettingsReader.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from MemorySettingsReader.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from MemorySettingsReader.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-PipeThrottler.o `test -f 'PipeThrottler.cpp' || echo './'`PipeThrottler.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from PipeThrottler.cpp:19: PipeThrottler.h:34:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 34 | std::auto_ptr updater; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from PipeThrottler.h:4: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from PipeThrottler.cpp:22: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-ThreadPool.o `test -f 'ThreadPool.cpp' || echo './'`ThreadPool.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from ThreadPool.cpp:22: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from ThreadPool.cpp:23: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual void CPoolThread::operator()()': ThreadPool.cpp:107:9: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 107 | delete this; | ^~~~~~~~~~~ In file included from ThreadPool.cpp:21: ThreadPool.h: In constructor 'CThreadPool::CThreadPool(size_t, size_t, std::string)': ThreadPool.h:86:21: warning: 'CThreadPool::idle_name' will be initialized after [-Wreorder] 86 | std::string idle_name; | ^~~~~~~~~ ThreadPool.h:49:16: warning: 'size_t CThreadPool::nRunning' [-Wreorder] 49 | size_t nRunning; | ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ ThreadPool.h:49:16: warning: 'CThreadPool::nRunning' will be initialized after [-Wreorder] 49 | size_t nRunning; | ^~~~~~~~ ThreadPool.h:48:16: warning: 'size_t CThreadPool::nThreads' [-Wreorder] 48 | size_t nThreads; | ^~~~~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ ThreadPool.h:80:23: warning: 'CThreadPool::dexit' will be initialized after [-Wreorder] 80 | volatile bool dexit; | ^~~~~ ThreadPool.h:65:17: warning: 'IMutex* CThreadPool::mutex' [-Wreorder] 65 | IMutex* mutex; | ^~~~~ ThreadPool.cpp:182:1: warning: when initialized here [-Wreorder] 182 | CThreadPool::CThreadPool(size_t max_threads, | ^~~~~~~~~~~ ThreadPool.cpp: In member function 'virtual THREADPOOL_TICKET CThreadPool::execute(IThread*, const std::string&)': ThreadPool.cpp:337:25: warning: deleting object of polymorphic class type 'CPoolThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 337 | delete nt; | ^~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-DatabaseCursor.o `test -f 'DatabaseCursor.cpp' || echo './'`DatabaseCursor.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from DatabaseCursor.h:6, from DatabaseCursor.cpp:19: Query.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr single_use_lock; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from Query.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from DatabaseCursor.cpp:26: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ DatabaseCursor.cpp: In constructor 'DatabaseCursor::DatabaseCursor(CQuery*, int*)': DatabaseCursor.cpp:28:1: warning: 'DatabaseCursor::db' is initialized with itself [-Winit-self] 28 | DatabaseCursor::DatabaseCursor(CQuery *query, int *timeoutms) | ^~~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h: At global scope: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-SharedMutex_lin.o `test -f 'SharedMutex_lin.cpp' || echo './'`SharedMutex_lin.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from SharedMutex_lin.cpp:20: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from SharedMutex_lin.cpp:21: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ In file included from LookupService.h:2, from Server.h:15: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-escape.o `test -f 'urbackupcommon/escape.cpp' || echo './'`urbackupcommon/escape.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-bufmgr.o `test -f 'urbackupcommon/bufmgr.cpp' || echo './'`urbackupcommon/bufmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/bufmgr.h:6, from urbackupcommon/bufmgr.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclientbackend-OpenSSLPipe.o `test -f 'OpenSSLPipe.cpp' || echo './'`OpenSSLPipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from OpenSSLPipe.cpp:3: OpenSSLPipe.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr bpipe; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from OpenSSLPipe.h:15: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from OpenSSLPipe.cpp:9: Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ OpenSSLPipe.cpp: In member function 'virtual bool OpenSSLPipe::Write(const char*, size_t, int, bool)': OpenSSLPipe.cpp:466:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 466 | if (rc < bsize) | ~~~^~~~~~~ In file included from StreamPipe.h:5, from OpenSSLPipe.h:14: socket_header.h: At global scope: socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-InternetServicePipe2.o `test -f 'urbackupcommon/InternetServicePipe2.cpp' || echo './'`urbackupcommon/InternetServicePipe2.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:82:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/InternetServicePipe2.h:4: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-json.o `test -f 'urbackupcommon/json.cpp' || echo './'`urbackupcommon/json.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/json.cpp:20: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/json.cpp: In member function 'void JSON::Value::destroy()': urbackupcommon/json.cpp:275:23: warning: enumeration value 'null_type' not handled in switch [-Wswitch] 275 | switch(data_type) | ^ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-settingslist.o `test -f 'urbackupcommon/settingslist.cpp' || echo './'`urbackupcommon/settingslist.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-CompressedPipe.o `test -f 'urbackupcommon/CompressedPipe.cpp' || echo './'`urbackupcommon/CompressedPipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: urbackupcommon/CompressedPipe2.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/CompressedPipe2.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe.cpp:25: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-glob.o `test -f 'urbackupcommon/glob.cpp' || echo './'`urbackupcommon/glob.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-os_functions_lin.o `test -f 'urbackupcommon/os_functions_lin.cpp' || echo './'`urbackupcommon/os_functions_lin.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/server_compat.h:3, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/../utf8/utf8.h:31, from urbackupcommon/server_compat.h:8: urbackupcommon/../utf8/utf8/checked.h: At global scope: urbackupcommon/../utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:65, from /usr/include/c++/14/vector:62, from urbackupcommon/os_functions.h:4, from urbackupcommon/os_functions_lin.cpp:19: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from urbackupcommon/../utf8/utf8.h:32: urbackupcommon/../utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_remove_nonempty_dir(const std::string&, os_symlink_callback_t, void*, bool)': urbackupcommon/os_functions_lin.cpp:518:22: warning: unused variable 'ok' [-Wunused-variable] 518 | bool ok=true; | ^~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:641:41: warning: unused variable 'tmp' [-Wunused-variable] 641 | in_addr tmp; | ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1306:13: warning: unused variable 'io_prio' [-Wunused-variable] 1306 | int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); | ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1307:13: warning: unused variable 'cpu_prio' [-Wunused-variable] 1307 | int cpu_prio = getpriority(PRIO_PROCESS, 0); | ^~~~~~~~ urbackupcommon/../utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; uint32_t = unsigned int]': urbackupcommon/../utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = const wchar_t*; octet_iterator = std::back_insert_iterator >]' 219 | result = append(cp, result); | ~~~~~~^~~~~~~~~~~~ urbackupcommon/server_compat.h:82:19: required from here 82 | utf8::utf16to8(&input[0], &input[input.size()-1]+1, back_inserter(ret)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/server_compat.h: At global scope: urbackupcommon/server_compat.h:70:21: warning: 'std::string {anonymous}::ConvertFromWchar(const std::wstring&)' defined but not used [-Wunused-function] 70 | std::string ConvertFromWchar(const std::wstring &input) | ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:22: warning: 'std::wstring {anonymous}::ConvertToWchar(const std::string&)' defined but not used [-Wunused-function] 46 | std::wstring ConvertToWchar(const std::string &input) | ^~~~~~~~~~~~~~ urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-InternetServicePipe.o `test -f 'urbackupcommon/InternetServicePipe.cpp' || echo './'`urbackupcommon/InternetServicePipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-filelist_utils.o `test -f 'urbackupcommon/filelist_utils.cpp' || echo './'`urbackupcommon/filelist_utils.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/filelist_utils.h:3, from urbackupcommon/filelist_utils.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6, from urbackupcommon/filelist_utils.h:5: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-ExtentIterator.o `test -f 'urbackupcommon/ExtentIterator.cpp' || echo './'`urbackupcommon/ExtentIterator.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/ExtentIterator.h:4, from urbackupcommon/ExtentIterator.cpp:1: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/ExtentIterator.h: At global scope: urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/ExtentIterator.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-SparseFile.o `test -f 'urbackupcommon/SparseFile.cpp' || echo './'`urbackupcommon/SparseFile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/SparseFile.h:3, from urbackupcommon/SparseFile.cpp:1: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In member function 'virtual std::string SparseFile::Read(_u32, bool*)': urbackupcommon/SparseFile.cpp:104:14: warning: unused variable 'read' [-Wunused-variable] 104 | _u32 read = mappedOrigOp(&read_str_op, tr, has_error); | ^~~~ urbackupcommon/SparseFile.cpp: In constructor '{anonymous}::BackingReadBufOp::BackingReadBufOp(IFile*, char*)': urbackupcommon/SparseFile.cpp:124:24: warning: '{anonymous}::BackingReadBufOp::backing_file' will be initialized after [-Wreorder] 124 | IFile* backing_file; | ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:123:24: warning: 'char* {anonymous}::BackingReadBufOp::buffer' [-Wreorder] 123 | char * buffer; | ^~~~~~ urbackupcommon/SparseFile.cpp:113:17: warning: when initialized here [-Wreorder] 113 | BackingReadBufOp(IFile* backing_file, char * buffer) | ^~~~~~~~~~~~~~~~ urbackupcommon/SparseFile.cpp: In constructor '{anonymous}::BackingWriteBufOp::BackingWriteBufOp(IFile*, const char*)': urbackupcommon/SparseFile.cpp:178:24: warning: '{anonymous}::BackingWriteBufOp::backing_file' will be initialized after [-Wreorder] 178 | IFile* backing_file; | ^~~~~~~~~~~~ urbackupcommon/SparseFile.cpp:177:30: warning: 'const char* {anonymous}::BackingWriteBufOp::buffer' [-Wreorder] 177 | const char * buffer; | ^~~~~~ urbackupcommon/SparseFile.cpp:167:17: warning: when initialized here [-Wreorder] 167 | BackingWriteBufOp(IFile* backing_file, const char * buffer) | ^~~~~~~~~~~~~~~~~ urbackupcommon/../Interface/File.h: At global scope: urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-CompressedPipe2.o `test -f 'urbackupcommon/CompressedPipe2.cpp' || echo './'`urbackupcommon/CompressedPipe2.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/CompressedPipe2.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:25: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipe2.cpp:29: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:82:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h: In constructor 'CompressedPipe2::CompressedPipe2(IPipe*, int)': urbackupcommon/CompressedPipe2.h:83:14: warning: 'CompressedPipe2::has_error' will be initialized after [-Wreorder] 83 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipe2.h:77:15: warning: 'int64 CompressedPipe2::uncompressed_sent_bytes' [-Wreorder] 77 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:79:15: warning: 'CompressedPipe2::sent_flushes' will be initialized after [-Wreorder] 79 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:75:16: warning: 'size_t CompressedPipe2::input_buffer_size' [-Wreorder] 75 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:89:31: warning: 'CompressedPipe2::write_mutex' will be initialized after [-Wreorder] 89 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:80:15: warning: 'int64 CompressedPipe2::last_send_time' [-Wreorder] 80 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipe2.cpp:38:1: warning: when initialized here [-Wreorder] 38 | CompressedPipe2::CompressedPipe2(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-WebSocketPipe.o `test -f 'urbackupcommon/WebSocketPipe.cpp' || echo './'`urbackupcommon/WebSocketPipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/WebSocketPipe.cpp:1: urbackupcommon/WebSocketPipe.h:113:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 113 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/WebSocketPipe.h:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/WebSocketPipe.h:114:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WebSocketPipe.cpp:5: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/WebSocketPipe.h: In constructor 'WebSocketPipe::WebSocketPipe(IPipe*, bool, bool, std::string, bool)': urbackupcommon/WebSocketPipe.h:97:16: warning: 'WebSocketPipe::pipe' will be initialized after [-Wreorder] 97 | IPipe* pipe; | ^~~~ urbackupcommon/WebSocketPipe.h:95:20: warning: 'const bool WebSocketPipe::mask_writes' [-Wreorder] 95 | const bool mask_writes; | ^~~~~~~~~~~ urbackupcommon/WebSocketPipe.cpp:8:1: warning: when initialized here [-Wreorder] 8 | WebSocketPipe::WebSocketPipe(IPipe* pipe, const bool mask_writes, const bool expect_read_mask, std::string pipe_add, bool destroy_pipe) | ^~~~~~~~~~~~~ urbackupcommon/WebSocketPipe.h:109:21: warning: 'WebSocketPipe::pipe_add' will be initialized after [-Wreorder] 109 | std::string pipe_add; | ^~~~~~~~ urbackupcommon/WebSocketPipe.h:99:20: warning: 'WebSocketPipe::EReadState WebSocketPipe::read_state' [-Wreorder] 99 | EReadState read_state; | ^~~~~~~~~~ urbackupcommon/WebSocketPipe.cpp:8:1: warning: when initialized here [-Wreorder] 8 | WebSocketPipe::WebSocketPipe(IPipe* pipe, const bool mask_writes, const bool expect_read_mask, std::string pipe_add, bool destroy_pipe) | ^~~~~~~~~~~~~ urbackupcommon/WebSocketPipe.cpp: In member function 'virtual bool WebSocketPipe::Write(const char*, size_t, int, bool)': urbackupcommon/WebSocketPipe.cpp:95:16: warning: variable 'payload_len_size' set but not used [-Wunused-but-set-variable] 95 | size_t payload_len_size = 1; | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-WalCheckpointThread.o `test -f 'urbackupcommon/WalCheckpointThread.cpp' || echo './'`urbackupcommon/WalCheckpointThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/WalCheckpointThread.cpp:19: urbackupcommon/WalCheckpointThread.h:45:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/WalCheckpointThread.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:21: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/WalCheckpointThread.cpp:24: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/WalCheckpointThread.cpp: In member function 'void WalCheckpointThread::checkpoint(bool)': urbackupcommon/WalCheckpointThread.cpp:44:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 44 | std::auto_ptr wal_file(Server->openFile(db_fn+"-wal", mode)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/WalCheckpointThread.cpp: In member function 'void WalCheckpointThread::sync_database()': urbackupcommon/WalCheckpointThread.cpp:203:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 203 | std::auto_ptr rw_wal_file(Server->openFile(db_fn + "-wal", rw_mode)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-CompressedPipeZstd.o `test -f 'urbackupcommon/CompressedPipeZstd.cpp' || echo './'`urbackupcommon/CompressedPipeZstd.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipeZstd.h:10:9: warning: "ZSTD_STATIC_LINKING_ONLY" redefined 10 | #define ZSTD_STATIC_LINKING_ONLY | ^~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from urbackupcommon/CompressedPipeZstd.h:7: urbackupcommon/CompressedPipe2.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/CompressedPipe2.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr adaptive; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h:102:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h:103:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 103 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr usage_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:27: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/CompressedPipeZstd.cpp:31: urbackupcommon/InternetServicePipe2.h: At global scope: urbackupcommon/InternetServicePipe2.h:82:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h: In constructor 'CompressedPipeZstd::CompressedPipeZstd(IPipe*, int)': urbackupcommon/CompressedPipeZstd.h:96:14: warning: 'CompressedPipeZstd::has_error' will be initialized after [-Wreorder] 96 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:76:15: warning: 'int64 CompressedPipeZstd::uncompressed_sent_bytes' [-Wreorder] 76 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:44:1: warning: when initialized here [-Wreorder] 44 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:78:15: warning: 'CompressedPipeZstd::sent_flushes' will be initialized after [-Wreorder] 78 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:73:16: warning: 'size_t CompressedPipeZstd::input_buffer_size' [-Wreorder] 73 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:44:1: warning: when initialized here [-Wreorder] 44 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:103:31: warning: 'CompressedPipeZstd::write_mutex' will be initialized after [-Wreorder] 103 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:79:15: warning: 'int64 CompressedPipeZstd::last_send_time' [-Wreorder] 79 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:44:1: warning: when initialized here [-Wreorder] 44 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:105:31: warning: 'CompressedPipeZstd::usage_mutex' will be initialized after [-Wreorder] 105 | std::auto_ptr usage_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:75:13: warning: 'int CompressedPipeZstd::compression_level' [-Wreorder] 75 | int compression_level; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:44:1: warning: when initialized here [-Wreorder] 44 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp: In member function 'size_t CompressedPipeZstd::ProcessToBuffer(char*, size_t, bool)': urbackupcommon/CompressedPipeZstd.cpp:168:14: warning: variable 'set_out' set but not used [-Wunused-but-set-variable] 168 | bool set_out=false; | ^~~~~~~ urbackupcommon/../stringtools.h: At global scope: urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-CompressedFile.o `test -f 'fsimageplugin/CompressedFile.cpp' || echo './'`fsimageplugin/CompressedFile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/CompressedFile.h:6, from fsimageplugin/CompressedFile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/CompressedFile.h:4: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/CompressedFile.h:104:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:20: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/CompressedFile.cpp:28: fsimageplugin/LRUMemCache.h: At global scope: fsimageplugin/LRUMemCache.h:46:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 46 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:47:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 47 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr cond_wait; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(std::string, int, size_t)': fsimageplugin/CompressedFile.h:96:14: warning: 'CompressedFile::error' will be initialized after [-Wreorder] 96 | bool error; | ^~~~~ fsimageplugin/CompressedFile.h:80:17: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] 80 | __int64 currentPosition; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | CompressedFile::CompressedFile( std::string pFilename, int pMode, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:98:14: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] 98 | bool finished; | ^~~~~~~~ fsimageplugin/CompressedFile.h:76:17: warning: '__int64 CompressedFile::filesize' [-Wreorder] 76 | __int64 filesize; | ^~~~~~~~ fsimageplugin/CompressedFile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | CompressedFile::CompressedFile( std::string pFilename, int pMode, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:106:16: warning: 'CompressedFile::n_threads' will be initialized after [-Wreorder] 106 | size_t n_threads; | ^~~~~~~~~ fsimageplugin/CompressedFile.h:83:16: warning: 'size_t CompressedFile::numBlockOffsets' [-Wreorder] 83 | size_t numBlockOffsets; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:45:1: warning: when initialized here [-Wreorder] 45 | CompressedFile::CompressedFile( std::string pFilename, int pMode, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h: In constructor 'CompressedFile::CompressedFile(IFile*, bool, bool, size_t)': fsimageplugin/CompressedFile.h:96:14: warning: 'CompressedFile::error' will be initialized after [-Wreorder] 96 | bool error; | ^~~~~ fsimageplugin/CompressedFile.h:80:17: warning: '__int64 CompressedFile::currentPosition' [-Wreorder] 80 | __int64 currentPosition; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:98:14: warning: 'CompressedFile::finished' will be initialized after [-Wreorder] 98 | bool finished; | ^~~~~~~~ fsimageplugin/CompressedFile.h:85:16: warning: 'IFile* CompressedFile::uncompressedFile' [-Wreorder] 85 | IFile* uncompressedFile; | ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:85:16: warning: 'CompressedFile::uncompressedFile' will be initialized after [-Wreorder] 85 | IFile* uncompressedFile; | ^~~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:76:17: warning: '__int64 CompressedFile::filesize' [-Wreorder] 76 | __int64 filesize; | ^~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/CompressedFile.h:106:16: warning: 'CompressedFile::n_threads' will be initialized after [-Wreorder] 106 | size_t n_threads; | ^~~~~~~~~ fsimageplugin/CompressedFile.h:83:16: warning: 'size_t CompressedFile::numBlockOffsets' [-Wreorder] 83 | size_t numBlockOffsets; | ^~~~~~~~~~~~~~~ fsimageplugin/CompressedFile.cpp:82:1: warning: when initialized here [-Wreorder] 82 | CompressedFile::CompressedFile(IFile* file, bool openExisting, bool readOnly, size_t n_threads) | ^~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-file_metadata.o `test -f 'urbackupcommon/file_metadata.cpp' || echo './'`urbackupcommon/file_metadata.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/file_metadata.h:5, from urbackupcommon/file_metadata.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/file_metadata.h:6: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupcommon/file_metadata.cpp:26: urbackupcommon/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupcommon/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool write_file_metadata(const std::string&, INotEnoughSpaceCallback*, const FileMetadata&, bool)': urbackupcommon/file_metadata.cpp:252:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 252 | std::auto_ptr out(Server->openFile(os_file_prefix(out_fn), MODE_RW_CREATE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool read_metadata(const std::string&, FileMetadata&)': urbackupcommon/file_metadata.cpp:287:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 287 | std::auto_ptr in(Server->openFile(os_file_prefix(in_fn))); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp: In function 'bool copy_os_metadata(const std::string&, const std::string&, INotEnoughSpaceCallback*)': urbackupcommon/file_metadata.cpp:426:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 426 | std::auto_ptr in_f(Server->openFile(os_file_prefix(in_fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/file_metadata.cpp:427:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 427 | std::auto_ptr out_f(Server->openFile(os_file_prefix(out_fn), MODE_RW)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/chunk_hasher.h:6, from urbackupcommon/file_metadata.cpp:30: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-chunk_hasher.o `test -f 'urbackupcommon/chunk_hasher.cpp' || echo './'`urbackupcommon/chunk_hasher.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/chunk_hasher.h:3, from urbackupcommon/chunk_hasher.cpp:19: urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/chunk_hasher.h:5: urbackupcommon/ExtentIterator.h: At global scope: urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupcommon/ExtentIterator.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/chunk_hasher.cpp:21: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/chunk_hasher.cpp:25: urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h: At global scope: urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool build_chunk_hashs(IFile*, IFile*, INotEnoughSpaceCallback*, IFsFile*, bool, int64*, IFile*, bool, IHashFunc*, IExtentIterator*, std::pair)': urbackupcommon/chunk_hasher.cpp:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr chunk_hashes; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:122:14: warning: unused variable 'n_chunks' [-Wunused-variable] 122 | _i64 n_chunks=c_checkpoint_dist/c_small_hash_dist; | ^~~~~~~~ urbackupcommon/chunk_hasher.cpp:151:14: warning: variable 'has_sparse_extent' set but not used [-Wunused-but-set-variable] 151 | bool has_sparse_extent = false; | ^~~~~~~~~~~~~~~~~ urbackupcommon/chunk_hasher.cpp: In function 'bool writeRepeatFreeSpace(IFile*, const char*, size_t, INotEnoughSpaceCallback*)': urbackupcommon/chunk_hasher.cpp:629:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 629 | if(rc!=bsize) | ~~^~~~~~~ In file included from urbackupcommon/TreeHash.h:3, from urbackupcommon/chunk_hasher.h:6: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/fileclient/urbackupclientbackend-FileClientChunked.o `test -f 'urbackupcommon/fileclient/FileClientChunked.cpp' || echo './'`urbackupcommon/fileclient/FileClientChunked.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClientChunked.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:19: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.h:9: urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/FileClientChunked.cpp:23: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h: In constructor 'FileClientChunked::FileClientChunked(IPipe*, bool, CTCPStack*, ReconnectionCallback*, NoFreeSpaceCallback*, std::string, FileClientChunked*)': urbackupcommon/fileclient/FileClientChunked.h:233:14: warning: 'FileClientChunked::destroy_pipe' will be initialized after [-Wreorder] 233 | bool destroy_pipe; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:186:20: warning: 'CTCPStack* FileClientChunked::stack' [-Wreorder] 186 | CTCPStack *stack; | ^~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:257:14: warning: 'FileClientChunked::queue_only' will be initialized after [-Wreorder] 257 | bool queue_only; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:256:43: warning: 'FileClientChunked::QueueCallback* FileClientChunked::queue_callback' [-Wreorder] 256 | FileClientChunked::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:256:43: warning: 'FileClientChunked::queue_callback' will be initialized after [-Wreorder] 256 | FileClientChunked::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:14: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] 197 | _i64 remote_filesize; | ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:265:14: warning: 'FileClientChunked::hashfilesize' will be initialized after [-Wreorder] 265 | _i64 hashfilesize; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'FileClientChunked::did_queue_fc' will be initialized after [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:22: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] 201 | unsigned int queued_chunks; | ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:276:14: warning: 'FileClientChunked::needs_flush' will be initialized after [-Wreorder] 276 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:14: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] 235 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:259:14: warning: 'FileClientChunked::queue_next' will be initialized after [-Wreorder] 259 | bool queue_next; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:14: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] 248 | _i64 sparse_bytes; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:63:1: warning: when initialized here [-Wreorder] 63 | FileClientChunked::FileClientChunked(IPipe *pipe, bool del_pipe, CTCPStack *stack, | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h: In constructor 'FileClientChunked::FileClientChunked()': urbackupcommon/fileclient/FileClientChunked.h:252:28: warning: 'FileClientChunked::parent' will be initialized after [-Wreorder] 252 | FileClientChunked* parent; | ^~~~~~ urbackupcommon/fileclient/FileClientChunked.h:197:14: warning: '_i64 FileClientChunked::remote_filesize' [-Wreorder] 197 | _i64 remote_filesize; | ^~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:265:14: warning: 'FileClientChunked::hashfilesize' will be initialized after [-Wreorder] 265 | _i64 hashfilesize; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'bool FileClientChunked::did_queue_fc' [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:253:14: warning: 'FileClientChunked::did_queue_fc' will be initialized after [-Wreorder] 253 | bool did_queue_fc; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:201:22: warning: 'unsigned int FileClientChunked::queued_chunks' [-Wreorder] 201 | unsigned int queued_chunks; | ^~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:274:14: warning: 'FileClientChunked::reconnected' will be initialized after [-Wreorder] 274 | bool reconnected; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:235:14: warning: '_i64 FileClientChunked::real_transferred_bytes' [-Wreorder] 235 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:259:14: warning: 'FileClientChunked::queue_next' will be initialized after [-Wreorder] 259 | bool queue_next; | ^~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.h:248:14: warning: '_i64 FileClientChunked::sparse_bytes' [-Wreorder] 248 | _i64 sparse_bytes; | ^~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp:83:1: warning: when initialized here [-Wreorder] 83 | FileClientChunked::FileClientChunked(void) | ^~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClientChunked.cpp: In member function '_u32 FileClientChunked::GetFile(std::string, _i64&, int64, IFile**)': urbackupcommon/fileclient/FileClientChunked.cpp:159:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 159 | std::auto_ptr next(queued_fcs.front()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupcommon/fileclient/../TreeHash.h:3, from urbackupcommon/fileclient/../chunk_hasher.h:6, from urbackupcommon/fileclient/FileClientChunked.cpp:32: urbackupcommon/fileclient/../sha2/sha2.h: At global scope: urbackupcommon/fileclient/../sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientbackend-TreeHash.o `test -f 'urbackupcommon/TreeHash.cpp' || echo './'`urbackupcommon/TreeHash.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/TreeHash.cpp:5: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/TreeHash.cpp:1: urbackupcommon/TreeHash.h: In constructor 'TreeHash::TreeHash(IHashOutput*)': urbackupcommon/TreeHash.h:150:22: warning: 'TreeHash::offset' will be initialized after [-Wreorder] 150 | unsigned int offset; | ^~~~~~ urbackupcommon/TreeHash.h:145:14: warning: 'bool TreeHash::has_sparse' [-Wreorder] 145 | bool has_sparse; | ^~~~~~~~~~ urbackupcommon/TreeHash.cpp:9:1: warning: when initialized here [-Wreorder] 9 | TreeHash::TreeHash(IHashOutput* hash_output) | ^~~~~~~~ In file included from urbackupcommon/TreeHash.h:3: urbackupcommon/sha2/sha2.h: At global scope: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-FileWrapper.o `test -f 'fsimageplugin/FileWrapper.cpp' || echo './'`fsimageplugin/FileWrapper.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/FileWrapper.h:3, from fsimageplugin/FileWrapper.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/FileWrapper.h: In constructor 'FileWrapper::FileWrapper(IVHDFile*, int64)': fsimageplugin/FileWrapper.h:43:19: warning: 'FileWrapper::wfile' will be initialized after [-Wreorder] 43 | IVHDFile* wfile; | ^~~~~ fsimageplugin/FileWrapper.h:42:15: warning: 'int64 FileWrapper::offset' [-Wreorder] 42 | int64 offset; | ^~~~~~ fsimageplugin/FileWrapper.cpp:118:1: warning: when initialized here [-Wreorder] 118 | FileWrapper::FileWrapper( IVHDFile* wfile, int64 offset ) | ^~~~~~~~~~~ fsimageplugin/../Interface/File.h: At global scope: fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-LRUMemCache.o `test -f 'fsimageplugin/LRUMemCache.cpp' || echo './'`fsimageplugin/LRUMemCache.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/CompressedFile.h:6, from fsimageplugin/LRUMemCache.h:7, from fsimageplugin/LRUMemCache.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/CompressedFile.h:4: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/CompressedFile.h:104:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:46:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 46 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:47:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 47 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr cond_wait; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/LRUMemCache.cpp:21: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/LRUMemCache.h: In constructor 'LRUMemCache::LRUMemCache(size_t, size_t, size_t)': fsimageplugin/LRUMemCache.h:57:33: warning: 'LRUMemCache::callback' will be initialized after [-Wreorder] 57 | ICacheEvictionCallback* callback; | ^~~~~~~~ fsimageplugin/LRUMemCache.h:46:31: warning: 'std::auto_ptr LRUMemCache::mutex' [-Wreorder] 46 | std::auto_ptr mutex; | ^~~~~ fsimageplugin/LRUMemCache.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LRUMemCache::LRUMemCache(size_t buffersize, size_t nbuffers, size_t p_n_threads) | ^~~~~~~~~~~ fsimageplugin/LRUMemCache.h:55:14: warning: 'LRUMemCache::do_quit' will be initialized after [-Wreorder] 55 | bool do_quit; | ^~~~~~~ fsimageplugin/LRUMemCache.h:53:16: warning: 'size_t LRUMemCache::n_threads_working' [-Wreorder] 53 | size_t n_threads_working; | ^~~~~~~~~~~~~~~~~ fsimageplugin/LRUMemCache.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LRUMemCache::LRUMemCache(size_t buffersize, size_t nbuffers, size_t p_n_threads) | ^~~~~~~~~~~ fsimageplugin/LRUMemCache.h:53:16: warning: 'LRUMemCache::n_threads_working' will be initialized after [-Wreorder] 53 | size_t n_threads_working; | ^~~~~~~~~~~~~~~~~ fsimageplugin/LRUMemCache.h:48:35: warning: 'std::auto_ptr LRUMemCache::cond_wait' [-Wreorder] 48 | std::auto_ptr cond_wait; | ^~~~~~~~~ fsimageplugin/LRUMemCache.cpp:26:1: warning: when initialized here [-Wreorder] 26 | LRUMemCache::LRUMemCache(size_t buffersize, size_t nbuffers, size_t p_n_threads) | ^~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-cowfile.o `test -f 'fsimageplugin/cowfile.cpp' || echo './'`fsimageplugin/cowfile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/cowfile.cpp:30: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/cowfile.cpp:32: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/cowfile.cpp:23: fsimageplugin/cowfile.h: In constructor 'CowFile::CowFile(const std::string&, bool, uint64)': fsimageplugin/cowfile.h:60:14: warning: 'CowFile::finished' will be initialized after [-Wreorder] 60 | bool finished; | ^~~~~~~~ fsimageplugin/cowfile.h:56:14: warning: '_i64 CowFile::curr_offset' [-Wreorder] 56 | _i64 curr_offset; | ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:62:1: warning: when initialized here [-Wreorder] 62 | CowFile::CowFile(const std::string &fn, bool pRead_only, uint64 pDstsize) | ^~~~~~~ fsimageplugin/cowfile.h: In constructor 'CowFile::CowFile(const std::string&, const std::string&, bool, uint64)': fsimageplugin/cowfile.h:60:14: warning: 'CowFile::finished' will be initialized after [-Wreorder] 60 | bool finished; | ^~~~~~~~ fsimageplugin/cowfile.h:56:14: warning: '_i64 CowFile::curr_offset' [-Wreorder] 56 | _i64 curr_offset; | ^~~~~~~~~~~ fsimageplugin/cowfile.cpp:200:1: warning: when initialized here [-Wreorder] 200 | CowFile::CowFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, uint64 pDstsize) | ^~~~~~~ fsimageplugin/cowfile.cpp:207:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 207 | std::auto_ptr parentf(Server->openFile(parent_fn, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp:219:34: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 219 | if(pDstsize>0 && pDstsize!=filesize) | ~~~~~~~~^~~~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::saveBitmap()': fsimageplugin/cowfile.cpp:577:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 577 | std::auto_ptr bitmap_file(Server->openFile(filename+".bitmap", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::loadBitmap(const std::string&)': fsimageplugin/cowfile.cpp:596:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 596 | std::auto_ptr bitmap_file(Server->openFile(bitmap_fn, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::trimUnused(_i64, _i64, ITrimCallback*)': fsimageplugin/cowfile.cpp:763:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 763 | std::auto_ptr bitmap_source; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::syncBitmap(_i64)': fsimageplugin/cowfile.cpp:875:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 875 | std::auto_ptr bitmap_source; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../../Interface/File.h: At global scope: fsimageplugin/fs/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-partclone.o `test -f 'fsimageplugin/partclone.cpp' || echo './'`fsimageplugin/partclone.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/partclone.h:3, from fsimageplugin/partclone.cpp:1: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/filesystem.h: At global scope: fsimageplugin/filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/filesystem.h:16: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/partclone.cpp:6: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/partclone.cpp: In member function 'void Partclone::init()': fsimageplugin/partclone.cpp:272:22: warning: unused variable 'has_bit' [-Wunused-variable] 272 | bool has_bit = (bitmap_test[offset] >> bit) & 1; | ^~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common/urbackupclientbackend-miniz.o `test -f 'common/miniz.c' || echo './'`common/miniz.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition common/miniz.c:3079:9: note: '#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.' 3079 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-ClientBitmap.o `test -f 'fsimageplugin/ClientBitmap.cpp' || echo './'`fsimageplugin/ClientBitmap.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/ClientBitmap.h:4, from fsimageplugin/ClientBitmap.cpp:1: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/ClientBitmap.cpp:4: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/ClientBitmap.cpp: In constructor 'ClientBitmap::ClientBitmap(std::string)': fsimageplugin/ClientBitmap.cpp:16:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 16 | std::auto_ptr bitmap_file(Server->openFile(fn, MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/ClientBitmap.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/ClientBitmap.cpp:3: fsimageplugin/../urbackupcommon/sha2/sha2.h: At global scope: fsimageplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient_dmsnaptool-stringtools.o `test -f 'stringtools.cpp' || echo './'`stringtools.cpp In file included from utf8/utf8.h:31, from stringtools.cpp:35: utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, from stringtools.cpp:21: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from utf8/utf8.h:32: utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from stringtools.cpp:37: stringtools.h: In function 'float {anonymous}::little_endian(float)': stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'double {anonymous}::little_endian(double)': stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.h: In function 'float {anonymous}::big_endian(float)': stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringtools.cpp: In function 'std::string getbetween(std::string, std::string, std::string)': stringtools.cpp:78:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(off1==-1)return ""; | ~~~~^~~~ stringtools.cpp:91:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(off2==-1)return ""; | ~~~~^~~~ stringtools.cpp: In function 'std::string strdelete(std::string, std::string)': stringtools.cpp:104:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 104 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntil(std::string, std::string)': stringtools.cpp:142:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string getuntilinc(std::string, std::string)': stringtools.cpp:155:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 155 | if(off==-1) | ~~~^~~~ stringtools.cpp: In function 'std::string ExtractFileName(std::string, std::string)': stringtools.cpp:363:13: warning: unused variable 'off' [-Wunused-variable] 363 | s32 off=0; | ^~~ stringtools.cpp: In function 'void Tokenize(const std::string&, std::vector >&, std::string)': stringtools.cpp:536:21: warning: comparison of integer expressions of different signedness: 's32' {aka 'int'} and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 536 | if(pos1 == std::string::npos) | ~~~~~^~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; uint32_t = unsigned int]': utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator >; octet_iterator = std::back_insert_iterator >]' 219 | result = append(cp, result); | ~~~~~~^~~~~~~~~~~~ stringtools.cpp:267:18: required from here 267 | utf8::utf16to8(tmp.begin(), tmp.end(), back_inserter(*pStr)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ stringtools.h: At global scope: stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o clientctl/urbackupclientctl-tcpstack.o `test -f 'clientctl/tcpstack.cpp' || echo './'`clientctl/tcpstack.cpp In file included from clientctl/tcpstack.cpp:22: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ clientctl/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ clientctl/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ clientctl/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ clientctl/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ In file included from clientctl/tcpstack.cpp:21: clientctl/../socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ClientHash.o `test -f 'urbackupclient/ClientHash.cpp' || echo './'`urbackupclient/ClientHash.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/ClientHash.h:4, from urbackupclient/ClientHash.cpp:1: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/ClientHash.cpp:7: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientHash.cpp:9: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientHash.h: In constructor 'ClientHash::ClientHash(IFile*, bool, int64, size_t*, size_t)': urbackupclient/ClientHash.h:34:16: warning: 'ClientHash::snapshot_sequence_id_reference' will be initialized after [-Wreorder] 34 | size_t snapshot_sequence_id_reference; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientHash.h:27:23: warning: 'IVdlVolCache* ClientHash::vdl_vol_cache' [-Wreorder] 27 | IVdlVolCache* vdl_vol_cache; | ^~~~~~~~~~~~~ urbackupclient/ClientHash.cpp:58:1: warning: when initialized here [-Wreorder] 58 | ClientHash::ClientHash(IFile * index_hdat_file, | ^~~~~~~~~~ urbackupclient/ClientHash.cpp: In member function 'bool ClientHash::getShaBinary(const std::string&, IHashFunc&, bool)': urbackupclient/ClientHash.cpp:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientctl-os_functions_lin.o `test -f 'urbackupcommon/os_functions_lin.cpp' || echo './'`urbackupcommon/os_functions_lin.cpp In file included from urbackupcommon/os_functions_lin.cpp:20: urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupcommon/../utf8/utf8.h:31, from urbackupcommon/server_compat.h:8, from urbackupcommon/os_functions_lin.cpp:21: urbackupcommon/../utf8/utf8/checked.h: At global scope: urbackupcommon/../utf8/utf8/checked.h:259:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 259 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:65, from /usr/include/c++/14/vector:62, from urbackupcommon/os_functions.h:4, from urbackupcommon/os_functions_lin.cpp:19: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from urbackupcommon/../utf8/utf8.h:32: urbackupcommon/../utf8/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_remove_nonempty_dir(const std::string&, os_symlink_callback_t, void*, bool)': urbackupcommon/os_functions_lin.cpp:518:22: warning: unused variable 'ok' [-Wunused-variable] 518 | bool ok=true; | ^~ urbackupcommon/os_functions_lin.cpp: In function 'bool os_lookuphostname(std::string, unsigned int*)': urbackupcommon/os_functions_lin.cpp:641:41: warning: unused variable 'tmp' [-Wunused-variable] 641 | in_addr tmp; | ^~~ urbackupcommon/os_functions_lin.cpp: In function 'void assert_process_priority()': urbackupcommon/os_functions_lin.cpp:1306:13: warning: unused variable 'io_prio' [-Wunused-variable] 1306 | int io_prio = ioprio_get(IOPRIO_WHO_PROCESS, 0); | ^~~~~~~ urbackupcommon/os_functions_lin.cpp:1307:13: warning: unused variable 'cpu_prio' [-Wunused-variable] 1307 | int cpu_prio = getpriority(PRIO_PROCESS, 0); | ^~~~~~~~ urbackupcommon/../utf8/utf8/checked.h: In instantiation of 'octet_iterator utf8::append(uint32_t, octet_iterator) [with octet_iterator = std::back_insert_iterator >; uint32_t = unsigned int]': urbackupcommon/../utf8/utf8/checked.h:219:28: required from 'octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = const wchar_t*; octet_iterator = std::back_insert_iterator >]' 219 | result = append(cp, result); | ~~~~~~^~~~~~~~~~~~ urbackupcommon/server_compat.h:82:19: required from here 82 | utf8::utf16to8(&input[0], &input[input.size()-1]+1, back_inserter(ret)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/../utf8/utf8/checked.h:120:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 120 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:125:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 125 | *(result++) = static_cast((cp >> 12)& 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/../utf8/utf8/checked.h:126:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 126 | *(result++) = static_cast((cp >> 6) & 0x3f | 0x80); | ~~~~~~~~~~^~~~~~ urbackupcommon/server_compat.h: At global scope: urbackupcommon/server_compat.h:70:21: warning: 'std::string {anonymous}::ConvertFromWchar(const std::wstring&)' defined but not used [-Wunused-function] 70 | std::string ConvertFromWchar(const std::wstring &input) | ^~~~~~~~~~~~~~~~ urbackupcommon/server_compat.h:46:22: warning: 'std::wstring {anonymous}::ConvertToWchar(const std::string&)' defined but not used [-Wunused-function] 46 | std::wstring ConvertToWchar(const std::string &input) | ^~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o blockalign_src/blockalign-crc32c-adler.o `test -f 'blockalign_src/crc32c-adler.cpp' || echo './'`blockalign_src/crc32c-adler.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupclientctl-escape.o `test -f 'urbackupcommon/escape.cpp' || echo './'`urbackupcommon/escape.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-cmdline_preprocessor.o `test -f 'urbackupclient/cmdline_preprocessor.cpp' || echo './'`urbackupclient/cmdline_preprocessor.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../tclap/UnlabeledValueArg.h:30, from urbackupclient/../tclap/CmdLine.h:29, from urbackupclient/cmdline_preprocessor.cpp:18: urbackupclient/../tclap/ValueArg.h:243:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 243 | ValueArg(const ValueArg& rhs); | ^ urbackupclient/../tclap/ValueArg.h:243:19: note: remove the '< >' In file included from urbackupclient/../tclap/UnlabeledMultiArg.h:29, from urbackupclient/../tclap/CmdLine.h:30: urbackupclient/../tclap/MultiArg.h:228:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 228 | MultiArg(const MultiArg& rhs); | ^ urbackupclient/../tclap/MultiArg.h:228:20: note: remove the '< >' In file included from urbackupclient/cmdline_preprocessor.cpp:20: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/cmdline_preprocessor.cpp:24: urbackupclient/../Server.h: At global scope: urbackupclient/../Server.h:48:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr single_user_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/../Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../Server.h:49:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 49 | std::auto_ptr lock_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../Server.h:50:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 50 | std::auto_ptr lock_count; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../Server.h:51:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr unlock_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/cmdline_preprocessor.cpp: In function 'void read_config_file(std::string, std::vector >&)': urbackupclient/cmdline_preprocessor.cpp:103:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 103 | std::auto_ptr settings(Server->createFileSettingsReader(fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/cmdline_preprocessor.cpp:195:17: warning: deleting object of polymorphic class type 'CServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 195 | delete static_cast(Server); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/cmdline_preprocessor.cpp: In function 'int main(int, char**)': urbackupclient/cmdline_preprocessor.cpp:219:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 219 | for(size_t i=1;i: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition blockalign_src/crc.cpp:269:29: warning: 'void cryptopp_crc::SigIllHandlerSSE2(int)' defined but not used [-Wunused-function] 269 | static void SigIllHandlerSSE2(int) | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o clientctl/urbackupclientctl-Connector.o `test -f 'clientctl/Connector.cpp' || echo './'`clientctl/Connector.cpp In file included from clientctl/Connector.cpp:27: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from clientctl/Connector.cpp:30: clientctl/../socket_header.h: At global scope: clientctl/../socket_header.h:59:13: warning: 'int {anonymous}::accept4_fb(int, sockaddr*, socklen_t*, int)' defined but not used [-Wunused-function] 59 | int accept4_fb(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) | ^~~~~~~~~~ clientctl/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ clientctl/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ clientctl/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ clientctl/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ clientctl/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common/urbackupclientbackend-adler32.o `test -f 'common/adler32.cpp' || echo './'`common/adler32.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ParallelHash.o `test -f 'urbackupclient/ParallelHash.cpp' || echo './'`urbackupclient/ParallelHash.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/ParallelHash.h:4, from urbackupclient/ParallelHash.cpp:1: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/ParallelHash.h:9: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h: At global scope: urbackupclient/ParallelHash.h:73:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:97:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr extra_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr extra_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h: In constructor 'ParallelHash::ParallelHash(SQueueRef*, int, size_t)': urbackupclient/ParallelHash.h:72:20: warning: 'ParallelHash::phash_queue' will be initialized after [-Wreorder] 72 | SQueueRef* phash_queue; | ^~~~~~~~~~~ urbackupclient/ParallelHash.h:71:15: warning: 'int64 ParallelHash::phash_queue_pos' [-Wreorder] 71 | int64 phash_queue_pos; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h:71:15: warning: 'ParallelHash::phash_queue_pos' will be initialized after [-Wreorder] 71 | int64 phash_queue_pos; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:66:16: warning: 'size_t ParallelHash::stdout_buf_size' [-Wreorder] 66 | size_t stdout_buf_size; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h:66:16: warning: 'ParallelHash::stdout_buf_size' will be initialized after [-Wreorder] 66 | size_t stdout_buf_size; | ^~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:65:16: warning: 'size_t ParallelHash::stdout_buf_pos' [-Wreorder] 65 | size_t stdout_buf_pos; | ^~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h:100:15: warning: 'ParallelHash::last_file_buffer_commit_time' will be initialized after [-Wreorder] 100 | int64 last_file_buffer_commit_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:80:13: warning: 'int ParallelHash::sha_version' [-Wreorder] 80 | int sha_version; | ^~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h:80:13: warning: 'ParallelHash::sha_version' will be initialized after [-Wreorder] 80 | int sha_version; | ^~~~~~~~~~~ urbackupclient/ParallelHash.h:69:23: warning: 'volatile bool ParallelHash::eof' [-Wreorder] 69 | volatile bool eof; | ^~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h:106:35: warning: 'ParallelHash::extra_cond' will be initialized after [-Wreorder] 106 | std::auto_ptr extra_cond; | ^~~~~~~~~~ urbackupclient/ParallelHash.h:97:31: warning: 'std::auto_ptr ParallelHash::modify_file_buffer_mutex' [-Wreorder] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.h:97:31: warning: 'ParallelHash::modify_file_buffer_mutex' will be initialized after [-Wreorder] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ParallelHash.h:67:14: warning: 'bool ParallelHash::do_quit_extra' [-Wreorder] 67 | bool do_quit_extra; | ^~~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:20:1: warning: when initialized here [-Wreorder] 20 | ParallelHash::ParallelHash(SQueueRef* phash_queue, int sha_version, size_t extra_n_threads) | ^~~~~~~~~~~~ urbackupclient/ParallelHash.cpp: In member function 'virtual void ParallelHash::operator()()': urbackupclient/ParallelHash.cpp:130:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr phashf(Server->openFile(phash_queue->phash_queue->getFilename(), mode)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.cpp: In member function 'bool ParallelHash::hashFile(int64, CRData&, ClientDAO&)': urbackupclient/ParallelHash.cpp:268:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 268 | if (dir->files.size() != dir_files) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ urbackupclient/ParallelHash.cpp:343:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 343 | std::auto_ptr f(Server->openFile(os_file_prefix(full_path), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.cpp:424:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 424 | dir->files.size() == dir->dir_target_nfiles) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common/urbackupclientbackend-data.o `test -f 'common/data.cpp' || echo './'`common/data.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from common/data.cpp:21: common/../stringtools.h: In function 'float {anonymous}::little_endian(float)': common/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'double {anonymous}::little_endian(double)': common/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/../stringtools.h: In function 'float {anonymous}::big_endian(float)': common/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/data.cpp: In member function 'void CWData::addVarInt(int64)': common/data.cpp:428:13: warning: unused variable 'p' [-Wunused-variable] 428 | int p = sqlite3PutVarint(reinterpret_cast(&data[cpos]), ta); | ^ common/../stringtools.h: At global scope: common/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ common/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ common/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ common/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ common/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ common/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ common/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfastcgi/urbackupclientbackend-fastcgi.o `test -f 'libfastcgi/fastcgi.cpp' || echo './'`libfastcgi/fastcgi.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition libfastcgi/fastcgi.cpp: In constructor 'EndRequestMsg::EndRequestMsg()': libfastcgi/fastcgi.cpp:86:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct EndRequestMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 86 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp:75:8: note: 'struct EndRequestMsg' declared here 75 | struct EndRequestMsg : public Header | ^~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In constructor 'UnknownTypeMsg::UnknownTypeMsg()': libfastcgi/fastcgi.cpp:108:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct UnknownTypeMsg'; use assignment or value-initialization instead [-Wclass-memaccess] 108 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp:101:8: note: 'struct UnknownTypeMsg' declared here 101 | struct UnknownTypeMsg : public Header | ^~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In destructor 'FCGIProtocolDriver::~FCGIProtocolDriver()': libfastcgi/fastcgi.cpp:270:5: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 270 | delete i->second; | ^~~~~~~~~~~~~~~~ libfastcgi/fastcgi.cpp: In member function 'void FCGIProtocolDriver::terminate_request(uint16_t)': libfastcgi/fastcgi.cpp:400:5: warning: deleting object of polymorphic class type 'FCGIRequest' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 400 | delete req->second; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o blockalign_src/blockalign-main.o `test -f 'blockalign_src/main.cpp' || echo './'`blockalign_src/main.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition blockalign_src/main.cpp: In constructor 'HashDb::HashDb(std::string)': blockalign_src/main.cpp:257:13: warning: 'HashDb::hFile' will be initialized after [-Wreorder] 257 | int hFile; | ^~~~~ blockalign_src/main.cpp:252:10: warning: 'int* HashDb::view' [-Wreorder] 252 | int* view; | ^~~~ blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ blockalign_src/main.cpp:252:10: warning: 'HashDb::view' will be initialized after [-Wreorder] 252 | int* view; | ^~~~ blockalign_src/main.cpp:251:10: warning: 'bool HashDb::has_error' [-Wreorder] 251 | bool has_error; | ^~~~~~~~~ blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ blockalign_src/main.cpp: In constructor 'BlockMap::BlockMap(std::string, int64_t)': blockalign_src/main.cpp:420:13: warning: 'BlockMap::hFile' will be initialized after [-Wreorder] 420 | int hFile; | ^~~~~ blockalign_src/main.cpp:415:11: warning: 'char* BlockMap::view_start' [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | BlockMap(std::string fn, int64_t bm_size) | ^~~~~~~~ blockalign_src/main.cpp:415:11: warning: 'BlockMap::view_start' will be initialized after [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ blockalign_src/main.cpp:413:10: warning: 'bool BlockMap::has_error' [-Wreorder] 413 | bool has_error; | ^~~~~~~~~ blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | BlockMap(std::string fn, int64_t bm_size) | ^~~~~~~~ blockalign_src/main.cpp: In function 'void write_item(unsigned int, size_t, const char*, uint64_t&, int64_t&, int64_t, std::ofstream&, std::ostream&, std::vector&)': blockalign_src/main.cpp:633:13: warning: unused variable 'abc' [-Wunused-variable] 633 | int abc = 4; | ^~~ blockalign_src/main.cpp: In function 'void process_block(uint64_t&, unsigned int, const char*, size_t, HashDb&, OutputBuffer&, std::ofstream&, int64_t&, int64_t, std::ostream&, std::vector&)': blockalign_src/main.cpp:802:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 802 | offset==output_item->first + output_item->second.blockdata.size() + c_fit_off) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockalign_src/main.cpp: In function 'bool restore_stream(const std::string&, std::istream&, std::ostream&)': blockalign_src/main.cpp:982:17: warning: unused variable 'abc' [-Wunused-variable] 982 | int abc = 45; | ^~~ blockalign_src/main.cpp: In function 'int blockalign(const std::string&, std::istream&, std::ostream&, bool)': blockalign_src/main.cpp:1079:81: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1079 | if (&out_stream != &std::cout && out_stream.tellp() - start_pos != magic.size() + sizeof(blocksize_avg)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blockalign_src/main.cpp:1202:76: warning: comparison of integer expressions of different signedness: 'std::streamoff' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1202 | if (&out_stream != &std::cout && out_stream.tellp() - ppos != blockmap.size() * sizeof(int32_t) + sizeof(bmsize)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o clientctl/urbackupclientctl-main.o `test -f 'clientctl/main.cpp' || echo './'`clientctl/main.cpp In file included from clientctl/main.cpp:25: clientctl/../stringtools.h: In function 'float {anonymous}::little_endian(float)': clientctl/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'double {anonymous}::little_endian(double)': clientctl/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientctl/../stringtools.h: In function 'float {anonymous}::big_endian(float)': clientctl/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from clientctl/../tclap/UnlabeledValueArg.h:30, from clientctl/../tclap/CmdLine.h:29, from clientctl/main.cpp:26: clientctl/../tclap/ValueArg.h: At global scope: clientctl/../tclap/ValueArg.h:243:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 243 | ValueArg(const ValueArg& rhs); | ^ clientctl/../tclap/ValueArg.h:243:19: note: remove the '< >' In file included from clientctl/../tclap/UnlabeledMultiArg.h:29, from clientctl/../tclap/CmdLine.h:30: clientctl/../tclap/MultiArg.h:228:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 228 | MultiArg(const MultiArg& rhs); | ^ clientctl/../tclap/MultiArg.h:228:20: note: remove the '< >' clientctl/main.cpp: In constructor 'PwClientCmd::PwClientCmd(TCLAP::CmdLine&, bool)': clientctl/main.cpp:306:38: warning: 'PwClientCmd::client_arg' will be initialized after [-Wreorder] 306 | TCLAP::ValueArg client_arg; | ^~~~~~~~~~ clientctl/main.cpp:304:14: warning: 'bool PwClientCmd::change' [-Wreorder] 304 | bool change; | ^~~~~~ clientctl/main.cpp:247:9: warning: when initialized here [-Wreorder] 247 | PwClientCmd(TCLAP::CmdLine& cmd, bool change) | ^~~~~~~~~~~ clientctl/../stringtools.h: At global scope: clientctl/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ clientctl/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ clientctl/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ clientctl/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ clientctl/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ clientctl/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ clientctl/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ clientctl/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o clientctl/urbackupclientctl-jsoncpp.o `test -f 'clientctl/jsoncpp.cpp' || echo './'`clientctl/jsoncpp.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-dllmain.o `test -f 'cryptoplugin/dllmain.cpp' || echo './'`cryptoplugin/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/sha2/urbackupclientbackend-sha2.o `test -f 'urbackupcommon/sha2/sha2.cpp' || echo './'`urbackupcommon/sha2/sha2.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/sha2/sha2.cpp:36: urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-pluginmgr.o `test -f 'cryptoplugin/pluginmgr.cpp' || echo './'`cryptoplugin/pluginmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from cryptoplugin/pluginmgr.cpp:22: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: At global scope: cryptoplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/fileclient/urbackupclientbackend-tcpstack.o `test -f 'urbackupcommon/fileclient/tcpstack.cpp' || echo './'`urbackupcommon/fileclient/tcpstack.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/fileclient/tcpstack.cpp:22: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o sqlite/urbackupclientbackend-shell.o `test -f 'sqlite/shell.c' || echo './'`sqlite/shell.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/fileclient/urbackupclientbackend-FileClient.o `test -f 'urbackupcommon/fileclient/FileClient.cpp' || echo './'`urbackupcommon/fileclient/FileClient.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/fileclient/FileClient.h:10, from urbackupcommon/fileclient/FileClient.cpp:21: urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupcommon/fileclient/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupcommon/fileclient/FileClient.cpp:26: urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupcommon/fileclient/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupcommon/fileclient/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupcommon/fileclient/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h: In constructor 'FileClient::FileClient(bool, std::string, int, bool, ReconnectionCallback*, NoFreeSpaceCallback*)': urbackupcommon/fileclient/FileClient.h:270:22: warning: 'FileClient::received_data_bytes' will be initialized after [-Wreorder] 270 | _i64 received_data_bytes; | ^~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:263:44: warning: 'FileClient::QueueCallback* FileClient::queue_callback' [-Wreorder] 263 | FileClient::QueueCallback* queue_callback; | ^~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] 92 | FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool add_request_checksums, | ^~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:295:22: warning: 'FileClient::needs_flush' will be initialized after [-Wreorder] 295 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:256:22: warning: '_i64 FileClient::real_transferred_bytes' [-Wreorder] 256 | _i64 real_transferred_bytes; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp:92:1: warning: when initialized here [-Wreorder] 92 | FileClient::FileClient(bool enable_find_servers, std::string identity, int protocol_version, bool add_request_checksums, | ^~~~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::GetFile(std::string, IFsFile*, bool, bool, size_t, bool, size_t)': urbackupcommon/fileclient/FileClient.cpp:1097:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1097 | std::auto_ptr sparse_file; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClient.cpp:28: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::FinishScript(std::string)': urbackupcommon/fileclient/FileClient.cpp:2422:21: warning: unused variable 'tries' [-Wunused-variable] 2422 | int tries=5000; | ^~~~~ urbackupcommon/fileclient/../../stringtools.h: At global scope: urbackupcommon/fileclient/../../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-AESDecryption.o `test -f 'cryptoplugin/AESDecryption.cpp' || echo './'`cryptoplugin/AESDecryption.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition cryptoplugin/AESDecryption.cpp: In member function 'virtual size_t AESDecryption::decrypt(char*, size_t)': cryptoplugin/AESDecryption.cpp:94:16: warning: unused variable 'offset' [-Wunused-variable] 94 | size_t offset=0; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-ZlibCompression.o `test -f 'cryptoplugin/ZlibCompression.cpp' || echo './'`cryptoplugin/ZlibCompression.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-AESEncryption.o `test -f 'cryptoplugin/AESEncryption.cpp' || echo './'`cryptoplugin/AESEncryption.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-ZlibDecompression.o `test -f 'cryptoplugin/ZlibDecompression.cpp' || echo './'`cryptoplugin/ZlibDecompression.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-pluginmgr.o `test -f 'fsimageplugin/pluginmgr.cpp' || echo './'`fsimageplugin/pluginmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/pluginmgr.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-FSImageFactory.o `test -f 'fsimageplugin/FSImageFactory.cpp' || echo './'`fsimageplugin/FSImageFactory.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/FSImageFactory.cpp:21: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/FSImageFactory.cpp:24: fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:31: fsimageplugin/vhdxfile.h:157:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 157 | std::auto_ptr backing_file_holder; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:159:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 159 | std::auto_ptr compressed_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr log_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:172:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:185:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | std::auto_ptr parent; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:188:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | std::auto_ptr sector_bitmap_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:191:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/FSImageFactory.cpp:32: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-AESGCMDecryption.o `test -f 'cryptoplugin/AESGCMDecryption.cpp' || echo './'`cryptoplugin/AESGCMDecryption.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from cryptoplugin/AESGCMDecryption.cpp:20: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-filesystem.o `test -f 'fsimageplugin/filesystem.cpp' || echo './'`fsimageplugin/filesystem.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/filesystem.h:11, from fsimageplugin/filesystem.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/filesystem.h: At global scope: fsimageplugin/filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/filesystem.h:16: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/filesystem.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: At global scope: fsimageplugin/filesystem.cpp:232:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 232 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp:233:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 233 | std::auto_ptr start_readahead_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp:234:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 234 | std::auto_ptr read_block_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/filesystem.cpp: In constructor 'Filesystem_ReadaheadThread::Filesystem_ReadaheadThread(Filesystem&, bool)': fsimageplugin/filesystem.cpp:235:21: warning: 'Filesystem_ReadaheadThread::fs' will be initialized after [-Wreorder] 235 | Filesystem& fs; | ^~ fsimageplugin/filesystem.cpp:232:31: warning: 'std::auto_ptr Filesystem_ReadaheadThread::mutex' [-Wreorder] 232 | std::auto_ptr mutex; | ^~~~~ fsimageplugin/filesystem.cpp:79:9: warning: when initialized here [-Wreorder] 79 | Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:243:14: warning: 'Filesystem_ReadaheadThread::do_stop' will be initialized after [-Wreorder] 243 | bool do_stop; | ^~~~~~~ fsimageplugin/filesystem.cpp:239:14: warning: 'bool Filesystem_ReadaheadThread::readahead_miss' [-Wreorder] 239 | bool readahead_miss; | ^~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:79:9: warning: when initialized here [-Wreorder] 79 | Filesystem_ReadaheadThread(Filesystem& fs, bool background_priority) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h: In constructor 'Filesystem::Filesystem(const std::string&, IFSImageFactory::EReadaheadMode, IFsNextBlockCallback*)': fsimageplugin/filesystem.h:142:31: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] 142 | IFsNextBlockCallback* next_block_callback; | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:138:15: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.h:138:15: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:137:16: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.h:137:16: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:116:15: warning: 'int64 Filesystem::errcode' [-Wreorder] 116 | int64 errcode; | ^~~~~~~ fsimageplugin/filesystem.cpp:250:1: warning: when initialized here [-Wreorder] 250 | Filesystem::Filesystem(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.h: In constructor 'Filesystem::Filesystem(IFile*, IFsNextBlockCallback*)': fsimageplugin/filesystem.h:142:31: warning: 'Filesystem::next_block_callback' will be initialized after [-Wreorder] 142 | IFsNextBlockCallback* next_block_callback; | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:138:15: warning: 'int64 Filesystem::overlapped_next_block' [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.h:138:15: warning: 'Filesystem::overlapped_next_block' will be initialized after [-Wreorder] 138 | int64 overlapped_next_block; | ^~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:137:16: warning: 'size_t Filesystem::num_uncompleted_blocks' [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.h:137:16: warning: 'Filesystem::num_uncompleted_blocks' will be initialized after [-Wreorder] 137 | size_t num_uncompleted_blocks; | ^~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.h:116:15: warning: 'int64 Filesystem::errcode' [-Wreorder] 116 | int64 errcode; | ^~~~~~~ fsimageplugin/filesystem.cpp:273:1: warning: when initialized here [-Wreorder] 273 | Filesystem::Filesystem(IFile *pDev, IFsNextBlockCallback* next_block_callback) | ^~~~~~~~~~ fsimageplugin/filesystem.cpp: In destructor 'virtual Filesystem::~Filesystem()': fsimageplugin/filesystem.cpp:293:17: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 293 | delete buffers[i]; | ^~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::hasBlock(int64)': fsimageplugin/filesystem.cpp:312:15: warning: unused variable 'blocksize' [-Wunused-variable] 312 | int64 blocksize=getBlocksize(); | ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'bool Filesystem::queueOverlappedReads(bool)': fsimageplugin/filesystem.cpp:628:47: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 628 | while(block->n_buffers(getBlocksize()); | ^~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual void Filesystem::releaseBuffer(IFilesystem::IFsBuffer*)': fsimageplugin/filesystem.cpp:829:9: warning: deleting object of polymorphic class type 'Filesystem::SSimpleBuffer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 829 | delete simple_buf; | ^~~~~~~~~~~~~~~~~ fsimageplugin/filesystem.cpp: In member function 'virtual bool Filesystem::excludeFile(const std::string&)': fsimageplugin/filesystem.cpp:928:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 928 | std::auto_ptr f(Server->openFile(path, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-CryptoFactory.o `test -f 'cryptoplugin/CryptoFactory.cpp' || echo './'`cryptoplugin/CryptoFactory.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from cryptoplugin/CryptoFactory.cpp:22: cryptoplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': cryptoplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from cryptoplugin/CryptoFactory.cpp:24: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/CryptoFactory.cpp: In member function 'virtual bool CryptoFactory::convertOpenSslSig(const std::string&, const std::string&, const std::string&)': cryptoplugin/CryptoFactory.cpp:458:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 458 | std::auto_ptr f(Server->openFile(outFn, MODE_WRITE)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/seckey.h:10, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cryptoplugin/cryptopp_inc.h:22, from cryptoplugin/AESEncryption.h:2, from cryptoplugin/CryptoFactory.cpp:26: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ cryptoplugin/../stringtools.h: At global scope: cryptoplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ cryptoplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ cryptoplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ cryptoplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-AESGCMEncryption.o `test -f 'cryptoplugin/AESGCMEncryption.cpp' || echo './'`cryptoplugin/AESGCMEncryption.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from cryptoplugin/AESGCMEncryption.cpp:20: cryptoplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': cryptoplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': cryptoplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': cryptoplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cryptoplugin/AESGCMEncryption.cpp:19: cryptoplugin/AESGCMEncryption.h: In constructor 'AESGCMEncryption::AESGCMEncryption(const std::string&, bool)': cryptoplugin/AESGCMEncryption.h:31:49: warning: 'AESGCMEncryption::encryption_filter' will be initialized after [-Wreorder] 31 | CryptoPP::AuthenticatedEncryptionFilter encryption_filter; | ^~~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.h:25:14: warning: 'bool AESGCMEncryption::iv_done' [-Wreorder] 25 | bool iv_done; | ^~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 31 | AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) | ^~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.h:25:14: warning: 'AESGCMEncryption::iv_done' will be initialized after [-Wreorder] 25 | bool iv_done; | ^~~~~~~ cryptoplugin/AESGCMEncryption.h:24:16: warning: 'size_t AESGCMEncryption::end_marker_state' [-Wreorder] 24 | size_t end_marker_state; | ^~~~~~~~~~~~~~~~ cryptoplugin/AESGCMEncryption.cpp:31:1: warning: when initialized here [-Wreorder] 31 | AESGCMEncryption::AESGCMEncryption( const std::string& key, bool hash_password) | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupclientbackend-ECDHKeyExchange.o `test -f 'cryptoplugin/ECDHKeyExchange.cpp' || echo './'`cryptoplugin/ECDHKeyExchange.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-dllmain.o `test -f 'fsimageplugin/dllmain.cpp' || echo './'`fsimageplugin/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/dllmain.cpp:49: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:50: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/dllmain.cpp:52: fsimageplugin/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const std::string&)': fsimageplugin/../urbackupcommon/mbrdata.h:194:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:57: fsimageplugin/vhdxfile.h: At global scope: fsimageplugin/vhdxfile.h:157:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 157 | std::auto_ptr backing_file_holder; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:159:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 159 | std::auto_ptr compressed_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr log_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:172:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:185:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | std::auto_ptr parent; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:188:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | std::auto_ptr sector_bitmap_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:191:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/dllmain.cpp:61: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/dllmain.cpp:68: fsimageplugin/CompressedFile.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/CompressedFile.h:104:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::decompress_vhd(const std::string&, const std::string&)': fsimageplugin/dllmain.cpp:114:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr vhdfile(new VHDFile(fn, true, 0)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:136:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 136 | std::auto_ptr vhdfile(new VHDXFile(fn, true, 0)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'bool {anonymous}::assemble_vhd(const std::vector >&, const std::string&)': fsimageplugin/dllmain.cpp:288:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 288 | std::auto_ptr f(Server->openFile(fn[i]+".mbr", MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:378:58: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 378 | if (mbrdatas[i].partition_number >= partitions.size()) fsimageplugin/dllmain.cpp:397:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 397 | std::auto_ptr vhdout(open_device_file(output, false, total_size, std::string(), true)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:343:29: warning: unused variable 'c_sector_size' [-Wunused-variable] 343 | const int64 c_sector_size=512; | ^~~~~~~~~~~~~ fsimageplugin/dllmain.cpp:395:23: warning: unused variable 'curr_pos' [-Wunused-variable] 395 | int64 curr_pos=0; | ^~~~~~~~ fsimageplugin/dllmain.cpp: In function 'void LoadActions_fsimageplugin(IServer*)': fsimageplugin/dllmain.cpp:922:43: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 922 | if(currpos!=skip) | ~~~~~~~^~~~~~ fsimageplugin/dllmain.cpp:977:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 977 | std::auto_ptr inFile(Server->openFile(vhdmake_in, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1021:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1021 | std::auto_ptr inFile(Server->openFile(vhdmake_diff_in, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1045:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1045 | std::auto_ptr inParentFile(Server->openFile(vhdmake_in_parent, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1175:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1175 | std::auto_ptr in(open_device_file(image_verify)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/dllmain.cpp:1304:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1304 | std::auto_ptr in(open_device_file(device_verify)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/../urbackupcommon/sha2/sha2.h: At global scope: fsimageplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/fs/urbackupclientbackend-unknown.o `test -f 'fsimageplugin/fs/unknown.cpp' || echo './'`fsimageplugin/fs/unknown.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/unknown.h:2, from fsimageplugin/fs/unknown.cpp:19: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-vhdfile.o `test -f 'fsimageplugin/vhdfile.cpp' || echo './'`fsimageplugin/vhdfile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/vhdfile.h:2, from fsimageplugin/vhdfile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:22: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/vhdfile.cpp:23: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/CompressedFile.h:4: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/CompressedFile.h:104:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdfile.cpp:36: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdfile.h: In constructor 'VHDFile::VHDFile(const std::string&, bool, uint64, unsigned int, bool, bool, size_t)': fsimageplugin/vhdfile.h:187:14: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] 187 | bool fast_mode; | ^~~~~~~~~ fsimageplugin/vhdfile.h:184:16: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] 184 | uint64 bitmap_offset; | ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:73:1: warning: when initialized here [-Wreorder] 73 | VHDFile::VHDFile(const std::string &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~ fsimageplugin/vhdfile.h:191:14: warning: 'VHDFile::finished' will be initialized after [-Wreorder] 191 | bool finished; | ^~~~~~~~ fsimageplugin/vhdfile.h:155:16: warning: 'IFile* VHDFile::file' [-Wreorder] 155 | IFile* file; | ^~~~ fsimageplugin/vhdfile.cpp:73:1: warning: when initialized here [-Wreorder] 73 | VHDFile::VHDFile(const std::string &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~ fsimageplugin/vhdfile.h: In constructor 'VHDFile::VHDFile(const std::string&, const std::string&, bool, bool, bool, uint64, size_t)': fsimageplugin/vhdfile.h:187:14: warning: 'VHDFile::fast_mode' will be initialized after [-Wreorder] 187 | bool fast_mode; | ^~~~~~~~~ fsimageplugin/vhdfile.h:184:16: warning: 'uint64 VHDFile::bitmap_offset' [-Wreorder] 184 | uint64 bitmap_offset; | ^~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp:168:1: warning: when initialized here [-Wreorder] 168 | VHDFile::VHDFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, bool fast_mode, bool compress, uint64 pDstsize, size_t compress_n_threads) | ^~~~~~~ fsimageplugin/vhdfile.h:191:14: warning: 'VHDFile::finished' will be initialized after [-Wreorder] 191 | bool finished; | ^~~~~~~~ fsimageplugin/vhdfile.h:155:16: warning: 'IFile* VHDFile::file' [-Wreorder] 155 | IFile* file; | ^~~~ fsimageplugin/vhdfile.cpp:168:1: warning: when initialized here [-Wreorder] 168 | VHDFile::VHDFile(const std::string &fn, const std::string &parent_fn, bool pRead_only, bool fast_mode, bool compress, uint64 pDstsize, size_t compress_n_threads) | ^~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::write_footer()': fsimageplugin/vhdfile.cpp:507:49: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 507 | && backing_file->Size() != nextblock_offset + sizeof(VHDFooter)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdfile.cpp: In member function 'bool VHDFile::read_footer()': fsimageplugin/vhdfile.cpp:517:16: warning: unused variable 'fsize' [-Wunused-variable] 517 | size_t fsize=sizeof(VHDFooter); | ^~~~~ fsimageplugin/vhdfile.cpp: In member function 'virtual bool VHDFile::makeFull(_i64, IVHDWriteCallback*)': fsimageplugin/vhdfile.cpp:1428:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr bitmap_source; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdfile.cpp:1479:46: warning: unused variable 'has_error' [-Wunused-variable] 1479 | bool has_error = false; | ^~~~~~~~~ fsimageplugin/../stringtools.h: At global scope: fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/fs/urbackupclientbackend-ntfs.o `test -f 'fsimageplugin/fs/ntfs.cpp' || echo './'`fsimageplugin/fs/ntfs.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/fs/ntfs.cpp:20: fsimageplugin/fs/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/fs/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/fs/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/fs/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/fs/../filesystem.h:11, from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/fs/ntfs.cpp:21: fsimageplugin/fs/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/fs/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/fs/../filesystem.h: At global scope: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/fs/../../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ClientSend.o `test -f 'urbackupclient/ClientSend.cpp' || echo './'`urbackupclient/ClientSend.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/bufmgr.h:6, from urbackupclient/ClientSend.h:4, from urbackupclient/ClientSend.cpp:19: urbackupclient/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/ClientSend.cpp:29: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-clientdao.o `test -f 'urbackupclient/clientdao.cpp' || echo './'`urbackupclient/clientdao.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/clientdao.cpp:20: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupclientbackend-vhdxfile.o `test -f 'fsimageplugin/vhdxfile.cpp' || echo './'`fsimageplugin/vhdxfile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fsimageplugin/vhdxfile.h:4, from fsimageplugin/vhdxfile.cpp:19: fsimageplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fsimageplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fsimageplugin/vhdxfile.h: At global scope: fsimageplugin/vhdxfile.h:157:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 157 | std::auto_ptr backing_file_holder; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from fsimageplugin/vhdxfile.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:159:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 159 | std::auto_ptr compressed_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr log_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:172:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:185:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 185 | std::auto_ptr parent; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:188:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 188 | std::auto_ptr sector_bitmap_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h:191:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:20: fsimageplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fsimageplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fsimageplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fsimageplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsimageplugin/vhdxfile.cpp:23: fsimageplugin/CompressedFile.h: At global scope: fsimageplugin/CompressedFile.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr hotCache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/CompressedFile.h:104:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 104 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fsimageplugin/fs/ntfs.h:2, from fsimageplugin/vhdxfile.cpp:28: fsimageplugin/fs/../filesystem.h:133:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 133 | std::auto_ptr buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/fs/../filesystem.h:134:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 134 | std::auto_ptr readahead_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.h: In constructor 'VHDXFile::VHDXFile(const std::string&, bool, uint64, unsigned int, bool, bool, size_t)': fsimageplugin/vhdxfile.h:191:31: warning: 'VHDXFile::pending_sector_bitmaps_mutex' will be initialized after [-Wreorder] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:183:14: warning: 'bool VHDXFile::finished' [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ fsimageplugin/vhdxfile.h:183:14: warning: 'VHDXFile::finished' will be initialized after [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.h:177:15: warning: 'int64 VHDXFile::log_sequence_num' [-Wreorder] 177 | int64 log_sequence_num; | ^~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ fsimageplugin/vhdxfile.h:179:15: warning: 'VHDXFile::spos' will be initialized after [-Wreorder] 179 | int64 spos; | ^~~~ fsimageplugin/vhdxfile.h:164:14: warning: 'bool VHDXFile::data_write_uuid_updated' [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ fsimageplugin/vhdxfile.h:164:14: warning: 'VHDXFile::data_write_uuid_updated' will be initialized after [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:161:14: warning: 'bool VHDXFile::is_open' [-Wreorder] 161 | bool is_open; | ^~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ fsimageplugin/vhdxfile.h:172:31: warning: 'VHDXFile::next_payload_mutex' will be initialized after [-Wreorder] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:166:31: warning: 'std::auto_ptr VHDXFile::log_mutex' [-Wreorder] 166 | std::auto_ptr log_mutex; | ^~~~~~~~~ fsimageplugin/vhdxfile.cpp:805:1: warning: when initialized here [-Wreorder] 805 | VHDXFile::VHDXFile(const std::string& fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize, bool fast_mode, bool compress, size_t compress_n_threads) | ^~~~~~~~ fsimageplugin/vhdxfile.h: In constructor 'VHDXFile::VHDXFile(const std::string&, const std::string&, bool, bool, bool, uint64, size_t)': fsimageplugin/vhdxfile.h:182:14: warning: 'VHDXFile::read_only' will be initialized after [-Wreorder] 182 | bool read_only; | ^~~~~~~~~ fsimageplugin/vhdxfile.h:162:15: warning: 'int64 VHDXFile::dst_size' [-Wreorder] 162 | int64 dst_size; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.h:191:31: warning: 'VHDXFile::pending_sector_bitmaps_mutex' will be initialized after [-Wreorder] 191 | std::auto_ptr pending_sector_bitmaps_mutex; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:183:14: warning: 'bool VHDXFile::finished' [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.h:183:14: warning: 'VHDXFile::finished' will be initialized after [-Wreorder] 183 | bool finished; | ^~~~~~~~ fsimageplugin/vhdxfile.h:177:15: warning: 'int64 VHDXFile::log_sequence_num' [-Wreorder] 177 | int64 log_sequence_num; | ^~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.h:179:15: warning: 'VHDXFile::spos' will be initialized after [-Wreorder] 179 | int64 spos; | ^~~~ fsimageplugin/vhdxfile.h:164:14: warning: 'bool VHDXFile::data_write_uuid_updated' [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.h:164:14: warning: 'VHDXFile::data_write_uuid_updated' will be initialized after [-Wreorder] 164 | bool data_write_uuid_updated; | ^~~~~~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:161:14: warning: 'bool VHDXFile::is_open' [-Wreorder] 161 | bool is_open; | ^~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.h:172:31: warning: 'VHDXFile::next_payload_mutex' will be initialized after [-Wreorder] 172 | std::auto_ptr next_payload_mutex; | ^~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.h:166:31: warning: 'std::auto_ptr VHDXFile::log_mutex' [-Wreorder] 166 | std::auto_ptr log_mutex; | ^~~~~~~~~ fsimageplugin/vhdxfile.cpp:814:1: warning: when initialized here [-Wreorder] 814 | VHDXFile::VHDXFile(const std::string& fn, const std::string& parent_fn, bool pRead_only, | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:835:46: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 835 | if (pDstsize > 0 && pDstsize != dst_size) | ~~~~~~~~~^~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'virtual bool VHDXFile::makeFull(_i64, IVHDWriteCallback*)': fsimageplugin/vhdxfile.cpp:971:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 971 | std::auto_ptr bitmap_source; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/vhdxfile.cpp:1022:46: warning: unused variable 'has_error' [-Wunused-variable] 1022 | bool has_error = false; | ^~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'virtual bool VHDXFile::setUnused(_i64, _i64)': fsimageplugin/vhdxfile.cpp:1130:38: warning: unused variable 'rc' [-Wunused-variable] 1130 | _u32 rc = file->Write(bat_entry->FileOffsetMB * 1024 * 1024 + unused_start % block_size, | ^~ fsimageplugin/vhdxfile.cpp:1181:59: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and '_i64' {aka 'long long int'} [-Wsign-compare] 1181 | if (copy_prev && unused_start + wantwrite == unused_end && | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'bool VHDXFile::syncInt(bool)': fsimageplugin/vhdxfile.cpp:1659:31: warning: unused variable 'last_log_idx' [-Wunused-variable] 1659 | int64 last_log_idx = -1; | ^~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: In member function 'bool VHDXFile::readMeta()': fsimageplugin/vhdxfile.cpp:2223:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2223 | if (32 + i * 32 + 32 > meta_table.size()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:2305:44: warning: unused variable 'virtual_disk_id' [-Wunused-variable] 2305 | VhdxVirtualDiskId* virtual_disk_id = reinterpret_cast(entry_buf.data()); | ^~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp: At global scope: fsimageplugin/vhdxfile.cpp:299:15: warning: 'int64 {anonymous}::getMetadataSizeSize(int64, _u32, _u32)' defined but not used [-Wunused-function] 299 | int64 getMetadataSizeSize(int64 rawf_size, _u32 block_size, _u32 sector_size) | ^~~~~~~~~~~~~~~~~~~ fsimageplugin/vhdxfile.cpp:165:27: warning: 'std::vector {anonymous}::getVhdxHeader(uint64)' defined but not used [-Wunused-function] 165 | std::vector getVhdxHeader(uint64 SequenceNumber) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fsimageplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fsimageplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fsimageplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fsimageplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ServerIdentityMgr.o `test -f 'urbackupclient/ServerIdentityMgr.cpp' || echo './'`urbackupclient/ServerIdentityMgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../fileservplugin/IFileServ.h:7, from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/ServerIdentityMgr.h:2, from urbackupclient/ServerIdentityMgr.cpp:19: urbackupclient/../fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/ServerIdentityMgr.cpp:21: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ServerIdentityMgr.cpp: In static member function 'static void ServerIdentityMgr::writeSessionIdentities()': urbackupclient/ServerIdentityMgr.cpp:353:16: warning: variable 'start' set but not used [-Wunused-but-set-variable] 353 | size_t start=0; | ^~~~~ urbackupclient/ServerIdentityMgr.cpp: In static member function 'static bool ServerIdentityMgr::write_file_admin_atomic(const std::string&, const std::string&)': urbackupclient/ServerIdentityMgr.cpp:392:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 392 | std::auto_ptr f(Server->openFile(fn + ".new", MODE_RW)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/ServerIdentityMgr.cpp:23: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-dllmain.o `test -f 'urbackupclient/dllmain.cpp' || echo './'`urbackupclient/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/dllmain.cpp:56: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/dllmain.cpp:63: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:65: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/dllmain.cpp:66: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/chunk_hasher.h:5, from urbackupclient/dllmain.cpp:78: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/dllmain.cpp:79: urbackupclient/../urbackupcommon/WalCheckpointThread.h:45:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 45 | std::auto_ptr db_file; //must not be closed | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/dllmain.cpp: In function 'void {anonymous}::do_print_dm_file_extents(const std::string&)': urbackupclient/dllmain.cpp:166:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr f(Server->openFile(fn, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/dllmain.cpp: In function 'void LoadActions_urbackupclient(IServer*)': urbackupclient/dllmain.cpp:422:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 422 | std::auto_ptr settings_reader(Server->createFileSettingsReader(INITIAL_SETTINGS_PREFIX "initial_settings.cfg")); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-file_permissions.o `test -f 'urbackupclient/file_permissions.cpp' || echo './'`urbackupclient/file_permissions.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/file_permissions.cpp:21: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/file_permissions.cpp: In function 'bool write_file_only_admin(const std::string&, const std::string&)': urbackupclient/file_permissions.cpp:180:14: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 180 | if(rc: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/client_restore.cpp:23: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:26: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client_restore.cpp:39: urbackupclient/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const std::string&)': urbackupclient/../urbackupcommon/mbrdata.h:194:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr mbrf(Server->openFile(os_file_prefix(mbrfn), MODE_READ)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/../urbackupcommon/mbrdata.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In function '{anonymous}::EDownloadResult {anonymous}::downloadImage(int, std::string, std::string, bool, LoginData, DownloadStatus&, int, int64*, int64*)': urbackupclient/client_restore.cpp:577:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 577 | std::auto_ptr client_pipe(Server->ConnectStream("localhost", 35623, 60000)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp:605:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 605 | std::auto_ptr out_file(Server->openFile(restore_out, MODE_RW_READNONE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In function 'int {anonymous}::downloadFiles(int, std::string)': urbackupclient/client_restore.cpp:819:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 819 | std::auto_ptr client_pipe(Server->ConnectStream("localhost", 35623, 60000)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In function 'std::string {anonymous}::getPartitionPath(const std::string&, int)': urbackupclient/client_restore.cpp:1004:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::SLsblk>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1004 | if(partnum class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1248 | std::auto_ptr dev(Server->openFile(dev_fn, MODE_READ_DEVICE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client_restore.cpp: In constructor 'RestoreThread::RestoreThread(int, std::string, std::string, {anonymous}::LoginData)': urbackupclient/client_restore.cpp:1492:15: warning: 'RestoreThread::output_file_size' will be initialized after [-Wreorder] 1492 | int64 output_file_size; | ^~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1489:19: warning: '{anonymous}::LoginData RestoreThread::login_data' [-Wreorder] 1489 | LoginData login_data; | ^~~~~~~~~~ urbackupclient/client_restore.cpp:1450:9: warning: when initialized here [-Wreorder] 1450 | RestoreThread(int pImg_id, std::string pImg_time, std::string pOutfile, LoginData login_data) | ^~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void restore_wizard()': urbackupclient/client_restore.cpp:2389:91: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2389 | if (partitions.size() - i == mbrdata.partition_number) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2442:39: warning: enumeration value 'EDownloadResult_Ok' not handled in switch [-Wswitch] 2442 | switch(rc) | ^ urbackupclient/client_restore.cpp: In function 'bool {anonymous}::do_login(LoginData&)': urbackupclient/client_restore.cpp:1782:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1782 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1783:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1783 | system("cat urbackup/restore/trying_to_login"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void ping_named_server()': urbackupclient/client_restore.cpp:1568:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | system(("./urbackuprestoreclient --ping-server \""+out+"\" &").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: In function 'void configure_internet_server()': urbackupclient/client_restore.cpp:1623:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1623 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1630:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1630 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1642:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1642 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1649:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1649 | system("dialog --msgbox \"`cat urbackup/restore/no_internet_server_configured`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1653:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1653 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1655:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1655 | system("systemctl stop restore-client"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1709:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1709 | system("systemctl stop restore-client-internet"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1711:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1711 | system("systemctl start restore-client"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1739:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1739 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp: In function 'void restore_wizard()': urbackupclient/client_restore.cpp:1889:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1889 | system("dialog --msgbox \"`cat urbackup/restore/welcome`\" 10 70"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1896:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1896 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:1897:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1897 | system("cat urbackup/restore/search_network"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1924:63: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1924 | system(configure_networkcard.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1929:63: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1929 | system(configure_wlan.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:1934:63: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1934 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:1956:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1956 | system("urbackup/restore/progress-start.sh | dialog --backtitle \"`cat urbackup/restore/search`\" --gauge \"`cat urbackup/restore/t_progress`\" 6 60 0"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2013:55: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2013 | system(configure_networkcard.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2018:55: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2018 | system(configure_wlan.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2033:55: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2033 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2185:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2185 | system("clear"); | ~~~~~~^~~~~~~~~ urbackupclient/client_restore.cpp:2186:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2186 | system("cat urbackup/restore/loading_mbr"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2187:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2187 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2192:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2192 | system("touch mbr.dat"); | ~~~~~~^~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2202:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2202 | system("cat urbackup/restore/reading_mbr"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2203:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2203 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2233:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2233 | system("cat urbackup/restore/writing_mbr"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2234:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2234 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2275:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2275 | system("cat urbackup/restore/writing_gpt_header"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2276:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2276 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2285:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2285 | system("cat urbackup/restore/writing_gpt_table"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2286:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2286 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2295:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2295 | system("cat urbackup/restore/writing_backup_gpt_header"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2296:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2296 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2304:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2304 | system("cat urbackup/restore/writing_backup_gpt_table"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2305:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2305 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2315:55: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2315 | system(("echo -e \"w\\nY\\nY\" | gdisk " + seldrive).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2322:55: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2322 | system(("echo -e \"w\\nY\\nY\" | gdisk " + seldrive + " > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2338:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2338 | system("cat urbackup/restore/reading_partition_table"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2339:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2339 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2341:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2341 | system(("partprobe "+seldrive+" > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2343:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2343 | system("cat urbackup/restore/testing_partition"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2344:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2344 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2355:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2355 | system(("partprobe "+seldrive+" > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2357:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2357 | system("cat urbackup/restore/testing_partition"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2358:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2358 | system("echo"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2371:63: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2371 | system(("echo w | fdisk " + seldrive + " > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2372:63: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2372 | system(("echo -e \"w\\nY\" | fdisk " + seldrive + " > /dev/null 2>&1").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2377:63: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2377 | system(("echo -e \"w\\nY\" | gdisk " + seldrive).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2392:79: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2392 | system("read -n1 -r -p \"Press any key to continue...\" key"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2402:71: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2402 | system(("echo -e \""+cmd+"\" | gdisk " + seldrive).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2429:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2429 | system(("./urbackuprestoreclient --image-download-progress | dialog --backtitle \"`cat urbackup/restore/restoration"+(std::string)(res_sysvol?"_sysvol":"")+"`\" --gauge \"`cat urbackup/restore/t_progress`\" 6 60 0").c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2470:55: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2470 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2502:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2502 | system("init 6"); | ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2506:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2506 | system("bash"); | ~~~~~~^~~~~~~~ urbackupclient/client_restore.cpp:2508:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | system(("python3 driver_edit.py "+windows_partition).c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2510:47: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2510 | system("init 6"); | ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2515:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2515 | system("dialog --msgbox \"`cat urbackup/restore/computer_halt`\" 7 50"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp:2516:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2516 | system("init 0"); | ~~~~~~^~~~~~~~~~ urbackupclient/client_restore.cpp:2536:39: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2536 | system("dialog --msgbox \"`cat urbackup/restore/internal_error`!!!!\" 7 50"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client_restore.cpp: At global scope: urbackupclient/client_restore.cpp:450:26: warning: 'std::vector<{anonymous}::SFileBackup> {anonymous}::getFileBackups(std::string, int*)' defined but not used [-Wunused-function] 450 | std::vector getFileBackups(std::string clientname, int *ec) | ^~~~~~~~~~~~~~ urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-lin_ver.o `test -f 'urbackupclient/lin_ver.cpp' || echo './'`urbackupclient/lin_ver.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/lin_ver.cpp:4: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-common_tokens.o `test -f 'urbackupclient/common_tokens.cpp' || echo './'`urbackupclient/common_tokens.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/common_tokens.cpp:19: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/common_tokens.cpp:22: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ImageThread.o `test -f 'urbackupclient/ImageThread.cpp' || echo './'`urbackupclient/ImageThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/ImageThread.cpp:21: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/ClientService.h:4, from urbackupclient/ImageThread.cpp:30: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/ImageThread.cpp:33: urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from urbackupclient/../urbackupcommon/sha2/sha2.h:215, from urbackupclient/ImageThread.cpp:27: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/ImageThread.cpp:31: urbackupclient/ImageThread.h: In constructor 'ImageThread::ImageThread(ClientConnector*, IPipe*, unsigned int, ImageInformation*, std::string, IFile*, IFile*)': urbackupclient/ImageThread.h:52:26: warning: 'ImageThread::client' will be initialized after [-Wreorder] 52 | ClientConnector *client; | ^~~~~~ urbackupclient/ImageThread.h:50:16: warning: 'IPipe* ImageThread::pipe' [-Wreorder] 50 | IPipe *pipe; | ^~~~ urbackupclient/ImageThread.cpp:64:1: warning: when initialized here [-Wreorder] 64 | ImageThread::ImageThread(ClientConnector *client, IPipe *pipe, unsigned int curr_result_id, ImageInformation *image_inf, | ^~~~~~~~~~~ urbackupclient/ImageThread.h:62:27: warning: 'ImageThread::image_inf' will be initialized after [-Wreorder] 62 | ImageInformation *image_inf; | ^~~~~~~~~ urbackupclient/ImageThread.h:53:21: warning: 'std::string ImageThread::server_token' [-Wreorder] 53 | std::string server_token; | ^~~~~~~~~~~~ urbackupclient/ImageThread.cpp:64:1: warning: when initialized here [-Wreorder] 64 | ImageThread::ImageThread(ClientConnector *client, IPipe *pipe, unsigned int curr_result_id, ImageInformation *image_inf, | ^~~~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'bool ImageThread::sendFullImageThread()': urbackupclient/ImageThread.cpp:140:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 140 | std::auto_ptr hdat_img; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:213:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fs; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:443:25: warning: deleting object of polymorphic class type 'ClientSend' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 443 | delete clientSend; | ^~~~~~~~~~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'bool ImageThread::sendIncrImageThread()': urbackupclient/ImageThread.cpp:533:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 533 | std::auto_ptr hdat_img; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:602:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 602 | std::auto_ptr fs; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:626:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 626 | std::auto_ptr previous_bitmap; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ImageThread.cpp:669:61: warning: unused variable 'abc' [-Wunused-variable] 669 | int abc = 5; | ^~~ urbackupclient/ImageThread.cpp:872:45: warning: unused variable 'abc' [-Wunused-variable] 872 | int abc = 5; | ^~~ urbackupclient/ImageThread.cpp:1046:25: warning: deleting object of polymorphic class type 'ClientSend' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1046 | delete clientSend; | ^~~~~~~~~~~~~~~~~ urbackupclient/ImageThread.cpp:753:31: warning: unused variable 'numblocks' [-Wunused-variable] 753 | int64 numblocks=drivesize/blocksize; | ^~~~~~~~~ urbackupclient/ImageThread.cpp: In member function 'std::string ImageThread::getFsErrMsg()': urbackupclient/ImageThread.cpp:1228:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1228 | std::auto_ptr dev(Server->openFile(image_inf->shadowdrive, MODE_READ_DEVICE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-InternetClient.o `test -f 'urbackupclient/InternetClient.cpp' || echo './'`urbackupclient/InternetClient.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/InternetClient.cpp:36: urbackupclient/../urbackupcommon/CompressedPipeZstd.h:10:9: warning: "ZSTD_STATIC_LINKING_ONLY" redefined 10 | #define ZSTD_STATIC_LINKING_ONLY | ^~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/filelist_utils.h:3, from urbackupclient/client.h:9, from urbackupclient/InternetClient.cpp:27: urbackupclient/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/InternetClient.cpp:28: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:33: urbackupclient/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupclient/../urbackupcommon/InternetServicePipe2.h:82:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/InternetServicePipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/InternetServicePipe2.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/InternetServicePipe2.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:35: urbackupclient/../urbackupcommon/CompressedPipe2.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipe2.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr adaptive; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:102:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:103:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 103 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr usage_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:37: urbackupclient/../urbackupcommon/WebSocketPipe.h:113:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 113 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/WebSocketPipe.h:114:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'virtual void InternetClient::operator()()': urbackupclient/InternetClient.cpp:268:9: warning: deleting object of polymorphic class type 'InternetClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 268 | delete this; | ^~~~~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'bool InternetClient::tryToConnect(IScopedLock*)': urbackupclient/InternetClient.cpp:420:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 420 | std::auto_ptr tcpstack(new CTCPStack(true)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/InternetClient.cpp:19: urbackupclient/InternetClient.h: In constructor 'InternetClientThread::InternetClientThread(IPipe*, const SServerSettings&, CTCPStack*)': urbackupclient/InternetClient.h:102:25: warning: 'InternetClientThread::server_settings' will be initialized after [-Wreorder] 102 | SServerSettings server_settings; | ^~~~~~~~~~~~~~~ urbackupclient/InternetClient.h:101:20: warning: 'CTCPStack* InternetClientThread::tcpstack' [-Wreorder] 101 | CTCPStack* tcpstack; | ^~~~~~~~ urbackupclient/InternetClient.cpp:523:1: warning: when initialized here [-Wreorder] 523 | InternetClientThread::InternetClientThread(IPipe *cs, const SServerSettings &server_settings, CTCPStack* tcpstack) | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/InternetClient.cpp: In member function 'virtual void InternetClientThread::operator()()': urbackupclient/InternetClient.cpp:687:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 687 | std::auto_ptr ecdh_key_exchange(crypto_fak->createECDHKeyExchange()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/InternetClient.cpp:928:9: warning: deleting object of polymorphic class type 'InternetClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 928 | delete this; | ^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-lin_tokens.o `test -f 'urbackupclient/lin_tokens.cpp' || echo './'`urbackupclient/lin_tokens.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/lin_tokens.cpp:1: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/lin_tokens.cpp:13: urbackupclient/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::vector > tokens::get_local_users()': urbackupclient/lin_tokens.cpp:198:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 198 | pw->pw_uid >= uid_min && | ~~~~~~~~~~~^~~~~~~~~~ urbackupclient/lin_tokens.cpp:199:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 199 | pw->pw_uid <= uid_max )) && | ~~~~~~~~~~~^~~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'bool tokens::write_token(std::string, bool, std::string, const std::string&, ClientDAO&, const std::string&)': urbackupclient/lin_tokens.cpp:321:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 321 | pw->pw_uid < uid_min || | ~~~~~~~~~~~^~~~~~~~~ urbackupclient/lin_tokens.cpp:322:44: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 322 | pw->pw_uid > uid_max ) ) | ~~~~~~~~~~~^~~~~~~~~ urbackupclient/lin_tokens.cpp: In function 'std::string tokens::translate_tokens(uid_t, gid_t, mode_t, ClientDAO*, ETokenRight, TokenCache&)': urbackupclient/lin_tokens.cpp:603:15: warning: enumeration value 'ETokenRight_Delete' not handled in switch [-Wswitch] 603 | switch(right) | ^ urbackupclient/../stringtools.h: At global scope: urbackupclient/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ClientService.o `test -f 'urbackupclient/ClientService.cpp' || echo './'`urbackupclient/ClientService.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/ClientService.cpp:43: urbackupclient/../urbackupcommon/CompressedPipeZstd.h:10:9: warning: "ZSTD_STATIC_LINKING_ONLY" redefined 10 | #define ZSTD_STATIC_LINKING_ONLY | ^~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from urbackupclient/ClientService.h:4, from urbackupclient/ClientService.cpp:19: urbackupclient/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8, from urbackupclient/ClientService.cpp:20: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:19: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:15: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ In file included from urbackupclient/ClientService.cpp:42: urbackupclient/../urbackupcommon/CompressedPipe2.h: At global scope: urbackupclient/../urbackupcommon/CompressedPipe2.h:88:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 88 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipe2.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr adaptive; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:102:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 102 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:103:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 103 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/CompressedPipeZstd.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr usage_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/ClientService.cpp:44: urbackupclient/../urbackupcommon/InternetServicePipe2.h:82:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 82 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/InternetServicePipe2.h:83:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 83 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/InternetServicePipe2.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/InternetServicePipe2.h:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual void {anonymous}::UpdateSilentThread::operator()()': urbackupclient/ClientService.cpp:153:25: warning: deleting object of polymorphic class type '{anonymous}::UpdateSilentThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 153 | delete this; | ^~~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual void {anonymous}::FileservClientThread::operator()()': urbackupclient/ClientService.cpp:214:25: warning: deleting object of polymorphic class type '{anonymous}::FileservClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 214 | delete this; | ^~~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'virtual bool ClientConnector::Run(IRunOtherCallback*)': urbackupclient/ClientService.cpp:354:17: warning: deleting object of polymorphic class type 'ImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 354 | delete image_inf.image_thread; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientService.cpp:576:33: warning: deleting object of polymorphic class type 'ImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 576 | delete image_inf.image_thread; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientService.cpp:621:62: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 621 | std::auto_ptr updatefile(Server->openFile(UPDATE_FILE_PREFIX "UrBackupUpdate_untested.dat")); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:359:15: warning: enumeration value 'CCSTATE_FILESERV' not handled in switch [-Wswitch] 359 | switch(state) | ^ urbackupclient/ClientService.cpp: In member function 'void ClientConnector::updateSettings(const std::string&)': urbackupclient/ClientService.cpp:1825:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1825 | std::auto_ptr new_settings(Server->createMemorySettingsReader(pData)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:1852:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1852 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:1942:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1942 | std::auto_ptr newf(Server->openFile(settings_fn + ".new", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In member function 'void ClientConnector::replaceSettings(const std::string&)': urbackupclient/ClientService.cpp:1960:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1960 | std::auto_ptr new_settings(Server->createMemorySettingsReader(pData)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:1980:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1980 | std::auto_ptr old_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In function 'void parse_devnum_test()': urbackupclient/ClientService.cpp:2507:13: warning: unused variable 'deviceNumber' [-Wunused-variable] 2507 | int deviceNumber, partNumber; | ^~~~~~~~~~~~ urbackupclient/ClientService.cpp:2507:27: warning: unused variable 'partNumber' [-Wunused-variable] 2507 | int deviceNumber, partNumber; | ^~~~~~~~~~ urbackupclient/ClientService.cpp: In member function 'std::string ClientConnector::getAccessTokensParams(const std::string&, bool, const std::string&)': urbackupclient/ClientService.cpp:3808:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3808 | std::auto_ptr access_keys( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:3857:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3857 | std::auto_ptr settings( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp: In static member function 'static bool ClientConnector::updateDefaultDirsSetting(IDatabase*, bool, int, bool)': urbackupclient/ClientService.cpp:4099:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4099 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientService.cpp:4162:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 4162 | std::auto_ptr settings_f(Server->openFile(settings_fn+".new_2", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-FileMetadataDownloadThread.o `test -f 'urbackupclient/FileMetadataDownloadThread.cpp' || echo './'`urbackupclient/FileMetadataDownloadThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/FileMetadataDownloadThread.h:2, from urbackupclient/FileMetadataDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8, from urbackupclient/FileMetadataDownloadThread.h:4: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:19: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:15: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp: In member function 'virtual void client::FileMetadataDownloadThread::operator()()': urbackupclient/FileMetadataDownloadThread.cpp:112:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 112 | std::auto_ptr tmp_f(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp: In member function 'bool client::FileMetadataDownloadThread::applyMetadata(const str_map&)': urbackupclient/FileMetadataDownloadThread.cpp:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr metadata_f(Server->openFile(metadata_tmp_fn, MODE_READ_SEQUENTIAL)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:214:30: warning: unused variable 'is_dir' [-Wunused-variable] 214 | bool is_dir = (curr_fn[0]=='d' || curr_fn[0]=='l'); | ^~~~~~ urbackupclient/FileMetadataDownloadThread.cpp: In function 'void client::{anonymous}::unserialize_stat_buf(CRData&, stat64&, std::string&)': urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:556:17: note: in expansion of macro 'SET_STAT_MEM' 556 | SET_STAT_MEM(st_dev); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:557:17: note: in expansion of macro 'SET_STAT_MEM' 557 | SET_STAT_MEM(st_mode); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:558:17: note: in expansion of macro 'SET_STAT_MEM' 558 | SET_STAT_MEM(st_uid); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:559:17: note: in expansion of macro 'SET_STAT_MEM' 559 | SET_STAT_MEM(st_gid); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:560:17: note: in expansion of macro 'SET_STAT_MEM' 560 | SET_STAT_MEM(st_rdev); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:570:17: note: in expansion of macro 'SET_STAT_MEM' 570 | SET_STAT_MEM(st_atime); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] 554 | #define SET_STAT_MEM32(x) {_u32 tmp; bool b = data.getUInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:571:17: note: in expansion of macro 'SET_STAT_MEM32' 571 | SET_STAT_MEM32(st_atim.tv_nsec); | ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:572:17: note: in expansion of macro 'SET_STAT_MEM' 572 | SET_STAT_MEM(st_mtime); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] 554 | #define SET_STAT_MEM32(x) {_u32 tmp; bool b = data.getUInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:573:17: note: in expansion of macro 'SET_STAT_MEM32' 573 | SET_STAT_MEM32(st_mtim.tv_nsec); | ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:553:43: warning: unused variable 'b' [-Wunused-variable] 553 | #define SET_STAT_MEM(x) {int64 tmp; bool b = data.getVarInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:574:17: note: in expansion of macro 'SET_STAT_MEM' 574 | SET_STAT_MEM(st_ctime); | ^~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:554:44: warning: unused variable 'b' [-Wunused-variable] 554 | #define SET_STAT_MEM32(x) {_u32 tmp; bool b = data.getUInt(&tmp); assert(b); statbuf.x = tmp;} | ^ urbackupclient/FileMetadataDownloadThread.cpp:575:17: note: in expansion of macro 'SET_STAT_MEM32' 575 | SET_STAT_MEM32(st_ctim.tv_nsec); | ^~~~~~~~~~~~~~ urbackupclient/FileMetadataDownloadThread.cpp:578:30: warning: unused variable 'b' [-Wunused-variable] 578 | bool b = data.getVarInt(&dummy); | ^ urbackupclient/FileMetadataDownloadThread.cpp:582:22: warning: unused variable 'b' [-Wunused-variable] 582 | bool b = data.getStr(&symlink_target); | ^ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-ClientServiceCMD.o `test -f 'urbackupclient/ClientServiceCMD.cpp' || echo './'`urbackupclient/ClientServiceCMD.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreFiles.h:5, from urbackupclient/ClientServiceCMD.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:19: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:15: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ In file included from urbackupclient/ClientServiceCMD.cpp:22: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_GET_CHALLENGE(const std::string&, const std::string&)': urbackupclient/ClientServiceCMD.cpp:155:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 155 | std::auto_ptr settings( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_TOCHANNEL_UPDATE_SETTINGS(const std::string&)': urbackupclient/ClientServiceCMD.cpp:1443:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1443 | std::auto_ptr new_settings(Server->createMemorySettingsReader(s_settings)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp:1444:30: warning: unused variable 'default_dirs_use' [-Wunused-variable] 1444 | bool default_dirs_use = false; | ^~~~~~~~~~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_LOGDATA(const std::string&)': urbackupclient/ClientServiceCMD.cpp:1509:16: warning: unused variable 'cpos' [-Wunused-variable] 1509 | size_t cpos=ldata.find(" "); | ^~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_GET_ACCESS_PARAMS(str_map&)': urbackupclient/ClientServiceCMD.cpp:2870:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2870 | std::auto_ptr settings( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_FILE_RESTORE(const std::string&)': urbackupclient/ClientServiceCMD.cpp:2993:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2993 | std::auto_ptr access_keys( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ClientServiceCMD.cpp:3042:25: warning: deleting object of polymorphic class type 'RestoreFiles' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3042 | delete restore_files; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/ClientServiceCMD.cpp: In member function 'void ClientConnector::CMD_RESTORE_OK(str_map&)': urbackupclient/ClientServiceCMD.cpp:3085:9: warning: deleting object of polymorphic class type 'RestoreFiles' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3085 | delete restore_files; | ^~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-bufmgr.o `test -f 'fileservplugin/bufmgr.cpp' || echo './'`fileservplugin/bufmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-CriticalSection.o `test -f 'fileservplugin/CriticalSection.cpp' || echo './'`fileservplugin/CriticalSection.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/CriticalSection.cpp:20: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-dllmain.o `test -f 'fileservplugin/dllmain.cpp' || echo './'`fileservplugin/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/dllmain.cpp:43: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/dllmain.cpp:46: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/dllmain.cpp:47: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-TokenCallback.o `test -f 'urbackupclient/TokenCallback.cpp' || echo './'`urbackupclient/TokenCallback.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../fileservplugin/IFileServ.h:7, from urbackupclient/TokenCallback.cpp:19: urbackupclient/../fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupclient/TokenCallback.cpp:20: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/TokenCallback.cpp:23: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-RestoreDownloadThread.o `test -f 'urbackupclient/RestoreDownloadThread.cpp' || echo './'`urbackupclient/RestoreDownloadThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreDownloadThread.h:3, from urbackupclient/RestoreDownloadThread.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreDownloadThread.h:4: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/RestoreDownloadThread.h:7: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupclient/RestoreDownloadThread.h: At global scope: urbackupclient/RestoreDownloadThread.h:116:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 116 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreDownloadThread.h:117:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreDownloadThread.h:61:7: warning: 'RestoreDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> RestoreDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 61 | class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~~ In file included from urbackupclient/client.h:12, from urbackupclient/RestoreFiles.h:10, from urbackupclient/RestoreDownloadThread.cpp:23: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:19: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:15: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreDownloadThread.cpp: In member function 'bool RestoreDownloadThread::load_file({anonymous}::SQueueItem)': urbackupclient/RestoreDownloadThread.cpp:208:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 208 | std::auto_ptr dest_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-CUDPThread.o `test -f 'fileservplugin/CUDPThread.cpp' || echo './'`fileservplugin/CUDPThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition fileservplugin/CUDPThread.cpp:19: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 19 | #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.cpp:20: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 20 | #pragma warning ( disable:4996 ) In file included from fileservplugin/CUDPThread.cpp:28: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CUDPThread.cpp:32: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CUDPThread.cpp:33: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CUDPThread.cpp: In member function 'virtual void CUDPThread::operator()()': fileservplugin/CUDPThread.cpp:436:17: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 436 | delete this; | ^~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-client.o `test -f 'urbackupclient/client.cpp' || echo './'`urbackupclient/client.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/filelist_utils.h:3, from urbackupclient/client.h:9, from urbackupclient/client.cpp:19: urbackupclient/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupclient/tokens.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ In file included from urbackupclient/client.cpp:20: urbackupclient/ParallelHash.h: At global scope: urbackupclient/ParallelHash.h:73:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 73 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:97:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 97 | std::auto_ptr modify_file_buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:105:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 105 | std::auto_ptr extra_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/ParallelHash.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr extra_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/client.cpp:35: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/chunk_hasher.h:5, from urbackupclient/client.cpp:43: urbackupclient/../urbackupcommon/ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::IndexThread()': urbackupclient/client.h:767:14: warning: 'IndexThread::last_filebackup_filetime' will be initialized after [-Wreorder] 767 | _i64 last_filebackup_filetime; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.h:741:13: warning: 'int IndexThread::index_group' [-Wreorder] 741 | int index_group; | ^~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ urbackupclient/client.h:752:14: warning: 'IndexThread::with_scripts' will be initialized after [-Wreorder] 752 | bool with_scripts; | ^~~~~~~~~~~~ urbackupclient/client.h:666:24: warning: 'SVolumesCache* IndexThread::volumes_cache' [-Wreorder] 666 | SVolumesCache* volumes_cache; | ^~~~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ urbackupclient/client.h:888:20: warning: 'IndexThread::phash_queue' will be initialized after [-Wreorder] 888 | SQueueRef* phash_queue; | ^~~~~~~~~~~ urbackupclient/client.h:711:14: warning: 'bool IndexThread::index_backup_dirs_optional' [-Wreorder] 711 | bool index_backup_dirs_optional; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ urbackupclient/client.h:711:14: warning: 'IndexThread::index_backup_dirs_optional' will be initialized after [-Wreorder] 711 | bool index_backup_dirs_optional; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.h:701:14: warning: 'bool IndexThread::sc_refs_cleanup' [-Wreorder] 701 | bool sc_refs_cleanup; | ^~~~~~~~~~~~~~~ urbackupclient/client.cpp:574:1: warning: when initialized here [-Wreorder] 574 | IndexThread::IndexThread(void) | ^~~~~~~~~~~ urbackupclient/client.cpp: In member function 'virtual void IndexThread::operator()()': urbackupclient/client.cpp:1500:9: warning: deleting object of polymorphic class type 'IndexThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1500 | delete this; | ^~~~~~~~~~~ urbackupclient/client.cpp:735:15: warning: variable 'async_timeout_starttime' set but not used [-Wunused-but-set-variable] 735 | int64 async_timeout_starttime = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp: In member function 'IndexThread::IndexErrorInfo IndexThread::indexDirs(bool, bool)': urbackupclient/client.cpp:1601:14: warning: variable 'has_stale_shadowcopy' set but not used [-Wunused-but-set-variable] 1601 | bool has_stale_shadowcopy=false; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::updateBackupDirsWithAll()': urbackupclient/client.cpp:2216:30: warning: variable 'found_watch' set but not used [-Wunused-but-set-variable] 2216 | bool found_watch = false; | ^~~~~~~~~~~ urbackupclient/client.cpp: In member function 'std::vector IndexThread::getFilesProxy(const std::string&, std::string, const std::string&, bool, const std::string&, bool, const std::vector >&, const std::vector&, int64&)': urbackupclient/client.cpp:3207:44: warning: variable 'it_dir' set but not used [-Wunused-but-set-variable] 3207 | std::vector::iterator it_dir=changed_dirs.end(); | ^~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::cleanup_saved_shadowcopies(bool)': urbackupclient/client.cpp:4008:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4008 | || scs[i].passedtime>shadowcopy_timeout/1000 urbackupclient/client.cpp: In static member function 'static bool IndexThread::backgroundBackupsEnabled(const std::string&)': urbackupclient/client.cpp:5755:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 5755 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::writeTokens()': urbackupclient/client.cpp:5770:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 5770 | std::auto_ptr access_keys( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::cbtIsEnabled(std::string, std::string)': urbackupclient/client.cpp:6279:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 6279 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::crashPersistentCbtIsEnabled(std::string, std::string)': urbackupclient/client.cpp:6301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 6301 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbt(std::string, int, std::string, bool, std::string, CbtType)': urbackupclient/client.cpp:7508:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 7508 | std::auto_ptr hdat_file(Server->openFile("urbackup/hdat_file_" + conv_filename(fs_dev) + ".dat", MODE_RW_CREATE_DELETE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp:7509:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 7509 | std::auto_ptr hdat_img(ImageThread::openHdatF(fs_dev, false)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp:7525:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 7525 | std::auto_ptr volfile(Server->openFile(orig_dev, MODE_READ_DEVICE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbtDatto(IFile*, IFsFile*, IFsFile*, std::string, int, std::string, bool, std::string)': urbackupclient/client.cpp:7707:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 7707 | std::auto_ptr cowfile(Server->openFile(cbt_file, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::finishCbtEra2(IFsFile*, int64)': urbackupclient/client.cpp:8177:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 8177 | std::auto_ptr hdat_file_era_new(Server->openFile(hdat->getFilename() + ".era.new", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::createMd5sumsFile(const std::string&, std::string)': urbackupclient/client.cpp:8393:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 8393 | std::auto_ptr output_f(Server->openFile(fn, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::createMd5sumsFile(const std::string&, const std::string&, IFile*)': urbackupclient/client.cpp:8418:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 8418 | std::auto_ptr f(Server->openFile(os_file_prefix(path + os_file_sep() + files[i].name), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'bool IndexThread::start_shadowcopy_lin(SCDirs*, std::string&, bool, bool*&, bool*)': urbackupclient/client.cpp:8968:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 8968 | std::auto_ptr flock_f(Server->openFile(flock_fp, MODE_RW)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In static member function 'static std::string IndexThread::get_snapshot_script_location(const std::string&, const std::string&)': urbackupclient/client.cpp:9089:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 9089 | std::auto_ptr settings(Server->createFileSettingsReader(conffile)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::readSnapshotGroups()': urbackupclient/client.cpp:9284:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 9284 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.cpp: In member function 'void IndexThread::initParallelHashing(const std::string&)': urbackupclient/client.cpp:9553:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 9553 | std::auto_ptr curr_settings(Server->createFileSettingsReader(settings_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-FileServFactory.o `test -f 'fileservplugin/FileServFactory.cpp' || echo './'`fileservplugin/FileServFactory.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/FileServFactory.cpp:24: fileservplugin/CUDPThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CUDPThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/FileServFactory.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/FileServFactory.cpp:22: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/FileServFactory.cpp: In member function 'virtual void ExecThread::operator()()': fileservplugin/FileServFactory.cpp:51:17: warning: deleting object of polymorphic class type 'ExecThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 51 | delete this; | ^~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-log.o `test -f 'fileservplugin/log.cpp' || echo './'`fileservplugin/log.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/log.cpp:24: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) In file included from fileservplugin/log.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-CTCPFileServ.o `test -f 'fileservplugin/CTCPFileServ.cpp' || echo './'`fileservplugin/CTCPFileServ.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/CTCPFileServ.cpp:21: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CTCPFileServ.cpp:24: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::KickClients()': fileservplugin/CTCPFileServ.cpp:86:41: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 86 | delete clientthreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp: In member function 'bool CTCPFileServ::Start(_u16, _u16, std::string, bool)': fileservplugin/CTCPFileServ.cpp:204:17: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 204 | delete udpthread; | ^~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp:216:25: warning: deleting object of polymorphic class type 'CUDPThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 216 | delete udpthread; | ^~~~~~~~~~~~~~~~ fileservplugin/CTCPFileServ.cpp:163:14: warning: unused variable 'rc' [-Wunused-variable] 163 | _i32 rc; | ^~ fileservplugin/CTCPFileServ.cpp: In member function 'void CTCPFileServ::DelClientThreads()': fileservplugin/CTCPFileServ.cpp:344:33: warning: deleting object of polymorphic class type 'CClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 344 | delete clientthreads[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupclient/urbackupclientbackend-RestoreFiles.o `test -f 'urbackupclient/RestoreFiles.cpp' || echo './'`urbackupclient/RestoreFiles.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupclient/../urbackupcommon/fileclient/FileClient.h:10, from urbackupclient/RestoreFiles.h:5, from urbackupclient/RestoreFiles.cpp:19: urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupclient/RestoreFiles.h:8: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupclient/../urbackupcommon/fileclient/../ExtentIterator.h:26:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 26 | std::auto_ptr sparse_extents_f; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from urbackupclient/../urbackupcommon/fileclient/../../md5.h:125, from urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/../urbackupcommon/fileclient/FileClientChunked.h:282:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/file_metadata.h:6, from urbackupclient/../urbackupcommon/filelist_utils.h:5, from urbackupclient/client.h:9, from urbackupclient/RestoreFiles.h:10: urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupclient/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupclient/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupclient/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupclient/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupclient/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupclient/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupclient/client.h:12: urbackupclient/tokens.h: At global scope: urbackupclient/tokens.h:37:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 37 | std::auto_ptr token_cache; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../fileservplugin/IFileServFactory.h:4, from urbackupclient/client.h:40: urbackupclient/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupclient/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:306:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'SQueueRef::SQueueRef(IFile*, IDeregisterFileSrvScriptFn*, std::string)': urbackupclient/client.h:308:16: warning: 'SQueueRef::refcount' will be initialized after [-Wreorder] 308 | size_t refcount; | ^~~~~~~~ urbackupclient/client.h:306:31: warning: 'std::auto_ptr SQueueRef::mutex' [-Wreorder] 306 | std::auto_ptr mutex; | ^~~~~ urbackupclient/client.h:312:9: warning: when initialized here [-Wreorder] 312 | SQueueRef(IFile* phash_queue, IDeregisterFileSrvScriptFn* dereg_fn, | ^~~~~~~~~ urbackupclient/client.h: At global scope: urbackupclient/client.h:668:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 668 | std::auto_ptr background_prio; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:729:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 729 | std::auto_ptr client_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:878:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 878 | std::auto_ptr last_filelist; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h:883:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr index_hdat_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/client.h: In constructor 'IndexThread::SRecurParams::SRecurParams(SFileAndHash, IndexThread::SFirstInfo*, bool, std::string, std::string, std::string, size_t, size_t)': urbackupclient/client.h:858:24: warning: 'IndexThread::SRecurParams::depth' will be initialized after [-Wreorder] 858 | size_t depth; | ^~~~~ urbackupclient/client.h:851:21: warning: 'int IndexThread::SRecurParams::state' [-Wreorder] 851 | int state; | ^~~~~ urbackupclient/client.h:842:17: warning: when initialized here [-Wreorder] 842 | SRecurParams(SFileAndHash file, SFirstInfo* first_info, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h: At global scope: urbackupclient/RestoreFiles.h:92:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 92 | std::auto_ptr createFcChunked(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.h: In constructor 'RestoreFiles::RestoreFiles(int64, int64, int64, int64, std::string, std::string, std::string, bool, bool, bool, int64, int, std::string)': urbackupclient/RestoreFiles.h:113:19: warning: 'RestoreFiles::tcpstack' will be initialized after [-Wreorder] 113 | CTCPStack tcpstack; | ^~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'ScopedDeleteFile RestoreFiles::filelist_del' [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:108:26: warning: 'RestoreFiles::filelist_del' will be initialized after [-Wreorder] 108 | ScopedDeleteFile filelist_del; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'IFsFile* RestoreFiles::filelist' [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.h:107:18: warning: 'RestoreFiles::filelist' will be initialized after [-Wreorder] 107 | IFsFile* filelist; | ^~~~~~~~ urbackupclient/RestoreFiles.h:105:15: warning: 'int64 RestoreFiles::log_id' [-Wreorder] 105 | int64 log_id; | ^~~~~~ urbackupclient/RestoreFiles.h:25:9: warning: when initialized here [-Wreorder] 25 | RestoreFiles(int64 local_process_id, int64 restore_id, int64 status_id, int64 log_id, | ^~~~~~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:20: urbackupclient/ClientService.h: In constructor 'SRunningProcess::SRunningProcess()': urbackupclient/ClientService.h:76:15: warning: 'SRunningProcess::eta_ms' will be initialized after [-Wreorder] 76 | int64 eta_ms; | ^~~~~~ urbackupclient/ClientService.h:73:15: warning: 'int64 SRunningProcess::server_id' [-Wreorder] 73 | int64 server_id; | ^~~~~~~~~ urbackupclient/ClientService.h:60:9: warning: when initialized here [-Wreorder] 60 | SRunningProcess() | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel(IPipe*, bool, std::string, std::string, bool*, std::string, int, int, std::string)': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:143:9: warning: when initialized here [-Wreorder] 143 | SChannel(IPipe *pipe, bool internet_connection, std::string endpoint_name, | ^~~~~~~~ urbackupclient/ClientService.h: In constructor 'SChannel::SChannel()': urbackupclient/ClientService.h:173:13: warning: 'SChannel::capa' will be initialized after [-Wreorder] 173 | int capa; | ^~~~ urbackupclient/ClientService.h:161:13: warning: 'int SChannel::restore_version' [-Wreorder] 161 | int restore_version; | ^~~~~~~~~~~~~~~ urbackupclient/ClientService.h:150:9: warning: when initialized here [-Wreorder] 150 | SChannel(void) | ^~~~~~~~ In file included from urbackupclient/RestoreFiles.cpp:23: urbackupclient/RestoreDownloadThread.h: At global scope: urbackupclient/RestoreDownloadThread.h:116:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 116 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreDownloadThread.h:117:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreDownloadThread.h:61:7: warning: 'RestoreDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> RestoreDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 61 | class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:129:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr update_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:130:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr update_cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In constructor '{anonymous}::RestoreUpdaterThread::RestoreUpdaterThread(int64, int64, int64, std::string)': urbackupclient/RestoreFiles.cpp:131:22: warning: '{anonymous}::RestoreUpdaterThread::stopped' will be initialized after [-Wreorder] 131 | bool stopped; | ^~~~~~~ urbackupclient/RestoreFiles.cpp:130:43: warning: 'std::auto_ptr {anonymous}::RestoreUpdaterThread::update_cond' [-Wreorder] 130 | std::auto_ptr update_cond; | ^~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:54:17: warning: when initialized here [-Wreorder] 54 | RestoreUpdaterThread(int64 local_process_id, int64 restore_id, int64 status_id, std::string server_token) | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:137:29: warning: '{anonymous}::RestoreUpdaterThread::server_token' will be initialized after [-Wreorder] 137 | std::string server_token; | ^~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp:134:21: warning: 'int {anonymous}::RestoreUpdaterThread::curr_fn_pc' [-Wreorder] 134 | int curr_fn_pc; | ^~~~~~~~~~ urbackupclient/RestoreFiles.cpp:54:17: warning: when initialized here [-Wreorder] 54 | RestoreUpdaterThread(int64 local_process_id, int64 restore_id, int64 status_id, std::string server_token) | ^~~~~~~~~~~~~~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'virtual void {anonymous}::RestoreUpdaterThread::operator()()': urbackupclient/RestoreFiles.cpp:87:25: warning: deleting object of polymorphic class type '{anonymous}::RestoreUpdaterThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 87 | delete this; | ^~~~~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'virtual void RestoreFiles::operator()()': urbackupclient/RestoreFiles.cpp:299:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 299 | std::auto_ptr delete_this(this); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:355:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 355 | std::auto_ptr metadata_thread(new client::FileMetadataDownloadThread(*this, fc_metadata, client_token)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'bool RestoreFiles::openFiles(std::map, IFsFile*>&, bool&)': urbackupclient/RestoreFiles.cpp:907:62: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 907 | std::auto_ptr orig_file(Server->openFile(os_file_prefix(local_fn), MODE_RW_RESTORE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:931:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 931 | std::auto_ptr restore_file(Server->openFile(os_file_prefix(local_fn), MODE_RW_CREATE_RESTORE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'bool RestoreFiles::downloadFiles(FileClient&, int64, ScopedRestoreUpdater&, std::map, IFsFile*>&)': urbackupclient/RestoreFiles.cpp:961:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 961 | std::auto_ptr fc_chunked = createFcChunked(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:981:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 981 | std::auto_ptr restore_download(new RestoreDownloadThread(fc, *fc_chunked, client_token, metadata_path_mapping, *this)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1471:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1471 | std::auto_ptr orig_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1619:70: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | std::auto_ptr hashf; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1620:70: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1620 | std::auto_ptr hashf2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1749:62: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1749 | std::auto_ptr touch_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: At global scope: urbackupclient/RestoreFiles.cpp:1877:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1877 | std::auto_ptr RestoreFiles::createFcChunked() | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp: In member function 'std::auto_ptr RestoreFiles::createFcChunked()': urbackupclient/RestoreFiles.cpp:1883:29: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1883 | return std::auto_ptr(); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupclient/RestoreFiles.cpp:1886:21: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1886 | return std::auto_ptr(new FileClientChunked(conn, true, &tcpstack, this, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupclient/../urbackupcommon/TreeHash.h:3, from urbackupclient/ClientHash.h:5, from urbackupclient/client.h:13: urbackupclient/../urbackupcommon/sha2/sha2.h: At global scope: urbackupclient/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupclient/tokens.h:12:29: warning: 'tokens::{anonymous}::tokens_path' defined but not used [-Wunused-variable] 12 | const char* tokens_path = "urbackup/tokens"; | ^~~~~~~~~~~ urbackupclient/../urbackupcommon/fileclient/../../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-PipeFile.o `test -f 'fileservplugin/PipeFile.cpp' || echo './'`fileservplugin/PipeFile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-pluginmgr.o `test -f 'fileservplugin/pluginmgr.cpp' || echo './'`fileservplugin/pluginmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/IFileServ.h:7, from fileservplugin/IFileServFactory.h:4, from fileservplugin/FileServFactory.h:1, from fileservplugin/pluginmgr.cpp:20: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/pluginmgr.cpp:22: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-main.o `test -f 'fileservplugin/main.cpp' || echo './'`fileservplugin/main.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/main.cpp:27: fileservplugin/CTCPFileServ.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CTCPFileServ.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/CTCPFileServ.h:13: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) In file included from fileservplugin/main.cpp:29: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: At global scope: fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-map_buffer.o `test -f 'fileservplugin/map_buffer.cpp' || echo './'`fileservplugin/map_buffer.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/map_buffer.cpp:23: fileservplugin/CriticalSection.h:4: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 4 | #pragma warning ( disable:4005 ) fileservplugin/CriticalSection.h:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 5 | #pragma warning ( disable:4996 ) In file included from fileservplugin/map_buffer.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/map_buffer.h:5, from fileservplugin/map_buffer.cpp:29: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h: At global scope: fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-CClientThread.o `test -f 'fileservplugin/CClientThread.cpp' || echo './'`fileservplugin/CClientThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/CClientThread.cpp:25: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/CClientThread.cpp:24: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:30: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:33: fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:32:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 32 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/CClientThread.cpp:43: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:69: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:115:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:130:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(int, CTCPFileServ*)': fileservplugin/CClientThread.h:210:28: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] 210 | std::vector* extra_buffer; | ^~~~~~~~~~~~ fileservplugin/CClientThread.h:205:14: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] 205 | bool waiting_for_chunk; | ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:91:1: warning: when initialized here [-Wreorder] 91 | CClientThread::CClientThread(SOCKET pSocket, CTCPFileServ* pParent) | ^~~~~~~~~~~~~ fileservplugin/CClientThread.h: In constructor 'CClientThread::CClientThread(IPipe*, CTCPFileServ*, std::vector*)': fileservplugin/CClientThread.h:210:28: warning: 'CClientThread::extra_buffer' will be initialized after [-Wreorder] 210 | std::vector* extra_buffer; | ^~~~~~~~~~~~ fileservplugin/CClientThread.h:205:14: warning: 'bool CClientThread::waiting_for_chunk' [-Wreorder] 205 | bool waiting_for_chunk; | ^~~~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:140:1: warning: when initialized here [-Wreorder] 140 | CClientThread::CClientThread(IPipe *pClientpipe, CTCPFileServ* pParent, std::vector* extra_buffer) | ^~~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::ProcessPacket(CRData*)': fileservplugin/CClientThread.cpp:1234:75: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1234 | if (rc == 0 && rc < count && errno == 0) //other process made the file smaller | ~~~^~~~~~~ fileservplugin/CClientThread.cpp:1129:38: warning: unused variable 'has_error' [-Wunused-variable] 1129 | bool has_error=false; | ^~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileBlockdiff(CRData*, bool)': fileservplugin/CClientThread.cpp:1832:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1832 | std::auto_ptr pipe_file_user; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:1984:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1984 | srv_file = Server->openFileFromHandle((void*)hFile, filename); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileHashAndMetadata(CRData*)': fileservplugin/CClientThread.cpp:2204:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2204 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:2204:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2204 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendFullFile(IFile*, _i64, bool)': fileservplugin/CClientThread.cpp:2358:22: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2358 | if(rc==SOCKET_ERROR) fileservplugin/CClientThread.cpp:2374:32: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2374 | if (rc == SOCKET_ERROR) fileservplugin/CClientThread.cpp: In static member function 'static std::string CClientThread::getDummyMetadata(std::string, int64, int64, bool)': fileservplugin/CClientThread.cpp:2609:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2609 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendSparseExtents(const std::vector&)': fileservplugin/CClientThread.cpp:2863:15: warning: unused variable 'last_sparse_pos' [-Wunused-variable] 2863 | int64 last_sparse_pos = 0; | ^~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:2864:16: warning: unused variable 'curr_sparse_ext' [-Wunused-variable] 2864 | size_t curr_sparse_ext = 0; | ^~~~~~~~~~~~~~~ In file included from fileservplugin/CClientThread.cpp:34: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-FileServ.o `test -f 'fileservplugin/FileServ.cpp' || echo './'`fileservplugin/FileServ.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/FileServ.cpp:23: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/FileServ.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:21: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/FileServ.cpp:27: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/FileServ.cpp:28: fileservplugin/PipeFileExt.h: At global scope: fileservplugin/PipeFileExt.h:21:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileServ.h: In constructor 'FileServ::FileServ(bool*, const std::string&, THREADPOOL_TICKET, bool)': fileservplugin/FileServ.h:81:21: warning: 'FileServ::servername' will be initialized after [-Wreorder] 81 | std::string servername; | ^~~~~~~~~~ fileservplugin/FileServ.h:80:27: warning: 'THREADPOOL_TICKET FileServ::serverticket' [-Wreorder] 80 | THREADPOOL_TICKET serverticket; | ^~~~~~~~~~~~ fileservplugin/FileServ.cpp:43:1: warning: when initialized here [-Wreorder] 43 | FileServ::FileServ(bool *pDostop, const std::string &pServername, THREADPOOL_TICKET serverticket, bool use_fqdn) | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ fileservplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ fileservplugin/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-PipeFileUnix.o `test -f 'fileservplugin/PipeFileUnix.cpp' || echo './'`fileservplugin/PipeFileUnix.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/PipeFile.h:2, from fileservplugin/PipeFileUnix.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:6: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileUnix.cpp:20: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/PipeFile.h: In constructor 'PipeFile::PipeFile(const std::string&)': fileservplugin/PipeFile.h:43:13: warning: 'PipeFile::hStderr' will be initialized after [-Wreorder] 43 | int hStderr; | ^~~~~~~ fileservplugin/PipeFile.h:42:13: warning: 'int PipeFile::hStdout' [-Wreorder] 42 | int hStdout; | ^~~~~~~ fileservplugin/PipeFileUnix.cpp:48:1: warning: when initialized here [-Wreorder] 48 | PipeFile::PipeFile(const std::string& pCmd) | ^~~~~~~~ fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-PipeFileBase.o `test -f 'fileservplugin/PipeFileBase.cpp' || echo './'`fileservplugin/PipeFileBase.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileBase.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.cpp:25: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/PipeFileBase.h: In constructor 'PipeFileBase::PipeFileBase(const std::string&)': fileservplugin/PipeFileBase.h:102:15: warning: 'PipeFileBase::curr_pos' will be initialized after [-Wreorder] 102 | int64 curr_pos; | ^~~~~~~~ fileservplugin/PipeFileBase.h:86:14: warning: 'bool PipeFileBase::has_error' [-Wreorder] 86 | bool has_error; | ^~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ fileservplugin/PipeFileBase.h:105:16: warning: 'PipeFileBase::buf_r_pos' will be initialized after [-Wreorder] 105 | size_t buf_r_pos; | ^~~~~~~~~ fileservplugin/PipeFileBase.h:104:16: warning: 'size_t PipeFileBase::buf_w_reserved_pos' [-Wreorder] 104 | size_t buf_w_reserved_pos; | ^~~~~~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ fileservplugin/PipeFileBase.h:112:15: warning: 'PipeFileBase::stream_size' will be initialized after [-Wreorder] 112 | int64 stream_size; | ^~~~~~~~~~~ fileservplugin/PipeFileBase.h:106:14: warning: 'bool PipeFileBase::buf_circle' [-Wreorder] 106 | bool buf_circle; | ^~~~~~~~~~ fileservplugin/PipeFileBase.cpp:31:1: warning: when initialized here [-Wreorder] 31 | PipeFileBase::PipeFileBase(const std::string& pCmd) | ^~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'bool PipeFileBase::SeekInt(_i64)': fileservplugin/PipeFileBase.cpp:94:39: warning: comparison of integer expressions of different signedness: '_i64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 94 | else if (seeked_r_pos >= buffer_size && | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'bool PipeFileBase::readStderr()': fileservplugin/PipeFileBase.cpp:426:31: warning: unused variable 'timems' [-Wunused-variable] 426 | int64 timems = little_endian(Server->getTimeMS()); | ^~~~~~ fileservplugin/PipeFileBase.cpp: In member function 'void PipeFileBase::readBuf(char*, size_t)': fileservplugin/PipeFileBase.cpp:480:23: warning: unused variable 'ptr_str' [-Wunused-variable] 480 | char* ptr_str = buffer.data(); | ^~~~~~~ fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-ChunkSendThread.o `test -f 'fileservplugin/ChunkSendThread.cpp' || echo './'`fileservplugin/ChunkSendThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/ChunkSendThread.h:3, from fileservplugin/ChunkSendThread.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.h: At global scope: fileservplugin/ChunkSendThread.h:32:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 32 | std::auto_ptr pipe_file_user; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/ChunkSendThread.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/ChunkSendThread.cpp:23: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7, from fileservplugin/ChunkSendThread.cpp:35: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ fileservplugin/ChunkSendThread.h: In constructor 'ChunkSendThread::ChunkSendThread(CClientThread*)': fileservplugin/ChunkSendThread.h:43:14: warning: 'ChunkSendThread::has_error' will be initialized after [-Wreorder] 43 | bool has_error; | ^~~~~~~~~ fileservplugin/ChunkSendThread.h:36:36: warning: 'IFileServ::CbtHashFileInfo ChunkSendThread::cbt_hash_file_info' [-Wreorder] 36 | IFileServ::CbtHashFileInfo cbt_hash_file_info; | ^~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:63:1: warning: when initialized here [-Wreorder] 63 | ChunkSendThread::ChunkSendThread(CClientThread *parent) | ^~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp: In member function 'virtual void ChunkSendThread::operator()()': fileservplugin/ChunkSendThread.cpp:180:100: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 180 | if(parent->SendInt(sdata.getDataPtr(), sdata.getDataSize(), chunk.requested_filesize<0)!=sdata.getDataSize()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:195:155: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 195 | if (parent->SendInt(reinterpret_cast(sparse_extents.data()), sparse_extents.size()*sizeof(IFsFile::SSparseExtent)) != sparse_extents.size()*sizeof(IFsFile::SSparseExtent)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/ChunkSendThread.cpp:237:9: warning: deleting object of polymorphic class type 'ChunkSendThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 237 | delete this; | ^~~~~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-PipeFileExt.o `test -f 'fileservplugin/PipeFileExt.cpp' || echo './'`fileservplugin/PipeFileExt.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/PipeFileExt.h:2, from fileservplugin/PipeFileExt.cpp:1: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeFileExt.h:21:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeFileExt.h: In constructor 'PipeFileExt::PipeFileExt(IPipeFileExt*, std::string)': fileservplugin/PipeFileExt.h:21:37: warning: 'PipeFileExt::file_ext' will be initialized after [-Wreorder] 21 | std::auto_ptr file_ext; | ^~~~~~~~ fileservplugin/PipeFileExt.cpp:4:46: warning: base 'PipeFileBase' [-Wreorder] 4 | : file_ext(file_ext), PipeFileBase(fn) | ^ fileservplugin/PipeFileExt.cpp:3:1: warning: when initialized here [-Wreorder] 3 | PipeFileExt::PipeFileExt(IPipeFileExt * file_ext, std::string fn) | ^~~~~~~~~~~ fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-FileMetadataPipe.o `test -f 'fileservplugin/FileMetadataPipe.cpp' || echo './'`fileservplugin/FileMetadataPipe.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/PipeFileBase.h:2, from fileservplugin/FileMetadataPipe.h:2, from fileservplugin/FileMetadataPipe.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.h:8: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:115:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:130:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:23: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/FileMetadataPipe.cpp:28: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ fileservplugin/FileMetadataPipe.h: In constructor 'FileMetadataPipe::FileMetadataPipe(IPipe*, const std::string&)': fileservplugin/FileMetadataPipe.h:116:16: warning: 'FileMetadataPipe::pipe' will be initialized after [-Wreorder] 116 | IPipe* pipe; | ^~~~ fileservplugin/FileMetadataPipe.h:71:21: warning: 'FileMetadataPipe::BackupState FileMetadataPipe::backup_state' [-Wreorder] 71 | BackupState backup_state; | ^~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] 64 | FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) | ^~~~~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.h:115:30: warning: 'FileMetadataPipe::errpipe' will be initialized after [-Wreorder] 115 | std::auto_ptr errpipe; | ^~~~~~~ fileservplugin/FileMetadataPipe.h:106:30: warning: 'std::auto_ptr FileMetadataPipe::metadata_file' [-Wreorder] 106 | std::auto_ptr metadata_file; | ^~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp:64:1: warning: when initialized here [-Wreorder] 64 | FileMetadataPipe::FileMetadataPipe( IPipe* pipe, const std::string& cmd ) | ^~~~~~~~~~~~~~~~ fileservplugin/FileMetadataPipe.cpp: In function 'bool {anonymous}::get_xattr(const std::string&, const std::string&, std::string&)': fileservplugin/FileMetadataPipe.cpp:1084:35: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1084 | if(bufsize: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/PipeSessions.h:2, from fileservplugin/PipeSessions.cpp:19: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ In file included from fileservplugin/PipeSessions.h:7: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.h:11: fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:20: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:24: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:115:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:130:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:27: fileservplugin/PipeFileTar.h:84:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeFileTar.h:143:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 143 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeSessions.cpp:28: fileservplugin/PipeFileExt.h:21:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 21 | std::auto_ptr file_ext; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeSessions.cpp: In member function 'virtual void PipeSessions::operator()()': fileservplugin/PipeSessions.cpp:346:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 345 | if( !it->second.retrieving_exit_info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | && (it->second.file!=NULL && currtime - it->second.file->getLastRead() > pipe_file_read_timeout) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/PipeSessions.cpp: In static member function 'static void PipeSessions::transmitFileMetadataAndFiledataWait(const std::string&, const std::string&, const std::string&, const std::string&, IFile*)': fileservplugin/PipeSessions.cpp:506:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 506 | std::auto_ptr waitpipe(Server->createMemoryPipe()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ fileservplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -fPIE -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -DWITH_OPENSSL -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupclientbackend-PipeFileTar.o `test -f 'fileservplugin/PipeFileTar.cpp' || echo './'`fileservplugin/PipeFileTar.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fileservplugin/PipeFileTar.cpp:1: fileservplugin/CClientThread.h:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning ( disable:4005 ) fileservplugin/CClientThread.h:2: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 2 | #pragma warning ( disable:4996 ) In file included from fileservplugin/IFileServ.h:7, from fileservplugin/FileServ.h:3, from fileservplugin/CClientThread.h:25: fileservplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': fileservplugin/../Interface/File.h:195:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 195 | if(pos!=f->Size()) | ~~~^~~~~~~~~~~ fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from fileservplugin/PipeFile.h:6, from fileservplugin/PipeFileTar.h:4, from fileservplugin/PipeFileTar.cpp:2: fileservplugin/PipeFileBase.h: At global scope: fileservplugin/PipeFileBase.h:109:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 109 | std::auto_ptr buffer_mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /usr/include/cryptopp/stdcpp.h:15, from /usr/include/cryptopp/cryptlib.h:106, from /usr/include/cryptopp/iterhash.h:9, from /usr/include/cryptopp/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.h:8: fileservplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fileservplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fileservplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fileservplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileservplugin/PipeFileTar.h: At global scope: fileservplugin/PipeFileTar.h:84:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeFileTar.h:143:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 143 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:5: fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession()': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:15:9: warning: when initialized here [-Wreorder] 15 | SPipeSession() | ^~~~~~~~~~~~ fileservplugin/PipeSessions.h: In constructor 'SPipeSession::SPipeSession(IPipeFile*, IPipe*, int, std::string)': fileservplugin/PipeSessions.h:35:15: warning: 'SPipeSession::addtime' will be initialized after [-Wreorder] 35 | int64 addtime; | ^~~~~~~ fileservplugin/PipeSessions.h:31:21: warning: 'ICondition* SPipeSession::retrieval_cond' [-Wreorder] 31 | ICondition* retrieval_cond; | ^~~~~~~~~~~~~~ fileservplugin/PipeSessions.h:20:9: warning: when initialized here [-Wreorder] 20 | SPipeSession(IPipeFile* file, IPipe* input_pipe, int backupnum, std::string metadata) | ^~~~~~~~~~~~ In file included from fileservplugin/PipeFileTar.cpp:9: fileservplugin/FileMetadataPipe.h: At global scope: fileservplugin/FileMetadataPipe.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr metadata_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:115:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 115 | std::auto_ptr errpipe; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/FileMetadataPipe.h:130:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 130 | std::auto_ptr token_callback; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(const std::string&, int, int64, std::string, const std::string&, const std::string&)': fileservplugin/PipeFileTar.h:145:24: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] 145 | PipeFileStore* pipe_file; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:136:15: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] 136 | int64 file_offset; | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.h:153:21: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] 153 | std::string output_fn; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:148:15: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] 148 | int64 fn_random; | ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.h:156:21: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] 156 | std::string identity; | ^~~~~~~~ fileservplugin/PipeFileTar.h:141:15: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] 141 | int64 hash_pos; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:149:1: warning: when initialized here [-Wreorder] 149 | PipeFileTar::PipeFileTar(const std::string & pCmd, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.h: In constructor 'PipeFileTar::PipeFileTar(PipeFileStore*, const STarFile&, int64, int, int64, std::string, const std::string&, const std::string&)': fileservplugin/PipeFileTar.h:145:24: warning: 'PipeFileTar::pipe_file' will be initialized after [-Wreorder] 145 | PipeFileStore* pipe_file; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:138:18: warning: 'PipeFileTar::STarFile PipeFileTar::tar_file' [-Wreorder] 138 | STarFile tar_file; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.h:138:18: warning: 'PipeFileTar::tar_file' will be initialized after [-Wreorder] 138 | STarFile tar_file; | ^~~~~~~~ fileservplugin/PipeFileTar.h:136:15: warning: 'int64 PipeFileTar::file_offset' [-Wreorder] 136 | int64 file_offset; | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.h:153:21: warning: 'PipeFileTar::output_fn' will be initialized after [-Wreorder] 153 | std::string output_fn; | ^~~~~~~~~ fileservplugin/PipeFileTar.h:148:15: warning: 'int64 PipeFileTar::fn_random' [-Wreorder] 148 | int64 fn_random; | ^~~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.h:156:21: warning: 'PipeFileTar::identity' will be initialized after [-Wreorder] 156 | std::string identity; | ^~~~~~~~ fileservplugin/PipeFileTar.h:141:15: warning: 'int64 PipeFileTar::hash_pos' [-Wreorder] 141 | int64 hash_pos; | ^~~~~~~~ fileservplugin/PipeFileTar.cpp:156:1: warning: when initialized here [-Wreorder] 156 | PipeFileTar::PipeFileTar(PipeFileStore* pipe_file, const STarFile& tar_file, int64 file_offset, int backupnum, int64 fn_random, std::string output_fn, const std::string& server_token, const std::string& identity) | ^~~~~~~~~~~ fileservplugin/PipeFileTar.cpp: In member function 'virtual _u32 PipeFileTar::Read(char*, _u32, bool*)': fileservplugin/PipeFileTar.cpp:221:15: warning: unused variable 'pos' [-Wunused-variable] 221 | int64 pos = tar_file.pos; | ^~~ fileservplugin/PipeFileTar.cpp: In member function 'std::string PipeFileTar::buildCurrMetadata()': fileservplugin/PipeFileTar.cpp:368:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 368 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from fileservplugin/PipeFileBase.h:6: fileservplugin/../urbackupcommon/sha2/sha2.h: At global scope: fileservplugin/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/include -I/usr/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dmsnaptool/urbackupclient_dmsnaptool-main.o `test -f 'dmsnaptool/main.cpp' || echo './'`dmsnaptool/main.cpp In file included from dmsnaptool/../tclap/UnlabeledValueArg.h:30, from dmsnaptool/../tclap/CmdLine.h:29, from dmsnaptool/main.cpp:20: dmsnaptool/../tclap/ValueArg.h:243:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 243 | ValueArg(const ValueArg& rhs); | ^ dmsnaptool/../tclap/ValueArg.h:243:19: note: remove the '< >' In file included from dmsnaptool/../tclap/UnlabeledMultiArg.h:29, from dmsnaptool/../tclap/CmdLine.h:30: dmsnaptool/../tclap/MultiArg.h:228:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 228 | MultiArg(const MultiArg& rhs); | ^ dmsnaptool/../tclap/MultiArg.h:228:20: note: remove the '< >' In file included from dmsnaptool/main.cpp:22: dmsnaptool/../stringtools.h: In function 'float {anonymous}::little_endian(float)': dmsnaptool/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmsnaptool/../stringtools.h: In function 'double {anonymous}::little_endian(double)': dmsnaptool/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmsnaptool/../stringtools.h: In function 'float {anonymous}::big_endian(float)': dmsnaptool/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmsnaptool/main.cpp: In function 'bool do_create_dm_dev(uint64_t, uint64_t, const std::string&, const std::string&, bool, const std::string&, uint32_t)': dmsnaptool/main.cpp:84:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 84 | if (!dm_task_add_target(dmt, start, size, ttype.c_str(), params.c_str())) | ^~ dmsnaptool/main.cpp:87:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 87 | if (!dm_task_set_add_node(dmt, DM_ADD_NODE_ON_RESUME)) | ^~ dmsnaptool/../stringtools.h: At global scope: dmsnaptool/../stringtools.h:308:13: warning: 'std::string {anonymous}::big_endian_utf16(std::string)' defined but not used [-Wunused-function] 308 | std::string big_endian_utf16(std::string str) | ^~~~~~~~~~~~~~~~ dmsnaptool/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:246:16: warning: 'short unsigned int {anonymous}::big_endian(short unsigned int)' defined but not used [-Wunused-function] 246 | unsigned short big_endian(unsigned short x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:234:14: warning: 'unsigned int {anonymous}::big_endian(unsigned int)' defined but not used [-Wunused-function] 234 | unsigned int big_endian(unsigned int x) | ^~~~~~~~~~ dmsnaptool/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:158:16: warning: 'short unsigned int {anonymous}::little_endian(short unsigned int)' defined but not used [-Wunused-function] 158 | unsigned short little_endian(unsigned short x) | ^~~~~~~~~~~~~ dmsnaptool/../stringtools.h:146:14: warning: 'unsigned int {anonymous}::little_endian(unsigned int)' defined but not used [-Wunused-function] 146 | unsigned int little_endian(unsigned int x) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -D_FILE_OFFSET_BITS=64 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wl,-z,relro -fpie -L/usr/lib -L/usr/lib -o blockalign blockalign_src/blockalign-main.o blockalign_src/blockalign-crc32c-adler.o blockalign_src/blockalign-crc.o -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DOS_FUNC_NO_SERVER -DLINUX -DVARDIR='"/var/lib"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -L/usr/lib -L/usr/lib -o urbackupclientctl clientctl/urbackupclientctl-main.o urbackupcommon/urbackupclientctl-os_functions_lin.o urbackupclientctl-stringtools.o clientctl/urbackupclientctl-Connector.o clientctl/urbackupclientctl-tcpstack.o urbackupcommon/urbackupclientctl-escape.o clientctl/urbackupclientctl-jsoncpp.o -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -L/usr/lib -L/usr/lib -o urbackupclient_dmsnaptool dmsnaptool/urbackupclient_dmsnaptool-main.o urbackupclient_dmsnaptool-stringtools.o -ldevmapper -lz make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' x86_64-alt-linux-g++ -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/var/lib"' -DSYSCONFDIR='"/etc"' -DDATADIR='"/usr/share"' -DZSTD_STATIC_LINKING_ONLY -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -L/usr/lib -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackupclientbackend urbackupclientbackend-AcceptThread.o urbackupclientbackend-Client.o urbackupclientbackend-Database.o urbackupclientbackend-Query.o urbackupclientbackend-SelectThread.o urbackupclientbackend-Server.o urbackupclientbackend-ServerLinux.o urbackupclientbackend-ServiceAcceptor.o urbackupclientbackend-ServiceWorker.o urbackupclientbackend-SessionMgr.o urbackupclientbackend-StreamPipe.o urbackupclientbackend-Template.o urbackupclientbackend-WorkerThread.o urbackupclientbackend-main.o urbackupclientbackend-md5.o urbackupclientbackend-stringtools.o libfastcgi/urbackupclientbackend-fastcgi.o urbackupclientbackend-Mutex_lin.o urbackupclientbackend-LoadbalancerClient.o urbackupclientbackend-DBSettingsReader.o urbackupclientbackend-file_common.o urbackupclientbackend-file_fstream.o urbackupclientbackend-file_linux.o urbackupclientbackend-FileSettingsReader.o urbackupclientbackend-LookupService.o urbackupclientbackend-SettingsReader.o urbackupclientbackend-Table.o urbackupclientbackend-OutputStream.o urbackupclientbackend-ThreadPool.o urbackupclientbackend-MemoryPipe.o urbackupclientbackend-Condition_lin.o urbackupclientbackend-MemorySettingsReader.o sqlite/urbackupclientbackend-shell.o urbackupclientbackend-SQLiteFactory.o urbackupclientbackend-PipeThrottler.o urbackupclientbackend-mt19937ar.o urbackupclientbackend-DatabaseCursor.o urbackupclientbackend-SharedMutex_lin.o urbackupclientbackend-StaticPluginRegistration.o common/urbackupclientbackend-data.o common/urbackupclientbackend-adler32.o urbackupclientbackend-OpenSSLPipe.o urbackupcommon/urbackupclientbackend-os_functions_lin.o urbackupcommon/sha2/urbackupclientbackend-sha2.o urbackupcommon/fileclient/urbackupclientbackend-FileClient.o urbackupcommon/fileclient/urbackupclientbackend-tcpstack.o urbackupcommon/urbackupclientbackend-escape.o urbackupcommon/urbackupclientbackend-bufmgr.o urbackupcommon/urbackupclientbackend-json.o urbackupcommon/urbackupclientbackend-CompressedPipe.o urbackupcommon/urbackupclientbackend-InternetServicePipe2.o urbackupcommon/urbackupclientbackend-settingslist.o urbackupcommon/fileclient/urbackupclientbackend-FileClientChunked.o urbackupcommon/urbackupclientbackend-InternetServicePipe.o urbackupcommon/urbackupclientbackend-filelist_utils.o urbackupcommon/urbackupclientbackend-file_metadata.o urbackupcommon/urbackupclientbackend-glob.o urbackupcommon/urbackupclientbackend-chunk_hasher.o urbackupcommon/urbackupclientbackend-CompressedPipe2.o urbackupcommon/urbackupclientbackend-SparseFile.o urbackupcommon/urbackupclientbackend-ExtentIterator.o urbackupcommon/urbackupclientbackend-TreeHash.o urbackupcommon/urbackupclientbackend-WalCheckpointThread.o urbackupcommon/urbackupclientbackend-WebSocketPipe.o urbackupcommon/urbackupclientbackend-CompressedPipeZstd.o cryptoplugin/urbackupclientbackend-dllmain.o cryptoplugin/urbackupclientbackend-AESDecryption.o cryptoplugin/urbackupclientbackend-CryptoFactory.o cryptoplugin/urbackupclientbackend-pluginmgr.o cryptoplugin/urbackupclientbackend-AESEncryption.o cryptoplugin/urbackupclientbackend-ZlibCompression.o cryptoplugin/urbackupclientbackend-ZlibDecompression.o cryptoplugin/urbackupclientbackend-AESGCMDecryption.o cryptoplugin/urbackupclientbackend-AESGCMEncryption.o cryptoplugin/urbackupclientbackend-ECDHKeyExchange.o fsimageplugin/urbackupclientbackend-dllmain.o fsimageplugin/urbackupclientbackend-filesystem.o fsimageplugin/urbackupclientbackend-FSImageFactory.o fsimageplugin/urbackupclientbackend-pluginmgr.o fsimageplugin/urbackupclientbackend-vhdfile.o fsimageplugin/urbackupclientbackend-vhdxfile.o fsimageplugin/fs/urbackupclientbackend-ntfs.o fsimageplugin/fs/urbackupclientbackend-unknown.o fsimageplugin/urbackupclientbackend-CompressedFile.o fsimageplugin/urbackupclientbackend-LRUMemCache.o fsimageplugin/urbackupclientbackend-cowfile.o fsimageplugin/urbackupclientbackend-FileWrapper.o fsimageplugin/urbackupclientbackend-ClientBitmap.o fsimageplugin/urbackupclientbackend-partclone.o urbackupclient/urbackupclientbackend-dllmain.o urbackupclient/urbackupclientbackend-clientdao.o urbackupclient/urbackupclientbackend-client.o urbackupclient/urbackupclientbackend-ClientService.o urbackupclient/urbackupclientbackend-ClientSend.o urbackupclient/urbackupclientbackend-client_restore.o urbackupclient/urbackupclientbackend-ServerIdentityMgr.o urbackupclient/urbackupclientbackend-ClientServiceCMD.o urbackupclient/urbackupclientbackend-ImageThread.o urbackupclient/urbackupclientbackend-InternetClient.o urbackupclient/urbackupclientbackend-file_permissions.o urbackupclient/urbackupclientbackend-lin_ver.o urbackupclient/urbackupclientbackend-lin_tokens.o urbackupclient/urbackupclientbackend-common_tokens.o urbackupclient/urbackupclientbackend-FileMetadataDownloadThread.o urbackupclient/urbackupclientbackend-RestoreFiles.o urbackupclient/urbackupclientbackend-RestoreDownloadThread.o urbackupclient/urbackupclientbackend-TokenCallback.o common/urbackupclientbackend-miniz.o urbackupclient/urbackupclientbackend-cmdline_preprocessor.o urbackupclient/urbackupclientbackend-ParallelHash.o urbackupclient/urbackupclientbackend-ClientHash.o fileservplugin/urbackupclientbackend-dllmain.o fileservplugin/urbackupclientbackend-bufmgr.o fileservplugin/urbackupclientbackend-CClientThread.o fileservplugin/urbackupclientbackend-CriticalSection.o fileservplugin/urbackupclientbackend-CTCPFileServ.o fileservplugin/urbackupclientbackend-CUDPThread.o fileservplugin/urbackupclientbackend-FileServ.o fileservplugin/urbackupclientbackend-FileServFactory.o fileservplugin/urbackupclientbackend-log.o fileservplugin/urbackupclientbackend-main.o fileservplugin/urbackupclientbackend-map_buffer.o fileservplugin/urbackupclientbackend-pluginmgr.o fileservplugin/urbackupclientbackend-ChunkSendThread.o fileservplugin/urbackupclientbackend-PipeFile.o fileservplugin/urbackupclientbackend-PipeSessions.o fileservplugin/urbackupclientbackend-PipeFileUnix.o fileservplugin/urbackupclientbackend-PipeFileBase.o fileservplugin/urbackupclientbackend-FileMetadataPipe.o fileservplugin/urbackupclientbackend-PipeFileTar.o fileservplugin/urbackupclientbackend-PipeFileExt.o -ldl -lcryptopp -lzstd -L/usr/lib -lsqlite3 -lssl -lcrypto -lz urbackupclient/RestoreDownloadThread.h:61:7: warning: type 'struct RestoreDownloadThread' violates the C++ One Definition Rule [-Wodr] 61 | class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^ urbackupclient/RestoreDownloadThread.h:61:7: note: a different type is defined in another translation unit 61 | class RestoreDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^ urbackupclient/RestoreDownloadThread.h:110:32: note: the first difference of corresponding definitions is field 'dl_queue' 110 | std::deque dl_queue; | ^ urbackupclient/RestoreDownloadThread.h:110:32: note: a field of same name but different type is defined in another translation unit 110 | std::deque dl_queue; | ^ /usr/include/c++/14/bits/stl_deque.h:788:11: note: type 'struct deque' defined in anonymous namespace cannot match across the translation unit boundary 788 | class deque : protected _Deque_base<_Tp, _Alloc> | ^ urbackupclient/RestoreDownloadThread.h:64:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 64 | RestoreDownloadThread(FileClient& fc, FileClientChunked& fc_chunked, const std::string& client_token, str_map& metadata_path_mapping, | ^ urbackupclient/RestoreDownloadThread.cpp:33:1: note: '__ct_comp ' was previously declared here 33 | RestoreDownloadThread::RestoreDownloadThread( FileClient& fc, FileClientChunked& fc_chunked, const std::string& client_token, str_map& metadata_path_mapping, | ^ urbackupclient/RestoreDownloadThread.cpp:33:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupclient/RestoreDownloadThread.h:72:14: warning: type of 'addToQueueChunked' does not match original declaration [-Wlto-type-mismatch] 72 | void addToQueueChunked(size_t id, const std::string &remotefn, const std::string &destfn, | ^ urbackupclient/RestoreDownloadThread.cpp:162:6: note: 'addToQueueChunked' was previously declared here 162 | void RestoreDownloadThread::addToQueueChunked( size_t id, const std::string &remotefn, const std::string &destfn, | ^ urbackupclient/RestoreDownloadThread.cpp:162:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupclient/RestoreDownloadThread.h:69:14: warning: type of 'addToQueueFull' does not match original declaration [-Wlto-type-mismatch] 69 | void addToQueueFull(size_t id, const std::string &remotefn, const std::string &destfn, | ^ urbackupclient/RestoreDownloadThread.cpp:136:6: note: 'addToQueueFull' was previously declared here 136 | void RestoreDownloadThread::addToQueueFull( size_t id, const std::string &remotefn, const std::string &destfn, | ^ urbackupclient/RestoreDownloadThread.cpp:136:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupclient/RestoreDownloadThread.h:77:10: warning: type of 'queueStop' does not match original declaration [-Wlto-type-mismatch] 77 | void queueStop(); | ^ urbackupclient/RestoreDownloadThread.cpp:196:6: note: 'queueStop' was previously declared here 196 | void RestoreDownloadThread::queueStop() | ^ urbackupclient/RestoreDownloadThread.cpp:196:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupclient/RestoreDownloadThread.h:95:10: warning: type of 'hasError' does not match original declaration [-Wlto-type-mismatch] 95 | bool hasError(); | ^ urbackupclient/RestoreDownloadThread.cpp:471:6: note: 'hasError' was previously declared here 471 | bool RestoreDownloadThread::hasError() | ^ urbackupclient/RestoreDownloadThread.cpp:471:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupclient/RestoreDownloadThread.h:99:14: warning: type of 'isRenamedFile' does not match original declaration [-Wlto-type-mismatch] 99 | bool isRenamedFile(const std::string& fn); | ^ urbackupclient/RestoreDownloadThread.cpp:496:6: note: 'isRenamedFile' was previously declared here 496 | bool RestoreDownloadThread::isRenamedFile(const std::string & fn) | ^ urbackupclient/RestoreDownloadThread.cpp:496:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.64927 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/urbackup-client-buildroot + : + /bin/rm -rf -- /usr/src/tmp/urbackup-client-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd urbackup-client-2.5.25.0 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/urbackup-client-buildroot make: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' /usr/bin/mkdir -p '/usr/src/tmp/urbackup-client-buildroot/usr/bin' /usr/libexec/rpm-build/install -p urbackupclientctl blockalign '/usr/src/tmp/urbackup-client-buildroot/usr/bin' mkdir -p "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup" mkdir -p "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/data" /usr/bin/mkdir -p '/usr/src/tmp/urbackup-client-buildroot/usr/sbin' /usr/libexec/rpm-build/install -p urbackupclientbackend urbackupclient_dmsnaptool '/usr/src/tmp/urbackup-client-buildroot/usr/sbin' /usr/bin/mkdir -p "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/" /usr/bin/mkdir -p "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts" /usr/bin/mkdir -p "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/list" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/list" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/list_incr" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/list_incr" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbdump.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbdump.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbdump.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbdump" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbdump" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresqldump.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqldump.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresqldump.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqldump" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqldump" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresbase.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresbase.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/postgresbase.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresbase" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresbase" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqlprebackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqlprebackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/postgresqlpostbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqlpostbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/setup-postgresbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/setup-postgresbackup" test -e "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf" || /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup.conf" "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbxtrabackup_incr" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup_incr" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/restore-mariadbbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbprebackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbprebackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/mariadbpostbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbpostbackup" /usr/libexec/rpm-build/install -p "./urbackupclient/backup_scripts/setup-mariadbbackup" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/setup-mariadbbackup" for script in "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/"*; do sed "s|SYSCONFDIR|/etc/urbackup|g" "$script" > "$script.r"; mv "$script.r" "$script"; done chmod 700 "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/"* chmod 700 "/usr/src/tmp/urbackup-client-buildroot/etc/urbackup/"* /usr/libexec/rpm-build/install -p -m 644 "./client/version.txt" "/usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup/version.txt" /usr/libexec/rpm-build/install -p -m 644 "./client/data/urbackup_ecdsa409k1.pub" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/" /usr/libexec/rpm-build/install -p -m 644 "./client/data/updates_h.dat" "/usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/" make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' make: Leaving directory '/usr/src/RPM/BUILD/urbackup-client-2.5.25.0' + mkdir -p /usr/src/tmp/urbackup-client-buildroot/usr/lib/systemd/system /usr/src/tmp/urbackup-client-buildroot/usr/share/man/man1 /usr/src/tmp/urbackup-client-buildroot/var/log /usr/src/tmp/urbackup-client-buildroot/var/lib/urbackup + mkdir -p /usr/src/tmp/urbackup-client-buildroot/etc/sysconfig + mkdir -p /usr/src/tmp/urbackup-client-buildroot/etc/rc.d/init.d + install -m 644 defaults_client /usr/src/tmp/urbackup-client-buildroot/etc/sysconfig/urbackupclient + install -m 644 urbackupclientbackend-redhat.service /usr/src/tmp/urbackup-client-buildroot/usr/lib/systemd/system/urbackup-client.service + install -m 644 docs/urbackupclientbackend.1 /usr/src/tmp/urbackup-client-buildroot/usr/share/man/man1/urbackupclientbackend.1 + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/btrfs_create_filesystem_snapshot ']' + install -m 755 linux_snapshot/btrfs_create_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/btrfs_remove_filesystem_snapshot ']' + install -m 755 linux_snapshot/btrfs_remove_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/dattobd_create_snapshot ']' + install -m 755 linux_snapshot/dattobd_create_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/dattobd_remove_snapshot ']' + install -m 755 linux_snapshot/dattobd_remove_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/lvm_create_filesystem_snapshot ']' + install -m 755 linux_snapshot/lvm_create_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + for f in linux_snapshot/*_snapshot + '[' -f linux_snapshot/lvm_remove_filesystem_snapshot ']' + install -m 755 linux_snapshot/lvm_remove_filesystem_snapshot /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/ + install -m 644 /usr/src/RPM/SOURCES/urbackup-client-snapshot.cfg /usr/src/tmp/urbackup-client-buildroot/etc/urbackup/snapshot.cfg + touch /usr/src/tmp/urbackup-client-buildroot/var/log/urbackupclient.log + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/urbackup-client-buildroot (auto) mode of 'usr/share/urbackup/scripts/list' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/list_incr' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbdump' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbpostbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbprebackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbxtrabackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/mariadbxtrabackup_incr' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresbase' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresqldump' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresqlpostbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/postgresqlprebackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/restore-mariadbbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/setup-mariadbbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/scripts/setup-postgresbackup' changed from 0700 (rwx------) to 0755 (rwxr-xr-x) Verifying and fixing files in /usr/src/tmp/urbackup-client-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/urbackup-client-buildroot/ (default) Compressing files in /usr/src/tmp/urbackup-client-buildroot (auto) Verifying systemd units in /usr/src/tmp/urbackup-client-buildroot Adjusting library links in /usr/src/tmp/urbackup-client-buildroot ./usr/lib: (from :0) ./var/lib: (from :0) Verifying ELF objects in /usr/src/tmp/urbackup-client-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/urbackup-client-buildroot Processing files: urbackup-client-2.5.25-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.62588 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-client-2.5.25.0 + DOCDIR=/usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.25 + export DOCDIR + rm -rf /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.25 + /bin/mkdir -p /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.25 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.25 + chmod -R go-w /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.25 + chmod -R a+rX /usr/src/tmp/urbackup-client-buildroot/usr/share/doc/urbackup-client-2.5.25 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Nix2Dl find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2nJ7eZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shell.req: /usr/src/tmp/urbackup-client-buildroot/etc/urbackup/mariadbxtrabackup.conf: invalid command: -v shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_create_snapshot: dbdctl not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_create_snapshot: dmsetup indexed by: /sbin/dmsetup -> /sbin/dmsetup, /usr/sbin/dmsetup -> dmsetup shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_create_snapshot: dmsetup -> /sbin/dmsetup -> /sbin/dmsetup (ambiguous, via contents_index_bin) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_create_snapshot: modprobe indexed by: /sbin/modprobe -> /sbin/modprobe, /usr/sbin/modprobe -> kmod shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_create_snapshot: modprobe -> /sbin/modprobe -> /sbin/modprobe (ambiguous, via contents_index_bin) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_remove_snapshot: dbdctl not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_remove_snapshot: dmsetup indexed by: /sbin/dmsetup -> /sbin/dmsetup, /usr/sbin/dmsetup -> dmsetup shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/dattobd_remove_snapshot: dmsetup -> /sbin/dmsetup -> /sbin/dmsetup (ambiguous, via contents_index_bin) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbdump: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/mariadbxtrabackup_incr: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresbase: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/postgresqldump: errcho not found (skip) shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup: invalid command: -v shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup: systemctl indexed by: /bin/systemctl -> /bin/systemctl, /sbin/systemctl -> /sbin/systemctl, /usr/bin/systemctl -> systemd shell.req: /usr/src/tmp/urbackup-client-buildroot/usr/share/urbackup/scripts/restore-mariadbbackup: systemctl -> /bin/systemctl -> /bin/systemctl (ambiguous, via contents_index_bin) find-requires: FINDPACKAGE-COMMANDS: btrfs cat chown cp cut date dbdctl df dmsetup egrep errcho exit_exclude_snapshot_mountpoints find grep head losetup lsblk lsof lvcreate lvremove mkdir modprobe mount mv mysql rm rmdir sed service set_filesystem_type sleep su sync systemctl tr truncate umount Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hihi0p Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ECBMH3 Requires: urbackup-common, /bin/bash, /bin/sh, /bin/systemctl, /lib64/ld-linux-x86-64.so.2, /sbin/dmsetup, /sbin/modprobe, /usr/bin/mysql, btrfs-progs, coreutils, findutils, grep, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.25)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcrypto.so.3()(64bit) >= set:qkvV2sKMg4jd92qOQCFQ99NXHKtZfK3BmvMEfiau8ch1Zlu2olJgPO0YTLFkV08Z26Upd5ehGiRbFvhoBdoHiMsJzG3fkYdmQgnJVCdGded2, libcrypto.so.3(OPENSSL_3.0.0)(64bit), libcryptopp.so.8()(64bit) >= set:qh9EfBETZL3ygxkgzp1iOEiXBS0CQ0HIdhjzJqGGWnPL5r2AdiUqpNGTk8sKX4D0lPh3fFZL5IN0uQKJilmAJgjWY2tV9Da4vSionJOxMOHCD2RtKMjCFAoZq2dNWP95mm1qGslNlZDcwy6dOWZbnfCK8O306NzE5RVbNKX9C6Z2nKG5O5vCZFwWzkjWy8kZlWhtw9GoB4veZ41em3ACkZtkZH0Iz2Sl47k1ITzlGRZi6d54sylSEmwRehRhUJ0PY8kbF2dvniHZLdkXxCrlYCibn9mGxDZAlRqI6P48R6z7FP21z5DQc4TFJsH3cQjSfPyFbTKxbZhXi57RtYtE9nefTO5YZn6X2sDIGGsdqT9mzP6e7TLAk3PxgEGChlZoHZA8EIeTR0BtZC0t6JyycfcG8oV3RLRRJnEwQoWN8qMZgAeiaBclBxVFi6EQpeaoTMVYhi5oQGHsyfGGZAQy2qadFOyFin9y1dkbMXhnF3SncX5o3g1gywZkbdbwzIKDwwVisUNfnTZvsiZa9aZ8v8156BiTvZKhbDPjq56Lx9QP3SsPeJGmMyOZDk4Zwk5zua43UZnAubZm4bF7UI7XAbWZuplZ75AscIqCKrwEZ2SaGiyOsjEaVZhy2mStZ4jsE4zl73FHi9rPZ1InGzJGUaicPXDJlBQe4HoqQZeBT2NKdkD2uG9XqNiOat4Fc2qPaHjuqbJRIQ70gfQ8kpCn4RckKZ0ypZ6MZcbvzGRZ5lCl75aFQzRvGOsjq5pXZFn2uj0glJMUT94y99MuZIlRjse5EzkkSxIJPtJZpUsw2G5rfEoLNVLMafziucy4oInZ4DafZoZ8FSzwokz394Cb7QwW0H8U4HPO0gOZBcbmtATWLvapD9qIo14oQ3ZwSjf0S8CKBlzdEs8gEKyEzrIINwgctqXNZyrUlwta1wRUJiRMDIeN8BpnlOZ1s4CP2p0mXBSyDZiyKpEYxZ5c0VJxtKCl2tQ4MMhZozVF7BiE9w1NpUdKvDlkhearVExrVwHnJEGC, libdevmapper.so.1.02()(64bit) >= set:miQ7O50Q63STBu2fpltrLEOZgs7jj7O9hdFA, libdevmapper.so.1.02(Base)(64bit), libdevmapper.so.1.02(DM_1_02_197)(64bit), libdevmapper.so.1.02(DM_1_02_97)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libm.so.6(GLIBC_2.29)(64bit), libsqlite3.so.0()(64bit) >= set:ogbW4LL2mZuAK1hytgqkzyhhAa59gOdSYdOakqe9GjCh0UwbG9e1CtroG90gZsYu91r1FYInOrs90uDZ97A9rLM2ZezSQf1pFBtfcRcVJ2eC4LYXgf7BZ2jZuA7Ha5Mqs2gnTHf6JqPF4jvEFhZ0JYE5AR4CGuEjaHXiXCx89KDGVwmMUZeUuy0TdI0w2hxFnDigLcDJ8p1rX2oHwYT296SmWZdxZJMkDtI0UVedI0gOJ7zXvh5l103AIInzGg85bJ1fIoy0qKVzlPmxXqZbCZlaSPwicZqQzUgrjAcg6ZgU1I96TP4kqRZ8ghket4zrgH70xOPthIP4LWGeZ7meBJSn0, libssl.so.3()(64bit) >= set:njBOyrWjsXRFd1HguQu8DS8l6DUGTBcqFKZ9E98ktXMfC2, libssl.so.3(OPENSSL_3.0.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.15)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.26)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), libstdc++.so.6(GLIBCXX_3.4.32)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libz.so.1()(64bit) >= set:khdWPIUrJuazh01Xf1, libzstd.so.1()(64bit) >= set:lgE9NomMZohbDaUR9phookXUIx1ugK3ZFfhKYYLDDIFy7K1, losetup, lsblk, lsof, lvm2, mount, rtld(GNU_HASH), sed, service, su Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SRHSQ0 Creating urbackup-client-debuginfo package Processing files: urbackup-client-debuginfo-2.5.25-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Z7bdjH find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bMQYRC find-requires: running scripts (debuginfo) Requires: urbackup-client = 2.5.25-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.3), debug64(libcryptopp.so.8), debug64(libdevmapper.so.1.02), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libsqlite3.so.0), debug64(libssl.so.3), debug64(libstdc++.so.6), debug64(libz.so.1), debug64(libzstd.so.1) Adding to urbackup-client-debuginfo a strict dependency on urbackup-client Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-client-2.5.25-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-client-debuginfo-2.5.25-alt1.x86_64.rpm (w2T8.xzdio) 273.06user 29.36system 1:10.06elapsed 431%CPU (0avgtext+0avgdata 336940maxresident)k 0inputs+0outputs (0major+8099186minor)pagefaults 0swaps 5.03user 2.12system 1:22.54elapsed 8%CPU (0avgtext+0avgdata 137476maxresident)k 2896inputs+0outputs (0major+208725minor)pagefaults 0swaps --- urbackup-client-2.5.25-alt1.x86_64.rpm.repo 2024-03-29 13:55:54.000000000 +0000 +++ urbackup-client-2.5.25-alt1.x86_64.rpm.hasher 2024-12-19 05:15:31.121204583 +0000 @@ -7,5 +7,5 @@ /etc/urbackup/snapshot.cfg 100644 root:root -/lib/systemd/system/urbackup-client.service 100644 root:root /usr/bin/blockalign 100755 root:root /usr/bin/urbackupclientctl 100755 root:root +/usr/lib/systemd/system/urbackup-client.service 100644 root:root /usr/sbin/urbackupclient_dmsnaptool 100755 root:root @@ -50,3 +50,6 @@ Requires: /bin/sh +Requires: /bin/systemctl Requires: /lib64/ld-linux-x86-64.so.2 +Requires: /sbin/dmsetup +Requires: /sbin/modprobe Requires: /usr/bin/mysql @@ -54,6 +57,4 @@ Requires: coreutils -Requires: dmsetup Requires: findutils Requires: grep -Requires: kmod Requires: libc.so.6(GLIBC_2.10)(64bit) @@ -78,5 +79,6 @@ Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) -Requires: libcryptopp.so.8()(64bit) >= set:qh9EfBETZL3ygxkgzp1iOEiXBS0CQ0HIdhjzJqGGWnPL5r2AdiUqpNGTk8sKX4D0lPh3fFZL5IN0uQKJilmAJgjWY2tV9Da4vSionJOxMOHCD2RtKMjCFAoZq2dNWP95mm1qGslNlZDcwy6dOWZbnfCK8O306NzE5RVbNKX9C6Z2nKG5O5vCZFwWzkjWy8kZlWhtw9GoB4veZ41em3ACkZtkZH0Iz2Sl47k1ITzlGRZi6d54sylSEmwRehRhUJ0PY8kbF2dvniHZLdkXxCrlYCibn9mGxDZAlRqI6P48R6z7FP21z5DQc4TFJsH3cQjSfPyFbTKxbZhXi57RtYtE9nefTO5YZn6X2sDIGGsdqT9mzP6e7TLAk3PxgEGChlZoHZA8EIeTR0BtZC0t6JyycfcG8oV3RLRRJnEwQoWN8qMZgAeiaBclBxVFi6EQpeaoTMVYhi5oQGHsyfGGZAQy2qadFOyFin9y1dkbMXhnF3SncX5o3g1gywZkbdbwzIKDwwVisUNfnTZvsiZa9aZ8v8156BiTvZKhbDPjq56Lx9QP3SsPeJGmMyOZDk4Zwk5zua43UZnAubZm4bF7UI7XAbWZuplZ75AscIqCKrwEZ2SaGiyOsjEaVZhy2mStZ4jsE4zl73FHi9rPZ1InGzJGUaicPXDJlBQe4HoqQZeBT2NKdkD2uG9XqNiOat4Fc2qPaHjuqbJRIQ70gfQ8kpCn4RckKZ0ypZ6MZcbvzGRZ5lCl75aFQzRvGOsjuiTneqZLYiMr20GG56ZK42NA4oLvKGuyPF0tAyOeAJtKHRfNV05kbSugNuzPvxlu6BYo49MoLWFjB7vI7jJ71NE67i8cneE1R1mhM9mDB1wAZHomIW8LRvZA9Xchz5bw0zuU7IDu0IhctbH6rgVgwgt5h7Topz1xoWQSzZBSMH0Xk20HNrBGxfptyhaPKGAX3e2Ppxc0HZ2J5fZ54tPgV3Xb6wYSMenPaxeq2oU8vscfZ8i9Q4MwUcY6TLPaG87BJsQMJsMRHm0 -Requires: libdevmapper.so.1.02()(64bit) >= set:miQ7O50kFpZfoA74ZdBu2fpltrLEOZgs7jj7O9hdFA +Requires: libcryptopp.so.8()(64bit) >= set:qh9EfBETZL3ygxkgzp1iOEiXBS0CQ0HIdhjzJqGGWnPL5r2AdiUqpNGTk8sKX4D0lPh3fFZL5IN0uQKJilmAJgjWY2tV9Da4vSionJOxMOHCD2RtKMjCFAoZq2dNWP95mm1qGslNlZDcwy6dOWZbnfCK8O306NzE5RVbNKX9C6Z2nKG5O5vCZFwWzkjWy8kZlWhtw9GoB4veZ41em3ACkZtkZH0Iz2Sl47k1ITzlGRZi6d54sylSEmwRehRhUJ0PY8kbF2dvniHZLdkXxCrlYCibn9mGxDZAlRqI6P48R6z7FP21z5DQc4TFJsH3cQjSfPyFbTKxbZhXi57RtYtE9nefTO5YZn6X2sDIGGsdqT9mzP6e7TLAk3PxgEGChlZoHZA8EIeTR0BtZC0t6JyycfcG8oV3RLRRJnEwQoWN8qMZgAeiaBclBxVFi6EQpeaoTMVYhi5oQGHsyfGGZAQy2qadFOyFin9y1dkbMXhnF3SncX5o3g1gywZkbdbwzIKDwwVisUNfnTZvsiZa9aZ8v8156BiTvZKhbDPjq56Lx9QP3SsPeJGmMyOZDk4Zwk5zua43UZnAubZm4bF7UI7XAbWZuplZ75AscIqCKrwEZ2SaGiyOsjEaVZhy2mStZ4jsE4zl73FHi9rPZ1InGzJGUaicPXDJlBQe4HoqQZeBT2NKdkD2uG9XqNiOat4Fc2qPaHjuqbJRIQ70gfQ8kpCn4RckKZ0ypZ6MZcbvzGRZ5lCl75aFQzRvGOsjq5pXZFn2uj0glJMUT94y99MuZIlRjse5EzkkSxIJPtJZpUsw2G5rfEoLNVLMafziucy4oInZ4DafZoZ8FSzwokz394Cb7QwW0H8U4HPO0gOZBcbmtATWLvapD9qIo14oQ3ZwSjf0S8CKBlzdEs8gEKyEzrIINwgctqXNZyrUlwta1wRUJiRMDIeN8BpnlOZ1s4CP2p0mXBSyDZiyKpEYxZ5c0VJxtKCl2tQ4MMhZozVF7BiE9w1NpUdKvDlkhearVExrVwHnJEGC +Requires: libdevmapper.so.1.02()(64bit) >= set:miQ7O50Q63STBu2fpltrLEOZgs7jj7O9hdFA Requires: libdevmapper.so.1.02(Base)(64bit) +Requires: libdevmapper.so.1.02(DM_1_02_197)(64bit) Requires: libdevmapper.so.1.02(DM_1_02_97)(64bit) @@ -89,2 +91,3 @@ Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.15)(64bit) Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) @@ -112,3 +115,2 @@ Requires: su -Requires: systemd Requires: /usr/sbin/post_service @@ -124,7 +126,7 @@ File: /etc/urbackup/snapshot.cfg 100644 root:root 98d556a97c799f60e2b09cafc14247aa -File: /lib/systemd/system/urbackup-client.service 100644 root:root d8cd41f11e25490ebfd519dc1ea672a4 -File: /usr/bin/blockalign 100755 root:root 8d0895630275ebe1a5aa34ee7ed63909 -File: /usr/bin/urbackupclientctl 100755 root:root e5ecdc8db5c75d746331ab55ed7caa15 -File: /usr/sbin/urbackupclient_dmsnaptool 100755 root:root 69f3ef712afce596faeb98ae9b1f9a74 -File: /usr/sbin/urbackupclientbackend 100755 root:root e52167a6b252af92ef611801bc5266b7 +File: /usr/bin/blockalign 100755 root:root 507a9f56456f4088d23ecb7dac6fe28a +File: /usr/bin/urbackupclientctl 100755 root:root e83656f497626e200a3773a285575824 +File: /usr/lib/systemd/system/urbackup-client.service 100644 root:root d8cd41f11e25490ebfd519dc1ea672a4 +File: /usr/sbin/urbackupclient_dmsnaptool 100755 root:root de4a98df7b2f137dfae57969ca417aa7 +File: /usr/sbin/urbackupclientbackend 100755 root:root aacec0fdb52ef2061a5f0b1ee9900889 File: /usr/share/doc/urbackup-client-2.5.25 40755 root:root @@ -163,2 +165,2 @@ File: /var/log/urbackupclient.log 100644 root:root -RPMIdentity: c45346d63c1550e097f3bf01e9345c56ca5de1d37ab37d0d46bc49adaf3c486982175258f0a880ccc942eb973ac53e71259bd331f756ed64fb0e94bca1b53b20 +RPMIdentity: 912cd4cdb36c67065b84fe2ea0886741928f9fcdc11c4e0ab2122b1e01af84b112bbe5d690c56cb379a8a2edeaace88838370aaa27d188fd37a8511e7daa466a --- urbackup-client-debuginfo-2.5.25-alt1.x86_64.rpm.repo 2024-03-29 13:55:54.000000000 +0000 +++ urbackup-client-debuginfo-2.5.25-alt1.x86_64.rpm.hasher 2024-12-19 05:15:31.218204961 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/49 40755 root:root -/usr/lib/debug/.build-id/49/b9ce9f12bf50cd740366aa5144b60b7b898120 120777 root:root ../../../../bin/urbackupclientctl -/usr/lib/debug/.build-id/49/b9ce9f12bf50cd740366aa5144b60b7b898120.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug -/usr/lib/debug/.build-id/9c 40755 root:root -/usr/lib/debug/.build-id/9c/2dd19898f78342417c5a4f2bfd07c5d4e1390d 120777 root:root ../../../../sbin/urbackupclientbackend -/usr/lib/debug/.build-id/9c/2dd19898f78342417c5a4f2bfd07c5d4e1390d.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug -/usr/lib/debug/.build-id/d9 40755 root:root -/usr/lib/debug/.build-id/d9/fe0a6f3f85f09458a850da58ee0e7ab8194758 120777 root:root ../../../../bin/blockalign -/usr/lib/debug/.build-id/d9/fe0a6f3f85f09458a850da58ee0e7ab8194758.debug 120777 root:root ../../usr/bin/blockalign.debug -/usr/lib/debug/.build-id/fa 40755 root:root -/usr/lib/debug/.build-id/fa/05d7184fdae9c3b523db5df14439befdb5208a 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool -/usr/lib/debug/.build-id/fa/05d7184fdae9c3b523db5df14439befdb5208a.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug +/usr/lib/debug/.build-id/0a 40755 root:root +/usr/lib/debug/.build-id/0a/ddfd3265ba6cbc85f32fd59ac4d524c7ca258e 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool +/usr/lib/debug/.build-id/0a/ddfd3265ba6cbc85f32fd59ac4d524c7ca258e.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug +/usr/lib/debug/.build-id/45 40755 root:root +/usr/lib/debug/.build-id/45/95793ccf2459f900e10f11aac0bfc0d220a822 120777 root:root ../../../../sbin/urbackupclientbackend +/usr/lib/debug/.build-id/45/95793ccf2459f900e10f11aac0bfc0d220a822.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug +/usr/lib/debug/.build-id/ef 40755 root:root +/usr/lib/debug/.build-id/ef/12a788ca44d9d2e2e99dd71d16e34bafb34471 120777 root:root ../../../../bin/blockalign +/usr/lib/debug/.build-id/ef/12a788ca44d9d2e2e99dd71d16e34bafb34471.debug 120777 root:root ../../usr/bin/blockalign.debug +/usr/lib/debug/.build-id/f9 40755 root:root +/usr/lib/debug/.build-id/f9/caea06125d857986befdcd3ff80749ece0a1fd 120777 root:root ../../../../bin/urbackupclientctl +/usr/lib/debug/.build-id/f9/caea06125d857986befdcd3ff80749ece0a1fd.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug /usr/lib/debug/usr/bin/blockalign.debug 100644 root:root @@ -393,18 +393,18 @@ Provides: urbackup-client-debuginfo = 2.5.25-alt1:sisyphus+343930.200.1.1 -File: /usr/lib/debug/.build-id/49 40755 root:root -File: /usr/lib/debug/.build-id/49/b9ce9f12bf50cd740366aa5144b60b7b898120 120777 root:root ../../../../bin/urbackupclientctl -File: /usr/lib/debug/.build-id/49/b9ce9f12bf50cd740366aa5144b60b7b898120.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug -File: /usr/lib/debug/.build-id/9c 40755 root:root -File: /usr/lib/debug/.build-id/9c/2dd19898f78342417c5a4f2bfd07c5d4e1390d 120777 root:root ../../../../sbin/urbackupclientbackend -File: /usr/lib/debug/.build-id/9c/2dd19898f78342417c5a4f2bfd07c5d4e1390d.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug -File: /usr/lib/debug/.build-id/d9 40755 root:root -File: /usr/lib/debug/.build-id/d9/fe0a6f3f85f09458a850da58ee0e7ab8194758 120777 root:root ../../../../bin/blockalign -File: /usr/lib/debug/.build-id/d9/fe0a6f3f85f09458a850da58ee0e7ab8194758.debug 120777 root:root ../../usr/bin/blockalign.debug -File: /usr/lib/debug/.build-id/fa 40755 root:root -File: /usr/lib/debug/.build-id/fa/05d7184fdae9c3b523db5df14439befdb5208a 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool -File: /usr/lib/debug/.build-id/fa/05d7184fdae9c3b523db5df14439befdb5208a.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug -File: /usr/lib/debug/usr/bin/blockalign.debug 100644 root:root 2a1ad91a66b5d08618dbea12c090d28a -File: /usr/lib/debug/usr/bin/urbackupclientctl.debug 100644 root:root 5cfbb1883e57714d3a23ac8a12b19698 -File: /usr/lib/debug/usr/sbin/urbackupclient_dmsnaptool.debug 100644 root:root ffc84efc16d617aba3798a469ef899fa -File: /usr/lib/debug/usr/sbin/urbackupclientbackend.debug 100644 root:root 212029632ec1dbd78bb364748d93d111 +File: /usr/lib/debug/.build-id/0a 40755 root:root +File: /usr/lib/debug/.build-id/0a/ddfd3265ba6cbc85f32fd59ac4d524c7ca258e 120777 root:root ../../../../sbin/urbackupclient_dmsnaptool +File: /usr/lib/debug/.build-id/0a/ddfd3265ba6cbc85f32fd59ac4d524c7ca258e.debug 120777 root:root ../../usr/sbin/urbackupclient_dmsnaptool.debug +File: /usr/lib/debug/.build-id/45 40755 root:root +File: /usr/lib/debug/.build-id/45/95793ccf2459f900e10f11aac0bfc0d220a822 120777 root:root ../../../../sbin/urbackupclientbackend +File: /usr/lib/debug/.build-id/45/95793ccf2459f900e10f11aac0bfc0d220a822.debug 120777 root:root ../../usr/sbin/urbackupclientbackend.debug +File: /usr/lib/debug/.build-id/ef 40755 root:root +File: /usr/lib/debug/.build-id/ef/12a788ca44d9d2e2e99dd71d16e34bafb34471 120777 root:root ../../../../bin/blockalign +File: /usr/lib/debug/.build-id/ef/12a788ca44d9d2e2e99dd71d16e34bafb34471.debug 120777 root:root ../../usr/bin/blockalign.debug +File: /usr/lib/debug/.build-id/f9 40755 root:root +File: /usr/lib/debug/.build-id/f9/caea06125d857986befdcd3ff80749ece0a1fd 120777 root:root ../../../../bin/urbackupclientctl +File: /usr/lib/debug/.build-id/f9/caea06125d857986befdcd3ff80749ece0a1fd.debug 120777 root:root ../../usr/bin/urbackupclientctl.debug +File: /usr/lib/debug/usr/bin/blockalign.debug 100644 root:root ec25e9f7cc929619f5d08cfc249e9583 +File: /usr/lib/debug/usr/bin/urbackupclientctl.debug 100644 root:root 6c2dd8eb1dd98456a4cf19fe3cbf3127 +File: /usr/lib/debug/usr/sbin/urbackupclient_dmsnaptool.debug 100644 root:root 538ab27967f1ecc4fa0ce990ae14dc7d +File: /usr/lib/debug/usr/sbin/urbackupclientbackend.debug 100644 root:root a897e652e180b83ed1b038bc5d0def13 File: /usr/src/debug/urbackup-client-2.5.25.0 40755 root:root @@ -771,2 +771,2 @@ File: /usr/src/debug/urbackup-client-2.5.25.0/utf8/utf8/core.h 100644 root:root d67547f556cfc99ab023cbe67a724c30 -RPMIdentity: ce471a3f4833022f0b452ca2dadebaf4a370667c9d734ea9af43745cf392545a2ad541e077709aabb9e8a368e1f414d418a510de258e30dccc94af7ecd374cbe +RPMIdentity: 739995a424720fe804da8a2ba9782beeec360d4ce0a8a38b752f7148a4bd105e5448dedc2eca6577229d49e879d8edc0e705c53de134b19569e0acec3dcdaf0a