D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/cxxtools-2.2.1-9.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DbmCRp + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf cxxtools-2.2.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cxxtools-2.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cxxtools-2.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (cxxtools-2.2-arm.patch):' Patch #0 (cxxtools-2.2-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .arm --fuzz=0 patching file src/csvparser.cpp patching file src/jsonformatter.cpp Hunk #1 succeeded at 315 (offset -8 lines). Hunk #2 succeeded at 356 (offset -8 lines). patching file src/xml/entityresolver.cpp Hunk #1 succeeded at 317 (offset -246 lines). Hunk #2 succeeded at 340 (offset -246 lines). patching file src/bin/formatter.cpp + echo 'Patch #1 (cxxtools-float.patch):' Patch #1 (cxxtools-float.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .float --fuzz=0 patching file include/cxxtools/serializationinfo.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8uwsGU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cxxtools-2.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:91: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:91: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/iconv.m4:9: AM_ICONV_LINK is expanded from... m4/iconv.m4:61: AM_ICONV is expanded from... configure.in:91: the top level configure.in:91: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:91: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... m4/iconv.m4:61: AM_ICONV is expanded from... configure.in:91: the top level configure.in:99: warning: The macro `AC_LANG_C' is obsolete. configure.in:99: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/acx_pthread.m4:49: ACX_PTHREAD is expanded from... configure.in:99: the top level configure.in:99: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:99: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:49: ACX_PTHREAD is expanded from... configure.in:99: the top level configure.in:107: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.in:107: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.in:107: the top level configure.in:147: warning: The macro `AC_CHECKING' is obsolete. configure.in:147: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.in:147: the top level autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:19: installing './compile' configure.in:2: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' demo/Makefile.am: installing './depcomp' src/Makefile.am:5: warning: source file 'posix/commandinput.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. src/Makefile.am:5: warning: source file 'posix/commandoutput.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'posix/pipestream.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'posix/posixpipe.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/characters.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/endelement.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/entityresolver.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/namespacecontext.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/startelement.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/xmldeserializer.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/xmlerror.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/xmlformatter.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/xmlreader.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/xmlserializer.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: source file 'xml/xmlwriter.cpp' is in a subdirectory, src/Makefile.am:5: but option 'subdir-objects' is disabled + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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 . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./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 --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... no checking for 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 dirent.h that defines DIR... yes checking for library containing opendir... none required checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for x86_64-mageia-linux-gnu-g++... no checking for x86_64-mageia-linux-gnu-c++... no checking for x86_64-mageia-linux-gnu-gpp... no checking for x86_64-mageia-linux-gnu-aCC... no checking for x86_64-mageia-linux-gnu-CC... no checking for x86_64-mageia-linux-gnu-cxx... no checking for x86_64-mageia-linux-gnu-cc++... no checking for x86_64-mageia-linux-gnu-cl.exe... no checking for x86_64-mageia-linux-gnu-FCC... no checking for x86_64-mageia-linux-gnu-KCC... no checking for x86_64-mageia-linux-gnu-RCC... no checking for x86_64-mageia-linux-gnu-xlC_r... no checking for x86_64-mageia-linux-gnu-xlC... no checking for x86_64-mageia-linux-gnu-clang++... no checking for g++... g++ 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 for C++ compiler vendor... gnu checking whether C++ compiler accepts -Wno-long-long... yes checking whether C++ compiler accepts -Wall... yes checking whether C++ compiler accepts -pedantic... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/filio.h... no checking for csignal... yes checking for setsockopt in -lnsl... no checking for accept in -lsocket... no checking for sem_destroy in -lrt... yes checking for library containing dlopen... none required checking for library containing inet_ntop... none required checking for library containing clock_gettime... none required checking for inet_ntop... yes checking for accept4... yes checking for clock_gettime... yes checking for unsigned long long int... yes checking for long long int... yes checking for unsigned long long int... (cached) yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for the pthreads library -lpthreads... no checking for the pthreads library -lpthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for CC_r... g++ checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by 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 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 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 atomic type... att_x86_64 configure: checking for suseconds_t... checking for suseconds_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/cxxtools/config.h config.status: creating cxxtools-config config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/unit/Makefile config.status: creating src/http/Makefile config.status: creating src/xmlrpc/Makefile config.status: creating src/bin/Makefile config.status: creating src/json/Makefile config.status: creating include/Makefile config.status: creating demo/Makefile config.status: creating test/Makefile config.status: creating pkgconfig/cxxtools-bin.pc config.status: creating pkgconfig/cxxtools-http.pc config.status: creating pkgconfig/cxxtools-json.pc config.status: creating pkgconfig/cxxtools.pc config.status: creating pkgconfig/cxxtools-unit.pc config.status: creating pkgconfig/cxxtools-xmlrpc.pc config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o addrinfo.lo addrinfo.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c addrinfo.cpp -fPIC -DPIC -o .libs/addrinfo.o In file included from addrinfo.cpp:32: addrinfoimpl.h:66:42: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 66 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from ../include/cxxtools/net/addrinfo.h:33, from addrinfo.cpp:29: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o addrinfoimpl.lo addrinfoimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c addrinfoimpl.cpp -fPIC -DPIC -o .libs/addrinfoimpl.o In file included from addrinfoimpl.cpp:29: addrinfoimpl.h:66:42: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 66 | class const_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from addrinfoimpl.h:33: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o application.lo application.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c application.cpp -fPIC -DPIC -o .libs/application.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o applicationimpl.lo applicationimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c applicationimpl.cpp -fPIC -DPIC -o .libs/applicationimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o condition.lo condition.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c condition.cpp -fPIC -DPIC -o .libs/condition.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o clock.lo clock.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c clock.cpp -fPIC -DPIC -o .libs/clock.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o clockimpl.lo clockimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c clockimpl.cpp -fPIC -DPIC -o .libs/clockimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o connectable.lo connectable.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c connectable.cpp -fPIC -DPIC -o .libs/connectable.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o conditionimpl.lo conditionimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c conditionimpl.cpp -fPIC -DPIC -o .libs/conditionimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o connection.lo connection.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c connection.cpp -fPIC -DPIC -o .libs/connection.o connection.cpp: In constructor 'cxxtools::Connection::Connection(cxxtools::Connectable&, cxxtools::Slot*)': connection.cpp:41:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 41 | std::auto_ptr data( new ConnectionData(sender, slot) ); | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from connection.cpp:29: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o conversionerror.lo conversionerror.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c conversionerror.cpp -fPIC -DPIC -o .libs/conversionerror.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o cgi.lo cgi.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c cgi.cpp -fPIC -DPIC -o .libs/cgi.o In file included from ../include/cxxtools/cgi.h:32, from cgi.cpp:29: ../include/cxxtools/query_params.h:75:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 75 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from ../include/cxxtools/query_params.h:32: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o base64codec.lo base64codec.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c base64codec.cpp -fPIC -DPIC -o .libs/base64codec.o In file included from ../include/cxxtools/textcodec.h:32, from ../include/cxxtools/base64codec.h:32, from base64codec.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o csvdeserializer.lo csvdeserializer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c csvdeserializer.cpp -fPIC -DPIC -o .libs/csvdeserializer.o In file included from ../include/cxxtools/csvdeserializer.h:33, from csvdeserializer.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o csvformatter.lo csvformatter.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c csvformatter.cpp -fPIC -DPIC -o .libs/csvformatter.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/formatter.h:32, from ../include/cxxtools/csvformatter.h:32, from csvformatter.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o csvparser.lo csvparser.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c csvparser.cpp -fPIC -DPIC -o .libs/csvparser.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/csvparser.h:33, from csvparser.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o directory.lo directory.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c directory.cpp -fPIC -DPIC -o .libs/directory.o In file included from directory.cpp:29: ../include/cxxtools/directory.h:51:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from directoryimpl.h:28, from directory.cpp:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o char.lo char.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c char.cpp -fPIC -DPIC -o .libs/char.o In file included from char.cpp:28: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o directoryimpl.lo directoryimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c directoryimpl.cpp -fPIC -DPIC -o .libs/directoryimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o error.lo error.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c error.cpp -fPIC -DPIC -o .libs/error.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o eventsink.lo eventsink.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c eventsink.cpp -fPIC -DPIC -o .libs/eventsink.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o eventloop.lo eventloop.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c eventloop.cpp -fPIC -DPIC -o .libs/eventloop.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o date.lo date.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c date.cpp -fPIC -DPIC -o .libs/date.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/convert.h:35, from date.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ date.cpp: In function 'void cxxtools::jul2greg(unsigned int, int&, int&, int&)': date.cpp:55:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 55 | register int l,n,i,j; | ^ date.cpp:55:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 55 | register int l,n,i,j; | ^ date.cpp:55:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 55 | register int l,n,i,j; | ^ date.cpp:55:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 55 | register int l,n,i,j; | ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o eventsource.lo eventsource.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c eventsource.cpp -fPIC -DPIC -o .libs/eventsource.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o datetime.lo datetime.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c datetime.cpp -fPIC -DPIC -o .libs/datetime.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/convert.h:35, from datetime.cpp:31: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fdstream.lo fdstream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fdstream.cpp -fPIC -DPIC -o .libs/fdstream.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o file.lo file.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c file.cpp -fPIC -DPIC -o .libs/file.o In file included from file.cpp:30: ../include/cxxtools/directory.h:51:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from fileimpl.h:28, from file.cpp:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o filedevice.lo filedevice.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c filedevice.cpp -fPIC -DPIC -o .libs/filedevice.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fileimpl.lo fileimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fileimpl.cpp -fPIC -DPIC -o .libs/fileimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o filedeviceimpl.lo filedeviceimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c filedeviceimpl.cpp -fPIC -DPIC -o .libs/filedeviceimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fileinfo.lo fileinfo.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fileinfo.cpp -fPIC -DPIC -o .libs/fileinfo.o In file included from fileinfo.cpp:32: ../include/cxxtools/directory.h:51:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from ../include/cxxtools/fileinfo.h:31, from fileinfoimpl.h:28, from fileinfo.cpp:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o decomposer.lo decomposer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c decomposer.cpp -fPIC -DPIC -o .libs/decomposer.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/convert.h:35, from ../include/cxxtools/decomposer.h:32, from decomposer.cpp:28: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o hdstream.lo hdstream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c hdstream.cpp -fPIC -DPIC -o .libs/hdstream.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o convert.lo convert.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c convert.cpp -fPIC -DPIC -o .libs/convert.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/convert.h:35, from convert.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ convert.cpp: At global scope: convert.cpp:45:45: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class nullterm_array_iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from ../include/cxxtools/char.h:32: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o iniparser.lo iniparser.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c iniparser.cpp -fPIC -DPIC -o .libs/iniparser.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o deserializer.lo deserializer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c deserializer.cpp -fPIC -DPIC -o .libs/deserializer.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/serializationinfo.h:33, from ../include/cxxtools/deserializerbase.h:32, from ../include/cxxtools/deserializer.h:32, from deserializer.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ioerror.lo ioerror.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c ioerror.cpp -fPIC -DPIC -o .libs/ioerror.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o iodevice.lo iodevice.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c iodevice.cpp -fPIC -DPIC -o .libs/iodevice.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o inifile.lo inifile.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c inifile.cpp -fPIC -DPIC -o .libs/inifile.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o iodeviceimpl.lo iodeviceimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c iodeviceimpl.cpp -fPIC -DPIC -o .libs/iodeviceimpl.o iodeviceimpl.cpp: In member function 'void cxxtools::IODeviceImpl::sigwrite(int)': iodeviceimpl.cpp:314:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | ::write(_fd, (const void*)&sig, sizeof(sig)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o iostream.lo iostream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c iostream.cpp -fPIC -DPIC -o .libs/iostream.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libraryimpl.lo libraryimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c libraryimpl.cpp -fPIC -DPIC -o .libs/libraryimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o library.lo library.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c library.cpp -fPIC -DPIC -o .libs/library.o In file included from library.cpp:32: ../include/cxxtools/directory.h:51:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from ../include/cxxtools/systemerror.h:32, from libraryimpl.h:31, from library.cpp:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ library.cpp: In constructor 'cxxtools::Library::Library(const std::string&)': library.cpp:51:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr impl( new LibraryImpl() ); | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from library.cpp:35: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o md5.lo md5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c md5.c -fPIC -DPIC -o .libs/md5.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o md5stream.lo md5stream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c md5stream.cpp -fPIC -DPIC -o .libs/md5stream.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o multifstream.lo multifstream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c multifstream.cpp -fPIC -DPIC -o .libs/multifstream.o In file included from multifstream.cpp:29: ../include/cxxtools/multifstream.h:98:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 98 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from ../include/cxxtools/multifstream.h:32: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o formatter.lo formatter.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c formatter.cpp -fPIC -DPIC -o .libs/formatter.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/formatter.h:32, from formatter.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mutex.lo mutex.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c mutex.cpp -fPIC -DPIC -o .libs/mutex.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o muteximpl.lo muteximpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c muteximpl.cpp -fPIC -DPIC -o .libs/muteximpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pipe.lo pipe.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pipe.cpp -fPIC -DPIC -o .libs/pipe.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o jsondeserializer.lo jsondeserializer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jsondeserializer.cpp -fPIC -DPIC -o .libs/jsondeserializer.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/jsonparser.h:33, from ../include/cxxtools/jsondeserializer.h:32, from jsondeserializer.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o jsonserializer.lo jsonserializer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jsonserializer.cpp -fPIC -DPIC -o .libs/jsonserializer.o In file included from ../include/cxxtools/textbuffer.h:32, from ../include/cxxtools/textstream.h:33, from ../include/cxxtools/jsonserializer.h:32, from jsonserializer.cpp:30: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pipeimpl.lo pipeimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pipeimpl.cpp -fPIC -DPIC -o .libs/pipeimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o jsonformatter.lo jsonformatter.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jsonformatter.cpp -fPIC -DPIC -o .libs/jsonformatter.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/formatter.h:32, from ../include/cxxtools/jsonformatter.h:32, from jsonformatter.cpp:30: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o commandinput.lo `test -f 'posix/commandinput.cpp' || echo './'`posix/commandinput.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c posix/commandinput.cpp -fPIC -DPIC -o .libs/commandinput.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o jsonparser.lo jsonparser.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c jsonparser.cpp -fPIC -DPIC -o .libs/jsonparser.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/jsonparser.h:33, from jsonparser.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o commandoutput.lo `test -f 'posix/commandoutput.cpp' || echo './'`posix/commandoutput.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c posix/commandoutput.cpp -fPIC -DPIC -o .libs/commandoutput.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pipestream.lo `test -f 'posix/pipestream.cpp' || echo './'`posix/pipestream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c posix/pipestream.cpp -fPIC -DPIC -o .libs/pipestream.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o posixpipe.lo `test -f 'posix/posixpipe.cpp' || echo './'`posix/posixpipe.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c posix/posixpipe.cpp -fPIC -DPIC -o .libs/posixpipe.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o remoteclient.lo remoteclient.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c remoteclient.cpp -fPIC -DPIC -o .libs/remoteclient.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o quotedprintablestream.lo quotedprintablestream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c quotedprintablestream.cpp -fPIC -DPIC -o .libs/quotedprintablestream.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o selectable.lo selectable.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c selectable.cpp -fPIC -DPIC -o .libs/selectable.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o regex.lo regex.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c regex.cpp -fPIC -DPIC -o .libs/regex.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o query_params.lo query_params.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c query_params.cpp -fPIC -DPIC -o .libs/query_params.o In file included from query_params.cpp:29: ../include/cxxtools/query_params.h:75:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 75 | : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from ../include/cxxtools/query_params.h:32: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o semaphore.lo semaphore.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c semaphore.cpp -fPIC -DPIC -o .libs/semaphore.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o semaphoreimpl.lo semaphoreimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c semaphoreimpl.cpp -fPIC -DPIC -o .libs/semaphoreimpl.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o selector.lo selector.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c selector.cpp -fPIC -DPIC -o .libs/selector.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o log.lo log.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c log.cpp -fPIC -DPIC -o .libs/log.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/convert.h:35, from log.cpp:32: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ In file included from log.cpp:36: ../include/cxxtools/xml/xmldeserializer.h: At global scope: ../include/cxxtools/xml/xmldeserializer.h:108:18: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 108 | std::auto_ptr _deleter; | ^~~~~~~~ In file included from /usr/include/c++/12/memory:76, from ../include/cxxtools/xml/xmldeserializer.h:34: /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ log.cpp: In member function 'virtual void cxxtools::{anonymous}::FdAppender::finish(bool)': log.cpp:222:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | ::write(_fd, _msg.data(), _msg.size()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mime.lo mime.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c mime.cpp -fPIC -DPIC -o .libs/mime.o In file included from ../include/cxxtools/textbuffer.h:32, from ../include/cxxtools/textstream.h:33, from ../include/cxxtools/base64stream.h:33, from mime.cpp:30: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o selectorimpl.lo selectorimpl.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c selectorimpl.cpp -fPIC -DPIC -o .libs/selectorimpl.o selectorimpl.cpp: In member function 'void cxxtools::SelectorImpl::wake()': selectorimpl.cpp:291:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | ::write( _wakePipe[1], "W", 1); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o serializationerror.lo serializationerror.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c serializationerror.cpp -fPIC -DPIC -o .libs/serializationerror.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o settingswriter.lo settingswriter.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c settingswriter.cpp -fPIC -DPIC -o .libs/settingswriter.o In file included from settingswriter.h:31, from settingswriter.cpp:28: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ In file included from /usr/include/c++/12/bits/basic_string.h:47, from /usr/include/c++/12/string:53, from ../include/cxxtools/char.h:32: /usr/include/c++/12/string_view: In instantiation of 'class std::basic_string_view >': settingswriter.cpp:42:26: required from here /usr/include/c++/12/string_view:103:21: error: static assertion failed 103 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/string_view:103:21: note: 'std::is_trivial_v' evaluates to false make[2]: *** [Makefile:918: settingswriter.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o signal.lo signal.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c signal.cpp -fPIC -DPIC -o .libs/signal.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o properties.lo properties.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c properties.cpp -fPIC -DPIC -o .libs/properties.o In file included from ../include/cxxtools/properties.h:34, from properties.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o propertiesdeserializer.lo propertiesdeserializer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c propertiesdeserializer.cpp -fPIC -DPIC -o .libs/propertiesdeserializer.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/serializationinfo.h:33, from ../include/cxxtools/composer.h:31, from ../include/cxxtools/propertiesdeserializer.h:32, from propertiesdeserializer.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o serviceregistry.lo serviceregistry.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c serviceregistry.cpp -fPIC -DPIC -o .libs/serviceregistry.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/serializationinfo.h:33, from ../include/cxxtools/composer.h:31, from ../include/cxxtools/serviceprocedure.h:32, from ../include/cxxtools/serviceregistry.h:33, from serviceregistry.cpp:29: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o settings.lo settings.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c settings.cpp -fPIC -DPIC -o .libs/settings.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/settings.h:31, from settings.cpp:30: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o settingsreader.lo settingsreader.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c settingsreader.cpp -fPIC -DPIC -o .libs/settingsreader.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/settings.h:31, from settingsreader.h:31, from settingsreader.cpp:28: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o serializationinfo.lo serializationinfo.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c serializationinfo.cpp -fPIC -DPIC -o .libs/serializationinfo.o In file included from ../include/cxxtools/string.h:34, from ../include/cxxtools/serializationinfo.h:33, from serializationinfo.cpp:30: ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, int_type)': ../include/cxxtools/char.h:339:45: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 339 | return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ ../include/cxxtools/char.h: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)': ../include/cxxtools/char.h:346:44: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'std::char_traits::char_type' {aka 'class cxxtools::Char'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 346 | return (cxxtools::Char*)std::memcpy(s1, s2, n * sizeof(cxxtools::Char)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/cxxtools/char.h:65:11: note: 'std::char_traits::char_type' {aka 'class cxxtools::Char'} declared here 65 | class Char | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cxxtools-2.2.1/src' make[1]: *** [Makefile:647: all] Error 2 make: *** [Makefile:545: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8uwsGU (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8uwsGU (%build) I: [iurt_root_command] ERROR: chroot