D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/libtorrent-0.15.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C42OlB Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Exhl9a + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + rm -rf libtorrent-0.15.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libtorrent-0.15.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libtorrent-0.15.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ff7uoh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libtorrent-0.15.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ echo -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ++ sed s/O2/O3/ + export 'CFLAGS=-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' ++ echo -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ++ sed s/O2/O3/ + export 'CXXFLAGS=-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-ipv6 --with-posix-fallocate configure: WARNING: unrecognized options: --enable-ipv6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by 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-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the 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... no checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by 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 g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the 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 gcc option to enable large file support... none needed checking whether byte ordering is bigendian... no checking whether g++ supports C++14 features with -std=c++14... yes checking for user-defined CFLAGS... user-defined "-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" checking for user-defined CXXFLAGS... user-defined "-O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full" checking the byte alignment... none needed checking for sysroot... no checking for kqueue support... no checking for epoll support... yes checking for fallocate... yes checking for posix_fallocate... yes checking size of long... 8 checking for sys/vfs.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for statvfs... ok checking for sys/inotify.h... yes checking for mcheck.h... yes checking whether sys/inotify.h actually works... yes checking if compiler supports __attribute__((visibility("default")))... yes checking for execinfo.h... yes checking size parameter type for backtrace()... int checking for library containing backtrace... none required checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for cppunit... yes checking for zlib... yes checking for libcrypto... yes checking for posix_memalign... yes checking for madvise... yes checking for cacheline... using default 128 bytes checking for __builtin_popcount... yes checking for pthread_setname_no... checking for pthread.h... yes checking for pthread_setname_np type... generic checking signedness of mincore parameter... unsigned checking if instrumentation should be included... yes checking if compiler supports __attribute__((unused))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libtorrent.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/torrent/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --enable-ipv6 + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src Making all in torrent make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o error.lo error.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c error.cc -fPIC -DPIC -o .libs/error.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o event.lo event.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c event.cc -fPIC -DPIC -o .libs/event.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o exceptions.lo exceptions.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c exceptions.cc -fPIC -DPIC -o .libs/exceptions.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o http.lo http.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c http.cc -fPIC -DPIC -o .libs/http.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o path.lo path.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c path.cc -fPIC -DPIC -o .libs/path.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o object_static_map.lo object_static_map.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c object_static_map.cc -fPIC -DPIC -o .libs/object_static_map.o In file included from object_static_map.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from ../../rak/algorithm.h:41: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o bitfield.lo bitfield.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c bitfield.cc -fPIC -DPIC -o .libs/bitfield.o In file included from bitfield.cc:41: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from ../../rak/algorithm.h:41: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_kqueue.lo poll_kqueue.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c poll_kqueue.cc -fPIC -DPIC -o .libs/poll_kqueue.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_string.lo hash_string.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c hash_string.cc -fPIC -DPIC -o .libs/hash_string.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_manager.lo chunk_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c chunk_manager.cc -fPIC -DPIC -o .libs/chunk_manager.o In file included from ./../globals.h:5, from chunk_manager.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' chunk_manager.cc: In destructor 'torrent::ChunkManager::~ChunkManager()': chunk_manager.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] 78 | throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chunk_manager.cc:78:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_manager.lo connection_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c connection_manager.cc -fPIC -DPIC -o .libs/connection_manager.o In file included from ./../manager.h:6, from connection_manager.cc:49: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_epoll.lo poll_epoll.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c poll_epoll.cc -fPIC -DPIC -o .libs/poll_epoll.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_select.lo poll_select.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c poll_select.cc -fPIC -DPIC -o .libs/poll_select.o poll_select.cc: In destructor 'virtual torrent::PollSelect::~PollSelect()': poll_select.cc:127:5: warning: 'throw' will always call 'terminate' [-Wterminate] 127 | throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ poll_select.cc:127:5: note: in C++11 destructors default to 'noexcept' poll_select.cc: In member function 'unsigned int torrent::PollSelect::perform(fd_set*, fd_set*, fd_set*)': poll_select.cc:175:66: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 175 | poll_check(this, exceptSet, std::mem_fun(&Event::event_error))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/c++/15/stdexcept:41, from poll_select.cc:5: /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ poll_select.cc:179:64: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 179 | poll_check(this, readSet, std::mem_fun(&Event::event_read))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ poll_select.cc:183:65: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 183 | poll_check(this, writeSet, std::mem_fun(&Event::event_write))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o rate.lo rate.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c rate.cc -fPIC -DPIC -o .libs/rate.o In file included from ./../globals.h:5, from rate.cc:39: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_manager.lo dht_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht_manager.cc -fPIC -DPIC -o .libs/dht_manager.o In file included from ./../manager.h:6, from dht_manager.cc:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../dht/dht_router.h:48, from dht_manager.cc:44: ./../dht/dht_hash_map.h: At global scope: ./../dht/dht_hash_map.h:61:42: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct hashstring_ptr_hash : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from ./../torrent/exceptions.h:47, from dht_manager.cc:39: /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./../dht/dht_hash_map.h:78:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 78 | struct hashstring_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./../dht/dht_hash_map.h:96:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 96 | struct hashstring_ptr_equal : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../dht/dht_server.h:50, from ./../dht/dht_router.h:49: ./../dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/block_list.lo data/block_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/block_list.cc -fPIC -DPIC -o data/.libs/block_list.o In file included from data/block_list.cc:42: data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' data/block_list.cc: In member function 'void torrent::BlockList::do_all_failed()': data/block_list.cc:87:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 87 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from data/block_list.cc:40: /usr/include/c++/15/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ data/block_list.cc:88:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 88 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker.lo tracker.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c tracker.cc -fPIC -DPIC -o .libs/tracker.o In file included from ./../globals.h:5, from tracker.cc:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle.lo throttle.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c throttle.cc -fPIC -DPIC -o .libs/throttle.o In file included from ./../net/throttle_internal.h:41, from throttle.cc:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/download_data.lo data/download_data.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/download_data.cc -fPIC -DPIC -o data/.libs/download_data.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file.lo data/file.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/file.cc -fPIC -DPIC -o data/.libs/file.o In file included from ./../globals.h:5, from data/file.cc:13: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_list_iterator.lo data/file_list_iterator.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/file_list_iterator.cc -fPIC -DPIC -o data/.libs/file_list_iterator.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_controller.lo tracker_controller.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c tracker_controller.cc -fPIC -DPIC -o .libs/tracker_controller.o In file included from tracker_controller.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download.lo download.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download.cc -fPIC -DPIC -o .libs/download.o In file included from data/block.h:42, from download.cc:41: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../data/hash_torrent.h:43, from download.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_utils.lo data/chunk_utils.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk_utils.cc -fPIC -DPIC -o data/.libs/chunk_utils.o In file included from ./../manager.h:6, from data/chunk_utils.cc:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_utils.lo data/file_utils.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/file_utils.cc -fPIC -DPIC -o data/.libs/file_utils.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_manager.lo data/file_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/file_manager.cc -fPIC -DPIC -o data/.libs/file_manager.o In file included from ./../manager.h:6, from data/file_manager.cc:46: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/file_manager.cc: In destructor 'torrent::FileManager::~FileManager()': data/file_manager.cc:58:5: warning: 'throw' will always call 'terminate' [-Wterminate] 58 | throw internal_error("FileManager::~FileManager() called but empty() != true."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/file_manager.cc:58:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_address_key.lo net/socket_address_key.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_address_key.cc -fPIC -DPIC -o net/.libs/socket_address_key.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_list.lo tracker_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c tracker_list.cc -fPIC -DPIC -o .libs/tracker_list.o In file included from ./../globals.h:5, from ./../tracker/tracker_udp.h:48, from tracker_list.cc:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' tracker_list.cc: In member function 'bool torrent::TrackerList::has_active() const': tracker_list.cc:69:51: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 69 | return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy)) != end(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from tracker_list.cc:39: /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'bool torrent::TrackerList::has_active_not_scrape() const': tracker_list.cc:74:51: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 74 | return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy_not_scrape)) != end(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'bool torrent::TrackerList::has_active_in_group(uint32_t) const': tracker_list.cc:79:73: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 79 | return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy)) != end_group(group); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'bool torrent::TrackerList::has_active_not_scrape_in_group(uint32_t) const': tracker_list.cc:84:73: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy_not_scrape)) != end_group(group); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'unsigned int torrent::TrackerList::count_active() const': tracker_list.cc:94:52: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 94 | return std::count_if(begin(), end(), std::mem_fun(&Tracker::is_busy)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'void torrent::TrackerList::clear_stats()': tracker_list.cc:130:45: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 130 | std::for_each(begin(), end(), std::mem_fun(&Tracker::clear_stats)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ tracker_list.cc: In member function 'std::vector::iterator torrent::TrackerList::find_next_to_request(std::vector::iterator)': tracker_list.cc:232:80: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 232 | TrackerList::iterator preferred = itr = std::find_if(itr, end(), std::mem_fun(&Tracker::can_request_state)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'void torrent::TrackerList::randomize_group_entries()': tracker_list.cc:303:24: warning: 'void std::random_shuffle(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' is deprecated: use 'std::shuffle' instead [-Wdeprecated-declarations] 303 | std::random_shuffle(itr, tmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/c++/15/algorithm:63, from ./../torrent/object_raw_bencode.h:40, from ./../torrent/object.h:46, from ./../net/address_list.h:8, from tracker_list.cc:41: /usr/include/c++/15/bits/stl_algo.h:4537:5: note: declared here 4537 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last) | ^~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/choke_group.lo download/choke_group.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/choke_group.cc -fPIC -DPIC -o download/.libs/choke_group.o In file included from ./../globals.h:5, from ./../download/download_main.h:6, from download/choke_group.cc:7: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/client_info.lo peer/client_info.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c peer/client_info.cc -fPIC -DPIC -o peer/.libs/client_info.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent.lo torrent.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c torrent.cc -fPIC -DPIC -o .libs/torrent.o In file included from ./../manager.h:6, from torrent.cc:14: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' torrent.cc: In function 'void torrent::initialize()': torrent.cc:67:17: warning: 'new' of type 'torrent::Manager' with extended alignment 128 [-Waligned-new=] 67 | manager = new Manager; | ^~~~~~~ torrent.cc:67:17: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent.cc:67:17: note: use '-faligned-new' to enable C++17 over-aligned new support make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/address_info.lo net/address_info.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/address_info.cc -fPIC -DPIC -o net/.libs/address_info.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/block.lo data/block.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/block.cc -fPIC -DPIC -o data/.libs/block.o In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50, from data/block.cc:43: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../protocol/request_list.h:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/block.cc: In destructor 'torrent::Block::~Block()': data/block.cc:55:5: warning: 'throw' will always call 'terminate' [-Wterminate] 55 | throw internal_error("Block dtor with 'm_state != STATE_INCOMPLETE && m_state != STATE_COMPLETED'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block.cc:55:5: note: in C++11 destructors default to 'noexcept' data/block.cc:59:7: warning: 'throw' will always call 'terminate' [-Wterminate] 59 | throw internal_error("Block dtor with 'm_state == STATE_COMPLETED && m_leader == NULL'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block.cc:59:7: note: in C++11 destructors default to 'noexcept' data/block.cc:74:5: warning: 'throw' will always call 'terminate' [-Wterminate] 74 | throw internal_error("Block::clear() m_stalled != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block.cc:74:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/transfer_list.lo data/transfer_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/transfer_list.cc -fPIC -DPIC -o data/.libs/transfer_list.o In file included from data/transfer_list.cc:48: data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' data/transfer_list.cc: In destructor 'torrent::TransferList::~TransferList()': data/transfer_list.cc:65:5: warning: 'throw' will always call 'terminate' [-Wterminate] 65 | throw internal_error("TransferList::~TransferList() called on an non-empty object"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/transfer_list.cc:65:5: note: in C++11 destructors default to 'noexcept' data/transfer_list.cc: In member function 'void torrent::TransferList::hash_succeeded(uint32_t, torrent::Chunk*)': data/transfer_list.cc:131:55: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 131 | std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from data/transfer_list.cc:40: /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/transfer_list.cc: In member function 'void torrent::TransferList::hash_failed(uint32_t, torrent::Chunk*)': data/transfer_list.cc:181:105: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 181 | if ((Block::size_type)std::count_if((*blockListItr)->begin(), (*blockListItr)->end(), std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/fd.lo net/fd.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/fd.cc -fPIC -DPIC -o net/.libs/fd.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o object.lo object.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c object.cc -fPIC -DPIC -o .libs/object.o In file included from object.cc:42: In copy constructor 'torrent::Object::Object(const torrent::Object&)', inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = torrent::Object; _Args = {torrent::Object}; _Tp = torrent::Object]' at /usr/include/c++/15/bits/new_allocator.h:191:4, inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = torrent::Object; _Args = {torrent::Object}; _Tp = torrent::Object]' at /usr/include/c++/15/bits/alloc_traits.h:674:17, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/15/bits/vector.tcc:371:30, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/15/bits/stl_vector.h:1529:30, inlined from 'torrent::Object torrent::object_create_normal(const raw_list&)' at object.cc:227:62: object.h:356:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] 356 | case TYPE_VALUE: t_pod = b.t_pod; break; | ~~~~~~^~~~~~~~~ object.cc: In function 'torrent::Object torrent::object_create_normal(const raw_list&)': object.cc:227:94: note: '' declared here 227 | Object::list_iterator new_entry = result.as_list().insert(result.as_list().end(), Object()); | ^ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_event.lo net/socket_event.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_event.cc -fPIC -DPIC -o net/.libs/socket_event.o net/socket_event.cc: In destructor 'virtual torrent::socket_event::~socket_event()': net/socket_event.cc:11:5: warning: 'throw' will always call 'terminate' [-Wterminate] 11 | throw internal_error("Called socket_event::~socket_event while still open on type " + std::string(type_name())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/socket_event.cc:11:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/utils.lo net/utils.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/utils.cc -fPIC -DPIC -o net/.libs/utils.o net/utils.cc:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 1 | #import | ^~~~~~ In file included from net/utils.cc:1: ./../torrent/net/utils.h:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 1 | #import | ^~~~~~ ./../torrent/net/utils.h:2:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 2 | #import | ^~~~~~ net/utils.cc:3:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 3 | #import | ^~~~~~ net/utils.cc:4:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ net/utils.cc:5:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ net/utils.cc:6:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ net/utils.cc:7:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 7 | #import | ^~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o object_stream.lo object_stream.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c object_stream.cc -fPIC -DPIC -o .libs/object_stream.o In file included from object_stream.cc:44: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/streambuf:45, from /usr/include/c++/15/bits/streambuf_iterator.h:37, from /usr/include/c++/15/iterator:68, from object_stream.cc:39: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_address.lo net/socket_address.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_address.cc -fPIC -DPIC -o net/.libs/socket_address.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_manager.lo download/download_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/download_manager.cc -fPIC -DPIC -o download/.libs/download_manager.o In file included from ./../globals.h:5, from ./../download/download_main.h:6, from ./../download/download_wrapper.h:5, from download/download_manager.cc:42: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/client_list.lo peer/client_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c peer/client_list.cc -fPIC -DPIC -o peer/.libs/client_list.o peer/client_list.cc: In member function 'std::vector::iterator torrent::ClientList::insert(torrent::ClientInfo::id_type, const char*, const char*, const char*)': peer/client_list.cc:134:17: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 2 equals destination size [-Wstringop-truncation] 134 | std::strncpy(clientInfo.mutable_key(), key, ClientInfo::max_key_size); | ^ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_list.lo data/file_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/file_list.cc -fPIC -DPIC -o data/.libs/file_list.o In file included from ./../manager.h:6, from data/file_list.cc:24: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/file_list.cc: In member function 'torrent::FileList::iterator_range torrent::FileList::split(std::vector::iterator, split_type*, split_type*)': data/file_list.cc:201:30: warning: 'new' of type 'torrent::File' with extended alignment 128 [-Waligned-new=] 201 | File* newFile = new File(); | ^ data/file_list.cc:201:30: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:201:30: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc: In member function 'std::vector::iterator torrent::FileList::merge(std::vector::iterator, std::vector::iterator, const torrent::Path&)': data/file_list.cc:224:23: warning: 'new' of type 'torrent::File' with extended alignment 128 [-Waligned-new=] 224 | File* newFile = new File; | ^~~~ data/file_list.cc:224:23: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:224:23: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc: In member function 'void torrent::FileList::initialize(uint64_t, uint32_t)': data/file_list.cc:347:28: warning: 'new' of type 'torrent::File' with extended alignment 128 [-Waligned-new=] 347 | File* newFile = new File(); | ^ data/file_list.cc:347:28: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:347:28: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc: In member function 'torrent::Chunk* torrent::FileList::create_chunk(uint64_t, uint32_t, int)': data/file_list.cc:568:36: warning: 'new' of type 'torrent::Chunk' with extended alignment 128 [-Waligned-new=] 568 | std::unique_ptr chunk(new Chunk); | ^~~~~ data/file_list.cc:568:36: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:568:36: note: use '-faligned-new' to enable C++17 over-aligned new support make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/random.lo utils/random.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/random.cc -fPIC -DPIC -o utils/.libs/random.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer_info.lo peer/peer_info.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c peer/peer_info.cc -fPIC -DPIC -o peer/.libs/peer_info.o In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50, from peer/peer_info.cc:43: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../protocol/request_list.h:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' peer/peer_info.cc: In destructor 'torrent::PeerInfo::~PeerInfo()': peer/peer_info.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] 78 | throw internal_error("PeerInfo::~PeerInfo() peer is blocked."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer/peer_info.cc:78:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/signal_bitfield.lo utils/signal_bitfield.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/signal_bitfield.cc -fPIC -DPIC -o utils/.libs/signal_bitfield.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/directory_events.lo utils/directory_events.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/directory_events.cc -fPIC -DPIC -o utils/.libs/directory_events.o In file included from ./../manager.h:6, from utils/directory_events.cc:53: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' utils/directory_events.cc: In member function 'virtual void torrent::directory_events::event_read()': utils/directory_events.cc:143:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 143 | if (result < sizeof(struct inotify_event)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer.lo peer/peer.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c peer/peer.cc -fPIC -DPIC -o peer/.libs/peer.o In file included from ./data/block.h:42, from peer/peer.cc:39: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../download/download_main.h:6, from peer/peer.cc:41: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/thread_base.lo utils/thread_base.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/thread_base.cc -fPIC -DPIC -o utils/.libs/thread_base.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/log_buffer.lo utils/log_buffer.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/log_buffer.cc -fPIC -DPIC -o utils/.libs/log_buffer.o In file included from ./../globals.h:5, from utils/log_buffer.cc:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/choke_queue.lo download/choke_queue.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/choke_queue.cc -fPIC -DPIC -o download/.libs/choke_queue.o In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50, from download/choke_queue.cc:8: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../protocol/request_list.h:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download/choke_queue.cc: In destructor 'torrent::choke_queue::~choke_queue()': download/choke_queue.cc:43:5: warning: 'throw' will always call 'terminate' [-Wterminate] 43 | throw internal_error("choke_queue::~choke_queue() called but m_currentlyUnchoked != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/choke_queue.cc:43:5: note: in C++11 destructors default to 'noexcept' download/choke_queue.cc:46:5: warning: 'throw' will always call 'terminate' [-Wterminate] 46 | throw internal_error("choke_queue::~choke_queue() called but m_currentlyQueued != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/choke_queue.cc:46:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/thread_interrupt.lo utils/thread_interrupt.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/thread_interrupt.cc -fPIC -DPIC -o utils/.libs/thread_interrupt.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer_list.lo peer/peer_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c peer/peer_list.cc -fPIC -DPIC -o peer/.libs/peer_list.o In file included from ./../globals.h:5, from peer/peer_list.cc:13: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/connection_list.lo peer/connection_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c peer/connection_list.cc -fPIC -DPIC -o peer/.libs/connection_list.o In file included from ./../globals.h:5, from ./../download/download_main.h:6, from peer/connection_list.cc:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50, from peer/connection_list.cc:8: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/resource_manager.lo download/resource_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/resource_manager.cc -fPIC -DPIC -o download/.libs/resource_manager.o In file included from ./../globals.h:5, from ./../download/download_main.h:6, from download/resource_manager.cc:11: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50, from download/resource_manager.cc:12: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' download/resource_manager.cc: In destructor 'torrent::ResourceManager::~ResourceManager()': download/resource_manager.cc:37:5: warning: 'throw' will always call 'terminate' [-Wterminate] 37 | throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyUploadUnchoked != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/resource_manager.cc:37:5: note: in C++11 destructors default to 'noexcept' download/resource_manager.cc:40:5: warning: 'throw' will always call 'terminate' [-Wterminate] 40 | throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyDownloadUnchoked != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/resource_manager.cc:40:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/uri_parser.lo utils/uri_parser.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/uri_parser.cc -fPIC -DPIC -o utils/.libs/uri_parser.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/log.lo utils/log.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/log.cc -fPIC -DPIC -o utils/.libs/log.o In file included from ./../globals.h:5, from utils/log.cc:5: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' utils/log.cc: In function 'void torrent::log_update_child_cache(int)': utils/log.cc:68:30: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal >; _Tp = pair]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 68 | std::bind2nd(std::greater_equal >(), std::make_pair(index, 0))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_function.h:1441, from /usr/include/c++/15/string:51, from /usr/include/c++/15/bitset:54, from utils/log.h:5, from utils/log.cc:3: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ utils/log.cc: In function 'void torrent::log_rebuild_cache()': utils/log.cc:92:71: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 92 | std::for_each(log_groups.begin(), log_groups.end(), std::mem_fun_ref(&log_group::clear_cached_outputs)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ utils/log.cc:98:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ utils/log.cc: In function 'void torrent::log_cleanup()': utils/log.cc:236:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 236 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/option_strings.lo utils/option_strings.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/option_strings.cc -fPIC -DPIC -o utils/.libs/option_strings.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/resume.lo utils/resume.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/resume.cc -fPIC -DPIC -o utils/.libs/resume.o In file included from ./../globals.h:5, from utils/resume.cc:59: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=link g++ -std=c++14 -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libtorrent_torrent.la data/block.lo data/block_list.lo data/chunk_utils.lo data/download_data.lo data/file.lo data/file_list.lo data/file_list_iterator.lo data/file_manager.lo data/file_utils.lo data/transfer_list.lo download/choke_group.lo download/choke_queue.lo download/download_manager.lo download/resource_manager.lo net/address_info.lo net/fd.lo net/socket_address.lo net/socket_address_key.lo net/socket_event.lo net/utils.lo peer/client_info.lo peer/client_list.lo peer/connection_list.lo peer/peer.lo peer/peer_info.lo peer/peer_list.lo utils/directory_events.lo utils/log.lo utils/log_buffer.lo utils/option_strings.lo utils/random.lo utils/resume.lo utils/signal_bitfield.lo utils/thread_base.lo utils/thread_interrupt.lo utils/uri_parser.lo bitfield.lo chunk_manager.lo connection_manager.lo dht_manager.lo download.lo error.lo event.lo exceptions.lo hash_string.lo http.lo object.lo object_static_map.lo object_stream.lo path.lo poll_epoll.lo poll_kqueue.lo poll_select.lo rate.lo throttle.lo torrent.lo tracker.lo tracker_controller.lo tracker_list.lo -lpthread -lz -lcrypto libtool: link: ar cr .libs/libtorrent_torrent.a data/.libs/block.o data/.libs/block_list.o data/.libs/chunk_utils.o data/.libs/download_data.o data/.libs/file.o data/.libs/file_list.o data/.libs/file_list_iterator.o data/.libs/file_manager.o data/.libs/file_utils.o data/.libs/transfer_list.o download/.libs/choke_group.o download/.libs/choke_queue.o download/.libs/download_manager.o download/.libs/resource_manager.o net/.libs/address_info.o net/.libs/fd.o net/.libs/socket_address.o net/.libs/socket_address_key.o net/.libs/socket_event.o net/.libs/utils.o peer/.libs/client_info.o peer/.libs/client_list.o peer/.libs/connection_list.o peer/.libs/peer.o peer/.libs/peer_info.o peer/.libs/peer_list.o utils/.libs/directory_events.o utils/.libs/log.o utils/.libs/log_buffer.o utils/.libs/option_strings.o utils/.libs/random.o utils/.libs/resume.o utils/.libs/signal_bitfield.o utils/.libs/thread_base.o utils/.libs/thread_interrupt.o utils/.libs/uri_parser.o .libs/bitfield.o .libs/chunk_manager.o .libs/connection_manager.o .libs/dht_manager.o .libs/download.o .libs/error.o .libs/event.o .libs/exceptions.o .libs/hash_string.o .libs/http.o .libs/object.o .libs/object_static_map.o .libs/object_stream.o .libs/path.o .libs/poll_epoll.o .libs/poll_kqueue.o .libs/poll_select.o .libs/rate.o .libs/throttle.o .libs/torrent.o .libs/tracker.o .libs/tracker_controller.o .libs/tracker_list.o libtool: link: ranlib .libs/libtorrent_torrent.a libtool: link: ( cd ".libs" && rm -f "libtorrent_torrent.la" && ln -s "../libtorrent_torrent.la" "libtorrent_torrent.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_part.lo data/chunk_part.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk_part.cc -fPIC -DPIC -o data/.libs/chunk_part.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/socket_file.lo data/socket_file.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/socket_file.cc -fPIC -DPIC -o data/.libs/socket_file.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_chunk.lo data/hash_chunk.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_chunk.cc -fPIC -DPIC -o data/.libs/hash_chunk.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/memory_chunk.lo data/memory_chunk.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/memory_chunk.cc -fPIC -DPIC -o data/.libs/memory_chunk.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o globals.lo globals.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c globals.cc -fPIC -DPIC -o .libs/globals.o In file included from globals.h:5, from globals.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_main.lo thread_main.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c thread_main.cc -fPIC -DPIC -o .libs/thread_main.o In file included from globals.h:5, from thread_main.cc:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_queue_node.lo data/hash_queue_node.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_queue_node.cc -fPIC -DPIC -o data/.libs/hash_queue_node.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_disk.lo thread_disk.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c thread_disk.cc -fPIC -DPIC -o .libs/thread_disk.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk.lo data/chunk.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk.cc -fPIC -DPIC -o data/.libs/chunk.o data/chunk.cc: In member function 'bool torrent::Chunk::is_all_valid() const': data/chunk.cc:63:77: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 63 | return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from data/chunk.cc:41: /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk.cc: In member function 'void torrent::Chunk::clear()': data/chunk.cc:68:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 68 | std::for_each(begin(), end(), std::mem_fun_ref(&ChunkPart::clear)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ data/chunk.cc: In member function 'std::vector::iterator torrent::Chunk::at_position(uint32_t)': data/chunk.cc:98:76: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ data/chunk.cc:98:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_bucket.lo dht/dht_bucket.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_bucket.cc -fPIC -DPIC -o dht/.libs/dht_bucket.o In file included from ./globals.h:5, from dht/dht_bucket.h:42, from dht/dht_bucket.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' dht/dht_bucket.cc: In member function 'void torrent::DhtBucket::remove_node(torrent::DhtNode*)': dht/dht_bucket.cc:78:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = torrent::DhtNode*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 78 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::equal_to(), n)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_function.h:1441, from /usr/include/c++/15/string:51, from ./torrent/exceptions.h:47, from dht/dht_bucket.cc:39: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ dht/dht_bucket.cc: In member function 'void torrent::DhtBucket::count()': dht/dht_bucket.cc:94:54: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 94 | m_good = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_good)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ dht/dht_bucket.cc:95:53: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 95 | m_bad = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_bad)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ dht/dht_bucket.cc: In member function 'torrent::DhtBucket* torrent::DhtBucket::split(const torrent::HashString&)': dht/dht_bucket.cc:168:76: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = torrent::DhtNode; _Arg = const torrent::DhtBucket*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 168 | iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ dht/dht_bucket.cc:168:63: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::DhtBucket*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 168 | iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ dht/dht_bucket.cc:170:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = torrent::DhtBucket*; _Tp = torrent::DhtNode; _Arg = torrent::DhtBucket*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 170 | std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ dht/dht_bucket.cc:170:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::DhtBucket*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 170 | std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_check_queue.lo data/hash_check_queue.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_check_queue.cc -fPIC -DPIC -o data/.libs/hash_check_queue.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_torrent.lo data/hash_torrent.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_torrent.cc -fPIC -DPIC -o data/.libs/hash_torrent.o In file included from data/hash_torrent.h:43, from data/hash_torrent.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_node.lo dht/dht_node.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_node.cc -fPIC -DPIC -o dht/.libs/dht_node.o In file included from ./globals.h:5, from dht/dht_node.cc:38: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_list.lo data/chunk_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk_list.cc -fPIC -DPIC -o data/.libs/chunk_list.o In file included from ./globals.h:5, from data/chunk_list.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/chunk_list.cc: In member function 'void torrent::ChunkList::clear()': data/chunk_list.cc:108:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = torrent::Chunk*; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 108 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::chunk)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from ./torrent/exceptions.h:47, from data/chunk_list.cc:41: /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc:111:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 111 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::references)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc:114:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 114 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::writable)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc:117:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 117 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::blocking)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc: In member function 'uint32_t torrent::ChunkList::sync_chunks(int)': data/chunk_list.cc:342:122: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 342 | instrumentation_update(INSTRUMENTATION_MINCORE_SYNC_NOT_DEALLOCATED, std::count_if(split, m_queue.end(), std::mem_fun(&ChunkListNode::is_valid))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/chunk_list.cc: In member function 'std::vector::iterator torrent::ChunkList::partition_optimize(std::vector::iterator, std::vector::iterator, int, int, bool)': data/chunk_list.cc:413:71: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = torrent::ChunkList; _Arg = torrent::ChunkListNode*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 413 | bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ data/chunk_list.cc:413:58: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::ChunkList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 413 | bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/chunk_statistics.lo download/chunk_statistics.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/chunk_statistics.cc -fPIC -DPIC -o download/.libs/chunk_statistics.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/delegator.lo download/delegator.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/delegator.cc -fPIC -DPIC -o download/.libs/delegator.o In file included from ./torrent/data/block.h:42, from download/delegator.cc:47: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/chunk_selector.lo download/chunk_selector.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/chunk_selector.cc -fPIC -DPIC -o download/.libs/chunk_selector.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_tracker.lo dht/dht_tracker.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_tracker.cc -fPIC -DPIC -o dht/.libs/dht_tracker.o In file included from ./globals.h:5, from dht/dht_tracker.h:40, from dht/dht_tracker.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' dht/dht_tracker.cc: In member function 'void torrent::DhtTracker::prune(uint32_t)': dht/dht_tracker.cc:111:80: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtTracker::BencodeAddress]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 111 | m_peers.erase(std::remove_if(m_peers.begin(), m_peers.end(), std::mem_fun_ref(&BencodeAddress::empty)), m_peers.end()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_tree.h:67, from /usr/include/c++/15/map:64, from ./torrent/object.h:41, from dht/dht_tracker.cc:39: /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ dht/dht_tracker.cc:112:85: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 112 | m_lastSeen.erase(std::remove_if(m_lastSeen.begin(), m_lastSeen.end(), std::bind2nd(std::less(), minSeen)), m_lastSeen.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_queue.lo data/hash_queue.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_queue.cc -fPIC -DPIC -o data/.libs/hash_queue.o In file included from ./globals.h:5, from data/hash_queue.cc:51: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/hash_queue.cc: In member function 'void torrent::HashQueue::push_back(torrent::ChunkHandle, torrent::HashQueueNode::id_type, slot_done_type)': data/hash_queue.cc:98:47: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=] 98 | HashChunk* hash_chunk = new HashChunk(handle); | ^ data/hash_queue.cc:98:47: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/hash_queue.cc:98:47: note: use '-faligned-new' to enable C++17 over-aligned new support make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_transaction.lo dht/dht_transaction.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_transaction.cc -fPIC -DPIC -o dht/.libs/dht_transaction.o In file included from ./globals.h:5, from dht/dht_bucket.h:42, from dht/dht_transaction.cc:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from dht/dht_transaction.cc:44: dht/dht_transaction.h: At global scope: dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from ./torrent/exceptions.h:47, from dht/dht_transaction.cc:39: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ dht/dht_transaction.cc: In destructor 'virtual torrent::DhtSearch::~DhtSearch()': dht/dht_transaction.cc:67:5: warning: 'throw' will always call 'terminate' [-Wterminate] 67 | throw internal_error("DhtSearch::~DhtSearch called with pending transactions."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht/dht_transaction.cc:67:5: note: in C++11 destructors default to 'noexcept' dht/dht_transaction.cc:70:5: warning: 'throw' will always call 'terminate' [-Wterminate] 70 | throw internal_error("DhtSearch::~DhtSearch with invalid concurrency limit."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht/dht_transaction.cc:70:5: note: in C++11 destructors default to 'noexcept' dht/dht_transaction.cc: In destructor 'virtual torrent::DhtAnnounce::~DhtAnnounce()': dht/dht_transaction.cc:212:5: warning: 'throw' will always call 'terminate' [-Wterminate] 212 | throw internal_error("DhtAnnounce::~DhtAnnounce called while announce not complete."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht/dht_transaction.cc:212:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/available_list.lo download/available_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/available_list.cc -fPIC -DPIC -o download/.libs/available_list.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_base.lo net/socket_base.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_base.cc -fPIC -DPIC -o net/.libs/socket_base.o In file included from ./manager.h:6, from net/socket_base.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' net/socket_base.cc: In destructor 'virtual torrent::SocketBase::~SocketBase()': net/socket_base.cc:54:5: warning: 'throw' will always call 'terminate' [-Wterminate] 54 | throw internal_error("SocketBase::~SocketBase() called but m_fd is still valid"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/socket_base.cc:54:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o manager.lo manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c manager.cc -fPIC -DPIC -o .libs/manager.o In file included from ./globals.h:5, from download/download_main.h:6, from download/download_wrapper.h:5, from manager.cc:5: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' manager.cc: In constructor 'torrent::Manager::Manager()': manager.cc:47:50: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=] 47 | m_hashQueue = new HashQueue(&m_main_thread_disk); | ^ manager.cc:47:50: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter manager.cc:47:50: note: use '-faligned-new' to enable C++17 over-aligned new support make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/address_list.lo net/address_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/address_list.cc -fPIC -DPIC -o net/.libs/address_list.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_datagram.lo net/socket_datagram.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_datagram.cc -fPIC -DPIC -o net/.libs/socket_datagram.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/listen.lo net/listen.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/listen.cc -fPIC -DPIC -o net/.libs/listen.o In file included from ./manager.h:6, from net/listen.cc:17: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_fd.lo net/socket_fd.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_fd.cc -fPIC -DPIC -o net/.libs/socket_fd.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_stream.lo net/socket_stream.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_stream.cc -fPIC -DPIC -o net/.libs/socket_stream.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_set.lo net/socket_set.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_set.cc -fPIC -DPIC -o net/.libs/socket_set.o net/socket_set.cc: In member function 'void torrent::SocketSet::prepare()': net/socket_set.cc:70:42: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = torrent::SocketSet; _Arg = unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 70 | std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from net/socket_set.cc:40: /usr/include/c++/15/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ net/socket_set.cc:70:29: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::SocketSet*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 70 | std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_listen.lo net/socket_listen.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_listen.cc -fPIC -DPIC -o net/.libs/socket_listen.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake_encryption.lo protocol/handshake_encryption.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/handshake_encryption.cc -fPIC -DPIC -o protocol/.libs/handshake_encryption.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/throttle_list.lo net/throttle_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/throttle_list.cc -fPIC -DPIC -o net/.libs/throttle_list.o net/throttle_list.cc: In member function 'void torrent::ThrottleList::disable()': net/throttle_list.cc:115:45: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 115 | std::for_each(begin(), end(), std::mem_fun(&ThrottleNode::clear_quota)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from ./torrent/exceptions.h:47, from net/throttle_list.cc:41: /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ net/throttle_list.cc:116:51: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 116 | std::for_each(m_splitActive, end(), std::mem_fun(&ThrottleNode::activate)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o net/throttle_internal.lo net/throttle_internal.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c net/throttle_internal.cc -fPIC -DPIC -o net/.libs/throttle_internal.o In file included from net/throttle_internal.cc:40: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' net/throttle_internal.cc: In member function 'void torrent::ThrottleInternal::enable()': net/throttle_internal.cc:79:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 79 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::enable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from ../rak/priority_queue_default.h:40: /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ net/throttle_internal.cc: In member function 'void torrent::ThrottleInternal::disable()': net/throttle_internal.cc:92:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 92 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/initial_seed.lo protocol/initial_seed.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/initial_seed.cc -fPIC -DPIC -o protocol/.libs/initial_seed.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/initial_seed.h:40, from protocol/initial_seed.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50, from protocol/peer_connection_leech.h:40, from protocol/initial_seed.cc:46: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_factory.lo protocol/peer_factory.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_factory.cc -fPIC -DPIC -o protocol/.libs/peer_factory.o In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50, from protocol/peer_connection_leech.h:40, from protocol/peer_factory.cc:40: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:5, from protocol/request_list.h:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_wrapper.lo download/download_wrapper.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/download_wrapper.cc -fPIC -DPIC -o download/.libs/download_wrapper.o In file included from ./data/hash_torrent.h:43, from download/download_wrapper.cc:9: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./protocol/request_list.h:43, from ./protocol/peer_connection_base.h:50, from download/download_wrapper.cc:11: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake_manager.lo protocol/handshake_manager.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/handshake_manager.cc -fPIC -DPIC -o protocol/.libs/handshake_manager.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/handshake_manager.cc:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50, from protocol/handshake_manager.cc:16: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/sha_fast.lo utils/sha_fast.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/sha_fast.cc -fPIC -DPIC -o utils/.libs/sha_fast.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_dht.lo tracker/tracker_dht.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c tracker/tracker_dht.cc -fPIC -DPIC -o tracker/.libs/tracker_dht.o In file included from ./dht/dht_router.h:40, from tracker/tracker_dht.cc:42: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./dht/dht_router.h:48: ./dht/dht_hash_map.h: At global scope: ./dht/dht_hash_map.h:61:42: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct hashstring_ptr_hash : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/istream:42, from /usr/include/c++/15/sstream:42, from tracker/tracker_dht.cc:39: /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./dht/dht_hash_map.h:78:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 78 | struct hashstring_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./dht/dht_hash_map.h:96:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 96 | struct hashstring_ptr_equal : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./dht/dht_server.h:50, from ./dht/dht_router.h:49: ./dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_main.lo download/download_main.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/download_main.cc -fPIC -DPIC -o download/.libs/download_main.o In file included from ./globals.h:5, from ./download/download_main.h:6, from ./protocol/initial_seed.h:40, from download/download_main.cc:9: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./protocol/request_list.h:43, from ./protocol/peer_connection_base.h:50, from download/download_main.cc:10: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' download/download_main.cc: In destructor 'torrent::DownloadMain::~DownloadMain()': download/download_main.cc:98:5: warning: 'throw' will always call 'terminate' [-Wterminate] 98 | throw internal_error("DownloadMain::~DownloadMain(): m_taskTrackerRequest is queued."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/download_main.cc:98:5: note: in C++11 destructors default to 'noexcept' download/download_main.cc:105:5: warning: 'throw' will always call 'terminate' [-Wterminate] 105 | throw internal_error("DownloadMain::~DownloadMain(): m_info->size_pex() != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/download_main.cc:105:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_metadata.lo protocol/peer_connection_metadata.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_connection_metadata.cc -fPIC -DPIC -o protocol/.libs/peer_connection_metadata.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/peer_connection_metadata.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50, from protocol/peer_connection_metadata.h:40, from protocol/peer_connection_metadata.cc:54: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/diffie_hellman.lo utils/diffie_hellman.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/diffie_hellman.cc -fPIC -DPIC -o utils/.libs/diffie_hellman.o utils/diffie_hellman.cc: In function 'void torrent::dh_free(void*)': utils/diffie_hellman.cc:18:45: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18 | static void dh_free(void* dh) { DH_free(reinterpret_cast(dh)); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utils/diffie_hellman.cc:10: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ utils/diffie_hellman.cc: In function 'torrent::DiffieHellman::dh_ptr torrent::dh_new()': utils/diffie_hellman.cc:19:100: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | static DiffieHellman::dh_ptr dh_new() { return DiffieHellman::dh_ptr(reinterpret_cast(DH_new()), &dh_free); } | ~~~~~~^~ /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ utils/diffie_hellman.cc: In function 'bool torrent::dh_set_pg(DiffieHellman::dh_ptr&, BIGNUM*, BIGNUM*)': utils/diffie_hellman.cc:25:21: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 25 | return DH_set0_pqg(reinterpret_cast(dh.get()), dh_p, nullptr, dh_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ utils/diffie_hellman.cc: In function 'const BIGNUM* torrent::dh_get_pub_key(const DiffieHellman::dh_ptr&)': utils/diffie_hellman.cc:36:14: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | DH_get0_key(reinterpret_cast(dh.get()), &pub_key, nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/extensions.lo protocol/extensions.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/extensions.cc -fPIC -DPIC -o protocol/.libs/extensions.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/extensions.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./protocol/request_list.h:43, from ./protocol/peer_connection_base.h:50, from protocol/extensions.cc:47: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake.lo protocol/handshake.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/handshake.cc -fPIC -DPIC -o protocol/.libs/handshake.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/handshake.cc:5: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' protocol/handshake.cc: In destructor 'virtual torrent::Handshake::~Handshake()': protocol/handshake.cc:85:5: warning: 'throw' will always call 'terminate' [-Wterminate] 85 | throw internal_error("Handshake m_taskTimeout bork bork bork."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/handshake.cc:85:5: note: in C++11 destructors default to 'noexcept' protocol/handshake.cc:88:5: warning: 'throw' will always call 'terminate' [-Wterminate] 88 | throw internal_error("Handshake dtor called but m_fd is still open."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/handshake.cc:88:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/instrumentation.lo utils/instrumentation.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c utils/instrumentation.cc -fPIC -DPIC -o utils/.libs/instrumentation.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_server.lo dht/dht_server.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_server.cc -fPIC -DPIC -o dht/.libs/dht_server.o In file included from ./globals.h:5, from dht/dht_server.cc:38: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from dht/dht_router.h:48, from dht/dht_server.cc:55: dht/dht_hash_map.h: At global scope: dht/dht_hash_map.h:61:42: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct hashstring_ptr_hash : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from ../rak/priority_queue_default.h:40: /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ dht/dht_hash_map.h:78:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 78 | struct hashstring_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ dht/dht_hash_map.h:96:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 96 | struct hashstring_ptr_equal : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from dht/dht_server.h:50, from dht/dht_router.h:49: dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/request_list.lo protocol/request_list.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/request_list.cc -fPIC -DPIC -o protocol/.libs/request_list.o In file included from ./torrent/data/block.h:42, from protocol/request_list.cc:7: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:5, from protocol/request_list.h:47, from protocol/request_list.cc:14: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' protocol/request_list.cc: In destructor 'torrent::RequestList::~RequestList()': protocol/request_list.cc:75:5: warning: 'throw' will always call 'terminate' [-Wterminate] 75 | throw internal_error("request dtor m_transfer != NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/request_list.cc:75:5: note: in C++11 destructors default to 'noexcept' protocol/request_list.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] 78 | throw internal_error("request dtor m_queues not empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/request_list.cc:78:5: note: in C++11 destructors default to 'noexcept' protocol/request_list.cc: In member function 'bool torrent::RequestList::downloading(const torrent::Piece&)': protocol/request_list.cc:233:62: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits, void>::difference_type' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 233 | if (std::distance(m_queues.begin(itr.first), itr.second) < m_last_unordered_position) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_base.lo protocol/peer_connection_base.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_connection_base.cc -fPIC -DPIC -o protocol/.libs/peer_connection_base.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/peer_connection_base.cc:48: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./torrent/data/block.h:42, from protocol/peer_connection_base.cc:51: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_leech.lo protocol/peer_connection_leech.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_connection_leech.cc -fPIC -DPIC -o protocol/.libs/peer_connection_leech.o In file included from ./globals.h:5, from ./download/download_main.h:6, from protocol/peer_connection_leech.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50, from protocol/peer_connection_leech.h:40, from protocol/peer_connection_leech.cc:57: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_constructor.lo download/download_constructor.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c download/download_constructor.cc -fPIC -DPIC -o download/.libs/download_constructor.o In file included from ./globals.h:5, from ./download/download_main.h:6, from ./download/download_wrapper.h:5, from download/download_constructor.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download/download_constructor.cc: In member function 'void torrent::DownloadConstructor::parse_tracker(const torrent::Object&)': download/download_constructor.cc:181:82: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Object]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 181 | std::find_if(announce_list->begin(), announce_list->end(), std::mem_fun_ref(&Object::is_list)) != announce_list->end()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/functional:51, from ../rak/string_manip.h:44, from download/download_constructor.cc:43: /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ download/download_constructor.cc: In member function 'torrent::Path torrent::DownloadConstructor::create_path(const torrent::Object::list_type&, std::string)': download/download_constructor.cc:338:113: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::Object]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 338 | std::transform(plist.begin(), plist.end(), std::back_inserter(p), std::mem_fun_ref(&Object::as_string)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_udp.lo tracker/tracker_udp.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c tracker/tracker_udp.cc -fPIC -DPIC -o tracker/.libs/tracker_udp.o In file included from ./globals.h:5, from tracker/tracker_udp.h:48, from tracker/tracker_udp.cc:57: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_http.lo tracker/tracker_http.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c tracker/tracker_http.cc -fPIC -DPIC -o tracker/.libs/tracker_http.o tracker/tracker_http.cc:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ tracker/tracker_http.cc:5:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ tracker/tracker_http.cc:6:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ tracker/tracker_http.cc:7:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 7 | #import | ^~~~~~ tracker/tracker_http.cc:9:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 9 | #import "net/address_list.h" | ^~~~~~ tracker/tracker_http.cc:10:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/connection_manager.h" | ^~~~~~ tracker/tracker_http.cc:11:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 11 | #import "torrent/download_info.h" | ^~~~~~ tracker/tracker_http.cc:12:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 12 | #import "torrent/exceptions.h" | ^~~~~~ tracker/tracker_http.cc:13:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 13 | #import "torrent/http.h" | ^~~~~~ tracker/tracker_http.cc:14:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 14 | #import "torrent/net/utils.h" | ^~~~~~ In file included from tracker/tracker_http.cc:14: ./torrent/net/utils.h:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 1 | #import | ^~~~~~ ./torrent/net/utils.h:2:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 2 | #import | ^~~~~~ tracker/tracker_http.cc:15:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 15 | #import "torrent/net/socket_address.h" | ^~~~~~ tracker/tracker_http.cc:16:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 16 | #import "torrent/object_stream.h" | ^~~~~~ tracker/tracker_http.cc:17:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 17 | #import "torrent/tracker_list.h" | ^~~~~~ tracker/tracker_http.cc:18:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 18 | #import "torrent/utils/log.h" | ^~~~~~ tracker/tracker_http.cc:19:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 19 | #import "torrent/utils/option_strings.h" | ^~~~~~ tracker/tracker_http.cc:21:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 21 | #import "tracker_http.h" | ^~~~~~ tracker/tracker_http.cc:23:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 23 | #import "globals.h" | ^~~~~~ tracker/tracker_http.cc:24:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated] 24 | #import "manager.h" | ^~~~~~ In file included from ./globals.h:5, from tracker/tracker_http.cc:23: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_router.lo dht/dht_router.cc libtool: compile: g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_router.cc -fPIC -DPIC -o dht/.libs/dht_router.o In file included from ./globals.h:5, from dht/dht_router.cc:38: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++14 -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libtorrent_other.la data/chunk.lo data/chunk_list.lo data/chunk_part.lo data/hash_check_queue.lo data/hash_chunk.lo data/hash_queue.lo data/hash_queue_node.lo data/hash_torrent.lo data/memory_chunk.lo data/socket_file.lo dht/dht_bucket.lo dht/dht_node.lo dht/dht_router.lo dht/dht_server.lo dht/dht_tracker.lo dht/dht_transaction.lo download/available_list.lo download/chunk_selector.lo download/chunk_statistics.lo download/delegator.lo download/download_constructor.lo download/download_main.lo download/download_wrapper.lo net/address_list.lo net/listen.lo net/socket_base.lo net/socket_datagram.lo net/socket_fd.lo net/socket_listen.lo net/socket_set.lo net/socket_stream.lo net/throttle_internal.lo net/throttle_list.lo protocol/extensions.lo protocol/handshake.lo protocol/handshake_encryption.lo protocol/handshake_manager.lo protocol/initial_seed.lo protocol/peer_connection_base.lo protocol/peer_connection_leech.lo protocol/peer_connection_metadata.lo protocol/peer_factory.lo protocol/request_list.lo tracker/tracker_dht.lo tracker/tracker_http.lo tracker/tracker_udp.lo utils/diffie_hellman.lo utils/instrumentation.lo utils/sha_fast.lo -lpthread -lz -lcrypto libtool: link: ar cr .libs/libtorrent_other.a data/.libs/chunk.o data/.libs/chunk_list.o data/.libs/chunk_part.o data/.libs/hash_check_queue.o data/.libs/hash_chunk.o data/.libs/hash_queue.o data/.libs/hash_queue_node.o data/.libs/hash_torrent.o data/.libs/memory_chunk.o data/.libs/socket_file.o dht/.libs/dht_bucket.o dht/.libs/dht_node.o dht/.libs/dht_router.o dht/.libs/dht_server.o dht/.libs/dht_tracker.o dht/.libs/dht_transaction.o download/.libs/available_list.o download/.libs/chunk_selector.o download/.libs/chunk_statistics.o download/.libs/delegator.o download/.libs/download_constructor.o download/.libs/download_main.o download/.libs/download_wrapper.o net/.libs/address_list.o net/.libs/listen.o net/.libs/socket_base.o net/.libs/socket_datagram.o net/.libs/socket_fd.o net/.libs/socket_listen.o net/.libs/socket_set.o net/.libs/socket_stream.o net/.libs/throttle_internal.o net/.libs/throttle_list.o protocol/.libs/extensions.o protocol/.libs/handshake.o protocol/.libs/handshake_encryption.o protocol/.libs/handshake_manager.o protocol/.libs/initial_seed.o protocol/.libs/peer_connection_base.o protocol/.libs/peer_connection_leech.o protocol/.libs/peer_connection_metadata.o protocol/.libs/peer_factory.o protocol/.libs/request_list.o tracker/.libs/tracker_dht.o tracker/.libs/tracker_http.o tracker/.libs/tracker_udp.o utils/.libs/diffie_hellman.o utils/.libs/instrumentation.o utils/.libs/sha_fast.o libtool: link: ranlib .libs/libtorrent_other.a libtool: link: ( cd ".libs" && rm -f "libtorrent_other.la" && ln -s "../libtorrent_other.la" "libtorrent_other.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++14 -pthread -O3 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DDEBUG -Wall -fvisibility=hidden -version-info 23:0:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libtorrent.la -rpath /usr/lib64 globals.lo manager.lo thread_disk.lo thread_main.lo torrent/libtorrent_torrent.la libtorrent_other.la -lpthread -lz -lcrypto libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64/crti.o /usr/lib/gcc/x86_64-mageia-linux/15/crtbeginS.o .libs/globals.o .libs/manager.o .libs/thread_disk.o .libs/thread_main.o -Wl,--whole-archive torrent/.libs/libtorrent_torrent.a ./.libs/libtorrent_other.a -Wl,--no-whole-archive -O3 -g -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread -lpthread -lz -lcrypto -L/usr/lib/gcc/x86_64-mageia-linux/15 -L/usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-mageia-linux/15/../../.. -L/lib -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-mageia-linux/15/crtendS.o /usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64/crtn.o -Wl,-soname -Wl,libtorrent.so.23 -o .libs/libtorrent.so.23.0.0 libtool: link: (cd ".libs" && rm -f "libtorrent.so.23" && ln -s "libtorrent.so.23.0.0" "libtorrent.so.23") libtool: link: (cd ".libs" && rm -f "libtorrent.so" && ln -s "libtorrent.so.23.0.0" "libtorrent.so") libtool: link: ( cd ".libs" && rm -f "libtorrent.la" && ln -s "../libtorrent.la" "libtorrent.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' Making all in test make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.144Apr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + mkdir /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libtorrent-0.15.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' Making install in torrent make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/data' /usr/bin/install -p -m 644 data/block.h data/block_list.h data/block_transfer.h data/chunk_utils.h data/download_data.h data/file.h data/file_list.h data/file_list_iterator.h data/file_manager.h data/file_utils.h data/piece.h data/transfer_list.h '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/data' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/download' /usr/bin/install -p -m 644 download/choke_group.h download/choke_queue.h download/download_manager.h download/group_entry.h download/resource_manager.h '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/download' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent' /usr/bin/install -p -m 644 bitfield.h chunk_manager.h common.h connection_manager.h dht_manager.h download.h download_info.h error.h exceptions.h event.h hash_string.h http.h object.h object_raw_bencode.h object_static_map.h object_stream.h path.h poll.h poll_epoll.h poll_kqueue.h poll_select.h rate.h throttle.h torrent.h tracker.h tracker_controller.h tracker_list.h '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/net' /usr/bin/install -p -m 644 net/address_info.h net/fd.h net/socket_address.h net/socket_address_key.h net/socket_event.h net/types.h net/utils.h '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/net' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/peer' /usr/bin/install -p -m 644 peer/choke_status.h peer/client_info.h peer/client_list.h peer/connection_list.h peer/peer.h peer/peer_info.h peer/peer_list.h '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/peer' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/utils' /usr/bin/install -p -m 644 utils/directory_events.h utils/extents.h utils/log.h utils/log_buffer.h utils/option_strings.h utils/ranges.h utils/resume.h utils/signal_bitfield.h utils/thread_base.h utils/thread_interrupt.h utils/uri_parser.h '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/include/torrent/utils' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src/torrent' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libtorrent.la '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libtorrent.so.23.0.0 /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64/libtorrent.so.23.0.0 libtool: install: (cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64 && { ln -s -f libtorrent.so.23.0.0 libtorrent.so.23 || { rm -f libtorrent.so.23 && ln -s libtorrent.so.23.0.0 libtorrent.so.23; }; }) libtool: install: (cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64 && { ln -s -f libtorrent.so.23.0.0 libtorrent.so || { rm -f libtorrent.so && ln -s libtorrent.so.23.0.0 libtorrent.so; }; }) libtool: install: /usr/bin/install -p .libs/libtorrent.lai /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64/libtorrent.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/src' Making install in test make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/test' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/test' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1/test' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libtorrent.pc '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT/usr/lib64/pkgconfig' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1' + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.15.1-1.mga10 --unique-debug-suffix -0.15.1-1.mga10.x86_64 --unique-debug-src-base libtorrent-0.15.1-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/libtorrent-0.15.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libtorrent-0.15.1-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/libtorrent-0.15.1-1.mga10.x86_64/src/torrent/net/utils.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/libtorrent-0.15.1-1.mga10.x86_64/src/torrent/net/utils.h is executable but has no shebang, removing executable bit + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: lib64torrent23-0.15.1-1.mga10.x86_64 Provides: lib64torrent23 = 0.15.1-1.mga10 lib64torrent23(x86-64) = 0.15.1-1.mga10 libtorrent = 0.15.1-1.mga10 libtorrent.so.23()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) Processing files: lib64torrent-devel-0.15.1-1.mga10.x86_64 Provides: devel(libtorrent(64bit)) lib64torrent-devel = 0.15.1-1.mga10 lib64torrent-devel(x86-64) = 0.15.1-1.mga10 libtorrent-devel = 0.15.1-1.mga10 pkgconfig(libtorrent) = 0.15.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libcrypto(64bit)) devel(libgcc_s(64bit)) devel(libstdc++(64bit)) devel(libz(64bit)) pkgconfig Processing files: libtorrent-debugsource-0.15.1-1.mga10.x86_64 Provides: libtorrent-debugsource = 0.15.1-1.mga10 libtorrent-debugsource(x86-64) = 0.15.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64torrent23-debuginfo-0.15.1-1.mga10.x86_64 Provides: debuginfo(build-id) = 4b9950c65650293d8c7ebd851e307c3c969951ca lib64torrent23-debuginfo = 0.15.1-1.mga10 lib64torrent23-debuginfo(x86-64) = 0.15.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libtorrent-debugsource(x86-64) = 0.15.1-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64torrent-devel-0.15.1-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64torrent23-0.15.1-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libtorrent-debugsource-0.15.1-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64torrent23-debuginfo-0.15.1-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.b6FdsY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + test -d /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/libtorrent-0.15.1-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!