<86>Mar 25 03:16:51 userdel[2363547]: delete user 'rooter' <86>Mar 25 03:16:51 userdel[2363547]: removed group 'rooter' owned by 'rooter' <86>Mar 25 03:16:51 userdel[2363547]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 25 03:16:51 groupadd[2363555]: group added to /etc/group: name=rooter, GID=1341 <86>Mar 25 03:16:51 groupadd[2363555]: group added to /etc/gshadow: name=rooter <86>Mar 25 03:16:51 groupadd[2363555]: new group: name=rooter, GID=1341 <86>Mar 25 03:16:51 useradd[2363562]: new user: name=rooter, UID=1341, GID=1341, home=/root, shell=/bin/bash <86>Mar 25 03:16:51 userdel[2363568]: delete user 'builder' <86>Mar 25 03:16:51 userdel[2363568]: removed group 'builder' owned by 'builder' <86>Mar 25 03:16:51 userdel[2363568]: removed shadow group 'builder' owned by 'builder' <86>Mar 25 03:16:51 groupadd[2363573]: group added to /etc/group: name=builder, GID=1342 <86>Mar 25 03:16:51 groupadd[2363573]: group added to /etc/gshadow: name=builder <86>Mar 25 03:16:51 groupadd[2363573]: new group: name=builder, GID=1342 <86>Mar 25 03:16:51 useradd[2363578]: new user: name=builder, UID=1342, GID=1342, home=/usr/src, shell=/bin/bash <13>Mar 25 03:16:53 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>Mar 25 03:16:53 rpmi: libnettle8-3.8.1-alt2 sisyphus+308213.100.1.1 1665439423 installed <13>Mar 25 03:16:53 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072360 installed <13>Mar 25 03:16:53 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 25 03:16:53 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed <13>Mar 25 03:16:53 rpmi: libhogweed6-3.8.1-alt2 sisyphus+308213.100.1.1 1665439423 installed <13>Mar 25 03:16:53 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639068 installed <13>Mar 25 03:16:53 rpmi: libngtcp2-0.13.1-alt1 sisyphus+317411.100.1.1 1679680596 installed <13>Mar 25 03:16:53 rpmi: libsqlite3-3.41.0-alt1 sisyphus+315678.100.1.1 1677187064 installed <13>Mar 25 03:16:53 rpmi: rpm-macros-lua-1.5.1-alt1 sisyphus+306571.100.1.1 1662978716 installed <13>Mar 25 03:16:53 rpmi: rpm-build-lua-0.3-alt1 sisyphus+317239.100.3.2 1679518397 installed <13>Mar 25 03:16:53 rpmi: liblua5.4-5.4.4-alt1 sisyphus+302797.336.28.1 1657376755 installed <13>Mar 25 03:16:53 rpmi: lua5.4-5.4.4-alt1 sisyphus+302797.336.28.1 1657376755 installed <13>Mar 25 03:16:53 rpmi: libfuse-2.9.9-alt4 sisyphus+298379.100.1.1 1649860866 installed <13>Mar 25 03:16:53 rpmi: publicsuffix-list-dafsa-20221208-alt1 sisyphus+313597.100.1.1 1673961759 installed <13>Mar 25 03:16:53 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131178 installed <13>Mar 25 03:16:53 rpmi: libnghttp3-0.9.0-alt1 sisyphus+317166.100.1.1 1679409330 installed <13>Mar 25 03:16:53 rpmi: libnghttp2-1.52.0-alt1 sisyphus+315262.100.1.1 1676446367 installed <13>Mar 25 03:16:53 rpmi: openldap-common-2.6.4-alt1 sisyphus+317419.100.1.1 1679684487 installed <13>Mar 25 03:16:53 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Mar 25 03:16:53 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Mar 25 03:16:53 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Mar 25 03:16:53 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Mar 25 03:16:53 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Mar 25 03:16:53 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Mar 25 03:16:53 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Mar 25 03:16:53 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Mar 25 03:16:54 rpmi: libstdc++12-devel-12.2.1-alt1 sisyphus+317240.100.2.1 1679582373 installed <13>Mar 25 03:16:54 rpmi: gcc12-c++-12.2.1-alt1 sisyphus+317240.100.2.1 1679582373 installed <13>Mar 25 03:16:54 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056612 installed <13>Mar 25 03:16:54 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Mar 25 03:16:54 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Mar 25 03:16:54 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Mar 25 03:16:54 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Mar 25 03:16:54 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 25 03:16:54 rpmi: libcrypto1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed <13>Mar 25 03:16:54 rpmi: libssl1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed <86>Mar 25 03:16:54 groupadd[2367725]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 25 03:16:54 groupadd[2367725]: group added to /etc/gshadow: name=_keytab <86>Mar 25 03:16:54 groupadd[2367725]: new group: name=_keytab, GID=499 <13>Mar 25 03:16:54 rpmi: libkrb5-1.20.1-alt1 sisyphus+306946.1000.5.2 1677793877 installed <13>Mar 25 03:16:54 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478543 installed <86>Mar 25 03:16:54 groupadd[2367736]: group added to /etc/group: name=sasl, GID=498 <86>Mar 25 03:16:54 groupadd[2367736]: group added to /etc/gshadow: name=sasl <86>Mar 25 03:16:54 groupadd[2367736]: new group: name=sasl, GID=498 <13>Mar 25 03:16:54 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097224 installed <13>Mar 25 03:16:54 rpmi: libldap2-2.6.4-alt1 sisyphus+317419.100.1.1 1679684487 installed <13>Mar 25 03:16:54 rpmi: libssh2-1.10.0-alt1 sisyphus+289470.100.1.1 1636752293 installed <13>Mar 25 03:16:54 rpmi: libcurl-8.0.1-alt2 sisyphus+317180.500.4.1 1679494002 installed <13>Mar 25 03:16:55 rpmi: libcurl-devel-8.0.1-alt2 sisyphus+317180.500.4.1 1679494002 installed <13>Mar 25 03:16:55 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033053 installed <13>Mar 25 03:16:55 rpmi: libfuse-devel-2.9.9-alt4 sisyphus+298379.100.1.1 1649860866 installed <13>Mar 25 03:16:55 rpmi: liblua5.4-devel-5.4.4-alt1 sisyphus+302797.336.28.1 1657376755 installed <13>Mar 25 03:16:55 rpmi: libsqlite3-devel-3.41.0-alt1 sisyphus+315678.100.1.1 1677187064 installed <13>Mar 25 03:16:55 rpmi: liblmdb-devel-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072360 installed <13>Mar 25 03:16:55 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed <13>Mar 25 03:16:55 rpmi: libzstd-devel-1.5.4-alt2 sisyphus+315138.100.1.1 1676270661 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/urbackup-server-2.5.27-alt1.nosrc.rpm (w1.gzdio) Installing urbackup-server-2.5.27-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.8973 + 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.27 + echo 'Source #0 (urbackup-server-2.5.27.tar.gz):' Source #0 (urbackup-server-2.5.27.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/urbackup-server-2.5.27.tar.gz + /bin/tar -xf - + cd urbackup-server-2.5.27 + /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 #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 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97207 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-server-2.5.27 + export SUID_CFLAGS=-fPIE + SUID_CFLAGS=-fPIE + export SUID_LDFLAGS=-fpie + SUID_LDFLAGS=-fpie + autoreconf -fisv 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: 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 gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --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: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --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 --without-included-gettext --enable-packaging --with-mountvhd --enable-embedded-cryptopp --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... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1342' is supported by ustar format... yes checking whether GID '1342' 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 we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes 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 we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... 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 how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking whether the STL defines stringstream... yes checking strstream usability... yes checking strstream presence... 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 ANSI C header files... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/fiemap.h usability... yes checking linux/fiemap.h presence... yes checking for linux/fiemap.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... 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 how to run the C preprocessor... x86_64-alt-linux-gcc -E checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for operating system... checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strstr... yes checking for syncfs... yes checking for fallocate64... yes checking for utimensat... yes checking for accept4... yes checking for getrandom... yes checking for dlopen in -ldl... yes checking for ZSTD_CCtx_setParameter in -lzstd... yes checking zstd.h usability... yes checking zstd.h presence... 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.0.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 checking for a sed that does not truncate output... /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 lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking lualib.h usability... yes checking lualib.h presence... yes checking for lualib.h... yes checking lauxlib.h usability... yes checking lauxlib.h presence... yes checking for lauxlib.h... yes checking luaconf.h usability... yes checking luaconf.h presence... 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 lmdb.h usability... yes checking lmdb.h presence... yes checking for lmdb.h... 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 === configuring in cryptoplugin/src (/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-alt-linux' '--host=x86_64-alt-linux' '--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' '--without-included-gettext' '--enable-packaging' '--with-mountvhd' '--enable-embedded-cryptopp' '--without-embedded-sqlite3' '--without-embedded-lua' '--without-embedded-lmdb' 'build_alias=x86_64-alt-linux' 'host_alias=x86_64-alt-linux' 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for grep that handles long lines and -e... (cached) /bin/grep checking if static libraries should be enabled... yes checking if shared libraries should be enabled... yes checking for C++ compiler pthread support... yes checking for linker pthread support... yes checking whether byte ordering is bigendian... no checking if x86_64-alt-linux-g++ supports -fdata-sections... yes checking if x86_64-alt-linux-g++ supports -ffunction-sections... yes checking if ld -m elf_x86_64 supports -Wl,--gc-sections... yes checking if runtime library is Newlib... no checking if x86_64-alt-linux-g++ supports -msse2... yes checking if x86_64-alt-linux-g++ supports -mssse3... yes checking if x86_64-alt-linux-g++ supports -msse4.1... yes checking if x86_64-alt-linux-g++ supports -msse4.2... yes checking if x86_64-alt-linux-g++ supports -mssse3 -mpclmul... yes checking if x86_64-alt-linux-g++ supports -msse4.1 -maes... yes checking if x86_64-alt-linux-g++ supports -msse4.2 -msha... yes checking if x86_64-alt-linux-g++ supports -pipe... yes checking if ld -m elf_x86_64 supports -Wl,--exclude-libs,ALL... yes checking if ld -m elf_x86_64 supports -Wl,--as-needed... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libcryptopp.pc config.status: creating local.h config.status: executing depfiles commands config.status: executing libtool commands *********************************************************************** Auto-configuration complete. A summary of options are below. If something looks wrong then please modify config.h and please report it at http://github.com/noloader/cryptopp-autotools. Build triplet: x86_64-alt-linux-gnu Compiler target: x86_64-alt-linux Compiler version: x86_64-alt-linux-g++ (GCC) 12.2.1 20230322 (ALT Sisyphus 12.2.1-alt1) Static library: yes Shared library: yes CRYPTOPP_SSE_FLAG: -msse2 CRYPTOPP_ARIA_FLAG: -mssse3 CRYPTOPP_BLAKE2_FLAG: -msse4.1 CRYPTOPP_CRC_FLAG: -msse4.2 CRYPTOPP_GCM_FLAG: -mssse3 -mpclmul CRYPTOPP_AES_FLAG: -msse4.1 -maes CRYPTOPP_SHA_FLAG: -msse4.2 -msha CRYPTOPP_SPECK_FLAG: -msse4.1 CRYPTOPP_SIMON_FLAG: -msse4.1 Automake flags (can be overridden by user flags): AM_CXXFLAGS: -pthread -fdata-sections -ffunction-sections -pipe AM_LDFLAGS: -pthread -Wl,--gc-sections -Wl,--exclude-libs,ALL -Wl,--as-needed User flags (overrides Automake flags on conflict): CXXFLAGS: -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto LDFLAGS: CXXFLAGS does not include -O3. You should consider building at -O3 to engage compiler vectorizations and enhance performance. The machine is 64-bit capable but -m64 is not present in CXXFLAGS *********************************************************************** + make -j16 make all-recursive Making all in cryptoplugin/src make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libcryptopp_la-adhoc.lo `test -f 'adhoc.cpp' || echo './'`adhoc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c adhoc.cpp -fPIC -DPIC -o .libs/libcryptopp_la-adhoc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c adhoc.cpp -o libcryptopp_la-adhoc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libneon_simd_la-neon-simd.lo `test -f 'neon-simd.cpp' || echo './'`neon-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c neon-simd.cpp -fPIC -DPIC -o .libs/libneon_simd_la-neon-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c neon-simd.cpp -o libneon_simd_la-neon-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libppc_simd_la-ppc-simd.lo `test -f 'ppc-simd.cpp' || echo './'`ppc-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ppc-simd.cpp -fPIC -DPIC -o .libs/libppc_simd_la-ppc-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ppc-simd.cpp -o libppc_simd_la-ppc-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libsse_simd_la-sse-simd.lo `test -f 'sse-simd.cpp' || echo './'`sse-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sse-simd.cpp -fPIC -DPIC -o .libs/libsse_simd_la-sse-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sse-simd.cpp -o libsse_simd_la-sse-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libaria_simd_la-aria-simd.lo `test -f 'aria-simd.cpp' || echo './'`aria-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c aria-simd.cpp -fPIC -DPIC -o .libs/libaria_simd_la-aria-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c aria-simd.cpp -o libaria_simd_la-aria-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libcpu_la-cpu.lo `test -f 'cpu.cpp' || echo './'`cpu.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpu.cpp -fPIC -DPIC -o .libs/libcpu_la-cpu.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cpu.cpp -o libcpu_la-cpu.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libcrc_simd_la-crc-simd.lo `test -f 'crc-simd.cpp' || echo './'`crc-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c crc-simd.cpp -fPIC -DPIC -o .libs/libcrc_simd_la-crc-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c crc-simd.cpp -o libcrc_simd_la-crc-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libgcm_simd_la-gcm-simd.lo `test -f 'gcm-simd.cpp' || echo './'`gcm-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gcm-simd.cpp -fPIC -DPIC -o .libs/libgcm_simd_la-gcm-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -mssse3 -mpclmul -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gcm-simd.cpp -o libgcm_simd_la-gcm-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o librijndael_simd_la-rijndael-simd.lo `test -f 'rijndael-simd.cpp' || echo './'`rijndael-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rijndael-simd.cpp -fPIC -DPIC -o .libs/librijndael_simd_la-rijndael-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -maes -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rijndael-simd.cpp -o librijndael_simd_la-rijndael-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ariatab.lo `test -f 'ariatab.cpp' || echo './'`ariatab.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ariatab.cpp -fPIC -DPIC -o .libs/libothers_la-ariatab.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ariatab.cpp -o libothers_la-ariatab.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libsimon_simd_la-simon-simd.lo `test -f 'simon-simd.cpp' || echo './'`simon-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c simon-simd.cpp -fPIC -DPIC -o .libs/libsimon_simd_la-simon-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c simon-simd.cpp -o libsimon_simd_la-simon-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libspeck_simd_la-speck-simd.lo `test -f 'speck-simd.cpp' || echo './'`speck-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c speck-simd.cpp -fPIC -DPIC -o .libs/libspeck_simd_la-speck-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c speck-simd.cpp -o libspeck_simd_la-speck-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libblake2_simd_la-blake2-simd.lo `test -f 'blake2-simd.cpp' || echo './'`blake2-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blake2-simd.cpp -fPIC -DPIC -o .libs/libblake2_simd_la-blake2-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.1 -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blake2-simd.cpp -o libblake2_simd_la-blake2-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-3way.lo `test -f '3way.cpp' || echo './'`3way.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c 3way.cpp -fPIC -DPIC -o .libs/libothers_la-3way.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c 3way.cpp -o libothers_la-3way.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libcryptlib_la-cryptlib.lo `test -f 'cryptlib.cpp' || echo './'`cryptlib.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cryptlib.cpp -fPIC -DPIC -o .libs/libcryptlib_la-cryptlib.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cryptlib.cpp -o libcryptlib_la-cryptlib.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libshacal2_simd_la-shacal2-simd.lo `test -f 'shacal2-simd.cpp' || echo './'`shacal2-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c shacal2-simd.cpp -fPIC -DPIC -o .libs/libshacal2_simd_la-shacal2-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c shacal2-simd.cpp -o libshacal2_simd_la-shacal2-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libsha_simd_la-sha-simd.lo `test -f 'sha-simd.cpp' || echo './'`sha-simd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sha-simd.cpp -fPIC -DPIC -o .libs/libsha_simd_la-sha-simd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -msse4.2 -msha -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sha-simd.cpp -o libsha_simd_la-sha-simd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-adler32.lo `test -f 'adler32.cpp' || echo './'`adler32.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c adler32.cpp -fPIC -DPIC -o .libs/libothers_la-adler32.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c adler32.cpp -o libothers_la-adler32.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-algebra.lo `test -f 'algebra.cpp' || echo './'`algebra.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c algebra.cpp -fPIC -DPIC -o .libs/libothers_la-algebra.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c algebra.cpp -o libothers_la-algebra.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-algparam.lo `test -f 'algparam.cpp' || echo './'`algparam.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c algparam.cpp -fPIC -DPIC -o .libs/libothers_la-algparam.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c algparam.cpp -o libothers_la-algparam.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-arc4.lo `test -f 'arc4.cpp' || echo './'`arc4.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c arc4.cpp -fPIC -DPIC -o .libs/libothers_la-arc4.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c arc4.cpp -o libothers_la-arc4.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-authenc.lo `test -f 'authenc.cpp' || echo './'`authenc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c authenc.cpp -fPIC -DPIC -o .libs/libothers_la-authenc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c authenc.cpp -o libothers_la-authenc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libinteger_la-integer.lo `test -f 'integer.cpp' || echo './'`integer.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c integer.cpp -fPIC -DPIC -o .libs/libinteger_la-integer.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -pthread -fdata-sections -ffunction-sections -pipe -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c integer.cpp -o libinteger_la-integer.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-bfinit.lo `test -f 'bfinit.cpp' || echo './'`bfinit.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c bfinit.cpp -fPIC -DPIC -o .libs/libothers_la-bfinit.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c bfinit.cpp -o libothers_la-bfinit.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-aria.lo `test -f 'aria.cpp' || echo './'`aria.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c aria.cpp -fPIC -DPIC -o .libs/libothers_la-aria.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c aria.cpp -o libothers_la-aria.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-base32.lo `test -f 'base32.cpp' || echo './'`base32.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c base32.cpp -fPIC -DPIC -o .libs/libothers_la-base32.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c base32.cpp -o libothers_la-base32.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-basecode.lo `test -f 'basecode.cpp' || echo './'`basecode.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c basecode.cpp -fPIC -DPIC -o .libs/libothers_la-basecode.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c basecode.cpp -o libothers_la-basecode.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-base64.lo `test -f 'base64.cpp' || echo './'`base64.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c base64.cpp -fPIC -DPIC -o .libs/libothers_la-base64.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c base64.cpp -o libothers_la-base64.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-asn.lo `test -f 'asn.cpp' || echo './'`asn.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c asn.cpp -fPIC -DPIC -o .libs/libothers_la-asn.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c asn.cpp -o libothers_la-asn.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-blowfish.lo `test -f 'blowfish.cpp' || echo './'`blowfish.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blowfish.cpp -fPIC -DPIC -o .libs/libothers_la-blowfish.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blowfish.cpp -o libothers_la-blowfish.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-blumshub.lo `test -f 'blumshub.cpp' || echo './'`blumshub.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blumshub.cpp -fPIC -DPIC -o .libs/libothers_la-blumshub.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blumshub.cpp -o libothers_la-blumshub.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-blake2.lo `test -f 'blake2.cpp' || echo './'`blake2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blake2.cpp -fPIC -DPIC -o .libs/libothers_la-blake2.o blake2.cpp: In instantiation of 'void CryptoPP::BLAKE2_Base::UncheckedSetKey(const CryptoPP::byte*, unsigned int, const CryptoPP::NameValuePairs&) [with W = unsigned int; bool T_64bit = false; CryptoPP::byte = unsigned char]': blake2.cpp:531:16: required from here blake2.cpp:253:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CryptoPP::BLAKE2_ParameterBlock'; use assignment or value-initialization instead [-Wclass-memaccess] 253 | memset(m_block.data(), 0x00, sizeof(ParameterBlock)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from blake2.cpp:10: blake2.h:92:27: note: 'struct CryptoPP::BLAKE2_ParameterBlock' declared here 92 | struct CRYPTOPP_NO_VTABLE BLAKE2_ParameterBlock | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ blake2.cpp: In instantiation of 'void CryptoPP::BLAKE2_Base::UncheckedSetKey(const CryptoPP::byte*, unsigned int, const CryptoPP::NameValuePairs&) [with W = long unsigned int; bool T_64bit = true; CryptoPP::byte = unsigned char]': blake2.cpp:532:16: required from here blake2.cpp:253:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CryptoPP::BLAKE2_ParameterBlock'; use assignment or value-initialization instead [-Wclass-memaccess] 253 | memset(m_block.data(), 0x00, sizeof(ParameterBlock)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blake2.h:57:27: note: 'struct CryptoPP::BLAKE2_ParameterBlock' declared here 57 | struct CRYPTOPP_NO_VTABLE BLAKE2_ParameterBlock | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c blake2.cpp -o libothers_la-blake2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-camellia.lo `test -f 'camellia.cpp' || echo './'`camellia.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c camellia.cpp -fPIC -DPIC -o .libs/libothers_la-camellia.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c camellia.cpp -o libothers_la-camellia.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-casts.lo `test -f 'casts.cpp' || echo './'`casts.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c casts.cpp -fPIC -DPIC -o .libs/libothers_la-casts.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c casts.cpp -o libothers_la-casts.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-cbcmac.lo `test -f 'cbcmac.cpp' || echo './'`cbcmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cbcmac.cpp -fPIC -DPIC -o .libs/libothers_la-cbcmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cbcmac.cpp -o libothers_la-cbcmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-cast.lo `test -f 'cast.cpp' || echo './'`cast.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cast.cpp -fPIC -DPIC -o .libs/libothers_la-cast.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cast.cpp -o libothers_la-cast.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ccm.lo `test -f 'ccm.cpp' || echo './'`ccm.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ccm.cpp -fPIC -DPIC -o .libs/libothers_la-ccm.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ccm.cpp -o libothers_la-ccm.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-crc.lo `test -f 'crc.cpp' || echo './'`crc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c crc.cpp -fPIC -DPIC -o .libs/libothers_la-crc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c crc.cpp -o libothers_la-crc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-cmac.lo `test -f 'cmac.cpp' || echo './'`cmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cmac.cpp -fPIC -DPIC -o .libs/libothers_la-cmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cmac.cpp -o libothers_la-cmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-channels.lo `test -f 'channels.cpp' || echo './'`channels.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c channels.cpp -fPIC -DPIC -o .libs/libothers_la-channels.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c channels.cpp -o libothers_la-channels.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-chacha.lo `test -f 'chacha.cpp' || echo './'`chacha.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c chacha.cpp -fPIC -DPIC -o .libs/libothers_la-chacha.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c chacha.cpp -o libothers_la-chacha.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-dessp.lo `test -f 'dessp.cpp' || echo './'`dessp.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dessp.cpp -fPIC -DPIC -o .libs/libothers_la-dessp.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dessp.cpp -o libothers_la-dessp.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-des.lo `test -f 'des.cpp' || echo './'`des.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c des.cpp -fPIC -DPIC -o .libs/libothers_la-des.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c des.cpp -o libothers_la-des.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-dh2.lo `test -f 'dh2.cpp' || echo './'`dh2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dh2.cpp -fPIC -DPIC -o .libs/libothers_la-dh2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dh2.cpp -o libothers_la-dh2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-dh.lo `test -f 'dh.cpp' || echo './'`dh.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dh.cpp -fPIC -DPIC -o .libs/libothers_la-dh.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dh.cpp -o libothers_la-dh.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-eax.lo `test -f 'eax.cpp' || echo './'`eax.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c eax.cpp -fPIC -DPIC -o .libs/libothers_la-eax.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c eax.cpp -o libothers_la-eax.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-default.lo `test -f 'default.cpp' || echo './'`default.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c default.cpp -fPIC -DPIC -o .libs/libothers_la-default.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c default.cpp -o libothers_la-default.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-dsa.lo `test -f 'dsa.cpp' || echo './'`dsa.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dsa.cpp -fPIC -DPIC -o .libs/libothers_la-dsa.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dsa.cpp -o libothers_la-dsa.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-eccrypto.lo `test -f 'eccrypto.cpp' || echo './'`eccrypto.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c eccrypto.cpp -fPIC -DPIC -o .libs/libothers_la-eccrypto.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c eccrypto.cpp -o libothers_la-eccrypto.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-eprecomp.lo `test -f 'eprecomp.cpp' || echo './'`eprecomp.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c eprecomp.cpp -fPIC -DPIC -o .libs/libothers_la-eprecomp.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c eprecomp.cpp -o libothers_la-eprecomp.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ec2n.lo `test -f 'ec2n.cpp' || echo './'`ec2n.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ec2n.cpp -fPIC -DPIC -o .libs/libothers_la-ec2n.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ec2n.cpp -o libothers_la-ec2n.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-emsa2.lo `test -f 'emsa2.cpp' || echo './'`emsa2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c emsa2.cpp -fPIC -DPIC -o .libs/libothers_la-emsa2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c emsa2.cpp -o libothers_la-emsa2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-elgamal.lo `test -f 'elgamal.cpp' || echo './'`elgamal.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c elgamal.cpp -fPIC -DPIC -o .libs/libothers_la-elgamal.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c elgamal.cpp -o libothers_la-elgamal.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-fips140.lo `test -f 'fips140.cpp' || echo './'`fips140.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c fips140.cpp -fPIC -DPIC -o .libs/libothers_la-fips140.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c fips140.cpp -o libothers_la-fips140.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-files.lo `test -f 'files.cpp' || echo './'`files.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c files.cpp -fPIC -DPIC -o .libs/libothers_la-files.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c files.cpp -o libothers_la-files.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-esign.lo `test -f 'esign.cpp' || echo './'`esign.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c esign.cpp -fPIC -DPIC -o .libs/libothers_la-esign.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c esign.cpp -o libothers_la-esign.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ecp.lo `test -f 'ecp.cpp' || echo './'`ecp.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ecp.cpp -fPIC -DPIC -o .libs/libothers_la-ecp.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ecp.cpp -o libothers_la-ecp.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gf256.lo `test -f 'gf256.cpp' || echo './'`gf256.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gf256.cpp -fPIC -DPIC -o .libs/libothers_la-gf256.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gf256.cpp -o libothers_la-gf256.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gcm.lo `test -f 'gcm.cpp' || echo './'`gcm.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gcm.cpp -fPIC -DPIC -o .libs/libothers_la-gcm.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gcm.cpp -o libothers_la-gcm.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gf2_32.lo `test -f 'gf2_32.cpp' || echo './'`gf2_32.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gf2_32.cpp -fPIC -DPIC -o .libs/libothers_la-gf2_32.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gf2_32.cpp -o libothers_la-gf2_32.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-filters.lo `test -f 'filters.cpp' || echo './'`filters.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c filters.cpp -fPIC -DPIC -o .libs/libothers_la-filters.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c filters.cpp -o libothers_la-filters.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gost.lo `test -f 'gost.cpp' || echo './'`gost.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gost.cpp -fPIC -DPIC -o .libs/libothers_la-gost.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gost.cpp -o libothers_la-gost.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-hmac.lo `test -f 'hmac.cpp' || echo './'`hmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hmac.cpp -fPIC -DPIC -o .libs/libothers_la-hmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hmac.cpp -o libothers_la-hmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-hrtimer.lo `test -f 'hrtimer.cpp' || echo './'`hrtimer.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hrtimer.cpp -fPIC -DPIC -o .libs/libothers_la-hrtimer.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hrtimer.cpp -o libothers_la-hrtimer.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-hex.lo `test -f 'hex.cpp' || echo './'`hex.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hex.cpp -fPIC -DPIC -o .libs/libothers_la-hex.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hex.cpp -o libothers_la-hex.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gzip.lo `test -f 'gzip.cpp' || echo './'`gzip.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gzip.cpp -fPIC -DPIC -o .libs/libothers_la-gzip.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gzip.cpp -o libothers_la-gzip.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-idea.lo `test -f 'idea.cpp' || echo './'`idea.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c idea.cpp -fPIC -DPIC -o .libs/libothers_la-idea.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c idea.cpp -o libothers_la-idea.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gf2n.lo `test -f 'gf2n.cpp' || echo './'`gf2n.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gf2n.cpp -fPIC -DPIC -o .libs/libothers_la-gf2n.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gf2n.cpp -o libothers_la-gf2n.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-gfpcrypt.lo `test -f 'gfpcrypt.cpp' || echo './'`gfpcrypt.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gfpcrypt.cpp -fPIC -DPIC -o .libs/libothers_la-gfpcrypt.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c gfpcrypt.cpp -o libothers_la-gfpcrypt.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-iterhash.lo `test -f 'iterhash.cpp' || echo './'`iterhash.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c iterhash.cpp -fPIC -DPIC -o .libs/libothers_la-iterhash.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c iterhash.cpp -o libothers_la-iterhash.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-kalynatab.lo `test -f 'kalynatab.cpp' || echo './'`kalynatab.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c kalynatab.cpp -fPIC -DPIC -o .libs/libothers_la-kalynatab.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c kalynatab.cpp -o libothers_la-kalynatab.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-keccak.lo `test -f 'keccak.cpp' || echo './'`keccak.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c keccak.cpp -fPIC -DPIC -o .libs/libothers_la-keccak.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c keccak.cpp -o libothers_la-keccak.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-kalyna.lo `test -f 'kalyna.cpp' || echo './'`kalyna.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c kalyna.cpp -fPIC -DPIC -o .libs/libothers_la-kalyna.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c kalyna.cpp -o libothers_la-kalyna.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-marss.lo `test -f 'marss.cpp' || echo './'`marss.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c marss.cpp -fPIC -DPIC -o .libs/libothers_la-marss.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c marss.cpp -o libothers_la-marss.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-mars.lo `test -f 'mars.cpp' || echo './'`mars.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mars.cpp -fPIC -DPIC -o .libs/libothers_la-mars.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mars.cpp -o libothers_la-mars.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-md2.lo `test -f 'md2.cpp' || echo './'`md2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c md2.cpp -fPIC -DPIC -o .libs/libothers_la-md2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c md2.cpp -o libothers_la-md2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-md4.lo `test -f 'md4.cpp' || echo './'`md4.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c md4.cpp -fPIC -DPIC -o .libs/libothers_la-md4.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c md4.cpp -o libothers_la-md4.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-md5.lo `test -f 'md5.cpp' || echo './'`md5.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c md5.cpp -fPIC -DPIC -o .libs/libothers_la-md5.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c md5.cpp -o libothers_la-md5.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-misc.lo `test -f 'misc.cpp' || echo './'`misc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c misc.cpp -fPIC -DPIC -o .libs/libothers_la-misc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c misc.cpp -o libothers_la-misc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ida.lo `test -f 'ida.cpp' || echo './'`ida.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ida.cpp -fPIC -DPIC -o .libs/libothers_la-ida.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ida.cpp -o libothers_la-ida.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-luc.lo `test -f 'luc.cpp' || echo './'`luc.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c luc.cpp -fPIC -DPIC -o .libs/libothers_la-luc.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c luc.cpp -o libothers_la-luc.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-modes.lo `test -f 'modes.cpp' || echo './'`modes.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c modes.cpp -fPIC -DPIC -o .libs/libothers_la-modes.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c modes.cpp -o libothers_la-modes.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-mqv.lo `test -f 'mqv.cpp' || echo './'`mqv.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mqv.cpp -fPIC -DPIC -o .libs/libothers_la-mqv.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mqv.cpp -o libothers_la-mqv.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-oaep.lo `test -f 'oaep.cpp' || echo './'`oaep.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c oaep.cpp -fPIC -DPIC -o .libs/libothers_la-oaep.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c oaep.cpp -o libothers_la-oaep.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-nbtheory.lo `test -f 'nbtheory.cpp' || echo './'`nbtheory.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c nbtheory.cpp -fPIC -DPIC -o .libs/libothers_la-nbtheory.o nbtheory.cpp:650: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 650 | #pragma omp parallel | nbtheory.cpp:651: warning: ignoring '#pragma omp sections' [-Wunknown-pragmas] 651 | #pragma omp sections | nbtheory.cpp:653: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 653 | #pragma omp section | nbtheory.cpp:655: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 655 | #pragma omp section | nbtheory.cpp:1002: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 1002 | #pragma omp parallel | nbtheory.cpp:1003: warning: ignoring '#pragma omp sections' [-Wunknown-pragmas] 1003 | #pragma omp sections | nbtheory.cpp:1005: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 1005 | #pragma omp section | nbtheory.cpp:1010: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 1010 | #pragma omp section | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c nbtheory.cpp -o libothers_la-nbtheory.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-network.lo `test -f 'network.cpp' || echo './'`network.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c network.cpp -fPIC -DPIC -o .libs/libothers_la-network.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c network.cpp -o libothers_la-network.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-padlkrng.lo `test -f 'padlkrng.cpp' || echo './'`padlkrng.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c padlkrng.cpp -fPIC -DPIC -o .libs/libothers_la-padlkrng.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c padlkrng.cpp -o libothers_la-padlkrng.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-mqueue.lo `test -f 'mqueue.cpp' || echo './'`mqueue.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mqueue.cpp -fPIC -DPIC -o .libs/libothers_la-mqueue.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mqueue.cpp -o libothers_la-mqueue.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-osrng.lo `test -f 'osrng.cpp' || echo './'`osrng.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c osrng.cpp -fPIC -DPIC -o .libs/libothers_la-osrng.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c osrng.cpp -o libothers_la-osrng.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-fipstest.lo `test -f 'fipstest.cpp' || echo './'`fipstest.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c fipstest.cpp -fPIC -DPIC -o .libs/libothers_la-fipstest.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c fipstest.cpp -o libothers_la-fipstest.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-pkcspad.lo `test -f 'pkcspad.cpp' || echo './'`pkcspad.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c pkcspad.cpp -fPIC -DPIC -o .libs/libothers_la-pkcspad.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c pkcspad.cpp -o libothers_la-pkcspad.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-panama.lo `test -f 'panama.cpp' || echo './'`panama.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c panama.cpp -fPIC -DPIC -o .libs/libothers_la-panama.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c panama.cpp -o libothers_la-panama.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-poly1305.lo `test -f 'poly1305.cpp' || echo './'`poly1305.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c poly1305.cpp -fPIC -DPIC -o .libs/libothers_la-poly1305.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c poly1305.cpp -o libothers_la-poly1305.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-polynomi.lo `test -f 'polynomi.cpp' || echo './'`polynomi.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c polynomi.cpp -fPIC -DPIC -o .libs/libothers_la-polynomi.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c polynomi.cpp -o libothers_la-polynomi.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-pssr.lo `test -f 'pssr.cpp' || echo './'`pssr.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c pssr.cpp -fPIC -DPIC -o .libs/libothers_la-pssr.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c pssr.cpp -o libothers_la-pssr.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-queue.lo `test -f 'queue.cpp' || echo './'`queue.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c queue.cpp -fPIC -DPIC -o .libs/libothers_la-queue.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c queue.cpp -o libothers_la-queue.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-pubkey.lo `test -f 'pubkey.cpp' || echo './'`pubkey.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c pubkey.cpp -fPIC -DPIC -o .libs/libothers_la-pubkey.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c pubkey.cpp -o libothers_la-pubkey.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rc2.lo `test -f 'rc2.cpp' || echo './'`rc2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rc2.cpp -fPIC -DPIC -o .libs/libothers_la-rc2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rc2.cpp -o libothers_la-rc2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rdtables.lo `test -f 'rdtables.cpp' || echo './'`rdtables.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdtables.cpp -fPIC -DPIC -o .libs/libothers_la-rdtables.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdtables.cpp -o libothers_la-rdtables.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rdrand.lo `test -f 'rdrand.cpp' || echo './'`rdrand.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdrand.cpp -fPIC -DPIC -o .libs/libothers_la-rdrand.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdrand.cpp -o libothers_la-rdrand.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rc6.lo `test -f 'rc6.cpp' || echo './'`rc6.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rc6.cpp -fPIC -DPIC -o .libs/libothers_la-rc6.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rc6.cpp -o libothers_la-rc6.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rc5.lo `test -f 'rc5.cpp' || echo './'`rc5.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rc5.cpp -fPIC -DPIC -o .libs/libothers_la-rc5.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rc5.cpp -o libothers_la-rc5.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rabin.lo `test -f 'rabin.cpp' || echo './'`rabin.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rabin.cpp -fPIC -DPIC -o .libs/libothers_la-rabin.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rabin.cpp -o libothers_la-rabin.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-randpool.lo `test -f 'randpool.cpp' || echo './'`randpool.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c randpool.cpp -fPIC -DPIC -o .libs/libothers_la-randpool.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c randpool.cpp -o libothers_la-randpool.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rijndael.lo `test -f 'rijndael.cpp' || echo './'`rijndael.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rijndael.cpp -fPIC -DPIC -o .libs/libothers_la-rijndael.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rijndael.cpp -o libothers_la-rijndael.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-dll.lo `test -f 'dll.cpp' || echo './'`dll.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dll.cpp -fPIC -DPIC -o .libs/libothers_la-dll.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c dll.cpp -o libothers_la-dll.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rng.lo `test -f 'rng.cpp' || echo './'`rng.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rng.cpp -fPIC -DPIC -o .libs/libothers_la-rng.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rng.cpp -o libothers_la-rng.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ripemd.lo `test -f 'ripemd.cpp' || echo './'`ripemd.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ripemd.cpp -fPIC -DPIC -o .libs/libothers_la-ripemd.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ripemd.cpp -o libothers_la-ripemd.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-safer.lo `test -f 'safer.cpp' || echo './'`safer.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c safer.cpp -fPIC -DPIC -o .libs/libothers_la-safer.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c safer.cpp -o libothers_la-safer.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-salsa.lo `test -f 'salsa.cpp' || echo './'`salsa.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c salsa.cpp -fPIC -DPIC -o .libs/libothers_la-salsa.o salsa.cpp:93: warning: ignoring '#pragma omp simd' [-Wunknown-pragmas] 93 | #pragma omp simd | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c salsa.cpp -o libothers_la-salsa.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rw.lo `test -f 'rw.cpp' || echo './'`rw.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rw.cpp -fPIC -DPIC -o .libs/libothers_la-rw.o rw.cpp:129: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 129 | #pragma omp parallel sections if(CRYPTOPP_RW_USE_OMP) | rw.cpp:131: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 131 | #pragma omp section | rw.cpp:133: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 133 | #pragma omp section | rw.cpp:135: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 135 | #pragma omp section | rw.cpp:227: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 227 | #pragma omp parallel sections if(CRYPTOPP_RW_USE_OMP) | rw.cpp:229: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 229 | #pragma omp section | rw.cpp:233: warning: ignoring '#pragma omp section' [-Wunknown-pragmas] 233 | #pragma omp section | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rw.cpp -o libothers_la-rw.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-seed.lo `test -f 'seed.cpp' || echo './'`seed.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c seed.cpp -fPIC -DPIC -o .libs/libothers_la-seed.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c seed.cpp -o libothers_la-seed.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-serpent.lo `test -f 'serpent.cpp' || echo './'`serpent.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c serpent.cpp -fPIC -DPIC -o .libs/libothers_la-serpent.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c serpent.cpp -o libothers_la-serpent.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-seal.lo `test -f 'seal.cpp' || echo './'`seal.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c seal.cpp -fPIC -DPIC -o .libs/libothers_la-seal.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c seal.cpp -o libothers_la-seal.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-shacal2.lo `test -f 'shacal2.cpp' || echo './'`shacal2.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c shacal2.cpp -fPIC -DPIC -o .libs/libothers_la-shacal2.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c shacal2.cpp -o libothers_la-shacal2.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-sha3.lo `test -f 'sha3.cpp' || echo './'`sha3.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sha3.cpp -fPIC -DPIC -o .libs/libothers_la-sha3.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sha3.cpp -o libothers_la-sha3.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-scrypt.lo `test -f 'scrypt.cpp' || echo './'`scrypt.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c scrypt.cpp -fPIC -DPIC -o .libs/libothers_la-scrypt.o scrypt.cpp:56: warning: ignoring '#pragma omp simd' [-Wunknown-pragmas] 56 | #pragma omp simd | scrypt.cpp:249: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 249 | #pragma omp parallel | scrypt.cpp:256: warning: ignoring '#pragma omp for' [-Wunknown-pragmas] 256 | #pragma omp for | libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c scrypt.cpp -o libothers_la-scrypt.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-rsa.lo `test -f 'rsa.cpp' || echo './'`rsa.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rsa.cpp -fPIC -DPIC -o .libs/libothers_la-rsa.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rsa.cpp -o libothers_la-rsa.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-sharkbox.lo `test -f 'sharkbox.cpp' || echo './'`sharkbox.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sharkbox.cpp -fPIC -DPIC -o .libs/libothers_la-sharkbox.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sharkbox.cpp -o libothers_la-sharkbox.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-sha.lo `test -f 'sha.cpp' || echo './'`sha.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sha.cpp -fPIC -DPIC -o .libs/libothers_la-sha.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sha.cpp -o libothers_la-sha.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-simon.lo `test -f 'simon.cpp' || echo './'`simon.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c simon.cpp -fPIC -DPIC -o .libs/libothers_la-simon.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c simon.cpp -o libothers_la-simon.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-shark.lo `test -f 'shark.cpp' || echo './'`shark.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c shark.cpp -fPIC -DPIC -o .libs/libothers_la-shark.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c shark.cpp -o libothers_la-shark.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-sm3.lo `test -f 'sm3.cpp' || echo './'`sm3.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sm3.cpp -fPIC -DPIC -o .libs/libothers_la-sm3.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sm3.cpp -o libothers_la-sm3.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-skipjack.lo `test -f 'skipjack.cpp' || echo './'`skipjack.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c skipjack.cpp -fPIC -DPIC -o .libs/libothers_la-skipjack.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c skipjack.cpp -o libothers_la-skipjack.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-sm4.lo `test -f 'sm4.cpp' || echo './'`sm4.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sm4.cpp -fPIC -DPIC -o .libs/libothers_la-sm4.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sm4.cpp -o libothers_la-sm4.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-socketft.lo `test -f 'socketft.cpp' || echo './'`socketft.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c socketft.cpp -fPIC -DPIC -o .libs/libothers_la-socketft.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c socketft.cpp -o libothers_la-socketft.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-strciphr.lo `test -f 'strciphr.cpp' || echo './'`strciphr.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c strciphr.cpp -fPIC -DPIC -o .libs/libothers_la-strciphr.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c strciphr.cpp -o libothers_la-strciphr.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-squaretb.lo `test -f 'squaretb.cpp' || echo './'`squaretb.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c squaretb.cpp -fPIC -DPIC -o .libs/libothers_la-squaretb.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c squaretb.cpp -o libothers_la-squaretb.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-sosemanuk.lo `test -f 'sosemanuk.cpp' || echo './'`sosemanuk.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sosemanuk.cpp -fPIC -DPIC -o .libs/libothers_la-sosemanuk.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c sosemanuk.cpp -o libothers_la-sosemanuk.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-square.lo `test -f 'square.cpp' || echo './'`square.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c square.cpp -fPIC -DPIC -o .libs/libothers_la-square.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c square.cpp -o libothers_la-square.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-speck.lo `test -f 'speck.cpp' || echo './'`speck.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c speck.cpp -fPIC -DPIC -o .libs/libothers_la-speck.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c speck.cpp -o libothers_la-speck.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-tea.lo `test -f 'tea.cpp' || echo './'`tea.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tea.cpp -fPIC -DPIC -o .libs/libothers_la-tea.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tea.cpp -o libothers_la-tea.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-tftables.lo `test -f 'tftables.cpp' || echo './'`tftables.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tftables.cpp -fPIC -DPIC -o .libs/libothers_la-tftables.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tftables.cpp -o libothers_la-tftables.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-tigertab.lo `test -f 'tigertab.cpp' || echo './'`tigertab.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tigertab.cpp -fPIC -DPIC -o .libs/libothers_la-tigertab.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tigertab.cpp -o libothers_la-tigertab.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-tiger.lo `test -f 'tiger.cpp' || echo './'`tiger.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tiger.cpp -fPIC -DPIC -o .libs/libothers_la-tiger.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tiger.cpp -o libothers_la-tiger.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-trdlocal.lo `test -f 'trdlocal.cpp' || echo './'`trdlocal.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c trdlocal.cpp -fPIC -DPIC -o .libs/libothers_la-trdlocal.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c trdlocal.cpp -o libothers_la-trdlocal.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-tweetnacl.lo `test -f 'tweetnacl.cpp' || echo './'`tweetnacl.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tweetnacl.cpp -fPIC -DPIC -o .libs/libothers_la-tweetnacl.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tweetnacl.cpp -o libothers_la-tweetnacl.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-ttmac.lo `test -f 'ttmac.cpp' || echo './'`ttmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ttmac.cpp -fPIC -DPIC -o .libs/libothers_la-ttmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ttmac.cpp -o libothers_la-ttmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-twofish.lo `test -f 'twofish.cpp' || echo './'`twofish.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c twofish.cpp -fPIC -DPIC -o .libs/libothers_la-twofish.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c twofish.cpp -o libothers_la-twofish.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-threefish.lo `test -f 'threefish.cpp' || echo './'`threefish.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c threefish.cpp -fPIC -DPIC -o .libs/libothers_la-threefish.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c threefish.cpp -o libothers_la-threefish.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-wake.lo `test -f 'wake.cpp' || echo './'`wake.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c wake.cpp -fPIC -DPIC -o .libs/libothers_la-wake.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c wake.cpp -o libothers_la-wake.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-wait.lo `test -f 'wait.cpp' || echo './'`wait.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c wait.cpp -fPIC -DPIC -o .libs/libothers_la-wait.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c wait.cpp -o libothers_la-wait.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-whrlpool.lo `test -f 'whrlpool.cpp' || echo './'`whrlpool.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c whrlpool.cpp -fPIC -DPIC -o .libs/libothers_la-whrlpool.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c whrlpool.cpp -o libothers_la-whrlpool.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-vmac.lo `test -f 'vmac.cpp' || echo './'`vmac.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c vmac.cpp -fPIC -DPIC -o .libs/libothers_la-vmac.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c vmac.cpp -o libothers_la-vmac.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-xtrcrypt.lo `test -f 'xtrcrypt.cpp' || echo './'`xtrcrypt.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c xtrcrypt.cpp -fPIC -DPIC -o .libs/libothers_la-xtrcrypt.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c xtrcrypt.cpp -o libothers_la-xtrcrypt.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-xtr.lo `test -f 'xtr.cpp' || echo './'`xtr.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c xtr.cpp -fPIC -DPIC -o .libs/libothers_la-xtr.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c xtr.cpp -o libothers_la-xtr.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-zlib.lo `test -f 'zlib.cpp' || echo './'`zlib.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c zlib.cpp -fPIC -DPIC -o .libs/libothers_la-zlib.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c zlib.cpp -o libothers_la-zlib.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-zdeflate.lo `test -f 'zdeflate.cpp' || echo './'`zdeflate.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c zdeflate.cpp -fPIC -DPIC -o .libs/libothers_la-zdeflate.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c zdeflate.cpp -o libothers_la-zdeflate.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libothers_la-zinflate.lo `test -f 'zinflate.cpp' || echo './'`zinflate.cpp libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c zinflate.cpp -fPIC -DPIC -o .libs/libothers_la-zinflate.o libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c zinflate.cpp -o libothers_la-zinflate.o >/dev/null 2>&1 make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[3]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' /bin/sh ./libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -pthread -fdata-sections -ffunction-sections -pipe -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pthread -Wl,--gc-sections -Wl,--exclude-libs,ALL -Wl,--as-needed -version-info 6:0:0 -o libcryptopp.la libcryptopp_la-adhoc.lo libcryptlib_la-cryptlib.lo libcpu_la-cpu.lo libinteger_la-integer.lo libaria_simd_la-aria-simd.lo libblake2_simd_la-blake2-simd.lo libcrc_simd_la-crc-simd.lo libgcm_simd_la-gcm-simd.lo libneon_simd_la-neon-simd.lo libppc_simd_la-ppc-simd.lo librijndael_simd_la-rijndael-simd.lo libsha_simd_la-sha-simd.lo libshacal2_simd_la-shacal2-simd.lo libsimon_simd_la-simon-simd.lo libspeck_simd_la-speck-simd.lo libsse_simd_la-sse-simd.lo libothers_la-3way.lo libothers_la-adler32.lo libothers_la-algebra.lo libothers_la-algparam.lo libothers_la-arc4.lo libothers_la-aria.lo libothers_la-ariatab.lo libothers_la-asn.lo libothers_la-authenc.lo libothers_la-base32.lo libothers_la-base64.lo libothers_la-basecode.lo libothers_la-bfinit.lo libothers_la-blake2.lo libothers_la-blowfish.lo libothers_la-blumshub.lo libothers_la-camellia.lo libothers_la-cast.lo libothers_la-casts.lo libothers_la-cbcmac.lo libothers_la-ccm.lo libothers_la-chacha.lo libothers_la-channels.lo libothers_la-cmac.lo libothers_la-crc.lo libothers_la-default.lo libothers_la-des.lo libothers_la-dessp.lo libothers_la-dh.lo libothers_la-dh2.lo libothers_la-dll.lo libothers_la-dsa.lo libothers_la-eax.lo libothers_la-ec2n.lo libothers_la-eccrypto.lo libothers_la-ecp.lo libothers_la-elgamal.lo libothers_la-emsa2.lo libothers_la-eprecomp.lo libothers_la-esign.lo libothers_la-files.lo libothers_la-filters.lo libothers_la-fips140.lo libothers_la-fipstest.lo libothers_la-gcm.lo libothers_la-gf256.lo libothers_la-gf2_32.lo libothers_la-gf2n.lo libothers_la-gfpcrypt.lo libothers_la-gost.lo libothers_la-gzip.lo libothers_la-hex.lo libothers_la-hmac.lo libothers_la-hrtimer.lo libothers_la-ida.lo libothers_la-idea.lo libothers_la-iterhash.lo libothers_la-kalyna.lo libothers_la-kalynatab.lo libothers_la-keccak.lo libothers_la-luc.lo libothers_la-mars.lo libothers_la-marss.lo libothers_la-md2.lo libothers_la-md4.lo libothers_la-md5.lo libothers_la-misc.lo libothers_la-modes.lo libothers_la-mqueue.lo libothers_la-mqv.lo libothers_la-nbtheory.lo libothers_la-network.lo libothers_la-oaep.lo libothers_la-osrng.lo libothers_la-padlkrng.lo libothers_la-panama.lo libothers_la-pkcspad.lo libothers_la-poly1305.lo libothers_la-polynomi.lo libothers_la-pssr.lo libothers_la-pubkey.lo libothers_la-queue.lo libothers_la-rabin.lo libothers_la-randpool.lo libothers_la-rc2.lo libothers_la-rc5.lo libothers_la-rc6.lo libothers_la-rdrand.lo libothers_la-rdtables.lo libothers_la-rijndael.lo libothers_la-ripemd.lo libothers_la-rng.lo libothers_la-rsa.lo libothers_la-rw.lo libothers_la-safer.lo libothers_la-salsa.lo libothers_la-scrypt.lo libothers_la-seal.lo libothers_la-seed.lo libothers_la-serpent.lo libothers_la-sha.lo libothers_la-sha3.lo libothers_la-shacal2.lo libothers_la-shark.lo libothers_la-sharkbox.lo libothers_la-simon.lo libothers_la-skipjack.lo libothers_la-sm3.lo libothers_la-sm4.lo libothers_la-socketft.lo libothers_la-sosemanuk.lo libothers_la-speck.lo libothers_la-square.lo libothers_la-squaretb.lo libothers_la-strciphr.lo libothers_la-tea.lo libothers_la-tftables.lo libothers_la-threefish.lo libothers_la-tiger.lo libothers_la-tigertab.lo libothers_la-trdlocal.lo libothers_la-ttmac.lo libothers_la-tweetnacl.lo libothers_la-twofish.lo libothers_la-vmac.lo libothers_la-wait.lo libothers_la-wake.lo libothers_la-whrlpool.lo libothers_la-xtr.lo libothers_la-xtrcrypt.lo libothers_la-zdeflate.lo libothers_la-zinflate.lo libothers_la-zlib.lo libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: ar cr .libs/libcryptopp.a .libs/libcryptopp_la-adhoc.o .libs/libcryptlib_la-cryptlib.o .libs/libcpu_la-cpu.o .libs/libinteger_la-integer.o .libs/libaria_simd_la-aria-simd.o .libs/libblake2_simd_la-blake2-simd.o .libs/libcrc_simd_la-crc-simd.o .libs/libgcm_simd_la-gcm-simd.o .libs/libneon_simd_la-neon-simd.o .libs/libppc_simd_la-ppc-simd.o .libs/librijndael_simd_la-rijndael-simd.o .libs/libsha_simd_la-sha-simd.o .libs/libshacal2_simd_la-shacal2-simd.o .libs/libsimon_simd_la-simon-simd.o .libs/libspeck_simd_la-speck-simd.o .libs/libsse_simd_la-sse-simd.o .libs/libothers_la-3way.o .libs/libothers_la-adler32.o .libs/libothers_la-algebra.o .libs/libothers_la-algparam.o .libs/libothers_la-arc4.o .libs/libothers_la-aria.o .libs/libothers_la-ariatab.o .libs/libothers_la-asn.o .libs/libothers_la-authenc.o .libs/libothers_la-base32.o .libs/libothers_la-base64.o .libs/libothers_la-basecode.o .libs/libothers_la-bfinit.o .libs/libothers_la-blake2.o .libs/libothers_la-blowfish.o .libs/libothers_la-blumshub.o .libs/libothers_la-camellia.o .libs/libothers_la-cast.o .libs/libothers_la-casts.o .libs/libothers_la-cbcmac.o .libs/libothers_la-ccm.o .libs/libothers_la-chacha.o .libs/libothers_la-channels.o .libs/libothers_la-cmac.o .libs/libothers_la-crc.o .libs/libothers_la-default.o .libs/libothers_la-des.o .libs/libothers_la-dessp.o .libs/libothers_la-dh.o .libs/libothers_la-dh2.o .libs/libothers_la-dll.o .libs/libothers_la-dsa.o .libs/libothers_la-eax.o .libs/libothers_la-ec2n.o .libs/libothers_la-eccrypto.o .libs/libothers_la-ecp.o .libs/libothers_la-elgamal.o .libs/libothers_la-emsa2.o .libs/libothers_la-eprecomp.o .libs/libothers_la-esign.o .libs/libothers_la-files.o .libs/libothers_la-filters.o .libs/libothers_la-fips140.o .libs/libothers_la-fipstest.o .libs/libothers_la-gcm.o .libs/libothers_la-gf256.o .libs/libothers_la-gf2_32.o .libs/libothers_la-gf2n.o .libs/libothers_la-gfpcrypt.o .libs/libothers_la-gost.o .libs/libothers_la-gzip.o .libs/libothers_la-hex.o .libs/libothers_la-hmac.o .libs/libothers_la-hrtimer.o .libs/libothers_la-ida.o .libs/libothers_la-idea.o .libs/libothers_la-iterhash.o .libs/libothers_la-kalyna.o .libs/libothers_la-kalynatab.o .libs/libothers_la-keccak.o .libs/libothers_la-luc.o .libs/libothers_la-mars.o .libs/libothers_la-marss.o .libs/libothers_la-md2.o .libs/libothers_la-md4.o .libs/libothers_la-md5.o .libs/libothers_la-misc.o .libs/libothers_la-modes.o .libs/libothers_la-mqueue.o .libs/libothers_la-mqv.o .libs/libothers_la-nbtheory.o .libs/libothers_la-network.o .libs/libothers_la-oaep.o .libs/libothers_la-osrng.o .libs/libothers_la-padlkrng.o .libs/libothers_la-panama.o .libs/libothers_la-pkcspad.o .libs/libothers_la-poly1305.o .libs/libothers_la-polynomi.o .libs/libothers_la-pssr.o .libs/libothers_la-pubkey.o .libs/libothers_la-queue.o .libs/libothers_la-rabin.o .libs/libothers_la-randpool.o .libs/libothers_la-rc2.o .libs/libothers_la-rc5.o .libs/libothers_la-rc6.o .libs/libothers_la-rdrand.o .libs/libothers_la-rdtables.o .libs/libothers_la-rijndael.o .libs/libothers_la-ripemd.o .libs/libothers_la-rng.o .libs/libothers_la-rsa.o .libs/libothers_la-rw.o .libs/libothers_la-safer.o .libs/libothers_la-salsa.o .libs/libothers_la-scrypt.o .libs/libothers_la-seal.o .libs/libothers_la-seed.o .libs/libothers_la-serpent.o .libs/libothers_la-sha.o .libs/libothers_la-sha3.o .libs/libothers_la-shacal2.o .libs/libothers_la-shark.o .libs/libothers_la-sharkbox.o .libs/libothers_la-simon.o .libs/libothers_la-skipjack.o .libs/libothers_la-sm3.o .libs/libothers_la-sm4.o .libs/libothers_la-socketft.o .libs/libothers_la-sosemanuk.o .libs/libothers_la-speck.o .libs/libothers_la-square.o .libs/libothers_la-squaretb.o .libs/libothers_la-strciphr.o .libs/libothers_la-tea.o .libs/libothers_la-tftables.o .libs/libothers_la-threefish.o .libs/libothers_la-tiger.o .libs/libothers_la-tigertab.o .libs/libothers_la-trdlocal.o .libs/libothers_la-ttmac.o .libs/libothers_la-tweetnacl.o .libs/libothers_la-twofish.o .libs/libothers_la-vmac.o .libs/libothers_la-wait.o .libs/libothers_la-wake.o .libs/libothers_la-whrlpool.o .libs/libothers_la-xtr.o .libs/libothers_la-xtrcrypt.o .libs/libothers_la-zdeflate.o .libs/libothers_la-zinflate.o .libs/libothers_la-zlib.o libtool: link: ranlib .libs/libcryptopp.a libtool: link: ( cd ".libs" && rm -f "libcryptopp.la" && ln -s "../libcryptopp.la" "libcryptopp.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:4, 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:624:9: warning: deleting object of polymorphic class type 'CLoadbalancerClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 624 | delete lbs; | ^~~~~~~~~~ main.cpp:629:9: warning: deleting object of polymorphic class type 'CServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 629 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/string:45, from stringtools.cpp:21: /usr/include/c++/12/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++/12/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 >]' stringtools.cpp:267:18: required from here 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Query.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from Query.cpp:39: Database.h:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Database.h:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 91 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Database.h:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 91 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:111:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 111 | delete q; | ^~~~~~~~ Database.cpp: In member function 'virtual db_results CDatabase::Read(std::string)': Database.cpp:223:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 223 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual bool CDatabase::Write(std::string)': Database.cpp:236:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 236 | delete ((CQuery*)q); | ^~~~~~~~~~~~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyQuery(IQuery*)': Database.cpp:449:25: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 449 | delete cq; | ^~~~~~~~~ Database.cpp:455:9: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 455 | delete cq; | ^~~~~~~~~ Database.cpp: In member function 'virtual void CDatabase::destroyAllQueries()': Database.cpp:463:17: warning: deleting object of polymorphic class type 'CQuery' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 463 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/string:45, from Template.h:1, from Template.cpp:20: /usr/include/c++/12/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++/12/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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from SQLiteFactory.cpp:22: Database.h:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from Database.h:4: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Database.h:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 91 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from MemoryPipe.cpp:19: MemoryPipe.h: In constructor 'CMemoryPipe::CMemoryPipe()': MemoryPipe.h:48:14: warning: 'CMemoryPipe::has_error' will be initialized after [-Wreorder] 48 | bool has_error; | ^~~~~~~~~ MemoryPipe.h:47:16: warning: 'size_t CMemoryPipe::waiters' [-Wreorder] 47 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/CompressedFile.h:4: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from PipeThrottler.h:4: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from SharedMutex_lin.h:5, from SharedMutex_lin.cpp:19: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Query.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/CompressedFile.h:4: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:576:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 576 | std::auto_ptr bitmap_file(Server->openFile(filename+".bitmap", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'bool CowFile::loadBitmap(const std::string&)': fsimageplugin/cowfile.cpp:595:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 595 | std::auto_ptr bitmap_file(Server->openFile(bitmap_fn, MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::trimUnused(_i64, _i64, ITrimCallback*)': fsimageplugin/cowfile.cpp:762:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 762 | std::auto_ptr bitmap_source; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ fsimageplugin/cowfile.cpp: In member function 'virtual bool CowFile::syncBitmap(_i64)': fsimageplugin/cowfile.cpp:874:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 874 | std::auto_ptr bitmap_source; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/filesystem.h:16: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupcommon/InternetServicePipe2.cpp:19: urbackupcommon/InternetServicePipe2.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupcommon/InternetServicePipe2.h:4: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupcommon/CompressedPipe.h:3, from urbackupcommon/CompressedPipe.cpp:19: urbackupcommon/CompressedPipe2.h:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupcommon/CompressedPipe2.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h:85:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/ClientBitmap.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupcommon/ExtentIterator.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupcommon/CompressedPipe2.cpp:19: urbackupcommon/CompressedPipe2.h:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupcommon/CompressedPipe2.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h:85:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h: In constructor 'CompressedPipe2::CompressedPipe2(IPipe*, int)': urbackupcommon/CompressedPipe2.h:79:14: warning: 'CompressedPipe2::has_error' will be initialized after [-Wreorder] 79 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipe2.h:73:15: warning: 'int64 CompressedPipe2::uncompressed_sent_bytes' [-Wreorder] 73 | 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:75:15: warning: 'CompressedPipe2::sent_flushes' will be initialized after [-Wreorder] 75 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:71:16: warning: 'size_t CompressedPipe2::input_buffer_size' [-Wreorder] 71 | 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:85:31: warning: 'CompressedPipe2::write_mutex' will be initialized after [-Wreorder] 85 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipe2.h:76:15: warning: 'int64 CompressedPipe2::last_send_time' [-Wreorder] 76 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupcommon/CompressedPipeZstd.h:7, from urbackupcommon/CompressedPipeZstd.cpp:21: urbackupcommon/CompressedPipe2.h:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupcommon/CompressedPipe2.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipe2.h:85:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h:80:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h:81:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 81 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/CompressedPipeZstd.h: In constructor 'CompressedPipeZstd::CompressedPipeZstd(IPipe*, int, int)': urbackupcommon/CompressedPipeZstd.h:74:14: warning: 'CompressedPipeZstd::has_error' will be initialized after [-Wreorder] 74 | bool has_error; | ^~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:68:15: warning: 'int64 CompressedPipeZstd::uncompressed_sent_bytes' [-Wreorder] 68 | int64 uncompressed_sent_bytes; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:70:15: warning: 'CompressedPipeZstd::sent_flushes' will be initialized after [-Wreorder] 70 | int64 sent_flushes; | ^~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:66:16: warning: 'size_t CompressedPipeZstd::input_buffer_size' [-Wreorder] 66 | size_t input_buffer_size; | ^~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:81:31: warning: 'CompressedPipeZstd::write_mutex' will be initialized after [-Wreorder] 81 | std::auto_ptr write_mutex; | ^~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.h:71:15: warning: 'int64 CompressedPipeZstd::last_send_time' [-Wreorder] 71 | int64 last_send_time; | ^~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp:41:1: warning: when initialized here [-Wreorder] 41 | CompressedPipeZstd::CompressedPipeZstd(IPipe *cs, int compression_level, int threads) | ^~~~~~~~~~~~~~~~~~ urbackupcommon/CompressedPipeZstd.cpp: In member function 'size_t CompressedPipeZstd::ProcessToBuffer(char*, size_t, bool)': urbackupcommon/CompressedPipeZstd.cpp:171:14: warning: variable 'set_out' set but not used [-Wunused-but-set-variable] 171 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/../urbackupcommon/ExtentIterator.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupcommon/../urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupcommon/ExtentIterator.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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 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++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from Server.cpp:25: /usr/include/c++/12/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++/12/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:90:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 90 | std::auto_ptr transaction_read_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Database.h:91:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 91 | std::auto_ptr write_lock; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ Server.cpp: In destructor 'CServer::~CServer()': Server.cpp:284:17: warning: deleting object of polymorphic class type 'CServiceAcceptor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 284 | delete stream_services[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Server.cpp:335:9: warning: deleting object of polymorphic class type 'CSessionMgr' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 335 | delete sessmgr; | ^~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::setLogFile(const std::string&, std::string)': Server.cpp:513:29: warning: unused variable 'rc' [-Wunused-variable] 513 | int rc=getpwnam_r(chown_user.c_str(), &pwbuf, buf, 1000, &pw); | ^~ Server.cpp: In member function 'virtual THREAD_ID CServer::getThreadID()': Server.cpp:871:27: warning: comparison of integer expressions of different signedness: 'THREAD_ID' {aka 'int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 871 | if( curr_thread_id>=MAX_THREAD_ID ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Server.cpp: In member function 'virtual void CServer::randomFill(char*, size_t)': Server.cpp:2050:28: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 2050 | 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 >]' Server.cpp:1801:17: required from here 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:516:38: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/LMDBFileIndex.h:10: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/memory:75, from urbackupserver/serverinterface/create_zip.cpp:25: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/CompressedPipe2.h:85:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:29: urbackupserver/../urbackupcommon/CompressedPipeZstd.h:80:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/CompressedPipeZstd.h:81:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 81 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | SStartupStatus(void) | ^~~~~~~~~~~~~~ In file included from urbackupserver/InternetServiceConnector.cpp:40: urbackupserver/../urbackupcommon/InternetServicePipe2.h: At global scope: urbackupserver/../urbackupcommon/InternetServicePipe2.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/InternetServicePipe2.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/server_dir_links.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/apps/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/apps/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/apps/check_files_index.cpp:22: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h: At global scope: urbackupserver/apps/../server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupserver/ThrottleUpdater.cpp:20: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/verify_hashes.cpp:27: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupcommon/WalCheckpointThread.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/Backup.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/DataplanDb.h:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/Backup.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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 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++/12/memory:75, from urbackupserver/Backup.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/server_dir_links.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/Backup.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FullFileBackup.cpp:909:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 909 | std::auto_ptr sync_f; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/server_cleanup.h:11: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/../Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:404:17: warning: deleting object of abstract class type 'IServer' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 404 | delete Server; | ^~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp: In function 'int action_mount_vhd(std::vector >)': urbackupserver/cmdline_preprocessor.cpp:955:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 955 | system("modprobe fuse"); | ~~~~~~^~~~~~~~~~~~~~~~~ urbackupserver/cmdline_preprocessor.cpp:970:28: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 970 | dup(i); | ~~~^~~ urbackupserver/cmdline_preprocessor.cpp:971:28: warning: ignoring return value of 'int dup(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 971 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/serverinterface/../../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/Backup.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/stl_construct.h:61, from /usr/include/c++/12/memory:64: /usr/include/c++/12/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++/12/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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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 member function 'std::string FileBackup::getSHADef(const std::string&)': urbackupserver/FileBackup.cpp:1477:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1477 | std::auto_ptr f(Server->openFile(os_file_prefix(fn), MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::constructBackupPath(bool, bool, std::string&)': urbackupserver/FileBackup.cpp:1549:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1549 | std::auto_ptr touch_f(Server->openFile(backuppath, MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::createUserViews(IFile*)': urbackupserver/FileBackup.cpp:1657:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1657 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'void FileBackup::saveUsersOnClient()': urbackupserver/FileBackup.cpp:2069:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2069 | std::auto_ptr urbackup_tokens( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startFileMetadataDownloadThread()': urbackupserver/FileBackup.cpp:2219:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2219 | std::auto_ptr fc_metadata_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopFileMetadataDownloadThread(bool, size_t)': urbackupserver/FileBackup.cpp:2286:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2286 | std::auto_ptr fc_metadata_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::loadWindowsBackupComponentConfigXml(FileClient&)': urbackupserver/FileBackup.cpp:2402:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2402 | std::auto_ptr component_config_xml(Server->openFile(os_file_prefix(component_config_dir+os_file_sep()+"backupcom.xml"), MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::startPhashDownloadThread(const std::string&)': urbackupserver/FileBackup.cpp:2422:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2422 | std::auto_ptr fc_phash_stream(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp: In member function 'bool FileBackup::stopPhashDownloadThread(const std::string&)': urbackupserver/FileBackup.cpp:2473:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2473 | std::auto_ptr fc_phash_stream_end(new FileClient(false, identity, client_main->getProtocolVersions().filesrv_protocol_version, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:2525:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2525 | std::auto_ptr tmpfile(Server->openTemporaryFile()); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileBackup.cpp:2531:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2531 | std::auto_ptr output_file(Server->openFile(tmpdirname+os_file_sep()+"verify_failed.file", MODE_WRITE)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupcommon/WebSocketPipe.cpp:1: urbackupcommon/WebSocketPipe.h:110:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 110 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupcommon/WebSocketPipe.h:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/WebSocketPipe.h:111:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 111 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:94:16: warning: 'WebSocketPipe::pipe' will be initialized after [-Wreorder] 94 | IPipe* pipe; | ^~~~ urbackupcommon/WebSocketPipe.h:92:20: warning: 'const bool WebSocketPipe::mask_writes' [-Wreorder] 92 | 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:106:21: warning: 'WebSocketPipe::pipe_add' will be initialized after [-Wreorder] 106 | std::string pipe_add; | ^~~~~~~~ urbackupcommon/WebSocketPipe.h:96:20: warning: 'WebSocketPipe::EReadState WebSocketPipe::read_state' [-Wreorder] 96 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:110:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 110 | std::auto_ptr read_mutex; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/../urbackupcommon/WebSocketPipe.h:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/WebSocketPipe.h:111:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 111 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/Backup.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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 '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 '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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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 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++/12/string:45, from stringtools.cpp:21: /usr/include/c++/12/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++/12/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 >]' stringtools.cpp:267:18: required from here 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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 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++/12/string:45, from stringtools.cpp:21: /usr/include/c++/12/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++/12/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 >]' stringtools.cpp:267:18: required from here 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupserver/Alerts.cpp:5: urbackupserver/server_settings.h: In constructor 'STimeSpan::STimeSpan(int, float, float)': urbackupserver/server_settings.h:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/filesystem.h:16: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/CompressedFile.h:4: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/fs/../filesystem.h:16: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from urbackupcommon/os_functions.h:4, from urbackupcommon/os_functions_lin.cpp:19: /usr/include/c++/12/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++/12/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 >]' urbackupcommon/server_compat.h:82:19: required from here 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fsimageplugin/../urbackupcommon/sha2/sha2.h:215, from fsimageplugin/dllmain.cpp:51: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/DataplanDb.h:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from fsimageplugin/vhdxfile.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:261:22: warning: 'FileClient::received_data_bytes' will be initialized after [-Wreorder] 261 | _i64 received_data_bytes; | ^~~~~~~~~~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:254:44: warning: 'FileClient::QueueCallback* FileClient::queue_callback' [-Wreorder] 254 | 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:286:22: warning: 'FileClient::needs_flush' will be initialized after [-Wreorder] 286 | bool needs_flush; | ^~~~~~~~~~~ urbackupcommon/fileclient/FileClient.h:247:22: warning: '_i64 FileClient::real_transferred_bytes' [-Wreorder] 247 | _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:1080:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1080 | std::auto_ptr sparse_file; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupcommon/fileclient/../../md5.h:125, from urbackupcommon/fileclient/FileClient.cpp:28: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupcommon/fileclient/FileClient.cpp: In member function '_u32 FileClient::FinishScript(std::string)': urbackupcommon/fileclient/FileClient.cpp:2402:21: warning: unused variable 'tries' [-Wunused-variable] 2402 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupserver/serverinterface/helper.cpp:19: urbackupserver/serverinterface/helper.h: In constructor 'SStartupStatus::SStartupStatus()': urbackupserver/serverinterface/helper.h:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:148:20: warning: unused variable 'db' [-Wunused-variable] 148 | IDatabase* db=NULL;//Server->getDatabase(tid, TRANSLATIONDB); | ^~ 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/server_cleanup.h:11: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:297:13: warning: 'ServerSettings::clientid' will be initialized after [-Wreorder] 297 | int clientid; | ^~~~~~~~ urbackupserver/server_settings.h:295:20: warning: 'IDatabase* ServerSettings::db' [-Wreorder] 295 | 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:114:78: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 114 | void ServerSettings::createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp:115:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 115 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp:115:63: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 115 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'void ServerSettings::readSettingsDefault(ISettingsReader*, ISettingsReader*, IQuery*)': urbackupserver/server_settings.cpp:365:101: warning: right operand of comma operator has no effect [-Wunused-value] 365 | 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:1042:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1042 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'void ServerSettings::readSettings()': urbackupserver/server_settings.cpp:1234:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1234 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.cpp: In member function 'SLDAPSettings ServerSettings::getLDAPSettings()': urbackupserver/server_settings.cpp:1308:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1308 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from urbackupserver/../urbackupcommon/sha2/sha2.h:215, from urbackupserver/server_prepare_hash.h:9: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void BackupServer::operator()()': urbackupserver/server.cpp:215:25: warning: deleting object of polymorphic class type 'BackupServer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 215 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'void BackupServer::startClients(FileClient&)': urbackupserver/server.cpp:337: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] 337 | 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:980:25: warning: deleting object of polymorphic class type '{anonymous}::TestFilesystemThread' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 980 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'virtual void {anonymous}::FileCleanups::operator()()': urbackupserver/server.cpp:1121:25: warning: deleting object of polymorphic class type '{anonymous}::FileCleanups' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1121 | delete this; | ^~~~~~~~~~~ urbackupserver/server.cpp: In member function 'void BackupServer::runServerRecovery(IDatabase*)': urbackupserver/server.cpp:1170:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1170 | std::auto_ptr f(Server->openFile(os_file_prefix(res["path"]))); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1237:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1237 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1262:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1262 | std::auto_ptr file_cleanups(new FileCleanups); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1313:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1313 | std::auto_ptr image_f(Server->openFile(os_file_prefix(path), MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server.cpp:1349:38: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1349 | std::auto_ptr sync_f(Server->openFile(os_file_prefix(res["path"] + ".sync"), MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/server_update_stats.h:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from urbackupserver/server_channel.cpp:19: urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '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 '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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:1018:34: warning: '{anonymous}::ScopedSetRestoreDone::backup_dao' will be initialized after [-Wreorder] 1018 | ServerBackupDao& backup_dao; | ^~~~~~~~~~ urbackupserver/server_channel.cpp:1017:22: warning: 'bool {anonymous}::ScopedSetRestoreDone::ok' [-Wreorder] 1017 | bool ok; | ^~ urbackupserver/server_channel.cpp:1021:17: warning: when initialized here [-Wreorder] 1021 | ScopedSetRestoreDone(ServerBackupDao& backup_dao, int64 restore_id) | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::DOWNLOAD_IMAGE(str_map&)': urbackupserver/server_channel.cpp:1114:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1114 | std::auto_ptr f(Server->openFile(os_file_prefix(res[0]["path"]+".mbr"), MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_channel.cpp:1218:30: warning: unused variable 'currblock' [-Wunused-variable] 1218 | _i64 currblock=(currpos+skip)%blocksize; | ^~~~~~~~~ urbackupserver/server_channel.cpp: In member function 'void ServerChannelThread::RESTORE_PERCENT(str_map)': urbackupserver/server_channel.cpp:1586:13: warning: unused variable 'detail_pc' [-Wunused-variable] 1586 | int detail_pc = watoi(params["detail_pc"]); | ^~~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o urbackupserver/urbackupsrv-dllmain.o `test -f 'urbackupserver/dllmain.cpp' || echo './'`urbackupserver/dllmain.cpp 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/memory:75, from urbackupserver/server_cleanup.h:11: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:85: urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '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 '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:95: 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:97: 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:98: 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/dllmain.cpp:99: 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-Wsubobject-linkage] 38 | class FileMetadataDownloadThread : public IThread | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from urbackupserver/dllmain.cpp:387: urbackupserver/../urbackupcommon/WebSocketPipe.h:110:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 110 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/WebSocketPipe.h:111:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 111 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/dllmain.cpp: In function 'void LoadActions_urbackupserver(IServer*)': urbackupserver/dllmain.cpp:515:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 515 | std::auto_ptr f(Server->openFile(Server->getServerParameter("hash_file"), MODE_READ_SEQUENTIAL)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/dllmain.cpp:881:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 881 | std::auto_ptr settings_db(Server->createDBSettingsReader(db, "settings_db.settings", | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/dllmain.cpp: In function 'bool upgrade35_36()': urbackupserver/dllmain.cpp:1500:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1500 | std::auto_ptr db_file(Server->openFile("urbackup/backup_server.db", MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h: At global scope: urbackupserver/server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/memory:75, from urbackupserver/serverinterface/../server_cleanup.h:11: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/apps/../../urbackupcommon/ExtentIterator.h:3: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from urbackupserver/../urbackupcommon/fileclient/../../md5.h:125, from urbackupserver/../urbackupcommon/fileclient/FileClientChunked.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:28: urbackupserver/server_channel.h:16:7: warning: 'ServerChannelThread' has a field '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 '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::dl_queue' whose type uses the anonymous namespace [-Wsubobject-linkage] 140 | class ServerDownloadThread : public IThread, public FileClient::QueueCallback, public FileClientChunked::QueueCallback | ^~~~~~~~~~~~~~~~~~~~ urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field 'ServerDownloadThread::download_nok_ids' whose type uses the anonymous namespace [-Wsubobject-linkage] urbackupserver/ServerDownloadThread.h:140:7: warning: 'ServerDownloadThread' has a field '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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/FileMetadataDownloadThread.h:38:7: warning: 'server::FileMetadataDownloadThread' has a field 'server::FileMetadataDownloadThread::saved_folder_items' whose type uses the anonymous namespace [-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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:67: urbackupserver/../urbackupcommon/InternetServicePipe2.h:78:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 78 | std::auto_ptr dec; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/InternetServicePipe2.h:79:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 79 | std::auto_ptr enc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/InternetServicePipe2.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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:68: urbackupserver/../urbackupcommon/CompressedPipe2.h:84:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 84 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/CompressedPipe2.h:85:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 85 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ In file included from urbackupserver/ClientMain.cpp:69: urbackupserver/../urbackupcommon/CompressedPipeZstd.h:80:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 80 | std::auto_ptr read_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/../urbackupcommon/CompressedPipeZstd.h:81:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 81 | std::auto_ptr write_mutex; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:1342:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1342 | std::auto_ptr cc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:1372:14: warning: unused variable 'ok' [-Wunused-variable] 1372 | bool ok=false; | ^~ urbackupserver/ClientMain.cpp:1373:14: warning: unused variable 'herr' [-Wunused-variable] 1373 | 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:1446:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1446 | std::auto_ptr cc; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::sendSettings()': urbackupserver/ClientMain.cpp:1867:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1867 | std::auto_ptr settings_client, settings_default, settings_global; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:1875:14: warning: unused variable 'allow_overwrite' [-Wunused-variable] 1875 | bool allow_overwrite = settings->allow_overwrite; | ^~~~~~~~~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'bool ClientMain::getClientSettings(bool&)': urbackupserver/ClientMain.cpp:2002:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2002 | std::auto_ptr sr(Server->createFileSettingsReader(tmp_fn)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'void ClientMain::checkClientVersion()': urbackupserver/ClientMain.cpp:2253:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2253 | std::auto_ptr sigfile(Server->openFile(signature_file, MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:2259:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2259 | std::auto_ptr updatefile(Server->openFile(installer_file, MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp:2268:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2268 | std::auto_ptr cc(getClientCommandConnection(server_settings.get(), 10000)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'IPipe* ClientMain::getClientCommandConnection(ServerSettings*, int, std::string*, bool, bool, bool*)': urbackupserver/ClientMain.cpp:2712:30: warning: unused variable 'ok' [-Wunused-variable] 2712 | bool ok = false; | ^~ urbackupserver/ClientMain.cpp:2713:30: warning: unused variable 'herr' [-Wunused-variable] 2713 | bool herr = false; | ^~~~ urbackupserver/ClientMain.cpp: At global scope: urbackupserver/ClientMain.cpp:2865:57: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2865 | bool ClientMain::getClientChunkedFilesrvConnection(std::auto_ptr& fc_chunked, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/ClientMain.cpp: In member function 'virtual bool ClientMain::handle_not_enough_space(const std::string&, logid_t)': urbackupserver/ClientMain.cpp:3063: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] 3063 | if(free_space!=-1 && free_space class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/apps/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/apps/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/apps/../serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/apps/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | const char* image_file_format_default = "default"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/server_cleanup.h:11: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from urbackupserver/apps/md5sum_check.cpp:5: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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++/12/memory:75, from urbackupserver/serverinterface/../../urbackupcommon/mbrdata.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:387:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 387 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:832:46: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 832 | std::auto_ptr f; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:963:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 963 | std::auto_ptr mbrfile(Server->openFile(os_file_prefix(path + ".mbr"), MODE_READ)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/backups.cpp:974: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] 974 | if (mbrdata.size() == mbrfile->Size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/backups.cpp:1000:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1000 | std::auto_ptr vhdfile; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h: At global scope: urbackupserver/serverinterface/../server_settings.h:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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/CTCPFileServ.cpp:22: 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/CTCPFileServ.cpp:23: 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/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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:26: 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/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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:1231:75: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1231 | if (rc == 0 && rc < count && errno == 0) //other process made the file smaller | ~~~^~~~~~~ fileservplugin/CClientThread.cpp:1126:38: warning: unused variable 'has_error' [-Wunused-variable] 1126 | bool has_error=false; | ^~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileBlockdiff(CRData*, bool)': fileservplugin/CClientThread.cpp:1829:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1829 | std::auto_ptr pipe_file_user; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:1981:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1981 | srv_file = Server->openFileFromHandle((void*)hFile, filename); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::GetFileHashAndMetadata(CRData*)': fileservplugin/CClientThread.cpp:2201:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2201 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp:2201:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2201 | std::auto_ptr tf(Server->openFileFromHandle((void*)hFile, filename)); | ^~~~~~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendFullFile(IFile*, _i64, bool)': fileservplugin/CClientThread.cpp:2355:22: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2355 | if(rc==SOCKET_ERROR) fileservplugin/CClientThread.cpp:2371:32: warning: comparison of integer expressions of different signedness: '_u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2371 | if (rc == SOCKET_ERROR) fileservplugin/CClientThread.cpp: In static member function 'static std::string CClientThread::getDummyMetadata(std::string, int64, int64, bool)': fileservplugin/CClientThread.cpp:2606:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 2606 | std::auto_ptr token_callback(FileServ::newTokenCallback()); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ fileservplugin/CClientThread.cpp: In member function 'bool CClientThread::sendSparseExtents(const std::vector&)': fileservplugin/CClientThread.cpp:2860:15: warning: unused variable 'last_sparse_pos' [-Wunused-variable] 2860 | int64 last_sparse_pos = 0; | ^~~~~~~~~~~~~~~ fileservplugin/CClientThread.cpp:2861:16: warning: unused variable 'curr_sparse_ext' [-Wunused-variable] 2861 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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(bufsizeSize()) | ~~~^~~~~~~~~~~ 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 In file included from fileservplugin/ChunkSendThread.cpp:20: 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/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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/ChunkSendThread.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o fileservplugin/urbackupsrv-PipeFileTar.o `test -f 'fileservplugin/PipeFileTar.cpp' || echo './'`fileservplugin/PipeFileTar.cpp 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/md5.h:4, from fileservplugin/../md5.h:125, from fileservplugin/CClientThread.h:24: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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++/12/memory:75, from ./cryptoplugin/src/stdcpp.h:15, from ./cryptoplugin/src/cryptlib.h:103, from ./cryptoplugin/src/iterhash.h:6, from ./cryptoplugin/src/sha.h:12, from fileservplugin/../urbackupcommon/sha2/sha2.h:215, from fileservplugin/PipeFileBase.h:6: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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:93:16: warning: 'SStartupStatus::pc_done' will be initialized after [-Wreorder] 93 | double pc_done; | ^~~~~~~ urbackupserver/serverinterface/helper.h:87:13: warning: 'int SStartupStatus::curr_db_version' [-Wreorder] 87 | int curr_db_version; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/helper.h:77:9: warning: when initialized here [-Wreorder] 77 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:180:9: warning: when initialized here [-Wreorder] 180 | 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:186:15: warning: 'STimeSpan::stop_hour' will be initialized after [-Wreorder] 186 | float stop_hour; | ^~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:184:13: warning: 'int STimeSpan::numdays' [-Wreorder] 184 | int numdays; | ^~~~~~~ urbackupserver/serverinterface/../server_settings.h:181:9: warning: when initialized here [-Wreorder] 181 | 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:254:77: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 254 | static void createSettingsReaders(IDatabase* db, int clientid, std::auto_ptr& settings_default, | ^~~~~~~~ In file included from /usr/include/c++/12/memory:75, from urbackupserver/serverinterface/../server_settings.h:7: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/../server_settings.h:255:71: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 255 | std::auto_ptr& settings_client, std::auto_ptr& settings_global, int& settings_default_id); | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/settings.cpp: In function 'JSON::Object {anonymous}::getJSONClientSettings(IDatabase*, int)': urbackupserver/serverinterface/settings.cpp:154:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 154 | std::auto_ptr settings_def; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ urbackupserver/serverinterface/settings.cpp: In function 'void {anonymous}::getGeneralSettings(JSON::Object&, IDatabase*, ServerSettings&)': urbackupserver/serverinterface/settings.cpp:321:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 321 | std::auto_ptr settings_db(Server->createDBSettingsReader(db, "settings_db.settings", | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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:27:21: warning: '{anonymous}::c_use_value_str' defined but not used [-Wunused-variable] 27 | const char* c_use_value_str = "2"; | ^~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:22:21: warning: '{anonymous}::incr_image_style_to_last' defined but not used [-Wunused-variable] 22 | const char* incr_image_style_to_last = "to-last"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:21:21: warning: '{anonymous}::incr_image_style_to_full' defined but not used [-Wunused-variable] 21 | const char* incr_image_style_to_full = "to-full"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:19:21: warning: '{anonymous}::full_image_style_synthetic' defined but not used [-Wunused-variable] 19 | const char* full_image_style_synthetic = "synthetic"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:18:21: warning: '{anonymous}::full_image_style_full' defined but not used [-Wunused-variable] 18 | const char* full_image_style_full = "full"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:16:21: warning: '{anonymous}::image_file_format_vhdxz' defined but not used [-Wunused-variable] 16 | const char* image_file_format_vhdxz = "vhdxz"; | ^~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:15:21: warning: '{anonymous}::image_file_format_vhdx' defined but not used [-Wunused-variable] 15 | const char* image_file_format_vhdx = "vhdx"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:14:21: warning: '{anonymous}::image_file_format_cowraw' defined but not used [-Wunused-variable] 14 | const char* image_file_format_cowraw = "cowraw"; | ^~~~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:13:21: warning: '{anonymous}::image_file_format_vhdz' defined but not used [-Wunused-variable] 13 | const char* image_file_format_vhdz = "vhdz"; | ^~~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:12:21: warning: '{anonymous}::image_file_format_vhd' defined but not used [-Wunused-variable] 12 | const char* image_file_format_vhd = "vhd"; | ^~~~~~~~~~~~~~~~~~~~~ urbackupserver/serverinterface/../server_settings.h:11:21: warning: '{anonymous}::image_file_format_default' defined but not used [-Wunused-variable] 11 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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 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++/12/memory:75, from snapshot_helper/../Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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 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++/12/memory:75, from mount_helper/../Server.h:18: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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++/12/bits/unique_ptr.h:64:28: note: declared here 64 | 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -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"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -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 make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' 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.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' x86_64-alt-linux-g++ -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/var/lib"' -DBINDIR='"/usr/bin"' -DDATADIR='"/usr/share"' -DCRYPTOPP_INCLUDE_PREFIX='cryptoplugin/src' -DNO_EMBEDDED_LUA -DZSTD_STATIC_LINKING_ONLY -DNO_EMBEDDED_LMDB -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fpie -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 cryptoplugin/src/.libs/libcryptopp.a -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++/12/bits/stl_vector.h:423:11: note: type 'struct vector' defined in anonymous namespace cannot match across the translation unit boundary 423 | 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++/12/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/FileMetadataDownloadThread.h:71:14: warning: type of 'hasMetadataId' does not match original declaration [-Wlto-type-mismatch] 71 | bool hasMetadataId(int64 id); | ^ urbackupserver/FileMetadataDownloadThread.h:71:14: warning: type of 'hasMetadataId' does not match original declaration [-Wlto-type-mismatch] 71 | bool hasMetadataId(int64 id); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1499:6: note: 'hasMetadataId' was previously declared here 1499 | bool FileMetadataDownloadThread::hasMetadataId( int64 id ) | ^ urbackupserver/FileMetadataDownloadThread.cpp:1499:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:41:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 41 | FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, int backupid, int clientid, | ^ urbackupserver/FileMetadataDownloadThread.cpp:38:1: note: '__ct_comp ' was previously declared here 38 | FileMetadataDownloadThread::FileMetadataDownloadThread(FileClient* fc, const std::string& server_token, logid_t logid, | ^ urbackupserver/FileMetadataDownloadThread.cpp:38:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:63:14: warning: type of 'isDownloading' does not match original declaration [-Wlto-type-mismatch] 63 | bool isDownloading(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1471:6: note: 'isDownloading' was previously declared here 1471 | bool FileMetadataDownloadThread::isDownloading() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1471:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:69:14: warning: type of 'forceStart' does not match original declaration [-Wlto-type-mismatch] 69 | void forceStart(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1488:6: note: 'forceStart' was previously declared here 1488 | void FileMetadataDownloadThread::forceStart() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1488:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:73:15: warning: type of 'getTransferredBytes' does not match original declaration [-Wlto-type-mismatch] 73 | int64 getTransferredBytes(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1521:7: note: 'getTransferredBytes' was previously declared here 1521 | int64 FileMetadataDownloadThread::getTransferredBytes() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1521:7: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:61:14: warning: type of 'shutdown' does not match original declaration [-Wlto-type-mismatch] 61 | void shutdown(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1332:6: note: 'shutdown' was previously declared here 1332 | void FileMetadataDownloadThread::shutdown() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1332:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:55:14: warning: type of 'getHasError' does not match original declaration [-Wlto-type-mismatch] 55 | bool getHasError(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1314:6: note: 'getHasError' was previously declared here 1314 | bool FileMetadataDownloadThread::getHasError() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1314:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:59:14: warning: type of 'getHasTimeoutError' does not match original declaration [-Wlto-type-mismatch] 59 | bool getHasTimeoutError(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1494:6: note: 'getHasTimeoutError' was previously declared here 1494 | bool FileMetadataDownloadThread::getHasTimeoutError() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1494:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:57:14: warning: type of 'getHasFatalError' does not match original declaration [-Wlto-type-mismatch] 57 | bool getHasFatalError(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1319:6: note: 'getHasFatalError' was previously declared here 1319 | bool FileMetadataDownloadThread::getHasFatalError() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1319:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:45:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 45 | ~FileMetadataDownloadThread(); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1324:1: note: '__dt_comp ' was previously declared here 1324 | FileMetadataDownloadThread::~FileMetadataDownloadThread() | ^ urbackupserver/FileMetadataDownloadThread.cpp:1324:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used urbackupserver/FileMetadataDownloadThread.h:75:14: warning: type of 'setProgressLogEnabled' does not match original declaration [-Wlto-type-mismatch] 75 | void setProgressLogEnabled(bool b); | ^ urbackupserver/FileMetadataDownloadThread.h:75:14: warning: type of 'setProgressLogEnabled' does not match original declaration [-Wlto-type-mismatch] 75 | void setProgressLogEnabled(bool b); | ^ urbackupserver/FileMetadataDownloadThread.cpp:1526:6: note: 'setProgressLogEnabled' was previously declared here 1526 | void FileMetadataDownloadThread::setProgressLogEnabled(bool b) | ^ urbackupserver/FileMetadataDownloadThread.cpp:1526:6: note: code may be misoptimized unless '-fno-strict-aliasing' is used 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: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: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: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.27' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.10141 + 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:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd urbackup-server-2.5.27 + 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.27' Making install in cryptoplugin/src make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27/cryptoplugin/src' make[1]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make[2]: Entering directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' /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.27' 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.27' /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.27' make[1]: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' make: Leaving directory '/usr/src/RPM/BUILD/urbackup-server-2.5.27' + mkdir -p /usr/src/tmp/urbackup-server-buildroot/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/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/swf' 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/fonts' 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/editor' 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/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/css' changed from 0744 (rwxr--r--) to 0755 (rwxr-xr-x) mode of './usr/bin/urbackup_mount_helper' changed from 6755 (rwsr-sr-x) to 6711 (rws--s--x) mode of './usr/bin/urbackup_snapshot_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) Adjusting library links in /usr/src/tmp/urbackup-server-buildroot ./lib: (from :0) ./var/lib: (from :0) ./usr/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) Processing files: urbackup-server-2.5.27-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.85284 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd urbackup-server-2.5.27 + DOCDIR=/usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.27 + export DOCDIR + rm -rf /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.27 + /bin/mkdir -p /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.27 + cp -prL AUTHORS COPYING ChangeLog README /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.27 + chmod -R go-w /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.27 + chmod -R a+rX /usr/src/tmp/urbackup-server-buildroot/usr/share/doc/urbackup-server-2.5.27 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tovn0G 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.Sj48m7 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.WrZZKJ Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tM3dek Requires: guestfs-tools, urbackup-common = 2.5.27-alt1, /etc/logrotate.d, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.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.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcurl.so.4()(64bit) >= set:kgZtdjewuBSO0LLEPIqxL17, 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:ohbW8uv5IYX4t32N7vpVtEIkAO3NakqepkDcz0sM5R4b16q848vCLn2FnqL4LNVfHD78jmZ2IgLvQ6qF3jdjuHUoOuVZxWZ8OZijqXrF0mzr0WXuZ36pR6DioW3ddK7WVhf8HjoGWxtiptTqTk8iyXpRsE5cuLzX9cAvk8qCuRk2WBVpbimUSKJpcOtl8Nor9U7ltI0fTJxBMzCZDNwzYKID6lh85mq3fIoywqKN7HCJGXqZHCZBGSPwicYlGzUEJFwTJcNEZc4BmZehE8aDeC7tygVVK8SpyntlDZnmmarqv1, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), 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.9)(64bit), libz.so.1()(64bit) >= set:khdWPIUrJuazh01Xf1, libzstd.so.1()(64bit) >= set:lhqiscbIfmyNOdvh5YU61ysNPZKVFrGYxX, 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.TNKIPx Creating urbackup-server-debuginfo package Processing files: urbackup-common-2.5.27-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3anvOf 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.7BqY10 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.xZpVJK 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.le4urV Processing files: urbackup-server-debuginfo-2.5.27-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.69FfYz find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.v0Xxir find-requires: running scripts (debuginfo) Requires: urbackup-server = 2.5.27-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), 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.27-alt1.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-common-2.5.27-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/urbackup-server-debuginfo-2.5.27-alt1.x86_64.rpm (w2T16.xzdio) 768.88user 94.68system 1:47.01elapsed 806%CPU (0avgtext+0avgdata 367472maxresident)k 0inputs+0outputs (0major+23758033minor)pagefaults 0swaps 1.99user 1.13system 1:56.10elapsed 2%CPU (0avgtext+0avgdata 110736maxresident)k 48inputs+0outputs (32834major+190673minor)pagefaults 0swaps --- urbackup-server-2.5.27-alt1.x86_64.rpm.repo 2023-01-11 16:47:15.000000000 +0000 +++ urbackup-server-2.5.27-alt1.x86_64.rpm.hasher 2023-03-25 03:18:46.563819880 +0000 @@ -196,3 +196,2 @@ Requires: libc.so.6(GLIBC_2.14)(64bit) -Requires: libc.so.6(GLIBC_2.16)(64bit) Requires: libc.so.6(GLIBC_2.17)(64bit) @@ -246,5 +245,5 @@ File: /lib/systemd/system/urbackup-server.service 100644 root:root a210cec270ae9a319ddc3f0661c5aadb -File: /usr/bin/urbackup_mount_helper 104710 root:urbackup 9a6d35890fa30fa3407f1f56074ab4f0 -File: /usr/bin/urbackup_snapshot_helper 104710 root:urbackup 931991fb93e0fcc531bc6b595e291a7f -File: /usr/bin/urbackupsrv 100755 root:root 53ff2b608c7387d911827046da02d114 +File: /usr/bin/urbackup_mount_helper 104710 root:urbackup 7beb64a29270bf5d8083177c12366900 +File: /usr/bin/urbackup_snapshot_helper 104710 root:urbackup 545c59dc17af7495b4c04de1e9840b0f +File: /usr/bin/urbackupsrv 100755 root:root f21996bf2bb9ab045effdecb388a2479 File: /usr/lib/firewalld/services/urbackup-server.xml 100640 root:root ccc3438ce6b6ae22ac70a03ef71313eb @@ -432,2 +431,2 @@ File: /var/log/urbackup.log 100644 root:root -RPMIdentity: 54dbb0221107e8a931040436135cfaa47ebbf14fbaafed7034d41fa21dad82798c40260c7845a611f04d356731ce5c3c45108710d7795c982e3637f54c4eb9d5 +RPMIdentity: e26cd164d6c1fc2be992f1a588b97d3ce7703a975a5dbe953061d5407992847c8702f550af67ad099932a739aed23c0b6e5758d20ba34a3961dd86874e717fc3 --- urbackup-server-debuginfo-2.5.27-alt1.x86_64.rpm.repo 2023-01-11 16:47:15.000000000 +0000 +++ urbackup-server-debuginfo-2.5.27-alt1.x86_64.rpm.hasher 2023-03-25 03:18:46.812822946 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/73 40755 root:root -/usr/lib/debug/.build-id/73/b187718d32ff237d1bdf80a78739729805209c 120777 root:root ../../../../bin/urbackup_snapshot_helper -/usr/lib/debug/.build-id/73/b187718d32ff237d1bdf80a78739729805209c.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug -/usr/lib/debug/.build-id/85 40755 root:root -/usr/lib/debug/.build-id/85/f371d0bf557ac80fec1df3e26328d24eb38b50 120777 root:root ../../../../bin/urbackup_mount_helper -/usr/lib/debug/.build-id/85/f371d0bf557ac80fec1df3e26328d24eb38b50.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug -/usr/lib/debug/.build-id/8f 40755 root:root -/usr/lib/debug/.build-id/8f/1a9919190dc4380a64516ef5388c2da73f69e5 120777 root:root ../../../../bin/urbackupsrv -/usr/lib/debug/.build-id/8f/1a9919190dc4380a64516ef5388c2da73f69e5.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +/usr/lib/debug/.build-id/2c 40755 root:root +/usr/lib/debug/.build-id/2c/86def68a6439cb36026f4b3d8b6a4946c4f600 120777 root:root ../../../../bin/urbackupsrv +/usr/lib/debug/.build-id/2c/86def68a6439cb36026f4b3d8b6a4946c4f600.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +/usr/lib/debug/.build-id/96 40755 root:root +/usr/lib/debug/.build-id/96/ae793ff627564e97c73dc61f26e35d0610c92c 120777 root:root ../../../../bin/urbackup_mount_helper +/usr/lib/debug/.build-id/96/ae793ff627564e97c73dc61f26e35d0610c92c.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug +/usr/lib/debug/.build-id/e9 40755 root:root +/usr/lib/debug/.build-id/e9/92fdad2fe49c3615992b3cf754418f497f51b6 120777 root:root ../../../../bin/urbackup_snapshot_helper +/usr/lib/debug/.build-id/e9/92fdad2fe49c3615992b3cf754418f497f51b6.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root @@ -657,14 +657,14 @@ Provides: urbackup-server-debuginfo = 2.5.27-alt1:sisyphus+313152.700.5.1 -File: /usr/lib/debug/.build-id/73 40755 root:root -File: /usr/lib/debug/.build-id/73/b187718d32ff237d1bdf80a78739729805209c 120777 root:root ../../../../bin/urbackup_snapshot_helper -File: /usr/lib/debug/.build-id/73/b187718d32ff237d1bdf80a78739729805209c.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug -File: /usr/lib/debug/.build-id/85 40755 root:root -File: /usr/lib/debug/.build-id/85/f371d0bf557ac80fec1df3e26328d24eb38b50 120777 root:root ../../../../bin/urbackup_mount_helper -File: /usr/lib/debug/.build-id/85/f371d0bf557ac80fec1df3e26328d24eb38b50.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug -File: /usr/lib/debug/.build-id/8f 40755 root:root -File: /usr/lib/debug/.build-id/8f/1a9919190dc4380a64516ef5388c2da73f69e5 120777 root:root ../../../../bin/urbackupsrv -File: /usr/lib/debug/.build-id/8f/1a9919190dc4380a64516ef5388c2da73f69e5.debug 120777 root:root ../../usr/bin/urbackupsrv.debug -File: /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root c899f84ec8a52cf286ec7be63c5d321c -File: /usr/lib/debug/usr/bin/urbackup_snapshot_helper.debug 100644 root:root bcb290ee1c835eedcf3fe7335b2ed097 -File: /usr/lib/debug/usr/bin/urbackupsrv.debug 100644 root:root 4d7820b9b6237b90b5da6c55b4a5f8af +File: /usr/lib/debug/.build-id/2c 40755 root:root +File: /usr/lib/debug/.build-id/2c/86def68a6439cb36026f4b3d8b6a4946c4f600 120777 root:root ../../../../bin/urbackupsrv +File: /usr/lib/debug/.build-id/2c/86def68a6439cb36026f4b3d8b6a4946c4f600.debug 120777 root:root ../../usr/bin/urbackupsrv.debug +File: /usr/lib/debug/.build-id/96 40755 root:root +File: /usr/lib/debug/.build-id/96/ae793ff627564e97c73dc61f26e35d0610c92c 120777 root:root ../../../../bin/urbackup_mount_helper +File: /usr/lib/debug/.build-id/96/ae793ff627564e97c73dc61f26e35d0610c92c.debug 120777 root:root ../../usr/bin/urbackup_mount_helper.debug +File: /usr/lib/debug/.build-id/e9 40755 root:root +File: /usr/lib/debug/.build-id/e9/92fdad2fe49c3615992b3cf754418f497f51b6 120777 root:root ../../../../bin/urbackup_snapshot_helper +File: /usr/lib/debug/.build-id/e9/92fdad2fe49c3615992b3cf754418f497f51b6.debug 120777 root:root ../../usr/bin/urbackup_snapshot_helper.debug +File: /usr/lib/debug/usr/bin/urbackup_mount_helper.debug 100644 root:root c6c9c55a1bfa79f62a45bef6349ad996 +File: /usr/lib/debug/usr/bin/urbackup_snapshot_helper.debug 100644 root:root 034e6ad754d98578078528f441250796 +File: /usr/lib/debug/usr/bin/urbackupsrv.debug 100644 root:root 70657e5e663403bb02ab49d4e305eca6 File: /usr/src/debug/urbackup-server-2.5.27 40755 root:root @@ -1300,2 +1300,2 @@ File: /usr/src/debug/urbackup-server-2.5.27/utf8/utf8/core.h 100644 root:root d67547f556cfc99ab023cbe67a724c30 -RPMIdentity: d83582eca4548ef2411684c8abb5957744350d798bd7e506e518e70dc56f33830dff69f774a93b6527d1bc8dbe858dc72308ad797bbad831b0d67b8e423fa1e9 +RPMIdentity: 3afb13058b69e013e10a90981b846f6f314a2c3f7402279214d86360d9e4ad9390c7005962f9cccb7bd600aed43d783079e8ba94731755bd5b63cd958cf4325e