<86>Dec 18 04:44:43 userdel[3879300]: delete user 'rooter' <86>Dec 18 04:44:43 groupadd[3879328]: group added to /etc/group: name=rooter, GID=1304 <86>Dec 18 04:44:43 groupadd[3879328]: group added to /etc/gshadow: name=rooter <86>Dec 18 04:44:43 groupadd[3879328]: new group: name=rooter, GID=1304 <86>Dec 18 04:44:43 useradd[3879347]: new user: name=rooter, UID=1304, GID=1304, home=/root, shell=/bin/bash, from=none <86>Dec 18 04:44:43 userdel[3879371]: delete user 'builder' <86>Dec 18 04:44:43 userdel[3879371]: removed group 'builder' owned by 'builder' <86>Dec 18 04:44:43 userdel[3879371]: removed shadow group 'builder' owned by 'builder' <86>Dec 18 04:44:43 groupadd[3879389]: group added to /etc/group: name=builder, GID=1305 <86>Dec 18 04:44:43 groupadd[3879389]: group added to /etc/gshadow: name=builder <86>Dec 18 04:44:43 groupadd[3879389]: new group: name=builder, GID=1305 <86>Dec 18 04:44:43 useradd[3879405]: new user: name=builder, UID=1305, GID=1305, home=/usr/src, shell=/bin/bash, from=none <13>Dec 18 04:44:49 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Dec 18 04:44:49 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 18 04:44:49 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 18 04:44:50 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 18 04:44:50 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 18 04:44:50 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 18 04:44:50 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734007749 installed <13>Dec 18 04:44:50 rpmi: libngtcp2.16-1.9.1-alt1 sisyphus+363819.100.1.1 1733129254 installed <13>Dec 18 04:44:50 rpmi: libngtcp2_crypto_gnutls8-1.9.1-alt1 sisyphus+363819.100.1.1 1733129254 installed <13>Dec 18 04:44:50 rpmi: libsqlite3-3.46.0-alt1 sisyphus+352354.100.2.1 1721980422 installed <13>Dec 18 04:44:50 rpmi: rpm-macros-lua-1.5.2-alt1 sisyphus+315204.340.3.1 1692689366 installed <13>Dec 18 04:44:50 rpmi: rpm-build-lua-0.5-alt1 sisyphus+315204.500.3.1 1692689380 installed <13>Dec 18 04:44:50 rpmi: liblua5.4-5.4.7-alt1 sisyphus+357126.100.1.1 1725818888 installed <13>Dec 18 04:44:50 rpmi: lua5.4-5.4.7-alt1 sisyphus+357126.100.1.1 1725818888 installed <13>Dec 18 04:44:50 rpmi: libfuse-2.9.9-alt4 sisyphus+346205.200.2.1 1716361259 installed <13>Dec 18 04:44:50 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 18 04:44:50 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Dec 18 04:44:50 rpmi: libnghttp3.9-1.6.0-alt1 sisyphus+363819.40.1.1 1733129194 installed <13>Dec 18 04:44:50 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118555 installed <13>Dec 18 04:44:50 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 18 04:44:50 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Dec 18 04:44:50 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Dec 18 04:44:50 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 18 04:44:50 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 18 04:44:50 rpmi: libcryptopp-8.9.0-alt1 sisyphus+337150.100.1.1 1703463627 installed <13>Dec 18 04:44:50 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 18 04:44:50 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 18 04:44:50 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 18 04:44:50 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 18 04:44:50 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 18 04:44:51 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 18 04:44:51 rpmi: bc-1:1.07.1-alt1 sisyphus+346065.200.3.1 1716459102 installed <13>Dec 18 04:44:51 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 18 04:44:51 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 18 04:44:51 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 18 04:44:51 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 18 04:44:51 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 18 04:44:51 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 18 04:44:51 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <86>Dec 18 04:44:51 groupadd[3886939]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 18 04:44:51 groupadd[3886939]: group added to /etc/gshadow: name=_keytab <86>Dec 18 04:44:51 groupadd[3886939]: new group: name=_keytab, GID=999 <13>Dec 18 04:44:52 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Dec 18 04:44:52 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <86>Dec 18 04:44:52 groupadd[3887028]: group added to /etc/group: name=sasl, GID=998 <86>Dec 18 04:44:52 groupadd[3887028]: group added to /etc/gshadow: name=sasl <86>Dec 18 04:44:52 groupadd[3887028]: new group: name=sasl, GID=998 <13>Dec 18 04:44:52 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 18 04:44:52 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 18 04:44:52 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Dec 18 04:44:52 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 18 04:44:52 rpmi: libcurl-devel-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 18 04:44:52 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 18 04:44:52 rpmi: libcryptopp-devel-8.9.0-alt1 sisyphus+337150.100.1.1 1703463627 installed <13>Dec 18 04:44:52 rpmi: libfuse-devel-2.9.9-alt4 sisyphus+346205.200.2.1 1716361259 installed <13>Dec 18 04:44:52 rpmi: liblua5.4-devel-5.4.7-alt1 sisyphus+357126.100.1.1 1725818888 installed <13>Dec 18 04:44:52 rpmi: libsqlite3-devel-3.46.0-alt1 sisyphus+352354.100.2.1 1721980422 installed <13>Dec 18 04:44:52 rpmi: liblmdb-devel-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 18 04:44:52 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 18 04:44:52 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-server-2.5.33-alt1.nosrc.rpm (w1.gzdio) Installing urbackup-server-2.5.33-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98692 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf urbackup-server-2.5.33 + echo 'Source #0 (urbackup-server-2.5.33.tar.gz):' Source #0 (urbackup-server-2.5.33.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/urbackup-server-2.5.33.tar.gz + /bin/tar -xf - + cd urbackup-server-2.5.33 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (urbackup-server-fix-link-sqlite3.patch):' Patch #1 (urbackup-server-fix-link-sqlite3.patch): + /usr/bin/patch -p1 patching file Makefile.am Hunk #1 succeeded at 90 with fuzz 1 (offset 13 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 + echo 'Patch #4 (urbackup-server-2.5.27-no-update.patch):' Patch #4 (urbackup-server-2.5.27-no-update.patch): + /usr/bin/patch -p1 patching file urbackupserver/server_update.cpp + sed -i s@/var/urbackup@/var/lib/urbackup@g docs/urbackupsrv.1 + sed -i s@/etc/default/urbackupsrv@/etc/sysconfig/urbackup-server@g urbackup-server.service + sed -i 's,armhf,armhf|armh|armv7l,' 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.81988 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-server-2.5.33 + 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:9: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:9: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:9: the top level configure.ac:50: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:50: 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:50: the top level configure.ac:50: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:50: 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:50: the top level configure.ac:50: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:50: 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:50: the top level configure.ac:50: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:50: 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:50: the top level configure.ac:51: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:51: 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:51: the top level configure.ac:51: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:51: 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:51: the top level configure.ac:52: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:52: 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:52: the top level configure.ac:52: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:52: 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:52: the top level configure.ac:54: warning: The macro `AC_LANG_C' is obsolete. configure.ac:54: 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:54: the top level configure.ac:54: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:54: 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:54: the top level configure.ac:67: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:67: the top level configure.ac:75: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:75: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:75: the top level configure.ac:85: warning: The macro `AC_LANG_C' is obsolete. configure.ac:85: 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:85: the top level configure.ac:136: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:136: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/libcurl.m4:38: LIBCURL_CHECK_CONFIG is expanded from... configure.ac:136: 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 find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + 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 --enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lua --without-embedded-lmdb 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 whether UID '1305' is supported by ustar format... yes checking whether GID '1305' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar 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 whether the compiler implements namespaces... yes 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 sstream... yes checking whether the STL defines stringstream... yes checking for strstream... yes checking whether the STL defines strstream... yes 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 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 linux/fiemap.h... yes checking for sys/random.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 C++ compiler accepts -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIE... yes checking whether the linker accepts -Wl,-z,relro... yes 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 for operating system... 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 gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 8.11.1 checking for libcurl >= version 7.20.0... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for SQLite3 library >= 3.8.7.0... yes grep: warning: stray \ before " checking for a sed that does not truncate output... /usr/bin/sed checking for a Lua interpreter with version >= 5.3... lua checking for lua... /usr/bin/lua checking for lua version... 5.4 checking for lua platform... unknown checking for lua script directory... ${prefix}/share/lua/5.4 checking for lua module directory... ${exec_prefix}/lib64/lua/5.4 checking if LUA_VERSION is defined... yes checking for lua.h... yes checking for lualib.h... yes checking for lauxlib.h... yes checking for luaconf.h... yes checking for Lua header version... 5.4 checking if Lua header version matches 5.4... yes checking if LUA_VERSION is defined... yes checking for library containing exp... none required checking for library containing dlopen... none required checking for library containing lua_load... -llua-5.4 checking for library containing mdb_env_set_mapsize... -llmdb checking for lmdb.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... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for fuse >= 2.8.0... yes checking for library containing clock_gettime... none required 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-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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; | ^~~~~~~~ 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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ChunkPatcher.o `test -f 'urbackupserver/ChunkPatcher.cpp' || echo './'`urbackupserver/ChunkPatcher.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/ChunkPatcher.h:4, from urbackupserver/ChunkPatcher.cpp:19: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/ChunkPatcher.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ChunkPatcher.cpp:22: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/ExtentIterator.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ChunkPatcher.cpp: In member function 'void ChunkPatcher::nextChunkPatcherBytes(int64, const char*, size_t, bool, bool)': urbackupserver/ChunkPatcher.cpp:512:47: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int64' {aka 'long long int'} [-Wsign-compare] 512 | if (pos + bsize_to_checkpoint == next_checkpoint) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-shutdown.o `test -f 'urbackupserver/serverinterface/shutdown.cpp' || echo './'`urbackupserver/serverinterface/shutdown.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/shutdown.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/fileclient/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-snapshot_helper.o `test -f 'urbackupserver/snapshot_helper.cpp' || echo './'`urbackupserver/snapshot_helper.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/snapshot_helper.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/snapshot_helper.cpp:23: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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()) | ~~~^~~~~~~~~~~ urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-InternetServiceConnector.o `test -f 'urbackupserver/InternetServiceConnector.cpp' || echo './'`urbackupserver/InternetServiceConnector.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/InternetServiceConnector.cpp:29: urbackupserver/../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 urbackupserver/InternetServiceConnector.h:6, from urbackupserver/InternetServiceConnector.cpp:19: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/InternetServiceConnector.cpp:20: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/InternetServiceConnector.cpp:28: urbackupserver/../urbackupcommon/CompressedPipe2.h: At global scope: urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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 urbackupserver/InternetServiceConnector.cpp:33: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/serverinterface/login.h:3, from urbackupserver/InternetServiceConnector.cpp:35: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-FileIndex.o `test -f 'urbackupserver/FileIndex.cpp' || echo './'`urbackupserver/FileIndex.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/FileIndex.h:9, from urbackupserver/FileIndex.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_archive.o `test -f 'urbackupserver/server_archive.cpp' || echo './'`urbackupserver/server_archive.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_archive.cpp:23: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_archive.cpp:26: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_archive.cpp: In member function 'virtual void ServerAutomaticArchive::operator()()': urbackupserver/server_archive.cpp:51:9: warning: deleting object of polymorphic class type 'ServerAutomaticArchive' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 51 | delete this; | ^~~~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-LMDBFileIndex.o `test -f 'urbackupserver/LMDBFileIndex.cpp' || echo './'`urbackupserver/LMDBFileIndex.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/FileIndex.h:9, from urbackupserver/LMDBFileIndex.h:8, from urbackupserver/LMDBFileIndex.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.h: At global scope: urbackupserver/LMDBFileIndex.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr read_transaction_lock; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/LMDBFileIndex.h:10: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/LMDBFileIndex.cpp:29: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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()) | ~~~^~~~~~~~~~~ urbackupserver/LMDBFileIndex.h: In constructor 'LMDBFileIndex::LMDBFileIndex(bool)': urbackupserver/LMDBFileIndex.h:77:14: warning: 'LMDBFileIndex::_has_error' will be initialized after [-Wreorder] 77 | bool _has_error; | ^~~~~~~~~~ urbackupserver/LMDBFileIndex.h:76:18: warning: 'MDB_txn* LMDBFileIndex::txn' [-Wreorder] 76 | MDB_txn *txn; | ^~~ urbackupserver/LMDBFileIndex.cpp:63:1: warning: when initialized here [-Wreorder] 63 | LMDBFileIndex::LMDBFileIndex(bool no_sync) | ^~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.h:76:18: warning: 'LMDBFileIndex::txn' will be initialized after [-Wreorder] 76 | MDB_txn *txn; | ^~~ urbackupserver/LMDBFileIndex.h:63:16: warning: 'size_t LMDBFileIndex::map_size' [-Wreorder] 63 | size_t map_size; | ^~~~~~~~ urbackupserver/LMDBFileIndex.cpp:63:1: warning: when initialized here [-Wreorder] 63 | LMDBFileIndex::LMDBFileIndex(bool no_sync) | ^~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'bool LMDBFileIndex::create_env()': urbackupserver/LMDBFileIndex.cpp:504:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 504 | std::auto_ptr lmdb_f(Server->openFile("urbackup/fileindex/backup_server_files_index.lmdb", MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/LMDBFileIndex.cpp: In member function 'virtual int64 LMDBFileIndex::get_any_client(const FileIndex::SIndexKey&)': urbackupserver/LMDBFileIndex.cpp:607:20: warning: unused variable 'curr_key' [-Wunused-variable] 607 | SIndexKey* curr_key = reinterpret_cast(mdb_tkey.mv_data); | ^~~~~~~~ urbackupserver/../Interface/File.h: At global scope: urbackupserver/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-create_files_index.o `test -f 'urbackupserver/create_files_index.cpp' || echo './'`urbackupserver/create_files_index.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/create_files_index.cpp:22: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/create_files_index.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/LMDBFileIndex.h:8, from urbackupserver/create_files_index.cpp:25: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/LMDBFileIndex.h: At global scope: urbackupserver/LMDBFileIndex.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr read_transaction_lock; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/create_files_index.cpp:28: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ urbackupserver/create_files_index.cpp: In function 'bool {anonymous}::create_files_index_common(FileIndex&, SStartupStatus&)': urbackupserver/create_files_index.cpp:193:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 193 | std::auto_ptr db_file(Server->openFile("urbackup/backup_server_files_new.db", MODE_RW)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-filedownload.o `test -f 'urbackupserver/filedownload.cpp' || echo './'`urbackupserver/filedownload.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/filedownload.cpp:21: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/filedownload.cpp:23: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/filedownload.h:1, from urbackupserver/filedownload.cpp:29: urbackupserver/../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; | ^~~~~~~~ urbackupserver/filedownload.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr fc_chunked; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/filedownload.h:66:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 66 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/filedownload.cpp:31: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/filedownload.h: In constructor 'FileDownload::FileDownload(std::string, unsigned int)': urbackupserver/filedownload.h:65:42: warning: 'FileDownload::fc_chunked' will be initialized after [-Wreorder] 65 | std::auto_ptr fc_chunked; | ^~~~~~~~~~ urbackupserver/filedownload.h:59:21: warning: 'std::string FileDownload::m_servername' [-Wreorder] 59 | std::string m_servername; | ^~~~~~~~~~~~ urbackupserver/filedownload.cpp:422:1: warning: when initialized here [-Wreorder] 422 | FileDownload::FileDownload( std::string servername, unsigned int tcpport ) | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-livelog.o `test -f 'urbackupserver/serverinterface/livelog.cpp' || echo './'`urbackupserver/serverinterface/livelog.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/livelog.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-start_backup.o `test -f 'urbackupserver/serverinterface/start_backup.cpp' || echo './'`urbackupserver/serverinterface/start_backup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/start_backup.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/start_backup.cpp:21: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/serverinterface/start_backup.cpp: In member function 'virtual void Actions::start_backup::Execute(str_map&, str_map&, THREAD_ID, str_map&)': urbackupserver/serverinterface/start_backup.cpp:49:20: warning: unused variable 'db' [-Wunused-variable] 49 | IDatabase *db=helper.getDatabase(); | ^~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-create_zip.o `test -f 'urbackupserver/serverinterface/create_zip.cpp' || echo './'`urbackupserver/serverinterface/create_zip.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/create_zip.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/backups.h:3, from urbackupserver/serverinterface/create_zip.cpp:24: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupserver/serverinterface/create_zip.cpp: In function 'bool {anonymous}::add_dir(mz_zip_archive&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, const std::vector&, const std::vector >&, bool)': urbackupserver/serverinterface/create_zip.cpp:282:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 282 | std::auto_ptr add_file(Server->openFile(os_file_prefix(filename), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/create_zip.cpp:25: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-export_auth_log.o `test -f 'urbackupserver/apps/export_auth_log.cpp' || echo './'`urbackupserver/apps/export_auth_log.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/../serverinterface/login.h:3, from urbackupserver/apps/export_auth_log.cpp:21: urbackupserver/apps/../serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/apps/../serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/apps/export_auth_log.cpp:22: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-check_files_index.o `test -f 'urbackupserver/apps/check_files_index.cpp' || echo './'`urbackupserver/apps/check_files_index.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/check_files_index.cpp:20: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../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 urbackupserver/apps/check_files_index.cpp:26: urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/apps/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/apps/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/check_files_index.cpp: In function 'int check_files_index()': urbackupserver/apps/check_files_index.cpp:63:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 63 | std::auto_ptr fileindex(create_lmdb_files_index()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-verify_hashes.o `test -f 'urbackupserver/verify_hashes.cpp' || echo './'`urbackupserver/verify_hashes.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/verify_hashes.cpp:21: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/verify_hashes.cpp:24: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/server_hash.h:10, from urbackupserver/verify_hashes.cpp:34: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/verify_hashes.cpp:27: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/verify_hashes.cpp:35: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ urbackupserver/verify_hashes.cpp: In function 'bool verify_file(db_single_result&, _i64&, _i64, bool&, const std::string&)': urbackupserver/verify_hashes.cpp:129:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 129 | std::auto_ptr f(Server->openFile(os_file_prefix(fp), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/verify_hashes.cpp: In function 'bool verify_hashes(std::string)': urbackupserver/verify_hashes.cpp:480:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 480 | std::auto_ptr fileindex(create_lmdb_files_index()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/verify_hashes.cpp:243:13: warning: unused variable 'backupid' [-Wunused-variable] 243 | int backupid=0; | ^~~~~~~~ urbackupserver/verify_hashes.cpp:371:14: warning: unused variable 'crowid' [-Wunused-variable] 371 | _i64 crowid=0; | ^~~~~~ urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_dir_links.o `test -f 'urbackupserver/server_dir_links.cpp' || echo './'`urbackupserver/server_dir_links.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_dir_links.cpp:19: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_dir_links.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_dir_links.cpp:23: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_dir_links.cpp:26: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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()) | ~~~^~~~~~~~~~~ urbackupserver/server_dir_links.cpp: At global scope: urbackupserver/server_dir_links.cpp:361:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | std::auto_ptr& synchronous_link_dao, bool with_transaction) | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_dir_links.cpp: In function 'bool remove_directory_link(const std::string&, ServerLinkDao&, int, std::auto_ptr&, bool)': urbackupserver/server_dir_links.cpp:444:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 444 | std::auto_ptr dir_f(Server->openFile(os_file_prefix(ExtractFilePath(path, os_file_sep())), mode)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_dir_links.cpp: At global scope: urbackupserver/server_dir_links.cpp:473:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 473 | std::auto_ptr synchronous_link_dao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/dao/urbackupsrv-ServerBackupDao.o `test -f 'urbackupserver/dao/ServerBackupDao.cpp' || echo './'`urbackupserver/dao/ServerBackupDao.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/dao/ServerBackupDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ServerDownloadThreadGroup.o `test -f 'urbackupserver/ServerDownloadThreadGroup.cpp' || echo './'`urbackupserver/ServerDownloadThreadGroup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/ServerDownloadThread.h:12, from urbackupserver/ServerDownloadThreadGroup.h:3, from urbackupserver/ServerDownloadThreadGroup.cpp:1: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ServerDownloadThread.h:15: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/ServerDownloadThread.h:16: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:17: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | IdRange() | ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:145:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> ServerDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThreadGroup.cpp: In constructor 'ServerDownloadThreadGroup::ServerDownloadThreadGroup(FileClient&, FileClientChunked*, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, int, const std::string&, const std::string&, bool, const std::string&, const std::string&, bool, int, bool, IPipe*, ClientMain*, int, int, logid_t, bool, const std::vector >&, bool, server::FileMetadataDownloadThread*, bool, size_t, ServerSettings*, bool, FilePathCorrections&, MaxFileId&)': urbackupserver/ServerDownloadThreadGroup.cpp:44:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 44 | std::auto_ptr new_fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThreadGroup.cpp: In destructor 'ServerDownloadThreadGroup::~ServerDownloadThreadGroup()': urbackupserver/ServerDownloadThreadGroup.cpp:92:17: warning: deleting object of polymorphic class type 'ServerDownloadThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 92 | delete dl_thread.dl_thread; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ThrottleUpdater.o `test -f 'urbackupserver/ThrottleUpdater.cpp' || echo './'`urbackupserver/ThrottleUpdater.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-Backup.o `test -f 'urbackupserver/Backup.cpp' || echo './'`urbackupserver/Backup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Backup.h:6, from urbackupserver/Backup.cpp:19: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/Backup.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:25: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/Backup.cpp:26: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Backup.cpp:29: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/Backup.cpp: In member function 'virtual void {anonymous}::DelayedWakeup::operator()()': urbackupserver/Backup.cpp:49:25: warning: deleting object of polymorphic class type '{anonymous}::DelayedWakeup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 49 | delete this; | ^~~~~~~~~~~ urbackupserver/Backup.h: In constructor 'Backup::Backup(ClientMain*, int, std::string, std::string, LogAction, bool, bool, std::string, std::string, bool)': urbackupserver/Backup.h:115:14: warning: 'Backup::r_incremental' will be initialized after [-Wreorder] 115 | bool r_incremental; | ^~~~~~~~~~~~~ urbackupserver/Backup.h:114:14: warning: 'bool Backup::r_resumed' [-Wreorder] 114 | bool r_resumed; | ^~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:122:14: warning: 'Backup::backup_result' will be initialized after [-Wreorder] 122 | bool backup_result; | ^~~~~~~~~~~~~ urbackupserver/Backup.h:109:14: warning: 'bool Backup::log_backup' [-Wreorder] 109 | bool log_backup; | ^~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:116:14: warning: 'Backup::should_backoff' will be initialized after [-Wreorder] 116 | bool should_backoff; | ^~~~~~~~~~~~~~ urbackupserver/Backup.h:105:20: warning: 'IDatabase* Backup::db' [-Wreorder] 105 | IDatabase* db; | ^~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:125:16: warning: 'Backup::status_id' will be initialized after [-Wreorder] 125 | size_t status_id; | ^~~~~~~~~ urbackupserver/Backup.h:112:14: warning: 'bool Backup::has_timeout_error' [-Wreorder] 112 | bool has_timeout_error; | ^~~~~~~~~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:129:21: warning: 'Backup::server_token' will be initialized after [-Wreorder] 129 | std::string server_token; | ^~~~~~~~~~~~ urbackupserver/Backup.h:120:21: warning: 'std::string Backup::details' [-Wreorder] 120 | std::string details; | ^~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:120:21: warning: 'Backup::details' will be initialized after [-Wreorder] 120 | std::string details; | ^~~~~~~ urbackupserver/Backup.h:117:16: warning: 'size_t Backup::num_issues' [-Wreorder] 117 | size_t num_issues; | ^~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:131:14: warning: 'Backup::stop_backup_running' will be initialized after [-Wreorder] 131 | bool stop_backup_running; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/Backup.h:118:14: warning: 'bool Backup::scheduled' [-Wreorder] 118 | bool scheduled; | ^~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.h:118:14: warning: 'Backup::scheduled' will be initialized after [-Wreorder] 118 | bool scheduled; | ^~~~~~~~~ urbackupserver/Backup.h:111:14: warning: 'bool Backup::allow_remove_backup_folder' [-Wreorder] 111 | bool allow_remove_backup_folder; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/Backup.cpp:57:1: warning: when initialized here [-Wreorder] 57 | Backup::Backup(ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, | ^~~~~~ urbackupserver/Backup.cpp: In member function 'virtual void Backup::operator()()': urbackupserver/Backup.cpp:121:14: warning: unused variable 'do_log' [-Wunused-variable] 121 | bool do_log = false; | ^~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ServerDownloadThread.o `test -f 'urbackupserver/ServerDownloadThread.cpp' || echo './'`urbackupserver/ServerDownloadThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/ServerDownloadThread.h:12, from urbackupserver/ServerDownloadThread.cpp:22: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ServerDownloadThread.h:15: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13, from urbackupserver/ServerDownloadThread.h:16: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThread.h:17: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | IdRange() | ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:145:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> ServerDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/ServerDownloadThread.cpp:30: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/ServerDownloadThread.cpp:31: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor 'ServerDownloadThread::ServerDownloadThread(FileClient&, FileClientChunked*, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, int, const std::string&, const std::string&, bool, const std::string&, const std::string&, bool, int, bool, IPipe*, ClientMain*, int, int, logid_t, bool, const std::vector >&, bool, server::FileMetadataDownloadThread*, bool, size_t, FilePathCorrections&, MaxFileId&, ActiveDlIds&)': urbackupserver/ServerDownloadThread.h:327:16: warning: 'ServerDownloadThread::max_ok_id' will be initialized after [-Wreorder] 327 | size_t max_ok_id; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:317:14: warning: 'bool ServerDownloadThread::is_offline' [-Wreorder] 317 | bool is_offline; | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:317:14: warning: 'ServerDownloadThread::is_offline' will be initialized after [-Wreorder] 317 | bool is_offline; | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h:312:21: warning: 'ClientMain* ServerDownloadThread::client_main' [-Wreorder] 312 | ClientMain* client_main; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:324:14: warning: 'ServerDownloadThread::all_downloads_ok' will be initialized after [-Wreorder] 324 | bool all_downloads_ok; | ^~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:315:13: warning: 'int ServerDownloadThread::incremental_num' [-Wreorder] 315 | int incremental_num; | ^~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:337:17: warning: 'ServerDownloadThread::logid' will be initialized after [-Wreorder] 337 | logid_t logid; | ^~~~~ urbackupserver/ServerDownloadThread.h:318:14: warning: 'bool ServerDownloadThread::has_timeout' [-Wreorder] 318 | bool has_timeout; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:330:14: warning: 'ServerDownloadThread::with_hashes' will be initialized after [-Wreorder] 330 | bool with_hashes; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:329:14: warning: 'bool ServerDownloadThread::with_metadata' [-Wreorder] 329 | bool with_metadata; | ^~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:341:14: warning: 'ServerDownloadThread::with_sparse_hashing' will be initialized after [-Wreorder] 341 | bool with_sparse_hashing; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:319:14: warning: 'bool ServerDownloadThread::exp_backoff' [-Wreorder] 319 | bool exp_backoff; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:355:16: warning: 'ServerDownloadThread::tmpfile_num' will be initialized after [-Wreorder] 355 | size_t tmpfile_num; | ^~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:344:30: warning: 'FilePathCorrections& ServerDownloadThread::filepath_corrections' [-Wreorder] 344 | FilePathCorrections& filepath_corrections; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp:45:1: warning: when initialized here [-Wreorder] 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.cpp: In member function '{anonymous}::SPatchDownloadFiles ServerDownloadThread::preparePatchDownloadFiles(const {anonymous}::SQueueItem&, bool&)': urbackupserver/ServerDownloadThread.cpp:1337:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1337 | std::auto_ptr file_old(Server->openFile(os_file_prefix(filepath_old), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.cpp:1376:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1376 | std::auto_ptr hashfile_old(Server->openFile(os_file_prefix(hashpath_old), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.cpp: In member function 'bool ServerDownloadThread::logScriptOutput(std::string, const {anonymous}::SQueueItem&, std::string&, int64, bool&)': urbackupserver/ServerDownloadThread.cpp:1824:78: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1824 | std::auto_ptr touch_file(Server->openFile(os_file_prefix(backuppath + os_path), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; | ^~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ImageBackup.o `test -f 'urbackupserver/ImageBackup.cpp' || echo './'`urbackupserver/ImageBackup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Backup.h:6, from urbackupserver/ImageBackup.h:2, from urbackupserver/ImageBackup.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/Backup.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | 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 urbackupserver/FileIndex.h:9, from urbackupserver/server_update_stats.h:4, from urbackupserver/ImageBackup.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_update_stats.h: At global scope: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:24: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/bufmgr.h:6, from urbackupserver/server_writer.h:4, from urbackupserver/ImageBackup.cpp:27: urbackupserver/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/ImageBackup.cpp:31: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ImageBackup.cpp:40: urbackupserver/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const std::string&)': urbackupserver/../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)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.h: In constructor 'ImageBackup::ImageBackup(ClientMain*, int, std::string, std::string, LogAction, bool, std::string, std::string, std::string, bool, int64, std::string, int64, bool)': urbackupserver/ImageBackup.h:80:27: warning: 'ImageBackup::pingthread_ticket' will be initialized after [-Wreorder] 80 | THREADPOOL_TICKET pingthread_ticket; | ^~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.h:69:21: warning: 'std::string ImageBackup::letter' [-Wreorder] 69 | std::string letter; | ^~~~~~ urbackupserver/ImageBackup.cpp:112:1: warning: when initialized here [-Wreorder] 112 | ImageBackup::ImageBackup(ClientMain* client_main, int clientid, std::string clientname, | ^~~~~~~~~~~ urbackupserver/ImageBackup.h:75:13: warning: 'ImageBackup::backupid' will be initialized after [-Wreorder] 75 | int backupid; | ^~~~~~~~ urbackupserver/ImageBackup.h:73:14: warning: 'bool ImageBackup::not_found' [-Wreorder] 73 | bool not_found; | ^~~~~~~~~ urbackupserver/ImageBackup.cpp:112:1: warning: when initialized here [-Wreorder] 112 | ImageBackup::ImageBackup(ClientMain* client_main, int clientid, std::string clientname, | ^~~~~~~~~~~ urbackupserver/ImageBackup.cpp: In member function 'bool ImageBackup::doImage(const std::string&, const std::string&, int, int, bool, std::string, bool, bool)': urbackupserver/ImageBackup.cpp:391:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 391 | std::auto_ptr mbr_file(Server->openFile(os_file_prefix(imagefn + ".mbr"), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:423:31: warning: unused variable 'full_backup_starttime' [-Wunused-variable] 423 | int64 full_backup_starttime = Server->getTimeMS(); | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:595:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 595 | std::auto_ptr hashfile(Server->openFile(os_file_prefix(pParentvhd + ".hash"))); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:604:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | std::auto_ptr prevbitmap; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:679:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 679 | std::auto_ptr bitmap_file; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:874:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 874 | std::auto_ptr prevbitmap; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:1580:65: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1580 | delete vhdfile; | ^~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1592:70: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1592 | std::auto_ptr sync_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:1674:66: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare] 1674 | currblock==0xFFFFFFFFFFFFFFFFLLU) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1701:65: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1701 | delete vhdfile; | ^~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:1915:17: warning: deleting object of polymorphic class type 'ServerVHDWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1915 | delete vhdfile; | ^~~~~~~~~~~~~~ urbackupserver/ImageBackup.cpp:665:14: warning: unused variable 'first' [-Wunused-variable] 665 | bool first=true; | ^~~~~ urbackupserver/ImageBackup.cpp: In member function 'std::string ImageBackup::constructImagePath(const std::string&, std::string, std::string)': urbackupserver/ImageBackup.cpp:2302:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2302 | std::auto_ptr touch_f(Server->openFile(image_folder, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:2387:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2387 | std::auto_ptr touch_f(Server->openFile(image_folder, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageBackup.cpp:2448:43: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 2448 | if (free_space != -1 && free_space: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/ContinuousBackup.h:2, from urbackupserver/ContinuousBackup.cpp:19: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/Backup.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ContinuousBackup.cpp:20: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThreadGroup.h:3, from urbackupserver/server_continuous.h:17, from urbackupserver/ContinuousBackup.cpp:21: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | IdRange() | ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:145:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> ServerDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/server_continuous.h:702:39: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | bool constructFileClient(std::auto_ptr& new_fc) | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:933:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 933 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:935:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 935 | std::auto_ptr fileclient_chunked; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:936:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 936 | std::auto_ptr fileclient; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:937:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 937 | std::auto_ptr fileclient_metadata; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:939:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 939 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:941:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 941 | std::auto_ptr server_download; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:950:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 950 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:951:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 951 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:952:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 952 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h: In constructor 'BackupServerContinuous::BackupServerContinuous(ClientMain*, const std::string&, const std::string&, const std::string&, const std::string&, bool, int, const std::string&, int, bool, bool, IPipe*)': urbackupserver/server_continuous.h:930:13: warning: 'BackupServerContinuous::backupid' will be initialized after [-Wreorder] 930 | int backupid; | ^~~~~~~~ urbackupserver/server_continuous.h:925:14: warning: 'bool BackupServerContinuous::use_snapshots' [-Wreorder] 925 | bool use_snapshots; | ^~~~~~~~~~~~~ urbackupserver/server_continuous.h:68:9: warning: when initialized here [-Wreorder] 68 | BackupServerContinuous(ClientMain* client_main, const std::string& continuous_path, const std::string& continuous_hash_path, const std::string& continuous_path_backup, | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_continuous.h: In member function 'virtual void BackupServerContinuous::operator()()': urbackupserver/server_continuous.h:180:17: warning: deleting object of polymorphic class type 'BackupServerContinuous' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 180 | delete this; | ^~~~~~~~~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execAddFile(SChange&)': urbackupserver/server_continuous.h:652:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 652 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execMod(SChange&)': urbackupserver/server_continuous.h:727:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 727 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1))); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ContinuousBackup.cpp: In member function 'virtual bool ContinuousBackup::doFileBackup()': urbackupserver/ContinuousBackup.cpp:45:14: warning: variable 'intra_file_diffs' set but not used [-Wunused-but-set-variable] 45 | bool intra_file_diffs; | ^~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; | ^~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/FileMetadataDownloadThread.h:4: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-FullFileBackup.o `test -f 'urbackupserver/FullFileBackup.cpp' || echo './'`urbackupserver/FullFileBackup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/FullFileBackup.h:3, from urbackupserver/FullFileBackup.cpp:19: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/Backup.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FullFileBackup.cpp:24: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThreadGroup.h:3, from urbackupserver/FullFileBackup.cpp:29: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | IdRange() | ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:145:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> ServerDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/FullFileBackup.cpp: In member function 'virtual bool FullFileBackup::doFileBackup()': urbackupserver/FullFileBackup.cpp:226:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 226 | std::auto_ptr server_download(new ServerDownloadThreadGroup(fc, NULL, backuppath, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:520:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 520 | std::auto_ptr touch_file(Server->openFile(os_file_prefix(touch_path), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:913:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 913 | std::auto_ptr sync_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:199:14: warning: unused variable 'filelist_size' [-Wunused-variable] 199 | _i64 filelist_size=tmp_filelist->Size(); | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-FileBackup.o `test -f 'urbackupserver/FileBackup.cpp' || echo './'`urbackupserver/FileBackup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/FileBackup.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/Backup.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:19: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:33: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.cpp:34: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../utf8/utf8.h:31, from urbackupserver/FileBackup.cpp:38: urbackupserver/../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_construct.h:61, from /usr/include/c++/14/bits/stl_tempbuf.h:61, from /usr/include/c++/14/memory:66: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from urbackupserver/../utf8/utf8.h:32: urbackupserver/../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 | ^~~~~~~~ urbackupserver/FileBackup.h: In constructor 'FileBackup::FileBackup(ClientMain*, int, std::string, std::string, LogAction, bool, int, bool, std::string, bool, bool, std::string, std::string, bool)': urbackupserver/FileBackup.h:285:14: warning: 'FileBackup::disk_error' will be initialized after [-Wreorder] 285 | bool disk_error; | ^~~~~~~~~~ urbackupserver/FileBackup.h:259:14: warning: 'bool FileBackup::with_hashes' [-Wreorder] 259 | bool with_hashes; | ^~~~~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, | ^~~~~~~~~~ urbackupserver/FileBackup.h:287:13: warning: 'FileBackup::backupid' will be initialized after [-Wreorder] 287 | int backupid; | ^~~~~~~~ urbackupserver/FileBackup.h:267:16: warning: 'IPipe* FileBackup::hashpipe' [-Wreorder] 267 | IPipe *hashpipe; | ^~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, | ^~~~~~~~~~ urbackupserver/FileBackup.h:279:27: warning: 'FileBackup::pingthread_ticket' will be initialized after [-Wreorder] 279 | THREADPOOL_TICKET pingthread_ticket; | ^~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:260:14: warning: 'bool FileBackup::cdp_path' [-Wreorder] 260 | bool cdp_path; | ^~~~~~~~ urbackupserver/FileBackup.cpp:51:1: warning: when initialized here [-Wreorder] 51 | FileBackup::FileBackup( ClientMain* client_main, int clientid, std::string clientname, std::string clientsubname, LogAction log_action, | ^~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::request_filelist_construct(bool, bool, int, bool, bool&, bool&, const std::string&)': urbackupserver/FileBackup.cpp:193:14: warning: variable 'async_index' set but not used [-Wunused-but-set-variable] 193 | bool async_index = false; | ^~~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::wait_for_async(const std::string&, int64)': urbackupserver/FileBackup.cpp:399:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 399 | std::auto_ptr cc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::getTokenFile(FileClient&, bool, bool)': urbackupserver/FileBackup.cpp:555:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 555 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function '_i64 FileBackup::getIncrementalSize(IFile*, const std::vector&, bool&, bool)': urbackupserver/FileBackup.cpp:635:13: warning: unused variable 'indir_curr_depth' [-Wunused-variable] 635 | int indir_curr_depth=0; | ^~~~~~~~~~~~~~~~ urbackupserver/FileBackup.cpp: In static member function 'static std::string FileBackup::fixFilenameForOS(std::string, std::set >&, const std::string&, bool, logid_t, FilePathCorrections&)': urbackupserver/FileBackup.cpp:1033:53: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 1033 | if (ch & utf8_start == utf8_start) | ~~~~~~~~~~~^~~~~~~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'std::string FileBackup::getSHADef(const std::string&)': urbackupserver/FileBackup.cpp:1510:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1510 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::constructBackupPath(bool, bool, std::string&)': urbackupserver/FileBackup.cpp:1582:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1582 | std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::createUserViews(IFile*)': urbackupserver/FileBackup.cpp:1690:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1690 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::saveUsersOnClient()': urbackupserver/FileBackup.cpp:2102:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2102 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startFileMetadataDownloadThread()': urbackupserver/FileBackup.cpp:2252:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2252 | std::auto_ptr fc_metadata_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopFileMetadataDownloadThread(bool, size_t)': urbackupserver/FileBackup.cpp:2319:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2319 | std::auto_ptr fc_metadata_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::loadWindowsBackupComponentConfigXml(FileClient&)': urbackupserver/FileBackup.cpp:2435:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2435 | std::auto_ptr component_config_xml(Server->openFile(os_file_prefix(component_config_dir+os_file_sep()+"backupcom.xml"), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startPhashDownloadThread(const std::string&)': urbackupserver/FileBackup.cpp:2455:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2455 | std::auto_ptr fc_phash_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopPhashDownloadThread(const std::string&)': urbackupserver/FileBackup.cpp:2506:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2506 | std::auto_ptr fc_phash_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::save_debug_data(const std::string&, const std::string&, const std::string&)': urbackupserver/FileBackup.cpp:2558:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2558 | std::auto_ptr tmpfile(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp:2564:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2564 | std::auto_ptr output_file(Server->openFile(tmpdirname+os_file_sep()+"verify_failed.file", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; | ^~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-restore_client.o `test -f 'urbackupserver/restore_client.cpp' || echo './'`urbackupserver/restore_client.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:5, from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/restore_client.cpp:19: urbackupserver/serverinterface/../../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:6: urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:21: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/restore_client.cpp:24: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/restore_client.cpp:25: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/restore_client.cpp: In member function 'virtual IFile* {anonymous}::MetadataCallback::getMetadata(const std::string&, std::string*, int64*, int64*, _u32*, bool)': urbackupserver/restore_client.cpp:111:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 111 | std::auto_ptr metadata_file(Server->openFile(os_file_prefix(metadata_path), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/restore_client.cpp:196:46: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] 196 | if (m_length <= sizeof(int64) ) | ~~~~~~~~~^~~~~~~~~~~~~~~~ urbackupserver/restore_client.cpp: In constructor '{anonymous}::ClientDownloadThread::ClientDownloadThread(const std::string&, int, int, IFile*, const std::string&, const std::string&, const std::string&, bool, const std::string&, int64, size_t, logid_t, const std::string&, const std::string&, const std::vector, std::__cxx11::basic_string > >&, bool, bool, const std::string&, bool, int64, const std::vector >&, backupaccess::STokens, bool)': urbackupserver/restore_client.cpp:618:29: warning: '{anonymous}::ClientDownloadThread::identity' will be initialized after [-Wreorder] 618 | std::string identity; | ^~~~~~~~ urbackupserver/restore_client.cpp:614:23: warning: 'int64 {anonymous}::ClientDownloadThread::restore_id' [-Wreorder] 614 | int64 restore_id; | ^~~~~~~~~~ urbackupserver/restore_client.cpp:227:17: warning: when initialized here [-Wreorder] 227 | ClientDownloadThread(const std::string& curr_clientname, int curr_clientid, int restore_clientid, IFile* filelist_f, const std::string& foldername, | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/restore_client.cpp: In member function 'bool {anonymous}::ClientDownloadThread::createFilelist(std::string, std::string, std::string, size_t, bool)': urbackupserver/restore_client.cpp:406:38: warning: unused variable 'has_metadata' [-Wunused-variable] 406 | bool has_metadata = false; | ^~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-IncrFileBackup.o `test -f 'urbackupserver/IncrFileBackup.cpp' || echo './'`urbackupserver/IncrFileBackup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/IncrFileBackup.h:3, from urbackupserver/IncrFileBackup.cpp:18: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/Backup.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:6: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileBackup.h:7: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/FileBackup.h:8: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/../urbackupcommon/file_metadata.h:6, from urbackupserver/FileBackup.h:10: urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../urbackupcommon/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../urbackupcommon/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:22: urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:25: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/IncrFileBackup.cpp:27: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ServerDownloadThreadGroup.h:3, from urbackupserver/IncrFileBackup.cpp:28: urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | IdRange() | ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:145:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> ServerDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/IncrFileBackup.cpp: In member function 'virtual bool IncrFileBackup::doFileBackup()': urbackupserver/IncrFileBackup.cpp:173:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 173 | std::auto_ptr fc_chunked; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:315:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 315 | std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:528:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 528 | std::auto_ptr server_download(new ServerDownloadThreadGroup(fc, fc_chunked.get(), backuppath, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:828:78: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 828 | std::auto_ptr link_dao_synchronous; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1177:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1177 | std::auto_ptr touch_file(Server->openFile(os_file_prefix(touch_path), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1490:24: warning: unused variable 'output_offset' [-Wunused-variable] 1490 | size_t output_offset=0; | ^~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp:1671:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1671 | std::auto_ptr sync_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1778:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1778 | std::auto_ptr sync_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:1824:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1824 | std::auto_ptr tf(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:553:14: warning: unused variable 'filelist_size' [-Wunused-variable] 553 | _i64 filelist_size=tmp_filelist->Size(); | ^~~~~~~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'bool IncrFileBackup::deleteFilesInSnapshot(std::string, const std::vector&, std::string, bool, bool, std::vector*)': urbackupserver/IncrFileBackup.cpp:1918:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1918 | std::auto_ptr tmp(Server->openFile(clientlist_fn, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp:2020:70: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2020 | std::auto_ptr tf(Server->openFile(os_file_prefix(curr_fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/IncrFileBackup.cpp: In member function 'void IncrFileBackup::addSparseFileEntry(std::string, SFile&, int, int, std::string, size_t&)': urbackupserver/IncrFileBackup.cpp:2140:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2140 | std::auto_ptr last_file(Server->openFile(os_file_prefix(backuppath+local_curr_os_path), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/dao/urbackupsrv-ServerFilesDao.o `test -f 'urbackupserver/dao/ServerFilesDao.cpp' || echo './'`urbackupserver/dao/ServerFilesDao.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/dao/ServerFilesDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-FileMetadataDownloadThread.o `test -f 'urbackupserver/FileMetadataDownloadThread.cpp' || echo './'`urbackupserver/FileMetadataDownloadThread.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/FileMetadataDownloadThread.h:2, from urbackupserver/FileMetadataDownloadThread.cpp:19: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/FileMetadataDownloadThread.h:4: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.h:11, from urbackupserver/FileMetadataDownloadThread.cpp:20: urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileMetadataDownloadThread.cpp:22: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/FileMetadataDownloadThread.cpp:27: urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h: In constructor 'server::FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient*, const std::string&, logid_t, int, int, bool, std::string)': urbackupserver/FileMetadataDownloadThread.h:125:17: warning: 'server::FileMetadataDownloadThread::logid' will be initialized after [-Wreorder] 125 | logid_t logid; | ^~~~~ urbackupserver/FileMetadataDownloadThread.h:121:14: warning: 'bool server::FileMetadataDownloadThread::has_error' [-Wreorder] 121 | bool has_error; | ^~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:132:13: warning: 'server::FileMetadataDownloadThread::backupid' will be initialized after [-Wreorder] 132 | int backupid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:127:15: warning: 'int64 server::FileMetadataDownloadThread::max_metadata_id' [-Wreorder] 127 | int64 max_metadata_id; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:133:13: warning: 'server::FileMetadataDownloadThread::clientid' will be initialized after [-Wreorder] 133 | int clientid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:122:14: warning: 'bool server::FileMetadataDownloadThread::has_fatal_error' [-Wreorder] 122 | bool has_fatal_error; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:35: warning: 'server::FileMetadataDownloadThread::cond' will be initialized after [-Wreorder] 145 | std::auto_ptr cond; | ^~~~ urbackupserver/FileMetadataDownloadThread.h:143:14: warning: 'bool server::FileMetadataDownloadThread::force_start' [-Wreorder] 143 | bool force_start; | ^~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:143:14: warning: 'server::FileMetadataDownloadThread::force_start' will be initialized after [-Wreorder] 143 | bool force_start; | ^~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:135:42: warning: 'FileClient::ProgressLogCallback* server::FileMetadataDownloadThread::orig_progress_log_callback' [-Wreorder] 135 | FileClient::ProgressLogCallback* orig_progress_log_callback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:38:1: warning: when initialized here [-Wreorder] 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h: In constructor 'server::FileMetadataDownloadThread::FileMetadataDownloadThread(const std::string&, std::string, int, int, bool, std::string)': urbackupserver/FileMetadataDownloadThread.h:132:13: warning: 'server::FileMetadataDownloadThread::backupid' will be initialized after [-Wreorder] 132 | int backupid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:127:15: warning: 'int64 server::FileMetadataDownloadThread::max_metadata_id' [-Wreorder] 127 | int64 max_metadata_id; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:48:1: warning: when initialized here [-Wreorder] 48 | FileMetadataDownloadThread::FileMetadataDownloadThread(const std::string& server_token, std::string metadata_tmp_fn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:133:13: warning: 'server::FileMetadataDownloadThread::clientid' will be initialized after [-Wreorder] 133 | int clientid; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:122:14: warning: 'bool server::FileMetadataDownloadThread::has_fatal_error' [-Wreorder] 122 | bool has_fatal_error; | ^~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:48:1: warning: when initialized here [-Wreorder] 48 | FileMetadataDownloadThread::FileMetadataDownloadThread(const std::string& server_token, std::string metadata_tmp_fn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'virtual void server::FileMetadataDownloadThread::operator()()': urbackupserver/FileMetadataDownloadThread.cpp:59:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 59 | std::auto_ptr tmp_f(ClientMain::getTemporaryFileRetry(use_tmpfiles, tmpfile_path, logid)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'bool server::FileMetadataDownloadThread::applyMetadata(const std::string&, const std::string&, INotEnoughSpaceCallback*, BackupServerHash*, FilePathCorrections&, size_t&, MaxFileId*)': urbackupserver/FileMetadataDownloadThread.cpp:99:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 99 | std::auto_ptr metadata_f(Server->openFile(metadata_tmp_fn, mode)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:359:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 359 | std::auto_ptr output_f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:719:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 719 | std::auto_ptr output_f(Server->openFile(os_file_prefix(os_path), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp:824:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 824 | std::auto_ptr tmp(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.cpp: In member function 'void server::FileMetadataDownloadThread::copyForAnalysis(IFile*)': urbackupserver/FileMetadataDownloadThread.cpp:1436:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1436 | std::auto_ptr tmp(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; | ^~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/dao/urbackupsrv-ServerLinkDao.o `test -f 'urbackupserver/dao/ServerLinkDao.cpp' || echo './'`urbackupserver/dao/ServerLinkDao.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/dao/ServerLinkDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/dao/urbackupsrv-ServerLinkJournalDao.o `test -f 'urbackupserver/dao/ServerLinkJournalDao.cpp' || echo './'`urbackupserver/dao/ServerLinkJournalDao.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/dao/ServerLinkJournalDao.cpp:21: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-skiphash_copy.o `test -f 'urbackupserver/apps/skiphash_copy.cpp' || echo './'`urbackupserver/apps/skiphash_copy.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:3, from urbackupserver/apps/skiphash_copy.cpp:3: urbackupserver/apps/../../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:5: urbackupserver/apps/../../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/apps/../../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 urbackupserver/apps/../../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 urbackupserver/apps/skiphash_copy.cpp:4: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/skiphash_copy.cpp: In function 'bool skiphash_copy(const std::string&, const std::string&, const std::string&)': urbackupserver/apps/skiphash_copy.cpp:12:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 12 | std::auto_ptr src(Server->openFile(os_file_prefix(src_path), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:20:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 20 | std::auto_ptr hashoutput(Server->openFile(os_file_prefix(dst_path+".hash"), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:30:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 30 | std::auto_ptr dst(Server->openFile(os_file_prefix(dst_path), MODE_RW)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/skiphash_copy.cpp:43:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 43 | std::auto_ptr hashinput; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/../../urbackupcommon/TreeHash.h:3, from urbackupserver/apps/../../urbackupcommon/chunk_hasher.h:6: urbackupserver/apps/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/apps/../../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-restore_prepare_wait.o `test -f 'urbackupserver/serverinterface/restore_prepare_wait.cpp' || echo './'`urbackupserver/serverinterface/restore_prepare_wait.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/restore_prepare_wait.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-DataplanDb.o `test -f 'urbackupserver/DataplanDb.cpp' || echo './'`urbackupserver/DataplanDb.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/DataplanDb.cpp:19: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/DataplanDb.h:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/DataplanDb.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-scripts.o `test -f 'urbackupserver/serverinterface/scripts.cpp' || echo './'`urbackupserver/serverinterface/scripts.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/scripts.cpp:18: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-copy_storage.o `test -f 'urbackupserver/copy_storage.cpp' || echo './'`urbackupserver/copy_storage.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/copy_storage.cpp:21: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/copy_storage.cpp:31: urbackupserver/server_dir_links.h: At global scope: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_dir_links.h:6: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/copy_storage.cpp:33: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-cmdline_preprocessor.o `test -f 'urbackupserver/cmdline_preprocessor.cpp' || echo './'`urbackupserver/cmdline_preprocessor.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../tclap/UnlabeledValueArg.h:30, from urbackupserver/../tclap/CmdLine.h:29, from urbackupserver/cmdline_preprocessor.cpp:18: urbackupserver/../tclap/ValueArg.h:243:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 243 | ValueArg(const ValueArg& rhs); | ^ urbackupserver/../tclap/ValueArg.h:243:19: note: remove the '< >' In file included from urbackupserver/../tclap/UnlabeledMultiArg.h:29, from urbackupserver/../tclap/CmdLine.h:30: urbackupserver/../tclap/MultiArg.h:228:20: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 228 | MultiArg(const MultiArg& rhs); | ^ urbackupserver/../tclap/MultiArg.h:228:20: note: remove the '< >' In file included from urbackupserver/cmdline_preprocessor.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/cmdline_preprocessor.cpp:25: urbackupserver/../Server.h: At global scope: urbackupserver/../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 urbackupserver/../Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'void read_config_file(std::string, std::vector >&)': urbackupserver/cmdline_preprocessor.cpp:144:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | 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; | ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:443:17: warning: deleting object of abstract class type 'IServer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 443 | delete Server; | ^~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'int action_mount_vhd(std::vector >)': urbackupserver/cmdline_preprocessor.cpp:994:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 994 | system("modprobe fuse"); | ~~~~~~^~~~~~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:1009:28: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 1009 | dup(i); | ~~~^~~ urbackupserver/cmdline_preprocessor.cpp:1010:28: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 1010 | dup(i); | ~~~^~~ In file included from urbackupserver/../LookupService.h:2, from urbackupserver/../Server.h:15: urbackupserver/../socket_header.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ImageMount.o `test -f 'urbackupserver/ImageMount.cpp' || echo './'`urbackupserver/ImageMount.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/ImageMount.cpp:3: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/ImageMount.cpp:9: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ImageMount.cpp:10: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_cleanup.h:11: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageMount.cpp: In constructor '{anonymous}::MountImageThread::MountImageThread(int, int, std::string&)': urbackupserver/ImageMount.cpp:432:21: warning: '{anonymous}::MountImageThread::partition' will be initialized after [-Wreorder] 432 | int partition; | ^~~~~~~~~ urbackupserver/ImageMount.cpp:431:30: warning: 'std::string& {anonymous}::MountImageThread::errmsg' [-Wreorder] 431 | std::string& errmsg; | ^~~~~~ urbackupserver/ImageMount.cpp:434:17: warning: when initialized here [-Wreorder] 434 | MountImageThread(int backupid, int partition, std::string& errmsg) | ^~~~~~~~~~~~~~~~ urbackupserver/ImageMount.cpp: In member function 'virtual void {anonymous}::MountImageThread::operator()()': urbackupserver/ImageMount.cpp:443:25: warning: deleting object of polymorphic class type '{anonymous}::MountImageThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 443 | delete this; | ^~~~~~~~~~~ urbackupserver/ImageMount.cpp: In static member function 'static void ImageMount::mount_image_thread(int, int, std::string&)': urbackupserver/ImageMount.cpp:745:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 745 | std::auto_ptr vhdfile; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ImageMount.cpp:763:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 763 | if (partition < partitions.size()) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-add_client.o `test -f 'urbackupserver/serverinterface/add_client.cpp' || echo './'`urbackupserver/serverinterface/add_client.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/add_client.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/add_client.cpp:2: urbackupserver/serverinterface/../../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../ClientMain.h:15: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/serverinterface/../ClientMain.h:18: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-PhashLoad.o `test -f 'urbackupserver/PhashLoad.cpp' || echo './'`urbackupserver/PhashLoad.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/PhashLoad.h:5, from urbackupserver/PhashLoad.cpp:1: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/PhashLoad.cpp:9: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/PhashLoad.h: In constructor 'PhashLoad::PhashLoad(FileClient*, logid_t, std::string)': urbackupserver/PhashLoad.h:40:15: warning: 'PhashLoad::phash_file_pos' will be initialized after [-Wreorder] 40 | int64 phash_file_pos; | ^~~~~~~~~~~~~~ urbackupserver/PhashLoad.h:39:18: warning: 'IFsFile* PhashLoad::phash_file' [-Wreorder] 39 | IFsFile* phash_file; | ^~~~~~~~~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] 16 | PhashLoad::PhashLoad(FileClient* fc, | ^~~~~~~~~ urbackupserver/PhashLoad.h:39:18: warning: 'PhashLoad::phash_file' will be initialized after [-Wreorder] 39 | IFsFile* phash_file; | ^~~~~~~~~~ urbackupserver/PhashLoad.h:35:14: warning: 'bool PhashLoad::eof' [-Wreorder] 35 | bool eof; | ^~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] 16 | PhashLoad::PhashLoad(FileClient* fc, | ^~~~~~~~~ urbackupserver/PhashLoad.h:35:14: warning: 'PhashLoad::eof' will be initialized after [-Wreorder] 35 | bool eof; | ^~~ urbackupserver/PhashLoad.h:34:14: warning: 'bool PhashLoad::has_timeout_error' [-Wreorder] 34 | bool has_timeout_error; | ^~~~~~~~~~~~~~~~~ urbackupserver/PhashLoad.cpp:16:1: warning: when initialized here [-Wreorder] 16 | PhashLoad::PhashLoad(FileClient* fc, | ^~~~~~~~~ urbackupserver/PhashLoad.cpp: In member function 'virtual void PhashLoad::operator()()': urbackupserver/PhashLoad.cpp:36:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 36 | std::auto_ptr phash_file_dl(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-restore_image.o `test -f 'urbackupserver/serverinterface/restore_image.cpp' || echo './'`urbackupserver/serverinterface/restore_image.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/restore_image.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/restore_image.cpp:3: urbackupserver/serverinterface/../server_channel.h: At global scope: urbackupserver/serverinterface/../server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::SessionKeepaliveThread* ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] 16 | class ServerChannelThread : public IThread | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::RestoreTokenKeepaliveThread* ServerChannelThread::restore_token_keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/serverinterface/restore_image.cpp:4: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-WebSocketConnector.o `test -f 'urbackupserver/WebSocketConnector.cpp' || echo './'`urbackupserver/WebSocketConnector.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/WebSocketConnector.cpp:2: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/WebSocketConnector.cpp:5: urbackupserver/../urbackupcommon/WebSocketPipe.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/WebSocketPipe.h:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-Alerts.o `test -f 'urbackupserver/Alerts.cpp' || echo './'`urbackupserver/Alerts.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/Alerts.cpp:6: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/Alerts.cpp:8: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/Alerts.cpp:10: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/Alerts.cpp: In member function 'virtual void Alerts::operator()()': urbackupserver/Alerts.cpp:178:14: warning: unused variable 'first_run' [-Wunused-variable] 178 | bool first_run = true; | ^~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-Mailer.o `test -f 'urbackupserver/Mailer.cpp' || echo './'`urbackupserver/Mailer.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/Mailer.cpp:5: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/Mailer.cpp:6: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/Mailer.cpp: In member function 'virtual void Mailer::operator()()': urbackupserver/Mailer.cpp:156:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 156 | if (n > max_mail_retry_count) | ~~^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-status_check.o `test -f 'urbackupserver/serverinterface/status_check.cpp' || echo './'`urbackupserver/serverinterface/status_check.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/status_check.cpp:1: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/status_check.cpp:2: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/status_check.cpp:3: urbackupserver/serverinterface/../../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../ClientMain.h:15: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status_check.cpp: In function 'std::string {anonymous}::access_dir_hint(std::string)': urbackupserver/serverinterface/status_check.cpp:72:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 72 | if (has_error && os_last_error() == 5 | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/status_check.cpp: In function 'void {anonymous}::access_dir_checks(IDatabase*, ServerSettings&, std::string, std::string, JSON::Object&)': urbackupserver/serverinterface/status_check.cpp:274:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr test_file(Server->openFile(test3_path, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status_check.cpp:330:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 330 | std::auto_ptr tmp_f(ClientMain::getTemporaryFileRetry(use_tmpfiles, tmpfile_path, logid_t())); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackup_snapshot_helper-os_functions_lin_min.o `test -f 'urbackupcommon/os_functions_lin_min.cpp' || echo './'`urbackupcommon/os_functions_lin_min.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/os_functions_lin_min.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/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-LogReport.o `test -f 'urbackupserver/LogReport.cpp' || echo './'`urbackupserver/LogReport.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/LogReport.cpp:5: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/LogReport.cpp:8: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/LogReport.cpp:10: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/LogReport.cpp:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackup_mount_helper-os_functions_lin_min.o `test -f 'urbackupcommon/os_functions_lin_min.cpp' || echo './'`urbackupcommon/os_functions_lin_min.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupcommon/os_functions_lin_min.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/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-blockalign.o `test -f 'urbackupserver/apps/blockalign.cpp' || echo './'`urbackupserver/apps/blockalign.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/blockalign.cpp:6: urbackupserver/apps/../../blockalign_src/main.cpp: In constructor 'HashDb::HashDb(std::string)': urbackupserver/apps/../../blockalign_src/main.cpp:257:13: warning: 'HashDb::hFile' will be initialized after [-Wreorder] 257 | int hFile; | ^~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:252:10: warning: 'int* HashDb::view' [-Wreorder] 252 | int* view; | ^~~~ urbackupserver/apps/../../blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:252:10: warning: 'HashDb::view' will be initialized after [-Wreorder] 252 | int* view; | ^~~~ urbackupserver/apps/../../blockalign_src/main.cpp:251:10: warning: 'bool HashDb::has_error' [-Wreorder] 251 | bool has_error; | ^~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:108:5: warning: when initialized here [-Wreorder] 108 | HashDb(std::string fn) | ^~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp: In constructor 'BlockMap::BlockMap(std::string, int64_t)': urbackupserver/apps/../../blockalign_src/main.cpp:420:13: warning: 'BlockMap::hFile' will be initialized after [-Wreorder] 420 | int hFile; | ^~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:415:11: warning: 'char* BlockMap::view_start' [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | BlockMap(std::string fn, int64_t bm_size) | ^~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:415:11: warning: 'BlockMap::view_start' will be initialized after [-Wreorder] 415 | char* view_start; | ^~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:413:10: warning: 'bool BlockMap::has_error' [-Wreorder] 413 | bool has_error; | ^~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp:285:5: warning: when initialized here [-Wreorder] 285 | BlockMap(std::string fn, int64_t bm_size) | ^~~~~~~~ urbackupserver/apps/../../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&)': urbackupserver/apps/../../blockalign_src/main.cpp:633:13: warning: unused variable 'abc' [-Wunused-variable] 633 | int abc = 4; | ^~~ urbackupserver/apps/../../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&)': urbackupserver/apps/../../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) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../blockalign_src/main.cpp: In function 'bool restore_stream(const std::string&, std::istream&, std::ostream&)': urbackupserver/apps/../../blockalign_src/main.cpp:982:17: warning: unused variable 'abc' [-Wunused-variable] 982 | int abc = 45; | ^~~ urbackupserver/apps/../../blockalign_src/main.cpp: In function 'int blockalign(const std::string&, std::istream&, std::ostream&, bool)': urbackupserver/apps/../../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)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackup_snapshot_helper-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfastcgi/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackup_mount_helper-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/fs/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/fs/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o sqlite/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-dllmain.o `test -f 'httpserver/dllmain.cpp' || echo './'`httpserver/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from httpserver/dllmain.cpp:37: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) | ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fsimageplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-IndexFiles.o `test -f 'httpserver/IndexFiles.cpp' || echo './'`httpserver/IndexFiles.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/sha2/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-HTTPAction.o `test -f 'httpserver/HTTPAction.cpp' || echo './'`httpserver/HTTPAction.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from httpserver/HTTPAction.cpp:25: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) | ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-HTTPFile.o `test -f 'httpserver/HTTPFile.cpp' || echo './'`httpserver/HTTPFile.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from httpserver/HTTPFile.cpp:24: httpserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': httpserver/../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 httpserver/HTTPFile.cpp:27: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) | ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-HTTPService.o `test -f 'httpserver/HTTPService.cpp' || echo './'`httpserver/HTTPService.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/fileclient/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-MIMEType.o `test -f 'httpserver/MIMEType.cpp' || echo './'`httpserver/MIMEType.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-HTTPSocket.o `test -f 'httpserver/HTTPSocket.cpp' || echo './'`httpserver/HTTPSocket.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from httpserver/HTTPSocket.cpp:2: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../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 httpserver/HTTPSocket.cpp:1: httpserver/HTTPSocket.h: In constructor 'CHTTPSocket::CHTTPSocket(const std::string&, const std::string&, const str_map&, IPipe*, const std::string&)': httpserver/HTTPSocket.h:21:16: warning: 'CHTTPSocket::output' will be initialized after [-Wreorder] 21 | IPipe* output; | ^~~~~~ httpserver/HTTPSocket.h:16:21: warning: 'std::string CHTTPSocket::name' [-Wreorder] 16 | std::string name; | ^~~~ httpserver/HTTPSocket.cpp:6:1: warning: when initialized here [-Wreorder] 6 | CHTTPSocket::CHTTPSocket(const std::string& name, const std::string& gparams, const str_map& pRawPARAMS, IPipe* pOutput, const std::string& endpoint_name) | ^~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) | ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-HTTPProxy.o `test -f 'httpserver/HTTPProxy.cpp' || echo './'`httpserver/HTTPProxy.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from httpserver/HTTPProxy.cpp:25: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) | ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o httpserver/urbackupsrv-HTTPClient.o `test -f 'httpserver/HTTPClient.cpp' || echo './'`httpserver/HTTPClient.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from httpserver/HTTPClient.cpp:26: httpserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': httpserver/../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 httpserver/HTTPClient.cpp:27: httpserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': httpserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': httpserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': httpserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpserver/../stringtools.h: At global scope: httpserver/../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) | ^~~~~~~~~~~~~~~~ httpserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ httpserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ httpserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~ httpserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ httpserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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) | ^~~~~~~~~~~~~ httpserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupcommon/fileclient/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_update.o `test -f 'urbackupserver/server_update.cpp' || echo './'`urbackupserver/server_update.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/server_update.cpp:19: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/server_update.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_update.cpp:24: urbackupserver/DataplanDb.h: At global scope: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | std::auto_ptr mutex; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/DataplanDb.h:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_status.o `test -f 'urbackupserver/server_status.cpp' || echo './'`urbackupserver/server_status.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_status.cpp:21: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/action_header.h:9, from urbackupserver/server_status.cpp:24: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/action_header.h:10: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_prepare_hash.o `test -f 'urbackupserver/server_prepare_hash.cpp' || echo './'`urbackupserver/server_prepare_hash.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_prepare_hash.h:5, from urbackupserver/server_prepare_hash.cpp:21: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/server_prepare_hash.cpp:22: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_prepare_hash.cpp:32: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupserver/server_prepare_hash.cpp: In member function 'virtual void BackupServerPrepareHash::operator()()': urbackupserver/server_prepare_hash.cpp:81:25: warning: deleting object of polymorphic class type 'BackupServerPrepareHash' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 81 | delete this; | ^~~~~~~~~~~ urbackupserver/server_prepare_hash.cpp:169:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 169 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_prepare_hash.cpp:219:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 219 | std::auto_ptr l_hashoutput_f(Server->openFile(os_file_prefix(hashoutput_fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server.o `test -f 'urbackupserver/server.cpp' || echo './'`urbackupserver/server.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/server.cpp:18: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server.cpp:24: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server.cpp:28: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/server.cpp:35: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:10: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h: At global scope: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void BackupServer::operator()()': urbackupserver/server.cpp:216:25: warning: deleting object of polymorphic class type 'BackupServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 216 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'void BackupServer::startClients(FileClient&)': urbackupserver/server.cpp:338:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FileClient::SAddrHint'; use assignment or value-initialization instead [-Wclass-memaccess] 338 | memset(&(new_client.addr), 0, sizeof(sockaddr_in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/fileclient/FileClient.h:81:24: note: 'struct FileClient::SAddrHint' declared here 81 | struct SAddrHint | ^~~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::TestFilesystemThread::operator()()': urbackupserver/server.cpp:981:25: warning: deleting object of polymorphic class type '{anonymous}::TestFilesystemThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 981 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::FileCleanups::operator()()': urbackupserver/server.cpp:1122:25: warning: deleting object of polymorphic class type '{anonymous}::FileCleanups' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1122 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'void BackupServer::runServerRecovery(IDatabase*)': urbackupserver/server.cpp:1171:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1171 | std::auto_ptr f(Server->openFile(os_file_prefix(res["path"]))); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1238:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1238 | std::auto_ptr sync_f(Server->openFile(os_file_prefix(backuppath + os_file_sep() + ".hashes" + os_file_sep() + sync_fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1263:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | std::auto_ptr file_cleanups(new FileCleanups); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1314:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1314 | std::auto_ptr image_f(Server->openFile(os_file_prefix(path), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1350:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1350 | std::auto_ptr sync_f(Server->openFile(os_file_prefix(res["path"] + ".sync"), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_ping.o `test -f 'urbackupserver/server_ping.cpp' || echo './'`urbackupserver/server_ping.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_ping.cpp:22: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_ping.cpp:21: urbackupserver/server_ping.h: In constructor 'ServerPingThread::ServerPingThread(ClientMain*, const std::string&, size_t, bool, std::string)': urbackupserver/server_ping.h:24:16: warning: 'ServerPingThread::status_id' will be initialized after [-Wreorder] 24 | size_t status_id; | ^~~~~~~~~ urbackupserver/server_ping.h:22:14: warning: 'bool ServerPingThread::with_eta' [-Wreorder] 22 | bool with_eta; | ^~~~~~~~ urbackupserver/server_ping.cpp:29:1: warning: when initialized here [-Wreorder] 29 | ServerPingThread::ServerPingThread(ClientMain *client_main, const std::string& clientname, | ^~~~~~~~~~~~~~~~ urbackupserver/server_ping.cpp: In member function 'virtual void ServerPingThread::operator()()': urbackupserver/server_ping.cpp:129:9: warning: deleting object of polymorphic class type 'ServerPingThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 129 | delete this; | ^~~~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_log.o `test -f 'urbackupserver/server_log.cpp' || echo './'`urbackupserver/server_log.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_log.cpp:20: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_running.o `test -f 'urbackupserver/server_running.cpp' || echo './'`urbackupserver/server_running.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_running.cpp:21: urbackupserver/server_running.h: In constructor 'ServerRunningUpdater::ServerRunningUpdater(int, bool)': urbackupserver/server_running.h:23:13: warning: 'ServerRunningUpdater::backupid' will be initialized after [-Wreorder] 23 | int backupid; | ^~~~~~~~ urbackupserver/server_running.h:22:14: warning: 'bool ServerRunningUpdater::image' [-Wreorder] 22 | bool image; | ^~~~~ urbackupserver/server_running.cpp:26:1: warning: when initialized here [-Wreorder] 26 | ServerRunningUpdater::ServerRunningUpdater(int pBackupid, bool pImage) : backupid(pBackupid), image(pImage) | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/server_running.cpp: In member function 'virtual void ServerRunningUpdater::operator()()': urbackupserver/server_running.cpp:73:9: warning: deleting object of polymorphic class type 'ServerRunningUpdater' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 73 | delete this; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_channel.o `test -f 'urbackupserver/server_channel.cpp' || echo './'`urbackupserver/server_channel.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::SessionKeepaliveThread* ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] 16 | class ServerChannelThread : public IThread | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::RestoreTokenKeepaliveThread* ServerChannelThread::restore_token_keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_channel.cpp:25: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_channel.cpp:33: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:39: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/server_channel.cpp:41: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/server_channel.cpp:44: urbackupserver/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const std::string&)': urbackupserver/../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)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::SessionKeepaliveThread::operator()()': urbackupserver/server_channel.cpp:93:25: warning: deleting object of polymorphic class type '{anonymous}::SessionKeepaliveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 93 | delete this; | ^~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::RestoreTokenKeepaliveThread::operator()()': urbackupserver/server_channel.cpp:124:25: warning: deleting object of polymorphic class type '{anonymous}::RestoreTokenKeepaliveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 124 | delete this; | ^~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void {anonymous}::FileservClientThread::operator()()': urbackupserver/server_channel.cpp:152:25: warning: deleting object of polymorphic class type '{anonymous}::FileservClientThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 152 | delete this; | ^~~~~~~~~~~ urbackupserver/server_channel.h: In constructor 'ServerChannelThread::ServerChannelThread(ClientMain*, const std::string&, int, bool, bool, std::string, const std::string&, ServerChannelThread*)': urbackupserver/server_channel.h:115:21: warning: 'ServerChannelThread::clientname' will be initialized after [-Wreorder] 115 | std::string clientname; | ^~~~~~~~~~ urbackupserver/server_channel.h:52:13: warning: 'int ServerChannelThread::clientid' [-Wreorder] 52 | int clientid; | ^~~~~~~~ urbackupserver/server_channel.cpp:219:1: warning: when initialized here [-Wreorder] 219 | ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.h:121:21: warning: 'ServerChannelThread::server_token' will be initialized after [-Wreorder] 121 | std::string server_token; | ^~~~~~~~~~~~ urbackupserver/server_channel.h:117:21: warning: 'std::string ServerChannelThread::virtual_client' [-Wreorder] 117 | std::string virtual_client; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:219:1: warning: when initialized here [-Wreorder] 219 | ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.h:117:21: warning: 'ServerChannelThread::virtual_client' will be initialized after [-Wreorder] 117 | std::string virtual_client; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.h:101:14: warning: 'bool ServerChannelThread::allow_shutdown' [-Wreorder] 101 | bool allow_shutdown; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:219:1: warning: when initialized here [-Wreorder] 219 | ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.h:125:30: warning: 'ServerChannelThread::parent' will be initialized after [-Wreorder] 125 | ServerChannelThread* parent; | ^~~~~~ urbackupserver/server_channel.h:50:15: warning: 'int64 ServerChannelThread::next_reauth_time' [-Wreorder] 50 | int64 next_reauth_time; | ^~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:219:1: warning: when initialized here [-Wreorder] 219 | ServerChannelThread::ServerChannelThread(ClientMain *client_main, const std::string& clientname, int clientid, | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'virtual void ServerChannelThread::operator()()': urbackupserver/server_channel.cpp:246:17: warning: deleting object of polymorphic class type 'ServerChannelThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 246 | delete this; | ^~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::run()': urbackupserver/server_channel.cpp:265:112: warning: the address of 'require_reauth' will never be NULL [-Waddress] 265 | IPipe *np=client_main->getClientCommandConnection(settings, 10000, &client_addr, true, &require_reauth); | ^~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:264:30: note: 'require_reauth' declared here 264 | bool require_reauth = false; | ^~~~~~~~~~~~~~ urbackupserver/server_channel.cpp:252:15: warning: variable 'lastpingtime' set but not used [-Wunused-but-set-variable] 252 | int64 lastpingtime=0; | ^~~~~~~~~~~~ urbackupserver/server_channel.cpp: In constructor '{anonymous}::ScopedSetRestoreDone::ScopedSetRestoreDone(ServerBackupDao&, int64)': urbackupserver/server_channel.cpp:1027:34: warning: '{anonymous}::ScopedSetRestoreDone::backup_dao' will be initialized after [-Wreorder] 1027 | ServerBackupDao& backup_dao; | ^~~~~~~~~~ urbackupserver/server_channel.cpp:1026:22: warning: 'bool {anonymous}::ScopedSetRestoreDone::ok' [-Wreorder] 1026 | bool ok; | ^~ urbackupserver/server_channel.cpp:1030:17: warning: when initialized here [-Wreorder] 1030 | ScopedSetRestoreDone(ServerBackupDao& backup_dao, int64 restore_id) | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::DOWNLOAD_IMAGE(str_map&)': urbackupserver/server_channel.cpp:1123:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1123 | std::auto_ptr f(Server->openFile(os_file_prefix(res[0]["path"]+".mbr"), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_channel.cpp:1233:30: warning: unused variable 'currblock' [-Wunused-variable] 1233 | _i64 currblock=(currpos+skip)%blocksize; | ^~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::RESTORE_PERCENT(str_map)': urbackupserver/server_channel.cpp:1601:13: warning: unused variable 'detail_pc' [-Wunused-variable] 1601 | int detail_pc = watoi(params["detail_pc"]); | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_hash.o `test -f 'urbackupserver/server_hash.cpp' || echo './'`urbackupserver/server_hash.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_hash.h:7, from urbackupserver/server_hash.cpp:18: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_prepare_hash.h:11, from urbackupserver/server_hash.h:10: urbackupserver/../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_hash.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:22: urbackupserver/../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 urbackupserver/server_hash.cpp:31: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_hash.cpp:35: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/Backup.h:6, from urbackupserver/FileBackup.h:2, from urbackupserver/server_hash.cpp:36: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/Backup.h: At global scope: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.h: In constructor 'BackupServerHash::BackupServerHash(IPipe*, int, bool, bool, bool, logid_t, bool, MaxFileId&)': urbackupserver/server_hash.h:161:14: warning: 'BackupServerHash::use_tmpfiles' will be initialized after [-Wreorder] 161 | bool use_tmpfiles; | ^~~~~~~~~~~~ urbackupserver/server_hash.h:140:25: warning: 'ServerFilesDao* BackupServerHash::filesdao' [-Wreorder] 140 | ServerFilesDao* filesdao; | ^~~~~~~~ urbackupserver/server_hash.cpp:57:1: warning: when initialized here [-Wreorder] 57 | BackupServerHash::BackupServerHash(IPipe *pPipe, int pClientid, bool use_snapshots, bool use_reflink, bool use_tmpfiles, logid_t logid, | ^~~~~~~~~~~~~~~~ urbackupserver/server_hash.cpp: In member function 'virtual void BackupServerHash::operator()()': urbackupserver/server_hash.cpp:123:25: warning: deleting object of polymorphic class type 'BackupServerHash' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 123 | delete this; | ^~~~~~~~~~~ urbackupserver/server_hash.cpp:194:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 194 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:248:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 248 | std::auto_ptr tf(Server->openFile(os_file_prefix(source), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:265:54: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 265 | std::auto_ptr hashf(Server->openFile(os_file_prefix(hash_src), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:219:38: warning: variable 'b' set but not used [-Wunused-but-set-variable] 219 | bool b = rd.getVarInt(&fileid); | ^ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::findFileAndLink(const std::string&, IFile*, std::string, const std::string&, _i64, const std::string&, bool, bool&, std::string&, bool&, bool&, int64&, int&, int64&, int64&, FileMetadata&, bool, ExtentIterator*)': urbackupserver/server_hash.cpp:703:62: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 703 | std::auto_ptr ctf_hash(Server->openFile(os_file_prefix(existing_file.hashpath), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:772:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 772 | std::auto_ptr src(Server->openFile(os_file_prefix(hashoutput_fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp:800:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 800 | std::auto_ptr ctf(Server->openFile(os_file_prefix(existing_file.hashpath), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::copyFile(IFile*, const std::string&, ExtentIterator*)': urbackupserver/server_hash.cpp:1259:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1259 | std::auto_ptr dst(openFileRetry(dest, MODE_WRITE, errstr)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_hash.cpp: In member function 'virtual bool BackupServerHash::handle_not_enough_space(const std::string&)': urbackupserver/server_hash.cpp:1408:35: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1408 | if(available_space<=freespace_mod) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ urbackupserver/server_hash.cpp: In member function 'bool BackupServerHash::replaceFile(IFile*, const std::string&, const std::string&, ExtentIterator*)': urbackupserver/server_hash.cpp:1626:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1626 | std::auto_ptr dst(openFileRetry(dest, MODE_RW, errstr)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h: At global scope: urbackupserver/FileBackup.h:26:21: warning: '{anonymous}::sync_fn' defined but not used [-Wunused-variable] 26 | const char* sync_fn = ".sync_f3a50226-f49a-4195-afef-c75b21781ae1"; | ^~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_writer.o `test -f 'urbackupserver/server_writer.cpp' || echo './'`urbackupserver/server_writer.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/../urbackupcommon/bufmgr.h:6, from urbackupserver/server_writer.h:4, from urbackupserver/server_writer.cpp:18: urbackupserver/../urbackupcommon/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_writer.cpp:24: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_writer.cpp:27: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_cleanup.h:11: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_writer.cpp:28: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_writer.h: In constructor 'ServerVHDWriter::ServerVHDWriter(IVHDFile*, unsigned int, unsigned int, int, bool, int64, IFile*, int64, logid_t, int64)': urbackupserver/server_writer.h:97:15: warning: 'ServerVHDWriter::mbr_offset' will be initialized after [-Wreorder] 97 | int64 mbr_offset; | ^~~~~~~~~~ urbackupserver/server_writer.h:92:23: warning: 'volatile bool ServerVHDWriter::do_trim' [-Wreorder] 92 | volatile bool do_trim; | ^~~~~~~ urbackupserver/server_writer.cpp:36:1: warning: when initialized here [-Wreorder] 36 | ServerVHDWriter::ServerVHDWriter(IVHDFile *pVHD, unsigned int blocksize, unsigned int nbufs, | ^~~~~~~~~~~~~~~ urbackupserver/server_writer.h:101:15: warning: 'ServerVHDWriter::vhd_blocksize' will be initialized after [-Wreorder] 101 | int64 vhd_blocksize; | ^~~~~~~~~~~~~ urbackupserver/server_writer.h:93:23: warning: 'volatile bool ServerVHDWriter::do_make_full' [-Wreorder] 93 | volatile bool do_make_full; | ^~~~~~~~~~~~ urbackupserver/server_writer.cpp:36:1: warning: when initialized here [-Wreorder] 36 | ServerVHDWriter::ServerVHDWriter(IVHDFile *pVHD, unsigned int blocksize, unsigned int nbufs, | ^~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In destructor 'ServerVHDWriter::~ServerVHDWriter()': urbackupserver/server_writer.cpp:79:17: warning: deleting object of polymorphic class type 'ServerFileBufferWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 79 | delete filebuf_writer; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In member function 'void ServerVHDWriter::checkFreeSpaceAndCleanup()': urbackupserver/server_writer.cpp:227:25: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 227 | if(fs!=-1 && fs <= free_space_lim ) | ~~~^~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp: In member function 'virtual bool ServerVHDWriter::writeVHD(uint64, char*, unsigned int)': urbackupserver/server_writer.cpp:244:24: warning: comparison of integer expressions of different signedness: 'uint64' {aka 'long long unsigned int'} and 'int64' {aka 'long long int'} [-Wsign-compare] 244 | if (posdrivesize) | ~~~^~~~~~~~~~ urbackupserver/server_writer.cpp:289:33: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 289 | if(fs!=-1 && fs <= free_space_lim ) | ~~~^~~~~~~~~~~~~~~~~ urbackupserver/server_writer.cpp:268:23: warning: variable 'errcode' set but not used [-Wunused-but-set-variable] 268 | int64 errcode = 0; | ^~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-ClientMain.o `test -f 'urbackupserver/ClientMain.cpp' || echo './'`urbackupserver/ClientMain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/ClientMain.cpp:69: urbackupserver/../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 urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/ClientMain.cpp:18: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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 urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/FileIndex.h:9, from urbackupserver/server_hash.h:11, from urbackupserver/ClientMain.h:13: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/ClientMain.h:15: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:28: urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::SessionKeepaliveThread* ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] 16 | class ServerChannelThread : public IThread | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::RestoreTokenKeepaliveThread* ServerChannelThread::restore_token_keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/ServerDownloadThread.h:17, from urbackupserver/ClientMain.cpp:30: urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::SQueueItem::SQueueItem()': urbackupserver/ServerDownloadThread.h:93:22: warning: '{anonymous}::SQueueItem::switched' will be initialized after [-Wreorder] 93 | bool switched; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:88:22: warning: 'bool {anonymous}::SQueueItem::write_metadata' [-Wreorder] 88 | bool write_metadata; | ^~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:61:17: warning: when initialized here [-Wreorder] 61 | SQueueItem() | ^~~~~~~~~~ urbackupserver/ServerDownloadThread.h: In constructor '{anonymous}::IdRange::IdRange()': urbackupserver/ServerDownloadThread.h:136:24: warning: '{anonymous}::IdRange::max_id' will be initialized after [-Wreorder] 136 | size_t max_id; | ^~~~~~ urbackupserver/ServerDownloadThread.h:133:22: warning: 'bool {anonymous}::IdRange::finalized' [-Wreorder] 133 | bool finalized; | ^~~~~~~~~ urbackupserver/ServerDownloadThread.h:100:17: warning: when initialized here [-Wreorder] 100 | IdRange() | ^~~~~~~ urbackupserver/ServerDownloadThread.h: At global scope: urbackupserver/ServerDownloadThread.h:145:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'std::deque<{anonymous}::SQueueItem> ServerDownloadThread::dl_queue' whose type has internal linkage [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '{anonymous}::IdRange ServerDownloadThread::download_partial_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/ClientMain.cpp:32: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:36: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:39: urbackupserver/../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const std::string&)': urbackupserver/../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)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:43: urbackupserver/server_dir_links.h: At global scope: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:2, from urbackupserver/server_continuous.h:23, from urbackupserver/ClientMain.cpp:46: urbackupserver/Backup.h:106:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 106 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/FileBackup.h:12: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/FileBackup.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:166:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 166 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:273:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 273 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:274:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 274 | std::auto_ptr local_hash2; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:283:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 283 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:289:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 289 | std::auto_ptr metadata_download_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:291:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 291 | std::auto_ptr metadata_apply_thread; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.h:301:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 301 | std::auto_ptr phash_load; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:702:39: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 702 | bool constructFileClient(std::auto_ptr& new_fc) | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:933:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 933 | std::auto_ptr local_hash; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:935:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 935 | std::auto_ptr fileclient_chunked; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:936:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 936 | std::auto_ptr fileclient; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:937:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 937 | std::auto_ptr fileclient_metadata; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:939:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 939 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:941:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 941 | std::auto_ptr server_download; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:950:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 950 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:951:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 951 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h:952:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 952 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h: In constructor 'BackupServerContinuous::BackupServerContinuous(ClientMain*, const std::string&, const std::string&, const std::string&, const std::string&, bool, int, const std::string&, int, bool, bool, IPipe*)': urbackupserver/server_continuous.h:930:13: warning: 'BackupServerContinuous::backupid' will be initialized after [-Wreorder] 930 | int backupid; | ^~~~~~~~ urbackupserver/server_continuous.h:925:14: warning: 'bool BackupServerContinuous::use_snapshots' [-Wreorder] 925 | bool use_snapshots; | ^~~~~~~~~~~~~ urbackupserver/server_continuous.h:68:9: warning: when initialized here [-Wreorder] 68 | BackupServerContinuous(ClientMain* client_main, const std::string& continuous_path, const std::string& continuous_hash_path, const std::string& continuous_path_backup, | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_continuous.h: In member function 'virtual void BackupServerContinuous::operator()()': urbackupserver/server_continuous.h:180:17: warning: deleting object of polymorphic class type 'BackupServerContinuous' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 180 | delete this; | ^~~~~~~~~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execAddFile(SChange&)': urbackupserver/server_continuous.h:652:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 652 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_continuous.h: In member function 'bool BackupServerContinuous::execMod(SChange&)': urbackupserver/server_continuous.h:727:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 727 | std::auto_ptr f(Server->openFile(getFullpath(change.fn1))); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:61: urbackupserver/ImageBackup.h: At global scope: urbackupserver/ImageBackup.h:89:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 89 | 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 urbackupserver/ClientMain.cpp:64: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/ClientMain.cpp:65: urbackupserver/DataplanDb.h: At global scope: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | 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 urbackupserver/ClientMain.cpp:67: urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.cpp:68: urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'ClientMain::ClientMain(IPipe*, FileClient::SAddrHint, const std::string&, const std::string&, const std::string&, int, bool, bool, bool, bool)': urbackupserver/ClientMain.h:381:23: warning: 'ClientMain::internet_connection' will be initialized after [-Wreorder] 381 | volatile bool internet_connection; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:357:39: warning: 'std::auto_ptr ClientMain::server_settings' [-Wreorder] 357 | std::auto_ptr server_settings; | ^~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:107:1: warning: when initialized here [-Wreorder] 107 | ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, | ^~~~~~~~~~ urbackupserver/ClientMain.h:397:25: warning: 'ClientMain::client_throttler' will be initialized after [-Wreorder] 397 | IPipeThrottler *client_throttler; | ^~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:387:14: warning: 'bool ClientMain::use_file_snapshots' [-Wreorder] 387 | bool use_file_snapshots; | ^~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:107:1: warning: when initialized here [-Wreorder] 107 | ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, | ^~~~~~~~~~ urbackupserver/ClientMain.h:420:33: warning: 'ClientMain::continuous_backup' will be initialized after [-Wreorder] 420 | BackupServerContinuous* continuous_backup; | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:347:21: warning: 'std::string ClientMain::clientsubname' [-Wreorder] 347 | std::string clientsubname; | ^~~~~~~~~~~~~ urbackupserver/ClientMain.cpp:107:1: warning: when initialized here [-Wreorder] 107 | ClientMain::ClientMain(IPipe *pPipe, FileClient::SAddrHint pAddr, const std::string &pName, | ^~~~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'virtual void ClientMain::operator()()': urbackupserver/ClientMain.cpp:239:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 239 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:247:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 247 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:277:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:285:25: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 285 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:294:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 294 | std::auto_ptr local_server_backup_dao(new ServerBackupDao(db)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:309:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 309 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:341:25: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 341 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:383:17: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 383 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:898:32: warning: unused variable 'running_jobs' [-Wunused-variable] 898 | size_t running_jobs=0; | ^~~~~~~~~~~~ urbackupserver/ClientMain.cpp:1124:9: warning: deleting object of polymorphic class type 'ClientMain' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1124 | delete this; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp:485:14: warning: variable 'do_exit_now' set but not used [-Wunused-but-set-variable] 485 | bool do_exit_now=false; | ^~~~~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'std::string ClientMain::sendClientMessage(const std::string&, const std::string&, unsigned int, bool, int, SConnection*, bool)': urbackupserver/ClientMain.cpp:1349:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1349 | std::auto_ptr cc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:1379:14: warning: unused variable 'ok' [-Wunused-variable] 1379 | bool ok=false; | ^~ urbackupserver/ClientMain.cpp:1380:14: warning: unused variable 'herr' [-Wunused-variable] 1380 | bool herr=false; | ^~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::sendClientMessage(const std::string&, const std::string&, const std::string&, unsigned int, bool, int, bool*, std::string*, SConnection*, bool)': urbackupserver/ClientMain.cpp:1453:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1453 | std::auto_ptr cc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::sendSettings()': urbackupserver/ClientMain.cpp:1880:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1880 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:1886:26: warning: unused variable 'settings' [-Wunused-variable] 1886 | const SSettings* settings = server_settings->getSettings(); | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::getClientSettings(bool&)': urbackupserver/ClientMain.cpp:2041:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2041 | std::auto_ptr sr(Server->createFileSettingsReader(tmp_fn)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::checkClientVersion()': urbackupserver/ClientMain.cpp:2321:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2321 | std::auto_ptr sigfile(Server->openFile(signature_file, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:2327:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2327 | std::auto_ptr updatefile(Server->openFile(installer_file, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:2336:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2336 | std::auto_ptr cc(getClientCommandConnection(server_settings.get(), 10000)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'IPipe* ClientMain::getClientCommandConnection(ServerSettings*, int, std::string*, bool, bool, bool*)': urbackupserver/ClientMain.cpp:2780:30: warning: unused variable 'ok' [-Wunused-variable] 2780 | bool ok = false; | ^~ urbackupserver/ClientMain.cpp:2781:30: warning: unused variable 'herr' [-Wunused-variable] 2781 | bool herr = false; | ^~~~ urbackupserver/ClientMain.cpp: At global scope: urbackupserver/ClientMain.cpp:2933:57: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2933 | bool ClientMain::getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'virtual bool ClientMain::handle_not_enough_space(const std::string&, logid_t, ServerSettings&)': urbackupserver/ClientMain.cpp:3131:40: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 3131 | if(free_space!=-1 && free_space: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/dllmain.cpp:51: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/dllmain.cpp:61: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:67: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/dllmain.cpp:68: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/dllmain.cpp:70: urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_cleanup.h:11: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/dllmain.cpp:71: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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 urbackupserver/ClientMain.h:18: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:74: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:77: urbackupserver/filedownload.h:65:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 65 | std::auto_ptr fc_chunked; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/filedownload.h:66:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 66 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:84: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:85: urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::SessionKeepaliveThread* ServerChannelThread::keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] 16 | class ServerChannelThread : public IThread | ^~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '{anonymous}::RestoreTokenKeepaliveThread* ServerChannelThread::restore_token_keepalive_thread' whose type uses the anonymous namespace [-Wsubobject-linkage] In file included from urbackupserver/dllmain.cpp:86: urbackupserver/DataplanDb.h:29:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 29 | 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 urbackupserver/dllmain.cpp:96: urbackupserver/../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.h:3, from urbackupserver/restore_client.h:3, from urbackupserver/dllmain.cpp:98: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:99: urbackupserver/../urbackupcommon/WalCheckpointThread.h: At global scope: urbackupserver/../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; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:100: urbackupserver/FileMetadataDownloadThread.h:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr fc; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:144:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 144 | std::auto_ptr mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:145:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 145 | std::auto_ptr cond; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'std::vector server::FileMetadataDownloadThread::saved_folder_items' whose type has internal linkage [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:388: urbackupserver/../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; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/dllmain.cpp: In function 'void LoadActions_urbackupserver(IServer*)': urbackupserver/dllmain.cpp:516:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 516 | std::auto_ptr f(Server->openFile(Server->getServerParameter("hash_file"), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/dllmain.cpp:883:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 883 | std::auto_ptr settings_db(Server->createDBSettingsReader(db, "settings_db.settings", | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/dllmain.cpp: In function 'bool upgrade35_36()': urbackupserver/dllmain.cpp:1502:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1502 | std::auto_ptr db_file(Server->openFile("urbackup/backup_server.db", MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-helper.o `test -f 'urbackupserver/serverinterface/helper.cpp' || echo './'`urbackupserver/serverinterface/helper.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/helper.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/helper.cpp:20: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/helper.cpp:25: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/../../urlplugin/IUrlFactory.h:6, from urbackupserver/serverinterface/helper.cpp:26: urbackupserver/serverinterface/../../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../urlplugin/../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()) | ~~~^~~~~~~~~~~ urbackupserver/serverinterface/helper.cpp: In member function 'ITemplate* Helper::createTemplate(std::string)': urbackupserver/serverinterface/helper.cpp:156:20: warning: unused variable 'db' [-Wunused-variable] 156 | IDatabase* db=NULL;//Server->getDatabase(tid, TRANSLATIONDB); | ^~ urbackupserver/serverinterface/helper.cpp: In member function 'virtual void {anonymous}::RateLimitTimeout::operator()()': urbackupserver/serverinterface/helper.cpp:236:25: warning: deleting object of polymorphic class type '{anonymous}::RateLimitTimeout' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 236 | delete this; | ^~~~~~~~~~~ urbackupserver/serverinterface/../../urlplugin/../Interface/File.h: At global scope: urbackupserver/serverinterface/../../urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-lastacts.o `test -f 'urbackupserver/serverinterface/lastacts.cpp' || echo './'`urbackupserver/serverinterface/lastacts.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/lastacts.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/lastacts.cpp:22: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-login.o `test -f 'urbackupserver/serverinterface/login.cpp' || echo './'`urbackupserver/serverinterface/login.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/login.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-salt.o `test -f 'urbackupserver/serverinterface/salt.cpp' || echo './'`urbackupserver/serverinterface/salt.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/salt.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/salt.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-progress.o `test -f 'urbackupserver/serverinterface/progress.cpp' || echo './'`urbackupserver/serverinterface/progress.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/progress.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/progress.cpp:22: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_update_stats.o `test -f 'urbackupserver/server_update_stats.cpp' || echo './'`urbackupserver/server_update_stats.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_update_stats.h:4, from urbackupserver/server_update_stats.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_update_stats.h: At global scope: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_update_stats.h:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:24: urbackupserver/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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 urbackupserver/server_update_stats.cpp:27: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_update_stats.cpp:28: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11, from urbackupserver/server_update_stats.cpp:29: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-piegraph.o `test -f 'urbackupserver/serverinterface/piegraph.cpp' || echo './'`urbackupserver/serverinterface/piegraph.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/piegraph.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-users.o `test -f 'urbackupserver/serverinterface/users.cpp' || echo './'`urbackupserver/serverinterface/users.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/users.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-usagegraph.o `test -f 'urbackupserver/serverinterface/usagegraph.cpp' || echo './'`urbackupserver/serverinterface/usagegraph.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/usagegraph.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_settings.o `test -f 'urbackupserver/server_settings.cpp' || echo './'`urbackupserver/server_settings.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/server_settings.cpp:19: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../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 urbackupserver/server_settings.cpp:27: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/server.h:8, from urbackupserver/server_settings.cpp:29: urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../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()) | ~~~^~~~~~~~~~~ urbackupserver/server_settings.h: In constructor 'ServerSettings::ServerSettings(IDatabase*, int)': urbackupserver/server_settings.h:317:13: warning: 'ServerSettings::clientid' will be initialized after [-Wreorder] 317 | int clientid; | ^~~~~~~~ urbackupserver/server_settings.h:315:20: warning: 'IDatabase* ServerSettings::db' [-Wreorder] 315 | IDatabase* db; | ^~ urbackupserver/server_settings.cpp:80:1: warning: when initialized here [-Wreorder] 80 | ServerSettings::ServerSettings(IDatabase *db, int pClientid) | ^~~~~~~~~~~~~~ urbackupserver/server_settings.cpp: At global scope: urbackupserver/server_settings.cpp:117:78: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 117 | void ServerSettings::createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp:118:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp:118:63: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'void ServerSettings::readSettingsDefault(ISettingsReader*, ISettingsReader*, IQuery*)': urbackupserver/server_settings.cpp:446:101: warning: right operand of comma operator has no effect [-Wunused-value] 446 | readIntClientSetting(q_get_client_setting, "min_file_incr", &settings->min_file_incr), false; | ^ urbackupserver/server_settings.cpp: In static member function 'static void ServerSettings::readStringClientSetting(IDatabase*, int, const std::string&, const std::string&, std::string*, bool)': urbackupserver/server_settings.cpp:1070:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1070 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'void ServerSettings::readSettings()': urbackupserver/server_settings.cpp:1262:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1262 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'SLDAPSettings ServerSettings::getLDAPSettings()': urbackupserver/server_settings.cpp:1336:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1336 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In static member function 'static std::map, ServerSettings::SClientSetting> ServerSettings::getClientSettings(IDatabase*, int, int, IDatabase*)': urbackupserver/server_settings.cpp:1410:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1410 | std::auto_ptr settings_def; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/../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) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-usage.o `test -f 'urbackupserver/serverinterface/usage.cpp' || echo './'`urbackupserver/serverinterface/usage.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/usage.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/usage.cpp:22: urbackupserver/serverinterface/../server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/serverinterface/../server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/serverinterface/../server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h: At global scope: urbackupserver/serverinterface/../server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_cleanup.h:11: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/usage.cpp:27: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/serverinterface/usage.cpp: In member function 'virtual void {anonymous}::RecalculateStatistics::operator()()': urbackupserver/serverinterface/usage.cpp:64:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 64 | std::auto_ptr fileindex(create_lmdb_files_index()); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/usage.cpp:128:25: warning: deleting object of polymorphic class type '{anonymous}::RecalculateStatistics' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 128 | delete this; | ^~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-server_cleanup.o `test -f 'urbackupserver/server_cleanup.cpp' || echo './'`urbackupserver/server_cleanup.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/FileIndex.h:9, from urbackupserver/server_cleanup.h:13, from urbackupserver/server_cleanup.cpp:21: urbackupserver/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/server_cleanup.h: At global scope: urbackupserver/server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/server_cleanup.h:11: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:28: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:30: urbackupserver/server_update_stats.h:68:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 68 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_update_stats.h:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:32: urbackupserver/server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/../urlplugin/IUrlFactory.h:6, from urbackupserver/ClientMain.h:9, from urbackupserver/server_cleanup.cpp:33: urbackupserver/../urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/../urlplugin/../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 urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/ClientMain.h:11: urbackupserver/../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../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; | ^~~~~~~~ urbackupserver/ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/ClientMain.h: At global scope: urbackupserver/ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:40: urbackupserver/server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/server_cleanup.cpp:44: urbackupserver/../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; | ^~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'virtual void ServerCleanupThread::operator()()': urbackupserver/server_cleanup.cpp:101:23: warning: enumeration value 'ECleanupAction_None' not handled in switch [-Wswitch] 101 | switch(cleanup_action.action) | ^ urbackupserver/server_cleanup.cpp:142:17: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 142 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp:157:25: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 157 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp:278:33: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 278 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp:390:9: warning: deleting object of polymorphic class type 'ServerCleanupThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 390 | delete this; | ^~~~~~~~~~~ urbackupserver/server_cleanup.cpp: In function 'bool {anonymous}::copy_db_file(std::string, std::string, IDatabase::IBackupProgress*, std::string&, bool)': urbackupserver/server_cleanup.cpp:1726:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1726 | std::auto_ptr dst_file(Server->openFile(os_file_prefix(dst), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_cleanup.cpp: In member function 'void ServerCleanupThread::removeFileBackupSql(int)': urbackupserver/server_cleanup.cpp:2588:37: warning: unused variable 'abc' [-Wunused-variable] 2588 | int abc = 5; | ^~~ urbackupserver/server_cleanup.cpp:2601:37: warning: unused variable 'abc' [-Wunused-variable] 2601 | int abc = 5; | ^~~ urbackupserver/server_cleanup.cpp:2614:37: warning: unused variable 'abc' [-Wunused-variable] 2614 | int abc = 5; | ^~~ In file included from urbackupserver/server_prepare_hash.h:9, from urbackupserver/server_hash.h:10, from urbackupserver/ClientMain.h:13: urbackupserver/../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/../urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urbackupserver/server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~~~~ urbackupserver/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~ urbackupserver/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/../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) | ^~~~~~~~~~~~~ urbackupserver/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-getimage.o `test -f 'urbackupserver/serverinterface/getimage.cpp' || echo './'`urbackupserver/serverinterface/getimage.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/getimage.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-logs.o `test -f 'urbackupserver/serverinterface/logs.cpp' || echo './'`urbackupserver/serverinterface/logs.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/logs.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/backups.h:3, from urbackupserver/serverinterface/logs.cpp:24: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h: At global scope: urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/treediff/urbackupsrv-TreeNode.o `test -f 'urbackupserver/treediff/TreeNode.cpp' || echo './'`urbackupserver/treediff/TreeNode.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/treediff/TreeNode.cpp:19: urbackupserver/treediff/TreeNode.h: In constructor 'TreeNode::TreeNode(const char*, const char*, TreeNode*, char)': urbackupserver/treediff/TreeNode.h:62:16: warning: 'TreeNode::num_children' will be initialized after [-Wreorder] 62 | size_t num_children; | ^~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:59:19: warning: 'TreeNode* TreeNode::nextSibling' [-Wreorder] 59 | TreeNode *nextSibling; | ^~~~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:24:1: warning: when initialized here [-Wreorder] 24 | TreeNode::TreeNode(const char* name, const char* data, TreeNode *parent, char node_type) | ^~~~~~~~ urbackupserver/treediff/TreeNode.h:63:14: warning: 'TreeNode::subtree_changed' will be initialized after [-Wreorder] 63 | bool subtree_changed; | ^~~~~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:54:14: warning: 'char TreeNode::node_type' [-Wreorder] 54 | char node_type; | ^~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:24:1: warning: when initialized here [-Wreorder] 24 | TreeNode::TreeNode(const char* name, const char* data, TreeNode *parent, char node_type) | ^~~~~~~~ urbackupserver/treediff/TreeNode.h: In constructor 'TreeNode::TreeNode()': urbackupserver/treediff/TreeNode.h:62:16: warning: 'TreeNode::num_children' will be initialized after [-Wreorder] 62 | size_t num_children; | ^~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:59:19: warning: 'TreeNode* TreeNode::nextSibling' [-Wreorder] 59 | TreeNode *nextSibling; | ^~~~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ urbackupserver/treediff/TreeNode.h:63:14: warning: 'TreeNode::subtree_changed' will be initialized after [-Wreorder] 63 | bool subtree_changed; | ^~~~~~~~~~~~~~~ urbackupserver/treediff/TreeNode.h:60:19: warning: 'TreeNode* TreeNode::parent' [-Wreorder] 60 | TreeNode *parent; | ^~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ urbackupserver/treediff/TreeNode.h:60:19: warning: 'TreeNode::parent' will be initialized after [-Wreorder] 60 | TreeNode *parent; | ^~~~~~ urbackupserver/treediff/TreeNode.h:56:21: warning: 'const char* TreeNode::name' [-Wreorder] 56 | const char* name; | ^~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ urbackupserver/treediff/TreeNode.h:57:21: warning: 'TreeNode::data' will be initialized after [-Wreorder] 57 | const char* data; | ^~~~ urbackupserver/treediff/TreeNode.h:54:14: warning: 'char TreeNode::node_type' [-Wreorder] 54 | char node_type; | ^~~~~~~~~ urbackupserver/treediff/TreeNode.cpp:30:1: warning: when initialized here [-Wreorder] 30 | TreeNode::TreeNode(void) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/treediff/urbackupsrv-TreeDiff.o `test -f 'urbackupserver/treediff/TreeDiff.cpp' || echo './'`urbackupserver/treediff/TreeDiff.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition urbackupserver/treediff/TreeDiff.cpp: In static member function 'static void TreeDiff::gatherDiffs(TreeNode*, TreeNode*, size_t, std::vector&, std::vector*, std::vector&, std::vector*, bool, bool)': urbackupserver/treediff/TreeDiff.cpp:78:16: warning: unused variable 'nc_2' [-Wunused-variable] 78 | size_t nc_2=t2->getNumChildren(); | ^~~~ urbackupserver/treediff/TreeDiff.cpp:79:16: warning: unused variable 'nc_1' [-Wunused-variable] 79 | size_t nc_1=t1->getNumChildren(); | ^~~~ urbackupserver/treediff/TreeDiff.cpp:82:14: warning: unused variable 'did_subtree_change' [-Wunused-variable] 82 | bool did_subtree_change=false; | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-download_client.o `test -f 'urbackupserver/serverinterface/download_client.cpp' || echo './'`urbackupserver/serverinterface/download_client.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/download_client.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/download_client.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-status.o `test -f 'urbackupserver/serverinterface/status.cpp' || echo './'`urbackupserver/serverinterface/status.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/status.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/status.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/status.cpp:24: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/status.cpp:27: urbackupserver/serverinterface/../../urbackupcommon/fileclient/../ExtentIterator.h: At global scope: urbackupserver/serverinterface/../../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../../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; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status.cpp: In function 'bool {anonymous}::client_download(Helper&, JSON::Array&)': urbackupserver/serverinterface/status.cpp:65:22: warning: unused variable 'found' [-Wunused-variable] 65 | bool found=false; | ^~~~~ urbackupserver/serverinterface/status.cpp: In function 'void {anonymous}::set_server_version_info(IDatabase*, JSON::Object&)': urbackupserver/serverinterface/status.cpp:93:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 93 | std::auto_ptr infoProperties(Server->createFileSettingsReader("urbackup/server_version_info.properties")); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/status.cpp: In member function 'virtual void Actions::status::Execute(str_map&, str_map&, THREAD_ID, str_map&)': urbackupserver/serverinterface/status.cpp:460:34: warning: variable 'curr_status' set but not used [-Wunused-but-set-variable] 460 | SStatus *curr_status=NULL; | ^~~~~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:6:21: warning: '{anonymous}::RIGHT_ALL' defined but not used [-Wunused-variable] 6 | const char* RIGHT_ALL = "all"; | ^~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-repair_cmd.o `test -f 'urbackupserver/apps/repair_cmd.cpp' || echo './'`urbackupserver/apps/repair_cmd.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/repair_cmd.cpp:20: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/treediff/urbackupsrv-TreeReader.o `test -f 'urbackupserver/treediff/TreeReader.cpp' || echo './'`urbackupserver/treediff/TreeReader.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/treediff/TreeReader.cpp:24: urbackupserver/treediff/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/treediff/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/treediff/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/treediff/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/treediff/TreeReader.cpp: In member function 'bool TreeReader::readTree(const std::string&)': urbackupserver/treediff/TreeReader.cpp:156:14: warning: unused variable 'isdir' [-Wunused-variable] 156 | bool isdir=false; | ^~~~~ urbackupserver/treediff/../../stringtools.h: At global scope: urbackupserver/treediff/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/treediff/../../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) | ^~~~~~~~~~ urbackupserver/treediff/../../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) | ^~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../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) | ^~~~~~~~~~~~~ urbackupserver/treediff/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/lmdb/urbackupsrv-midl.o `test -f 'urbackupserver/lmdb/midl.c' || echo './'`urbackupserver/lmdb/midl.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-patch.o `test -f 'urbackupserver/apps/patch.cpp' || echo './'`urbackupserver/apps/patch.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/../ChunkPatcher.h:4, from urbackupserver/apps/patch.cpp:2: urbackupserver/apps/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/patch.cpp:4: urbackupserver/apps/../../urbackupcommon/ExtentIterator.h: At global scope: urbackupserver/apps/../../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 urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/patch.cpp: In function 'int patch_hash()': urbackupserver/apps/patch.cpp:69:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 69 | std::auto_ptr f(Server->openFile(source_file, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/patch.cpp:77:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 77 | std::auto_ptr patch_file(Server->openFile(patch_file_fn, MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/patch.cpp:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr extent_iterator; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../../Interface/File.h: At global scope: urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-backups.o `test -f 'urbackupserver/serverinterface/backups.cpp' || echo './'`urbackupserver/serverinterface/backups.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/backups.cpp:19: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/backups.cpp:22: urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata()': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:38:14: warning: 'FileMetadata::exist' will be initialized after [-Wreorder] 38 | bool exist; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'bool FileMetadata::has_orig_path' [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:36:14: warning: 'FileMetadata::has_orig_path' will be initialized after [-Wreorder] 36 | bool has_orig_path; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:15:9: warning: when initialized here [-Wreorder] 15 | FileMetadata() | ^~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h: In constructor 'FileMetadata::FileMetadata(std::string, int64, int64, int64, std::string)': urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:37:21: warning: 'FileMetadata::orig_path' will be initialized after [-Wreorder] 37 | std::string orig_path; | ^~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:34:15: warning: 'int64 FileMetadata::rsize' [-Wreorder] 34 | int64 rsize; | ^~~~~ urbackupserver/serverinterface/../../urbackupcommon/file_metadata.h:21:9: warning: when initialized here [-Wreorder] 21 | FileMetadata(std::string file_permissions, int64 last_modified, | ^~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:23: urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h: In function 'bool {anonymous}::is_disk_mbr(const std::string&)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:28: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:33: urbackupserver/serverinterface/../../fileservplugin/IFileServ.h: In constructor 'IFileServ::CbtHashFileInfo::CbtHashFileInfo(IFile*, int64, size_t*, size_t)': urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:86:23: warning: 'IFileServ::CbtHashFileInfo::blocksize' will be initialized after [-Wreorder] 86 | int64 blocksize; | ^~~~~~~~~ urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:84:34: warning: 'volatile size_t* IFileServ::CbtHashFileInfo::snapshot_sequence_id' [-Wreorder] 84 | volatile size_t* snapshot_sequence_id; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../fileservplugin/IFileServ.h:70:17: warning: when initialized here [-Wreorder] 70 | CbtHashFileInfo(IFile* cbt_hash_file, | ^~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:34: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:37: urbackupserver/serverinterface/../server_dir_links.h: At global scope: urbackupserver/serverinterface/../server_dir_links.h:23:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 23 | std::auto_ptr& synchronous_link_dao, bool with_transaction=true); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/backups.cpp:40: urbackupserver/serverinterface/../server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/serverinterface/../server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/serverinterface/../server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h: At global scope: urbackupserver/serverinterface/../server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'backupaccess::STokens backupaccess::readTokens(const std::string&, const std::string&, const std::string&)': urbackupserver/serverinterface/backups.cpp:378:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 378 | std::auto_ptr backup_tokens(Server->createFileSettingsReader(backupfolder+os_file_sep()+clientname+os_file_sep()+path+os_file_sep()+".hashes"+os_file_sep()+".urbackup_tokens.properties")); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'bool backupaccess::get_files_with_tokens(IDatabase*, int*, int, std::string, std::string*, const std::string&, int, JSON::Object&)': urbackupserver/serverinterface/backups.cpp:823:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 823 | std::auto_ptr f; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp: In function 'JSON::Object backupaccess::get_image_info(IDatabase*, int, int, int, std::string&, std::vector&)': urbackupserver/serverinterface/backups.cpp:954:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 954 | std::auto_ptr mbrfile(Server->openFile(os_file_prefix(path + ".mbr"), MODE_READ)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp:965:60: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and '_i64' {aka 'long long int'} [-Wsign-compare] 965 | if (mbrdata.size() == mbrfile->Size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/backups.cpp:991:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 991 | std::auto_ptr vhdfile; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:192:14: warning: 'bool {anonymous}::is_disk_mbr(const std::string&)' defined but not used [-Wunused-function] 192 | bool is_disk_mbr(const std::string& mbrfn) | ^~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:9:21: warning: '{anonymous}::RIGHT_ALERT_SCRIPTS' defined but not used [-Wunused-variable] 9 | const char* RIGHT_ALERT_SCRIPTS = "alert_scripts"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-cleanup_cmd.o `test -f 'urbackupserver/apps/cleanup_cmd.cpp' || echo './'`urbackupserver/apps/cleanup_cmd.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/cleanup_cmd.cpp:20: urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/apps/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/apps/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/apps/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/apps/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/cleanup_cmd.cpp:22: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../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 urbackupserver/apps/cleanup_cmd.cpp:23: urbackupserver/apps/../server_cleanup.h: In constructor 'CleanupAction::CleanupAction(int64, bool*, bool)': urbackupserver/apps/../server_cleanup.h:72:15: warning: 'CleanupAction::result' will be initialized after [-Wreorder] 72 | bool *result; | ^~~~~~ urbackupserver/apps/../server_cleanup.h:69:14: warning: 'bool CleanupAction::cleanup_other' [-Wreorder] 69 | bool cleanup_other; | ^~~~~~~~~~~~~ urbackupserver/apps/../server_cleanup.h:52:9: warning: when initialized here [-Wreorder] 52 | CleanupAction(int64 minspace, bool *result, bool cleanup_other) | ^~~~~~~~~~~~~ urbackupserver/apps/../server_cleanup.h: At global scope: urbackupserver/apps/../server_cleanup.h:210:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 210 | std::auto_ptr cleanupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_cleanup.h:211:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 211 | std::auto_ptr backupdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_cleanup.h:212:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 212 | std::auto_ptr filesdao; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_cleanup.h:213:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 213 | std::auto_ptr fileindex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/apps/../../urbackupcommon/fileclient/FileClient.h:10, from urbackupserver/apps/../server.h:8, from urbackupserver/apps/cleanup_cmd.cpp:24: urbackupserver/apps/../../urbackupcommon/fileclient/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/cleanup_cmd.cpp:25: urbackupserver/apps/../serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/apps/../serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ urbackupserver/apps/../../urbackupcommon/fileclient/../../Interface/File.h: At global scope: urbackupserver/apps/../../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) | ^~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/serverinterface/urbackupsrv-settings.o `test -f 'urbackupserver/serverinterface/settings.cpp' || echo './'`urbackupserver/serverinterface/settings.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/serverinterface/action_header.h:3, from urbackupserver/serverinterface/settings.cpp:21: urbackupserver/serverinterface/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/action_header.h:5: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:138:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 138 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:132:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 132 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:122:9: warning: when initialized here [-Wreorder] 122 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:7: urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/serverinterface/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/serverinterface/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/settings.cpp:22: urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | STimeSpan(int dayofweek, float start_hour, float stop_hour):dayofweek(dayofweek), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: In constructor 'STimeSpan::STimeSpan(float, float)': urbackupserver/serverinterface/../server_settings.h:187:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 187 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:185:13: warning: 'int STimeSpan::numdays' [-Wreorder] 185 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:182:9: warning: when initialized here [-Wreorder] 182 | STimeSpan(float start_hour, float stop_hour):dayofweek(0), start_hour(start_hour), stop_hour(stop_hour), numdays(1) {} | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:255:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/serverinterface/../server_settings.h:8: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:256:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 256 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:9, from urbackupserver/serverinterface/../ClientMain.h:11, from urbackupserver/serverinterface/settings.cpp:28: urbackupserver/serverinterface/../../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; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../../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 urbackupserver/serverinterface/../ClientMain.h:15: urbackupserver/serverinterface/../server_status.h: In constructor 'SProcess::SProcess(size_t, SStatusAction, std::string)': urbackupserver/serverinterface/../server_status.h:87:15: warning: 'SProcess::done_bytes' will be initialized after [-Wreorder] 87 | int64 done_bytes; | ^~~~~~~~~~ urbackupserver/serverinterface/../server_status.h:81:13: warning: 'int SProcess::detail_pc' [-Wreorder] 81 | int detail_pc; | ^~~~~~~~~ urbackupserver/serverinterface/../server_status.h:61:9: warning: when initialized here [-Wreorder] 61 | SProcess(size_t id, SStatusAction action, std::string details) | ^~~~~~~~ urbackupserver/serverinterface/../server_status.h: In destructor 'ScopedActiveThread::~ScopedActiveThread()': urbackupserver/serverinterface/../server_status.h:277:17: warning: deleting object of polymorphic class type 'ActiveThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 277 | delete at; | ^~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: In constructor 'SProtocolVersions::SProtocolVersions()': urbackupserver/serverinterface/../ClientMain.h:78:13: warning: 'SProtocolVersions::update_capa_interval' will be initialized after [-Wreorder] 78 | int update_capa_interval; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:72:13: warning: 'int SProtocolVersions::require_previous_cbitmap' [-Wreorder] 72 | int require_previous_cbitmap; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:45:9: warning: when initialized here [-Wreorder] 45 | SProtocolVersions() : | ^~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../ClientMain.h: At global scope: urbackupserver/serverinterface/../ClientMain.h:154:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr conn; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:197:53: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | bool getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:357:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 357 | std::auto_ptr server_settings; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../ClientMain.h:440:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 440 | std::auto_ptr restore_mutex; | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/settings.cpp: In function 'void {anonymous}::getGeneralSettings(JSON::Object&, IDatabase*, ServerSettings&)': urbackupserver/serverinterface/settings.cpp:197:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 197 | std::auto_ptr settings_db(Server->createDBSettingsReader(db, "settings_db.settings", | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/serverinterface/../server_prepare_hash.h:9, from urbackupserver/serverinterface/../server_hash.h:10, from urbackupserver/serverinterface/../ClientMain.h:13: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h: At global scope: urbackupserver/serverinterface/../../urbackupcommon/sha2/sha2.h:271:20: warning: 'sha_def_identifier' defined but not used [-Wunused-variable] 271 | const static char* sha_def_identifier = "sha512"; | ^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:28:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 28 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:23:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 23 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:20:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 20 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 19 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:17:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 17 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 15 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 14 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 12 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/serverinterface/action_header.h:10: urbackupserver/serverinterface/rights.h:10:21: warning: '{anonymous}::RIGHT_REPORT_SCRIPT' defined but not used [-Wunused-variable] 10 | const char* RIGHT_REPORT_SCRIPT = "report_script"; | ^~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:8:21: warning: '{anonymous}::RIGHT_BROWSE_BACKUPS' defined but not used [-Wunused-variable] 8 | const char* RIGHT_BROWSE_BACKUPS = "browse_backups"; | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/rights.h:7:21: warning: '{anonymous}::RIGHT_SETTINGS' defined but not used [-Wunused-variable] 7 | const char* RIGHT_SETTINGS="settings"; | ^~~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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) | ^~~~~~~~~~~~~ urbackupserver/serverinterface/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/lmdb/urbackupsrv-mdb.o `test -f 'urbackupserver/lmdb/mdb.c' || echo './'`urbackupserver/lmdb/mdb.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition urbackupserver/lmdb/mdb.c: In function 'mdb_page_dirty': urbackupserver/lmdb/mdb.c:2117:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2117 | int rc, (*insert)(MDB_ID2L, MDB_ID2 *); | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/apps/urbackupsrv-md5sum_check.o `test -f 'urbackupserver/apps/md5sum_check.cpp' || echo './'`urbackupserver/apps/md5sum_check.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/apps/md5sum_check.cpp:2: urbackupserver/apps/../../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urbackupserver/apps/../../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 urbackupserver/apps/md5sum_check.cpp:6: urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/apps/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/apps/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/apps/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/md5sum_check.cpp: In function 'int md5sum_check()': urbackupserver/apps/md5sum_check.cpp:48:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ_SEQUENTIAL_BACKUP)); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from urbackupserver/apps/md5sum_check.cpp:5: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../../stringtools.h: At global scope: urbackupserver/apps/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~ urbackupserver/apps/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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) | ^~~~~~~~~~~~~ urbackupserver/apps/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/dao/urbackupsrv-ServerCleanupDao.o `test -f 'urbackupserver/dao/ServerCleanupDao.cpp' || echo './'`urbackupserver/dao/ServerCleanupDao.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urbackupserver/dao/ServerCleanupDao.cpp:20: urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::little_endian(float)': urbackupserver/dao/../../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'double {anonymous}::little_endian(double)': urbackupserver/dao/../../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: In function 'float {anonymous}::big_endian(float)': urbackupserver/dao/../../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h: At global scope: urbackupserver/dao/../../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) | ^~~~~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~ urbackupserver/dao/../../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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) | ^~~~~~~~~~~~~ urbackupserver/dao/../../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urlplugin/urbackupsrv-dllmain.o `test -f 'urlplugin/dllmain.cpp' || echo './'`urlplugin/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urlplugin/dllmain.cpp:45: urlplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urlplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urlplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urlplugin/../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 urlplugin/IUrlFactory.h:6, from urlplugin/dllmain.cpp:48: urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urlplugin/../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()) | ~~~^~~~~~~~~~~ urlplugin/../Interface/File.h: At global scope: urlplugin/../Interface/File.h:180:13: warning: 'std::string {anonymous}::readToString(IFile*)' defined but not used [-Wunused-function] 180 | std::string readToString(IFile* f) | ^~~~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~~~~~~~ urlplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urlplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~ urlplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~~~~ urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-PipeSessions.o `test -f 'fileservplugin/PipeSessions.cpp' || echo './'`fileservplugin/PipeSessions.cpp : 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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urlplugin/urbackupsrv-pluginmgr.o `test -f 'urlplugin/pluginmgr.cpp' || echo './'`urlplugin/pluginmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urlplugin/IUrlFactory.h:6, from urlplugin/UrlFactory.h:1, from urlplugin/pluginmgr.cpp:21: urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urlplugin/../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()) | ~~~^~~~~~~~~~~ urlplugin/../Interface/File.h: At global scope: urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-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/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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urlplugin/urbackupsrv-UrlFactory.o `test -f 'urlplugin/UrlFactory.cpp' || echo './'`urlplugin/UrlFactory.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from urlplugin/IUrlFactory.h:6, from urlplugin/UrlFactory.h:1, from urlplugin/UrlFactory.cpp:19: urlplugin/../Interface/File.h: In function 'std::string {anonymous}::readToString(IFile*)': urlplugin/../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 urlplugin/UrlFactory.cpp:24: urlplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': urlplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': urlplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': urlplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ urlplugin/../stringtools.h: At global scope: urlplugin/../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) | ^~~~~~~~~~~~~~~~ urlplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ urlplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ urlplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~ urlplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ urlplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~~~~ urlplugin/../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) | ^~~~~~~~~~~~~ urlplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o luaplugin/urbackupsrv-dllmain.o `test -f 'luaplugin/dllmain.cpp' || echo './'`luaplugin/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from luaplugin/dllmain.cpp:47: luaplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': luaplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': luaplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': luaplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: At global scope: luaplugin/../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) | ^~~~~~~~~~~~~~~~ luaplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ luaplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ luaplugin/../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) | ^~~~~~~~~~ luaplugin/../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) | ^~~~~~~~~~ luaplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ luaplugin/../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) | ^~~~~~~~~~~~~ luaplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o luaplugin/urbackupsrv-LuaInterpreter.o `test -f 'luaplugin/LuaInterpreter.cpp' || echo './'`luaplugin/LuaInterpreter.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from luaplugin/LuaInterpreter.cpp:12: luaplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': luaplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': luaplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': luaplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ luaplugin/../stringtools.h: At global scope: luaplugin/../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) | ^~~~~~~~~~~~~~~~ luaplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ luaplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ luaplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ luaplugin/../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) | ^~~~~~~~~~ luaplugin/../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) | ^~~~~~~~~~ luaplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ luaplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ luaplugin/../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) | ^~~~~~~~~~~~~ luaplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o luaplugin/urbackupsrv-pluginmgr.o `test -f 'luaplugin/pluginmgr.cpp' || echo './'`luaplugin/pluginmgr.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fuseplugin/urbackupsrv-dllmain.o `test -f 'fuseplugin/dllmain.cpp' || echo './'`fuseplugin/dllmain.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from fuseplugin/dllmain.cpp:48: fuseplugin/../stringtools.h: In function 'float {anonymous}::little_endian(float)': fuseplugin/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h: In function 'double {anonymous}::little_endian(double)': fuseplugin/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h: In function 'float {anonymous}::big_endian(float)': fuseplugin/../stringtools.h:300:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuseplugin/dllmain.cpp: In function 'int {anonymous}::vhdfile_read(const char*, char*, size_t, off_t, fuse_file_info*)': fuseplugin/dllmain.cpp:116:24: warning: unused variable 'len' [-Wunused-variable] 116 | size_t len; | ^~~ fuseplugin/../stringtools.h: At global scope: fuseplugin/../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) | ^~~~~~~~~~~~~~~~ fuseplugin/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ fuseplugin/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ fuseplugin/../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) | ^~~~~~~~~~ fuseplugin/../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) | ^~~~~~~~~~ fuseplugin/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ fuseplugin/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ fuseplugin/../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) | ^~~~~~~~~~~~~ fuseplugin/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o snapshot_helper/urbackup_snapshot_helper-main.o `test -f 'snapshot_helper/main.cpp' || echo './'`snapshot_helper/main.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from snapshot_helper/main.cpp:6: snapshot_helper/../stringtools.h: In function 'float {anonymous}::little_endian(float)': snapshot_helper/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h: In function 'double {anonymous}::little_endian(double)': snapshot_helper/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h: In function 'float {anonymous}::big_endian(float)': snapshot_helper/../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 snapshot_helper/main.cpp:21: snapshot_helper/../Server.h: At global scope: snapshot_helper/../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 snapshot_helper/../Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ snapshot_helper/../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; | ^~~~~~~~ snapshot_helper/../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; | ^~~~~~~~ snapshot_helper/../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 snapshot_helper/../LookupService.h:2, from snapshot_helper/../Server.h:15: snapshot_helper/../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) | ^~~~~~~~~~ snapshot_helper/../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) | ^~~~~~~~~~~~~~~~ snapshot_helper/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ snapshot_helper/../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) | ^~~~~~~~~~ snapshot_helper/../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) | ^~~~~~~~~~ snapshot_helper/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ snapshot_helper/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ snapshot_helper/../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) | ^~~~~~~~~~~~~ snapshot_helper/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -I/usr/include -I/usr/include -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o mount_helper/urbackup_mount_helper-main.o `test -f 'mount_helper/main.cpp' || echo './'`mount_helper/main.cpp : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from mount_helper/main.cpp:4: mount_helper/../stringtools.h: In function 'float {anonymous}::little_endian(float)': mount_helper/../stringtools.h:212:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 212 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_helper/../stringtools.h: In function 'double {anonymous}::little_endian(double)': mount_helper/../stringtools.h:226:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 226 | return *reinterpret_cast(&ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_helper/../stringtools.h: In function 'float {anonymous}::big_endian(float)': mount_helper/../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 mount_helper/main.cpp:22: mount_helper/../Server.h: At global scope: mount_helper/../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 mount_helper/../Server.h:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ mount_helper/../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; | ^~~~~~~~ mount_helper/../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; | ^~~~~~~~ mount_helper/../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; | ^~~~~~~~ mount_helper/main.cpp: In function 'bool mount_linux_loop(const std::string&, int, int64, int64)': mount_helper/main.cpp:312:13: warning: unused variable 'last_loopd' [-Wunused-variable] 312 | int last_loopd=-1; | ^~~~~~~~~~ In file included from mount_helper/../LookupService.h:2, from mount_helper/../Server.h:15: mount_helper/../socket_header.h: At global scope: mount_helper/../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) | ^~~~~~~~~~ mount_helper/../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) | ^~~~~~~~~~~~~~~~ mount_helper/../stringtools.h:294:7: warning: 'float {anonymous}::big_endian(float)' defined but not used [-Wunused-function] 294 | float big_endian(float x) | ^~~~~~~~~~ mount_helper/../stringtools.h:282:7: warning: 'int64 {anonymous}::big_endian(int64)' defined but not used [-Wunused-function] 282 | int64 big_endian(int64 x) | ^~~~~~~~~~ mount_helper/../stringtools.h:270:8: warning: 'uint64 {anonymous}::big_endian(uint64)' defined but not used [-Wunused-function] 270 | uint64 big_endian(uint64 x) | ^~~~~~~~~~ mount_helper/../stringtools.h:258:5: warning: 'int {anonymous}::big_endian(int)' defined but not used [-Wunused-function] 258 | int big_endian(int x) | ^~~~~~~~~~ mount_helper/../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) | ^~~~~~~~~~ mount_helper/../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) | ^~~~~~~~~~ mount_helper/../stringtools.h:220:8: warning: 'double {anonymous}::little_endian(double)' defined but not used [-Wunused-function] 220 | double little_endian(double x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:206:7: warning: 'float {anonymous}::little_endian(float)' defined but not used [-Wunused-function] 206 | float little_endian(float x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:194:7: warning: 'int64 {anonymous}::little_endian(int64)' defined but not used [-Wunused-function] 194 | int64 little_endian(int64 x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:182:8: warning: 'uint64 {anonymous}::little_endian(uint64)' defined but not used [-Wunused-function] 182 | uint64 little_endian(uint64 x) | ^~~~~~~~~~~~~ mount_helper/../stringtools.h:170:5: warning: 'int {anonymous}::little_endian(int)' defined but not used [-Wunused-function] 170 | int little_endian(int x) | ^~~~~~~~~~~~~ mount_helper/../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) | ^~~~~~~~~~~~~ mount_helper/../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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o cryptoplugin/urbackupsrv-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-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DSQLITE_PREPARE_RETRIES=5 -DNDEBUG -I/usr/include -DUSE_SYSTEM_SQLITE -I/usr/include -I/usr/include -fPIE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o luaplugin/src/urbackupsrv-all.o `test -f 'luaplugin/src/all.c' || echo './'`luaplugin/src/all.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackup_snapshot_helper snapshot_helper/urbackup_snapshot_helper-main.o urbackupcommon/urbackup_snapshot_helper-os_functions_lin_min.o urbackup_snapshot_helper-stringtools.o -llmdb -lz -llmdb make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DOS_FUNC_NO_NET -DOS_FUNC_NO_IFACE_SERVER -DLINUX -DWITH_FUSEPLUGIN -DBINDIR='"/usr/bin"' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fpie -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackup_mount_helper mount_helper/urbackup_mount_helper-main.o urbackupcommon/urbackup_mount_helper-os_functions_lin_min.o urbackup_mount_helper-stringtools.o -llmdb -lz -llmdb make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' x86_64-alt-linux-g++ -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fpie -L/usr/lib -Wl,-z,relro -L/usr/lib -L/usr/lib -o urbackupsrv urbackupsrv-AcceptThread.o urbackupsrv-Client.o urbackupsrv-Database.o urbackupsrv-Query.o urbackupsrv-SelectThread.o urbackupsrv-Server.o urbackupsrv-ServerLinux.o urbackupsrv-ServiceAcceptor.o urbackupsrv-ServiceWorker.o urbackupsrv-SessionMgr.o urbackupsrv-StreamPipe.o urbackupsrv-Template.o urbackupsrv-WorkerThread.o urbackupsrv-main.o urbackupsrv-md5.o urbackupsrv-stringtools.o libfastcgi/urbackupsrv-fastcgi.o urbackupsrv-Mutex_lin.o urbackupsrv-LoadbalancerClient.o urbackupsrv-DBSettingsReader.o urbackupsrv-file_common.o urbackupsrv-file_fstream.o urbackupsrv-file_linux.o urbackupsrv-FileSettingsReader.o urbackupsrv-LookupService.o urbackupsrv-SettingsReader.o urbackupsrv-Table.o urbackupsrv-OutputStream.o urbackupsrv-ThreadPool.o urbackupsrv-MemoryPipe.o urbackupsrv-Condition_lin.o urbackupsrv-MemorySettingsReader.o sqlite/urbackupsrv-shell.o urbackupsrv-SQLiteFactory.o urbackupsrv-PipeThrottler.o urbackupsrv-mt19937ar.o urbackupsrv-DatabaseCursor.o urbackupsrv-SharedMutex_lin.o urbackupsrv-StaticPluginRegistration.o common/urbackupsrv-data.o common/urbackupsrv-adler32.o common/urbackupsrv-miniz.o fsimageplugin/urbackupsrv-dllmain.o fsimageplugin/urbackupsrv-filesystem.o fsimageplugin/urbackupsrv-FSImageFactory.o fsimageplugin/urbackupsrv-pluginmgr.o fsimageplugin/urbackupsrv-vhdfile.o fsimageplugin/urbackupsrv-vhdxfile.o fsimageplugin/fs/urbackupsrv-ntfs.o fsimageplugin/fs/urbackupsrv-unknown.o fsimageplugin/urbackupsrv-CompressedFile.o fsimageplugin/urbackupsrv-LRUMemCache.o fsimageplugin/urbackupsrv-cowfile.o fsimageplugin/urbackupsrv-FileWrapper.o fsimageplugin/urbackupsrv-ClientBitmap.o fsimageplugin/urbackupsrv-partclone.o urbackupcommon/urbackupsrv-os_functions_lin.o urbackupcommon/sha2/urbackupsrv-sha2.o urbackupcommon/fileclient/urbackupsrv-FileClient.o urbackupcommon/fileclient/urbackupsrv-tcpstack.o urbackupcommon/urbackupsrv-escape.o urbackupcommon/urbackupsrv-bufmgr.o urbackupcommon/urbackupsrv-json.o urbackupcommon/urbackupsrv-CompressedPipe.o urbackupcommon/urbackupsrv-InternetServicePipe2.o urbackupcommon/urbackupsrv-settingslist.o urbackupcommon/fileclient/urbackupsrv-FileClientChunked.o urbackupcommon/urbackupsrv-InternetServicePipe.o urbackupcommon/urbackupsrv-filelist_utils.o urbackupcommon/urbackupsrv-file_metadata.o urbackupcommon/urbackupsrv-glob.o urbackupcommon/urbackupsrv-chunk_hasher.o urbackupcommon/urbackupsrv-CompressedPipe2.o urbackupcommon/urbackupsrv-SparseFile.o urbackupcommon/urbackupsrv-ExtentIterator.o urbackupcommon/urbackupsrv-TreeHash.o urbackupcommon/urbackupsrv-CompressedPipeZstd.o httpserver/urbackupsrv-dllmain.o httpserver/urbackupsrv-IndexFiles.o httpserver/urbackupsrv-HTTPAction.o httpserver/urbackupsrv-HTTPFile.o httpserver/urbackupsrv-HTTPService.o httpserver/urbackupsrv-HTTPClient.o httpserver/urbackupsrv-HTTPProxy.o httpserver/urbackupsrv-MIMEType.o httpserver/urbackupsrv-HTTPSocket.o urbackupserver/urbackupsrv-dllmain.o urbackupserver/urbackupsrv-server.o urbackupserver/urbackupsrv-ClientMain.o urbackupserver/urbackupsrv-server_hash.o urbackupserver/urbackupsrv-server_prepare_hash.o urbackupserver/urbackupsrv-server_update.o urbackupserver/urbackupsrv-server_status.o urbackupserver/urbackupsrv-server_channel.o urbackupserver/urbackupsrv-server_ping.o urbackupserver/urbackupsrv-server_log.o urbackupserver/urbackupsrv-server_writer.o urbackupserver/urbackupsrv-server_running.o urbackupserver/urbackupsrv-server_cleanup.o urbackupserver/urbackupsrv-server_settings.o urbackupserver/urbackupsrv-server_update_stats.o urbackupserver/serverinterface/urbackupsrv-helper.o urbackupserver/serverinterface/urbackupsrv-lastacts.o urbackupserver/serverinterface/urbackupsrv-login.o urbackupserver/serverinterface/urbackupsrv-progress.o urbackupserver/serverinterface/urbackupsrv-salt.o urbackupserver/serverinterface/urbackupsrv-users.o urbackupserver/serverinterface/urbackupsrv-piegraph.o urbackupserver/serverinterface/urbackupsrv-usage.o urbackupserver/serverinterface/urbackupsrv-usagegraph.o urbackupserver/serverinterface/urbackupsrv-status.o urbackupserver/serverinterface/urbackupsrv-settings.o urbackupserver/serverinterface/urbackupsrv-backups.o urbackupserver/serverinterface/urbackupsrv-logs.o urbackupserver/serverinterface/urbackupsrv-getimage.o urbackupserver/serverinterface/urbackupsrv-download_client.o urbackupserver/treediff/urbackupsrv-TreeDiff.o urbackupserver/treediff/urbackupsrv-TreeNode.o urbackupserver/treediff/urbackupsrv-TreeReader.o urbackupserver/urbackupsrv-ChunkPatcher.o urbackupserver/urbackupsrv-InternetServiceConnector.o urbackupserver/urbackupsrv-server_archive.o urbackupserver/urbackupsrv-filedownload.o urbackupserver/serverinterface/urbackupsrv-shutdown.o urbackupserver/urbackupsrv-snapshot_helper.o urbackupserver/urbackupsrv-verify_hashes.o urbackupserver/apps/urbackupsrv-cleanup_cmd.o urbackupserver/apps/urbackupsrv-repair_cmd.o urbackupserver/apps/urbackupsrv-md5sum_check.o urbackupserver/apps/urbackupsrv-patch.o urbackupserver/dao/urbackupsrv-ServerCleanupDao.o urbackupserver/lmdb/urbackupsrv-mdb.o urbackupserver/lmdb/urbackupsrv-midl.o urbackupserver/urbackupsrv-LMDBFileIndex.o urbackupserver/urbackupsrv-FileIndex.o urbackupserver/urbackupsrv-create_files_index.o urbackupserver/serverinterface/urbackupsrv-livelog.o urbackupserver/serverinterface/urbackupsrv-start_backup.o urbackupserver/serverinterface/urbackupsrv-create_zip.o urbackupserver/urbackupsrv-server_dir_links.o urbackupserver/dao/urbackupsrv-ServerBackupDao.o urbackupserver/apps/urbackupsrv-export_auth_log.o urbackupserver/apps/urbackupsrv-check_files_index.o urbackupserver/urbackupsrv-ServerDownloadThread.o urbackupserver/urbackupsrv-ServerDownloadThreadGroup.o urbackupserver/urbackupsrv-Backup.o urbackupserver/urbackupsrv-ImageBackup.o urbackupserver/urbackupsrv-FileBackup.o urbackupserver/urbackupsrv-IncrFileBackup.o urbackupserver/urbackupsrv-FullFileBackup.o urbackupserver/urbackupsrv-ContinuousBackup.o urbackupserver/urbackupsrv-ThrottleUpdater.o urbackupserver/urbackupsrv-FileMetadataDownloadThread.o urbackupserver/urbackupsrv-restore_client.o urbackupcommon/urbackupsrv-WalCheckpointThread.o urbackupserver/apps/urbackupsrv-skiphash_copy.o urbackupserver/urbackupsrv-cmdline_preprocessor.o urbackupserver/dao/urbackupsrv-ServerFilesDao.o urbackupserver/dao/urbackupsrv-ServerLinkDao.o urbackupserver/dao/urbackupsrv-ServerLinkJournalDao.o urbackupserver/serverinterface/urbackupsrv-add_client.o urbackupserver/serverinterface/urbackupsrv-restore_prepare_wait.o urbackupserver/urbackupsrv-copy_storage.o urbackupserver/urbackupsrv-ImageMount.o urbackupserver/urbackupsrv-DataplanDb.o urbackupserver/urbackupsrv-PhashLoad.o urbackupserver/serverinterface/urbackupsrv-scripts.o urbackupserver/urbackupsrv-Alerts.o urbackupserver/urbackupsrv-Mailer.o urbackupserver/urbackupsrv-LogReport.o urbackupserver/serverinterface/urbackupsrv-status_check.o urbackupserver/apps/urbackupsrv-blockalign.o urbackupserver/serverinterface/urbackupsrv-restore_image.o urbackupserver/urbackupsrv-WebSocketConnector.o urbackupcommon/urbackupsrv-WebSocketPipe.o fileservplugin/urbackupsrv-dllmain.o fileservplugin/urbackupsrv-bufmgr.o fileservplugin/urbackupsrv-CClientThread.o fileservplugin/urbackupsrv-CriticalSection.o fileservplugin/urbackupsrv-CTCPFileServ.o fileservplugin/urbackupsrv-CUDPThread.o fileservplugin/urbackupsrv-FileServ.o fileservplugin/urbackupsrv-FileServFactory.o fileservplugin/urbackupsrv-log.o fileservplugin/urbackupsrv-main.o fileservplugin/urbackupsrv-map_buffer.o fileservplugin/urbackupsrv-pluginmgr.o fileservplugin/urbackupsrv-ChunkSendThread.o fileservplugin/urbackupsrv-PipeFile.o fileservplugin/urbackupsrv-PipeSessions.o fileservplugin/urbackupsrv-PipeFileUnix.o fileservplugin/urbackupsrv-PipeFileBase.o fileservplugin/urbackupsrv-FileMetadataPipe.o fileservplugin/urbackupsrv-PipeFileTar.o fileservplugin/urbackupsrv-PipeFileExt.o urlplugin/urbackupsrv-dllmain.o urlplugin/urbackupsrv-pluginmgr.o urlplugin/urbackupsrv-UrlFactory.o cryptoplugin/urbackupsrv-dllmain.o cryptoplugin/urbackupsrv-AESDecryption.o cryptoplugin/urbackupsrv-CryptoFactory.o cryptoplugin/urbackupsrv-pluginmgr.o cryptoplugin/urbackupsrv-AESEncryption.o cryptoplugin/urbackupsrv-ZlibCompression.o cryptoplugin/urbackupsrv-ZlibDecompression.o cryptoplugin/urbackupsrv-AESGCMDecryption.o cryptoplugin/urbackupsrv-AESGCMEncryption.o cryptoplugin/urbackupsrv-ECDHKeyExchange.o luaplugin/urbackupsrv-dllmain.o luaplugin/urbackupsrv-LuaInterpreter.o luaplugin/urbackupsrv-pluginmgr.o fuseplugin/urbackupsrv-dllmain.o -lcurl -ldl -lfuse -pthread -lcryptopp -llua-5.4 -lzstd -llmdb -L/usr/lib -lsqlite3 -llmdb -lz -llmdb urbackupserver/server_channel.h:16:7: warning: type 'struct ServerChannelThread' violates the C++ One Definition Rule [-Wodr] 16 | class ServerChannelThread : public IThread | ^ urbackupserver/server_channel.h:16:7: note: a different type is defined in another translation unit 16 | class ServerChannelThread : public IThread | ^ urbackupserver/server_channel.h:112:33: note: the first difference of corresponding definitions is field 'keepalive_thread' 112 | SessionKeepaliveThread* keepalive_thread; | ^ urbackupserver/server_channel.h:112:33: note: a field of same name but different type is defined in another translation unit 112 | SessionKeepaliveThread* keepalive_thread; | ^ urbackupserver/server_channel.h:12:7: note: type 'struct SessionKeepaliveThread' defined in anonymous namespace cannot match across the translation unit boundary 12 | class SessionKeepaliveThread; | ^ urbackupserver/server_channel.cpp:72:15: note: the incompatible type defined in another translation unit 72 | class SessionKeepaliveThread : public IThread | ^ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: type 'struct FileMetadataDownloadThread' violates the C++ One Definition Rule [-Wodr] 38 | class FileMetadataDownloadThread : public IThread | ^ urbackupserver/FileMetadataDownloadThread.h:38:7: note: a different type is defined in another translation unit 38 | class FileMetadataDownloadThread : public IThread | ^ urbackupserver/FileMetadataDownloadThread.h:116:34: note: the first difference of corresponding definitions is field 'saved_folder_items' 116 | std::vector saved_folder_items; | ^ urbackupserver/FileMetadataDownloadThread.h:116:34: note: a field of same name but different type is defined in another translation unit 116 | std::vector saved_folder_items; | ^ /usr/include/c++/14/bits/stl_vector.h:428:11: note: type 'struct vector' defined in anonymous namespace cannot match across the translation unit boundary 428 | class vector : protected _Vector_base<_Tp, _Alloc> | ^ urbackupserver/ServerDownloadThread.h:140:7: warning: type 'struct ServerDownloadThread' violates the C++ One Definition Rule [-Wodr] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^ urbackupserver/ServerDownloadThread.h:140:7: note: a different type is defined in another translation unit 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^ urbackupserver/ServerDownloadThread.h:321:32: note: the first difference of corresponding definitions is field 'dl_queue' 321 | std::deque dl_queue; | ^ urbackupserver/ServerDownloadThread.h:321:32: note: a field of same name but different type is defined in another translation unit 321 | 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> | ^ urbackupserver/ServerDownloadThread.h:197:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 197 | ~ServerDownloadThread(); | ^ urbackupserver/ServerDownloadThread.cpp:72:1: note: '__dt_comp ' was previously declared here 72 | ServerDownloadThread::~ServerDownloadThread() | ^ urbackupserver/ServerDownloadThread.cpp:72:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:189:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 189 | ServerDownloadThread(FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, | ^ urbackupserver/ServerDownloadThread.cpp:45:1: note: '__ct_comp ' was previously declared here 45 | ServerDownloadThread::ServerDownloadThread( FileClient& fc, FileClientChunked* fc_chunked, const std::string& backuppath, const std::string& backuppath_hashes, const std::string& last_backuppath, const std::string& last_backuppath_complete, bool hashed_transfer, bool save_incomplete_file, int clientid, | ^ urbackupserver/ServerDownloadThread.cpp:45:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:201:14: warning: type of 'addToQueueFull' does not match original declaration [-Wlto-type-mismatch] 201 | void addToQueueFull(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, const std::string &os_path, | ^ urbackupserver/ServerDownloadThread.cpp:258:6: note: 'addToQueueFull' was previously declared here 258 | void ServerDownloadThread::addToQueueFull(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, | ^ urbackupserver/ServerDownloadThread.cpp:258:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:226:14: warning: type of 'isDownloadPartial' does not match original declaration [-Wlto-type-mismatch] 226 | bool isDownloadPartial(size_t id); | ^ urbackupserver/ServerDownloadThread.cpp:1073:6: note: 'isDownloadPartial' was previously declared here 1073 | bool ServerDownloadThread::isDownloadPartial( size_t id ) | ^ urbackupserver/ServerDownloadThread.cpp:1073:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:224:14: warning: type of 'isDownloadOk' does not match original declaration [-Wlto-type-mismatch] 224 | bool isDownloadOk(size_t id); | ^ urbackupserver/ServerDownloadThread.cpp:1067:6: note: 'isDownloadOk' was previously declared here 1067 | bool ServerDownloadThread::isDownloadOk( size_t id ) | ^ urbackupserver/ServerDownloadThread.cpp:1067:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:263:14: warning: type of 'deleteTempFolder' does not match original declaration [-Wlto-type-mismatch] 263 | bool deleteTempFolder(); | ^ urbackupserver/ServerDownloadThread.cpp:1555:6: note: 'deleteTempFolder' was previously declared here 1555 | bool ServerDownloadThread::deleteTempFolder() | ^ urbackupserver/ServerDownloadThread.cpp:1555:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:214:14: warning: type of 'queueSkip' does not match original declaration [-Wlto-type-mismatch] 214 | void queueSkip(); | ^ urbackupserver/ServerDownloadThread.cpp:1569:6: note: 'queueSkip' was previously declared here 1569 | void ServerDownloadThread::queueSkip() | ^ urbackupserver/ServerDownloadThread.cpp:1569:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:212:14: warning: type of 'queueStop' does not match original declaration [-Wlto-type-mismatch] 212 | void queueStop(); | ^ urbackupserver/ServerDownloadThread.cpp:1057:6: note: 'queueStop' was previously declared here 1057 | void ServerDownloadThread::queueStop() | ^ urbackupserver/ServerDownloadThread.cpp:1057:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:210:14: warning: type of 'addToQueueStopShadowcopy' does not match original declaration [-Wlto-type-mismatch] 210 | void addToQueueStopShadowcopy(const std::string& fn); | ^ urbackupserver/ServerDownloadThread.cpp:378:6: note: 'addToQueueStopShadowcopy' was previously declared here 378 | void ServerDownloadThread::addToQueueStopShadowcopy(const std::string& fn) | ^ urbackupserver/ServerDownloadThread.cpp:378:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:208:14: warning: type of 'addToQueueStartShadowcopy' does not match original declaration [-Wlto-type-mismatch] 208 | void addToQueueStartShadowcopy(const std::string& fn); | ^ urbackupserver/ServerDownloadThread.cpp:364:6: note: 'addToQueueStartShadowcopy' was previously declared here 364 | void ServerDownloadThread::addToQueueStartShadowcopy(const std::string& fn) | ^ urbackupserver/ServerDownloadThread.cpp:364:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:205:14: warning: type of 'addToQueueChunked' does not match original declaration [-Wlto-type-mismatch] 205 | void addToQueueChunked(size_t id, const std::string &fn, const std::string &short_fn, const std::string &curr_path, | ^ urbackupserver/ServerDownloadThread.cpp:319:6: note: 'addToQueueChunked' was previously declared here 319 | void ServerDownloadThread::addToQueueChunked(size_t id, const std::string &fn, const std::string &short_fn, | ^ urbackupserver/ServerDownloadThread.cpp:319:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:251:14: warning: type of 'shouldBackoff' does not match original declaration [-Wlto-type-mismatch] 251 | bool shouldBackoff(); | ^ urbackupserver/ServerDownloadThread.cpp:1913:6: note: 'shouldBackoff' was previously declared here 1913 | bool ServerDownloadThread::shouldBackoff() | ^ urbackupserver/ServerDownloadThread.cpp:1913:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:249:14: warning: type of 'hasTimeout' does not match original declaration [-Wlto-type-mismatch] 249 | bool hasTimeout(); | ^ urbackupserver/ServerDownloadThread.cpp:1908:6: note: 'hasTimeout' was previously declared here 1908 | bool ServerDownloadThread::hasTimeout() | ^ urbackupserver/ServerDownloadThread.cpp:1908:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:261:14: warning: type of 'getHasDiskError' does not match original declaration [-Wlto-type-mismatch] 261 | bool getHasDiskError(); | ^ urbackupserver/ServerDownloadThread.cpp:1550:6: note: 'getHasDiskError' was previously declared here 1550 | bool ServerDownloadThread::getHasDiskError() | ^ urbackupserver/ServerDownloadThread.cpp:1550:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:259:16: warning: type of 'getNumIssues' does not match original declaration [-Wlto-type-mismatch] 259 | size_t getNumIssues(); | ^ urbackupserver/ServerDownloadThread.cpp:1545:8: note: 'getNumIssues' was previously declared here 1545 | size_t ServerDownloadThread::getNumIssues() | ^ urbackupserver/ServerDownloadThread.cpp:1545:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:257:16: warning: type of 'getNumEmbeddedMetadataFiles' does not match original declaration [-Wlto-type-mismatch] 257 | size_t getNumEmbeddedMetadataFiles(); | ^ urbackupserver/ServerDownloadThread.cpp:1540:8: note: 'getNumEmbeddedMetadataFiles' was previously declared here 1540 | size_t ServerDownloadThread::getNumEmbeddedMetadataFiles() | ^ urbackupserver/ServerDownloadThread.cpp:1540:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:255:16: warning: type of 'queueSize' does not match original declaration [-Wlto-type-mismatch] 255 | size_t queueSize(); | ^ urbackupserver/ServerDownloadThread.cpp:1534:8: note: 'queueSize' was previously declared here 1534 | size_t ServerDownloadThread::queueSize() | ^ urbackupserver/ServerDownloadThread.cpp:1534:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:253:14: warning: type of 'queueFull' does not match original declaration [-Wlto-type-mismatch] 253 | bool queueFull(); | ^ urbackupserver/ServerDownloadThread.cpp:1524:6: note: 'queueFull' was previously declared here 1524 | bool ServerDownloadThread::queueFull() | ^ urbackupserver/ServerDownloadThread.cpp:1524:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:230:16: warning: type of 'getMaxOkId' does not match original declaration [-Wlto-type-mismatch] 230 | size_t getMaxOkId(); | ^ urbackupserver/ServerDownloadThread.cpp:1079:8: note: 'getMaxOkId' was previously declared here 1079 | size_t ServerDownloadThread::getMaxOkId() | ^ urbackupserver/ServerDownloadThread.cpp:1079:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/ServerDownloadThread.h:232:14: warning: type of 'isOffline' does not match original declaration [-Wlto-type-mismatch] 232 | bool isOffline(); | ^ urbackupserver/ServerDownloadThread.cpp:1051:6: note: 'isOffline' was previously declared here 1051 | bool ServerDownloadThread::isOffline() | ^ urbackupserver/ServerDownloadThread.cpp:1051:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.38739 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/urbackup-server-buildroot + : + /bin/rm -rf -- /usr/src/tmp/urbackup-server-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd urbackup-server-2.5.33 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/urbackup-server-buildroot make: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' /usr/bin/mkdir -p '/usr/src/tmp/urbackup-server-buildroot/usr/bin' /usr/libexec/rpm-build/install -p urbackupsrv urbackup_snapshot_helper urbackup_mount_helper '/usr/src/tmp/urbackup-server-buildroot/usr/bin' mkdir -p "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup" test "x/usr/src/tmp/urbackup-server-buildroot/usr/sbin" = "x/usr/src/tmp/urbackup-server-buildroot/usr/bin" || ! test -e /usr/src/tmp/urbackup-server-buildroot/usr/sbin/urbackupsrv || rm /usr/src/tmp/urbackup-server-buildroot/usr/sbin/urbackupsrv make install-exec-hook make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' chmod +s /usr/src/tmp/urbackup-server-buildroot/usr/bin/urbackup_snapshot_helper chmod +s /usr/src/tmp/urbackup-server-buildroot/usr/bin/urbackup_mount_helper make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup" chmod +x "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup" /usr/libexec/rpm-build/install -p -m 644 ./urbackup/dataplan_db.txt "/usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup/dataplan_db.txt" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup" chmod +x "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/css" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/base" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/base/worker" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/basic-languages" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/basic-languages/src" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/editor" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/fonts" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/images" /usr/libexec/rpm-build/install -p -m 744 -d "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/swf" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/*.js "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/*.js "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/base/worker/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/base/worker/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/basic-languages/src/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/basic-languages/src/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/js/vs/editor/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/js/vs/editor/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/*.htm "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/*.ico "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/css/*.css "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/css/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/images/*.png "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/images/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/images/*.gif "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/images/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/swf/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/swf/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/www/fonts/* "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/www/fonts/" /usr/libexec/rpm-build/install -p -m 644 ./urbackupserver/urbackup_ecdsa409k1.pub "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/urbackup_ecdsa409k1.pub" /usr/libexec/rpm-build/install -p -m 644 ./server-license.txt "/usr/src/tmp/urbackup-server-buildroot/usr/share/urbackup/server-license.txt" make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' make: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.33' + mkdir -p /usr/src/tmp/urbackup-server-buildroot/usr/lib/systemd/system /usr/src/tmp/urbackup-server-buildroot/usr/share/man/man1 /usr/src/tmp/urbackup-server-buildroot/etc/logrotate.d /usr/src/tmp/urbackup-server-buildroot/var/log /usr/src/tmp/urbackup-server-buildroot/var/lib/urbackup + mkdir -p /usr/src/tmp/urbackup-server-buildroot/etc/sysconfig + mkdir -p /usr/src/tmp/urbackup-server-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/urbackup-server-buildroot/usr/lib/firewalld/services + install -m 644 defaults_server /usr/src/tmp/urbackup-server-buildroot/etc/sysconfig/urbackup-server + install -m 640 urbackup-server-firewalld.xml /usr/src/tmp/urbackup-server-buildroot/usr/lib/firewalld/services/urbackup-server.xml + install -m 644 urbackup-server.service /usr/src/tmp/urbackup-server-buildroot/usr/lib/systemd/system/urbackup-server.service + install -m 644 docs/urbackupsrv.1 /usr/src/tmp/urbackup-server-buildroot/usr/share/man/man1/urbackup-server.1 + install -m 644 logrotate_urbackupsrv /usr/src/tmp/urbackup-server-buildroot/etc/logrotate.d/urbackup-server + touch /usr/src/tmp/urbackup-server-buildroot/var/log/urbackup.log + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/urbackup-server-buildroot (auto) mode of 'usr/share/urbackup/www' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/css' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/base' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/base/worker' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/basic-languages' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/basic-languages/src' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/js/vs/editor' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/fonts' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/images' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of 'usr/share/urbackup/www/swf' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of './usr/bin/urbackup_snapshot_helper' changed from 6755 (rwsr-sr-x) to 6711 (rws--s--x) mode of './usr/bin/urbackup_mount_helper' changed from 6755 (rwsr-sr-x) to 6711 (rws--s--x) Verifying and fixing files in /usr/src/tmp/urbackup-server-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/urbackup-server-buildroot/ (default) Compressing files in /usr/src/tmp/urbackup-server-buildroot (auto) Verifying systemd units in /usr/src/tmp/urbackup-server-buildroot Adjusting library links in /usr/src/tmp/urbackup-server-buildroot ./usr/lib: (from :0) ./var/lib: (from :0) Verifying ELF objects in /usr/src/tmp/urbackup-server-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-server-buildroot Processing files: urbackup-server-2.5.33-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.55073 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-server-2.5.33 + DOCDIR=/usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.33 + export DOCDIR + rm -rf /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.33 + /bin/mkdir -p /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.33 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.33 + chmod -R go-w /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.33 + chmod -R a+rX /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.33 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.20ZTDn find-provides: running scripts (alternatives,debuginfo,lib,lua,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fybZf8 find-requires: running scripts (cpp,debuginfo,files,lib,lua,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SwfLGB Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rvunAx Requires: guestfs-tools, urbackup-common = 2.5.33-alt1, /etc/logrotate.d, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.14)(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.28)(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.32)(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), libcryptopp.so.8()(64bit) >= set:qh9EfBETZL3ygxkgzp1iOEiXBS0CQ0HIdhjzJqGGWnPL5r2AdiUqpNGTk8sKX4D0lPh3fFZL5IN0uQKJilmAJgjWY2tV9Da4vSionJOxMOHCD2RtKMjCFAoZq2dNWP95mm1qGslNlZDcwy6dOWZbnfCK8O306NzE5RVbNKX9C6Z2nKG5O5vCZFwWzkjWy8kZlWhtw9GoB4veZ41em3ACkZtkZH0Iz2Sl47k1ITzlGRZi6d54sylSEmwRehRhUJ0PY8kbF2dvniHZLdkXxCrlYCibn9mGxDZAlRqI6P48R6z7FP21z5DQc4TFJsH3cQjSfPyFbTKxbZhXi57RtYtE9nefTO5YZn6X2sDIGGsdqT9mzP6e7TLAk3PxgEGChlZoHZA8EIeTR0BtZC0t6JyycfcG8oV3RLRRJnEwQoWN8qMZgAeiaBclBxVFi6EQpeaoTMVYhi5oQGHsyfGGZAQy2qadFOyFin9y1dkbMXhnF3SncX5o3g1gywZkbdbwzIKDwwVisUNfnTZvsiZa9aZ8v8156BiTvZKhbDPjq56Lx9QP3SsPeJGmMyOZDk4Zwk5zua43UZnAubZm4bF7UI7XAbWZuplZ75AscIqCKrwEZ2SaGiyOsjEaVZhy2mStZ4jsE4zl73FHi9rPZ1InGzJGUaicPXDJlBQe4HoqQZeBT2NKdkD2uG9XqNiOat4Fc2qPaHjuqbJRIQ70gfQ8kpCn4RckKZ0ypZ6MZcbvzGRZ5lCl75aFQzRvGOsjq5pXZFn2uj0hM0aa46ZK42NA4oLvKGuyPF0tAyOeAJtKHRfNV05kbSugNuzPvxlu6BYo49MoLWFjB7vI7jJ71NE67i8cneE1R1mhM9mDB1wAZHomIW8LRvZA9Xchz5bw0zuU7IDu0IhctbH6rgVgwgt5h7Topz1xoWQSzZBSMH0Xk20HNrBGxfptyhaPKGAX3e2Ppxc0HZ2J5fZ54tPgV3Xb6wYSMenPaxeq2C0EozZh7Pjf2ogF1q2ogs6uzXTp5lAzOmeqUmeUWlbGG9, libcurl.so.4()(64bit) >= set:kgZtdjewuBSO0LLEPIqxL17, libcurl.so.4(CURL_GNUTLS_4)(64bit), libfuse.so.2()(64bit) >= set:lhHU7azOPJkVL9DpvhqU7Oy7, libfuse.so.2(FUSE_2.2)(64bit), libfuse.so.2(FUSE_2.5)(64bit), libfuse.so.2(FUSE_2.6)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), liblua-5.4.so()(64bit) >= set:lf0Qi9BTUIhAmq0vkbp8cdTer09y9cDNMnF1fskRYGVlFzAsCDMKvJtSZ5Su49wqTCihuVVBO2YLo9ndVEbAM8jZ7GXkbYTwfHcaUthZ7zL2, libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.29)(64bit), libsqlite3.so.0()(64bit) >= set:ogbW4LL2mZuAK1hytgqkzyhhAa59gOdSYdOakqe9GjCh0UwbG9e1CtroG90gZsYu91r1FYInOrs90uDZ97A9rLM2ZezSQf1pFBtfcRcVJ2eC4LYXgf7BZ2jZuA7Ha5Mqs2gnTHf6JqPF4jvEFhZ0JYE5AR4CGuEjaHXiXCx89KDGVwmMUZeUuy0TdI0w2hxFnDigLcDJ8p1rX2oHwYT296SmWZdxZJMkDtI0UVedI0gOJ7zXvh5l103AIInzGg85bJ1fIoy0qKVzlPmxXqZbCZlaSPwicZqQzUgrjAcg6ZgU1I96TP4kqRZ8ghket4zrgH70xOPthIP4LWGeZ7meBJSn0, 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, rtld(GNU_HASH) 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.KaDO35 Creating urbackup-server-debuginfo package Processing files: urbackup-common-2.5.33-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hsToEs find-provides: running scripts (alternatives,debuginfo,lib,lua,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Z17gkk find-requires: running scripts (cpp,debuginfo,files,lib,lua,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jlUul6 find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd useradd Requires(interp): /bin/sh Requires(pre): /bin/sh, shadow-utils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GGkUZ4 Processing files: urbackup-server-debuginfo-2.5.33-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CIjkFS find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RckXx0 find-requires: running scripts (debuginfo) Requires: urbackup-server = 2.5.33-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcryptopp.so.8), debug64(libcurl.so.4), debug64(libfuse.so.2), debug64(libgcc_s.so.1), debug64(liblua-5.4.so), debug64(libm.so.6), debug64(libsqlite3.so.0), debug64(libstdc++.so.6), debug64(libz.so.1), debug64(libzstd.so.1) Adding to urbackup-server a strict dependency on urbackup-common Adding to urbackup-server-debuginfo a strict dependency on urbackup-server Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-server-2.5.33-alt1.x86_64.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-common-2.5.33-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-server-debuginfo-2.5.33-alt1.x86_64.rpm (w2T8.xzdio) 474.37user 39.33system 4:44.79elapsed 180%CPU (0avgtext+0avgdata 325028maxresident)k 0inputs+0outputs (0major+11440496minor)pagefaults 0swaps 6.14user 2.40system 5:04.05elapsed 2%CPU (0avgtext+0avgdata 137676maxresident)k 2840inputs+0outputs (0major+217082minor)pagefaults 0swaps --- urbackup-server-2.5.33-alt1.x86_64.rpm.repo 2024-03-29 13:54:23.000000000 +0000 +++ urbackup-server-2.5.33-alt1.x86_64.rpm.hasher 2024-12-18 04:49:41.978961501 +0000 @@ -2,3 +2,2 @@ /etc/sysconfig/urbackup-server 100644 root:root -/lib/systemd/system/urbackup-server.service 100644 root:root /usr/bin/urbackup_mount_helper 104710 root:urbackup @@ -7,2 +6,3 @@ /usr/lib/firewalld/services/urbackup-server.xml 100640 root:root +/usr/lib/systemd/system/urbackup-server.service 100644 root:root /usr/share/doc/urbackup-server-2.5.33 40755 root:root @@ -172,5 +172,6 @@ Requires: libc.so.6(GLIBC_2.9)(64bit) -Requires: libcryptopp.so.8()(64bit) >= set:qh9EfBETZL3ygxkgzp1iOEiXBS0CQ0HIdhjzJqGGWnPL5r2AdiUqpNGTk8sKX4D0lPh3fFZL5IN0uQKJilmAJgjWY2tV9Da4vSionJOxMOHCD2RtKMjCFAoZq2dNWP95mm1qGslNlZDcwy6dOWZbnfCK8O306NzE5RVbNKX9C6Z2nKG5O5vCZFwWzkjWy8kZlWhtw9GoB4veZ41em3ACkZtkZH0Iz2Sl47k1ITzlGRZi6d54sylSEmwRehRhUJ0PY8kbF2dvniHZLdkXxCrlYCibn9mGxDZAlRqI6P48R6z7FP21z5DQc4TFJsH3cQjSfPyFbTKxbZhXi57RtYtE9nefTO5YZn6X2sDIGGsdqT9mzP6e7TLAk3PxgEGChlZoHZA8EIeTR0BtZC0t6JyycfcG8oV3RLRRJnEwQoWN8qMZgAeiaBclBxVFi6EQpeaoTMVYhi5oQGHsyfGGZAQy2qadFOyFin9y1dkbMXhnF3SncX5o3g1gywZkbdbwzIKDwwVisUNfnTZvsiZa9aZ8v8156BiTvZKhbDPjq56Lx9QP3SsPeJGmMyOZDk4Zwk5zua43UZnAubZm4bF7UI7XAbWZuplZ75AscIqCKrwEZ2SaGiyOsjEaVZhy2mStZ4jsE4zl73FHi9rPZ1InGzJGUaicPXDJlBQe4HoqQZeBT2NKdkD2uG9XqNiOat4Fc2qPaHjuqbJRIQ70gfQ8kpCn4RckKZ0ypZ6MZcbvzGRZ5lCl75aFQzRvGOsjuiTneqZLYiMr2826ghxMUT94y99MuZIlRjse5EzkkSxIJPtJZpUsw2G5rfEoLNVLMafziucy4oInZ4DafZoZ8FSzwokz394Cb7QwW0H8U4HPO0gOZBcbmtATWLvapD9qIo14oQ3ZwSjf0S8CKBlzdEs8gEKyEzrIINwgctqXNZyrUlwta1wRUJiRMDIeN8BpnlOZ1s4CP2p0mXBSyDZiyKpEYxZ5c0VJxtKCl2tQ4c1gN6Z3eCDu4Mwi3Q4MwUcY6TLPaG87BJsQMJsMRHm0 +Requires: libcryptopp.so.8()(64bit) >= set:qh9EfBETZL3ygxkgzp1iOEiXBS0CQ0HIdhjzJqGGWnPL5r2AdiUqpNGTk8sKX4D0lPh3fFZL5IN0uQKJilmAJgjWY2tV9Da4vSionJOxMOHCD2RtKMjCFAoZq2dNWP95mm1qGslNlZDcwy6dOWZbnfCK8O306NzE5RVbNKX9C6Z2nKG5O5vCZFwWzkjWy8kZlWhtw9GoB4veZ41em3ACkZtkZH0Iz2Sl47k1ITzlGRZi6d54sylSEmwRehRhUJ0PY8kbF2dvniHZLdkXxCrlYCibn9mGxDZAlRqI6P48R6z7FP21z5DQc4TFJsH3cQjSfPyFbTKxbZhXi57RtYtE9nefTO5YZn6X2sDIGGsdqT9mzP6e7TLAk3PxgEGChlZoHZA8EIeTR0BtZC0t6JyycfcG8oV3RLRRJnEwQoWN8qMZgAeiaBclBxVFi6EQpeaoTMVYhi5oQGHsyfGGZAQy2qadFOyFin9y1dkbMXhnF3SncX5o3g1gywZkbdbwzIKDwwVisUNfnTZvsiZa9aZ8v8156BiTvZKhbDPjq56Lx9QP3SsPeJGmMyOZDk4Zwk5zua43UZnAubZm4bF7UI7XAbWZuplZ75AscIqCKrwEZ2SaGiyOsjEaVZhy2mStZ4jsE4zl73FHi9rPZ1InGzJGUaicPXDJlBQe4HoqQZeBT2NKdkD2uG9XqNiOat4Fc2qPaHjuqbJRIQ70gfQ8kpCn4RckKZ0ypZ6MZcbvzGRZ5lCl75aFQzRvGOsjq5pXZFn2uj0hM0aa46ZK42NA4oLvKGuyPF0tAyOeAJtKHRfNV05kbSugNuzPvxlu6BYo49MoLWFjB7vI7jJ71NE67i8cneE1R1mhM9mDB1wAZHomIW8LRvZA9Xchz5bw0zuU7IDu0IhctbH6rgVgwgt5h7Topz1xoWQSzZBSMH0Xk20HNrBGxfptyhaPKGAX3e2Ppxc0HZ2J5fZ54tPgV3Xb6wYSMenPaxeq2C0EozZh7Pjf2ogF1q2ogs6uzXTp5lAzOmeqUmeUWlbGG9 Requires: rpmlib(SetVersions) Requires: libcurl.so.4()(64bit) >= set:kgZtdjewuBSO0LLEPIqxL17 +Requires: libcurl.so.4(CURL_GNUTLS_4)(64bit) Requires: libfuse.so.2()(64bit) >= set:lhHU7azOPJkVL9DpvhqU7Oy7 @@ -186,2 +187,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) @@ -208,7 +210,7 @@ File: /etc/sysconfig/urbackup-server 100644 root:root 40cc43af80c914c3f8be023f10fadb53 -File: /lib/systemd/system/urbackup-server.service 100644 root:root a210cec270ae9a319ddc3f0661c5aadb -File: /usr/bin/urbackup_mount_helper 104710 root:urbackup bbe01b00dbf57679accf89da5e0489bb -File: /usr/bin/urbackup_snapshot_helper 104710 root:urbackup 675e9abce2abe952230e6b04f3838684 -File: /usr/bin/urbackupsrv 100755 root:root 963d49f8fefb6a794b84c9208a126d04 +File: /usr/bin/urbackup_mount_helper 104710 root:urbackup cb4ef365de6946352793c3fd72affafa +File: /usr/bin/urbackup_snapshot_helper 104710 root:urbackup 7cec2de5543882d98f8d60e159375a8e +File: /usr/bin/urbackupsrv 100755 root:root 332007c33510d6b213e09dd9f1091565 File: /usr/lib/firewalld/services/urbackup-server.xml 100640 root:root ccc3438ce6b6ae22ac70a03ef71313eb +File: /usr/lib/systemd/system/urbackup-server.service 100644 root:root a210cec270ae9a319ddc3f0661c5aadb File: /usr/share/doc/urbackup-server-2.5.33 40755 root:root @@ -357,2 +359,2 @@ File: /var/log/urbackup.log 100644 root:root -RPMIdentity: 97d1df0fcd9264dbc93f9d7604bb6cb66c6a4d2e4e896fe3c11cccdbe7bfbbf583ecc7a4dd97c23d8671057a3c67e2e43147343da7546b749c24adb5f561c7b8 +RPMIdentity: 94a4d9e76236ca79e0084ce3a4f12a21eea1292a038261abb565a1c97be46219898051e6a6232182226ceb1f5715218ef95e4f4d662247a5a881b244f68d6f55 --- urbackup-server-debuginfo-2.5.33-alt1.x86_64.rpm.repo 2024-03-29 13:54:22.000000000 +0000 +++ urbackup-server-debuginfo-2.5.33-alt1.x86_64.rpm.hasher 2024-12-18 04:49:42.125962071 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/71 40755 root:root -/usr/lib/debug/.build-id/71/443326131903933ce34d5423f53352054e54bd 120777 root:root ../../../../bin/urbackup_mount_helper -/usr/lib/debug/.build-id/71/443326131903933ce34d5423f53352054e54bd.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug -/usr/lib/debug/.build-id/72 40755 root:root -/usr/lib/debug/.build-id/72/99c412ccc53f7f7c1359a550c22bcc4bebfbd0 120777 root:root ../../../../bin/urbackupsrv -/usr/lib/debug/.build-id/72/99c412ccc53f7f7c1359a550c22bcc4bebfbd0.debug 120777 root:root ../../usr/bin/urbackupsrv.debug -/usr/lib/debug/.build-id/91 40755 root:root -/usr/lib/debug/.build-id/91/71344f282d7fb94da0c6dbba70e791873a6890 120777 root:root ../../../../bin/urbackup_snapshot_helper -/usr/lib/debug/.build-id/91/71344f282d7fb94da0c6dbba70e791873a6890.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug +/usr/lib/debug/.build-id/67 40755 root:root +/usr/lib/debug/.build-id/67/727450eb273c941d927b51fdd625b56e5fd8da 120777 root:root ../../../../bin/urbackup_snapshot_helper +/usr/lib/debug/.build-id/67/727450eb273c941d927b51fdd625b56e5fd8da.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug +/usr/lib/debug/.build-id/b2 40755 root:root +/usr/lib/debug/.build-id/b2/929e7fe652956a28fd5ac45ed979e28cac8b1f 120777 root:root ../../../../bin/urbackupsrv +/usr/lib/debug/.build-id/b2/929e7fe652956a28fd5ac45ed979e28cac8b1f.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +/usr/lib/debug/.build-id/ec 40755 root:root +/usr/lib/debug/.build-id/ec/0cf3bc9cc69dcaf1c29d16c128033907df79e6 120777 root:root ../../../../bin/urbackup_mount_helper +/usr/lib/debug/.build-id/ec/0cf3bc9cc69dcaf1c29d16c128033907df79e6.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root @@ -543,14 +543,14 @@ Provides: urbackup-server-debuginfo = 2.5.33-alt1:sisyphus+343930.100.1.1 -File: /usr/lib/debug/.build-id/71 40755 root:root -File: /usr/lib/debug/.build-id/71/443326131903933ce34d5423f53352054e54bd 120777 root:root ../../../../bin/urbackup_mount_helper -File: /usr/lib/debug/.build-id/71/443326131903933ce34d5423f53352054e54bd.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug -File: /usr/lib/debug/.build-id/72 40755 root:root -File: /usr/lib/debug/.build-id/72/99c412ccc53f7f7c1359a550c22bcc4bebfbd0 120777 root:root ../../../../bin/urbackupsrv -File: /usr/lib/debug/.build-id/72/99c412ccc53f7f7c1359a550c22bcc4bebfbd0.debug 120777 root:root ../../usr/bin/urbackupsrv.debug -File: /usr/lib/debug/.build-id/91 40755 root:root -File: /usr/lib/debug/.build-id/91/71344f282d7fb94da0c6dbba70e791873a6890 120777 root:root ../../../../bin/urbackup_snapshot_helper -File: /usr/lib/debug/.build-id/91/71344f282d7fb94da0c6dbba70e791873a6890.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug -File: /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root 0da5d97485dcb3408b212996fa4dc707 -File: /usr/lib/debug/usr/bin/urbackup_snapshot_helper.debug 100644 root:root cacbe07b864789bbe5f1ea479eb9a364 -File: /usr/lib/debug/usr/bin/urbackupsrv.debug 100644 root:root ef66766f07321fe83e62be99baf46214 +File: /usr/lib/debug/.build-id/67 40755 root:root +File: /usr/lib/debug/.build-id/67/727450eb273c941d927b51fdd625b56e5fd8da 120777 root:root ../../../../bin/urbackup_snapshot_helper +File: /usr/lib/debug/.build-id/67/727450eb273c941d927b51fdd625b56e5fd8da.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug +File: /usr/lib/debug/.build-id/b2 40755 root:root +File: /usr/lib/debug/.build-id/b2/929e7fe652956a28fd5ac45ed979e28cac8b1f 120777 root:root ../../../../bin/urbackupsrv +File: /usr/lib/debug/.build-id/b2/929e7fe652956a28fd5ac45ed979e28cac8b1f.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +File: /usr/lib/debug/.build-id/ec 40755 root:root +File: /usr/lib/debug/.build-id/ec/0cf3bc9cc69dcaf1c29d16c128033907df79e6 120777 root:root ../../../../bin/urbackup_mount_helper +File: /usr/lib/debug/.build-id/ec/0cf3bc9cc69dcaf1c29d16c128033907df79e6.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug +File: /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root d50deb95c6788fb4523be2a84661a294 +File: /usr/lib/debug/usr/bin/urbackup_snapshot_helper.debug 100644 root:root 55a3654e2e45730673c5bae3806a2c3c +File: /usr/lib/debug/usr/bin/urbackupsrv.debug 100644 root:root 71b2a54e8470ec3fbbd103f3f8097f32 File: /usr/src/debug/urbackup-server-2.5.33 40755 root:root @@ -1071,2 +1071,2 @@ File: /usr/src/debug/urbackup-server-2.5.33/utf8/utf8/core.h 100644 root:root d67547f556cfc99ab023cbe67a724c30 -RPMIdentity: 3afe74a483ed2a39c0997dd04b3f2bdbcfb2e4e2c1acf0a28df8882d967c3de6dea88c01e73bd51fc6496c80819bea95adc9151411fe3e6e952143a33920681b +RPMIdentity: 5b26c9789cdf5fd1e5540b5e22dc6be745e12f025caa47bea66adaa425d1a68421f9a626f8a9c6f105d313703adb9d07b3de1bee2f75059e9fc91a2328dd6bfe