Diff of the two buildlogs: -- --- b1/build.log 2023-04-10 11:19:48.486010657 +0000 +++ b2/build.log 2023-04-10 11:24:10.085290523 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 12 05:41:00 -12 2024 -I: pbuilder-time-stamp: 1715535660 +I: Current time: Tue Apr 11 01:19:53 +14 2023 +I: pbuilder-time-stamp: 1681125593 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./libloki_0.1.7.orig.tar.gz] I: copying [./libloki_0.1.7-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Oct 19 08:05:32 2021 -12 +gpgv: Signature made Wed Oct 20 10:05:32 2021 +14 gpgv: using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08 gpgv: issuer "anbe@debian.org" gpgv: Can't check signature: No public key @@ -29,11 +29,20 @@ dpkg-source: info: applying gcc-11.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/18973/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -43,38 +52,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' - PPID='18973' + PPID='31276' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.V7joI8HX/pbuilderrc_9TTd --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.V7joI8HX/b1 --logfile b1/build.log libloki_0.1.7-5.dsc' + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.V7joI8HX/pbuilderrc_WCUs --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.V7joI8HX/b2 --logfile b2/build.log --extrapackages usrmerge libloki_0.1.7-5.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink15-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18973/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 10 00:26 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -140,7 +149,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] -Fetched 18.3 MB in 0s (43.9 MB/s) +Fetched 18.3 MB in 1s (27.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -277,10 +286,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/libloki-0.1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libloki_0.1.7-5_source.changes +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/libloki-0.1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libloki_0.1.7-5_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-5 dpkg-buildpackage: info: source distribution unstable @@ -300,136 +314,136 @@ make -C test clean make[2]: Entering directory '/build/libloki-0.1.7/test' make -C CachedFactory clean +make[3]: Entering directory '/build/libloki-0.1.7/test/CachedFactory' make -C DeletableSingleton clean +rm -f -R .static-dep make -C Factory clean make -C Function clean -make[3]: Entering directory '/build/libloki-0.1.7/test/CachedFactory' -make -C LockingPtr clean -make -C Longevity clean -make -C OrderedStatic clean -make -C Pimpl clean make[3]: Entering directory '/build/libloki-0.1.7/test/DeletableSingleton' make[3]: Entering directory '/build/libloki-0.1.7/test/Factory' +rm -f -R .shared-dep make[3]: Entering directory '/build/libloki-0.1.7/test/Function' +make -C LockingPtr clean +rm -f CachedFactoryTest make[3]: Entering directory '/build/libloki-0.1.7/test/LockingPtr' +make -C Longevity clean +rm -f CachedFactoryTest.o +make -C OrderedStatic clean +make[3]: Leaving directory '/build/libloki-0.1.7/test/CachedFactory' +make -C Pimpl clean make[3]: Entering directory '/build/libloki-0.1.7/test/Longevity' -make[3]: Entering directory '/build/libloki-0.1.7/test/OrderedStatic' +make -C Register clean +rm -f -R .static-dep +rm -f -R .static-dep +rm -f -R .shared-dep +rm -f -R .shared-dep make[3]: Entering directory '/build/libloki-0.1.7/test/Pimpl' +make[3]: Entering directory '/build/libloki-0.1.7/test/OrderedStatic' +rm -f Factory +make[3]: Entering directory '/build/libloki-0.1.7/test/Register' +rm -f Factory.o +rm -f FunctionTest +rm -f FunctionTest.o +make[3]: Leaving directory '/build/libloki-0.1.7/test/Factory' rm -f -R .static-dep +make[3]: Leaving directory '/build/libloki-0.1.7/test/Function' rm -f -R .static-dep +make -C RegressionTest clean rm -f -R .shared-dep rm -f -R .static-dep rm -f -R .shared-dep +rm -f main +make -C SafeFormat clean +make[3]: Entering directory '/build/libloki-0.1.7/test/RegressionTest' rm -f -R .static-dep -rm -f CachedFactoryTest rm -f -R .static-dep -rm -f CachedFactoryTest.o -rm -f -R .shared-dep rm -f -R .static-dep -make[3]: Leaving directory '/build/libloki-0.1.7/test/CachedFactory' +rm -f main.o rm -f DeletableSingleton -make -C Register clean +rm -f -R .shared-dep +make[3]: Entering directory '/build/libloki-0.1.7/test/SafeFormat' rm -f -R .shared-dep rm -f DeletableSingleton.o rm -f -R .shared-dep -make[3]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' -make -C RegressionTest clean rm -f -R .shared-dep -rm -f Factory -rm -f -R .static-dep -rm -f Factory.o -rm -f FunctionTest -make[3]: Leaving directory '/build/libloki-0.1.7/test/Factory' +make[3]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' +make[3]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' +make -C ScopeGuard clean +rm -f main +rm -f main rm -f main -make -C SafeFormat clean rm -f main rm -f -R .static-dep -rm -f FunctionTest.o -rm -f main.o +rm -f -R .static-dep rm -f main.o -rm -f -R .shared-dep -rm -f main2 -make[3]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' -make -C ScopeGuard clean -make[3]: Leaving directory '/build/libloki-0.1.7/test/Function' -rm -f -R .shared-dep -rm -f main2.o -make[3]: Leaving directory '/build/libloki-0.1.7/test/Longevity' -rm -f main make -C Singleton clean -make[3]: Entering directory '/build/libloki-0.1.7/test/Register' -make -C SingletonDll clean -rm -f main rm -f main.o rm -f main.o +rm -f main.o +rm -f -R .shared-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/OrderedStatic' -make[3]: Entering directory '/build/libloki-0.1.7/test/RegressionTest' +rm -f -R .shared-dep +make -C SingletonDll clean +rm -f libfoo.a +make[3]: Entering directory '/build/libloki-0.1.7/test/ScopeGuard' make[3]: Leaving directory '/build/libloki-0.1.7/test/Pimpl' +rm -f main2 make -C SmallObj clean -make -C SmartPtr clean -make[3]: Entering directory '/build/libloki-0.1.7/test/SafeFormat' -make[3]: Entering directory '/build/libloki-0.1.7/test/ScopeGuard' -make[3]: Entering directory '/build/libloki-0.1.7/test/Singleton' +rm -f foo.o +rm -f main2.o +rm -f main +rm -f Test make[3]: Entering directory '/build/libloki-0.1.7/test/SingletonDll' +make[3]: Entering directory '/build/libloki-0.1.7/test/Singleton' +make[3]: Leaving directory '/build/libloki-0.1.7/test/Longevity' +make -C SmartPtr clean make[3]: Entering directory '/build/libloki-0.1.7/test/SmallObj' -make[3]: Entering directory '/build/libloki-0.1.7/test/SmartPtr' -rm -f -R .static-dep -rm -f -R .static-dep -rm -f -R .shared-dep -rm -f -R .static-dep -rm -f -R .shared-dep -rm -f main -rm -f -R .static-dep +rm -f Test.o rm -f -R .static-dep +make[3]: Leaving directory '/build/libloki-0.1.7/test/RegressionTest' rm -f main.o -rm -f -R .shared-dep -rm -f libfoo.a -rm -f Test -rm -f foo.o make[3]: Leaving directory '/build/libloki-0.1.7/test/Register' +make[3]: Leaving directory '/build/libloki-0.1.7/test/SafeFormat' make -C Visitor clean rm -f -R .shared-dep -rm -f Test.o -rm -f -R .shared-dep -make[3]: Leaving directory '/build/libloki-0.1.7/test/RegressionTest' +make[3]: Entering directory '/build/libloki-0.1.7/test/SmartPtr' +rm -f -R .static-dep rm -f main +rm -f -R .shared-dep +make[3]: Entering directory '/build/libloki-0.1.7/test/Visitor' rm -f -R .static-dep rm -f main.o -rm -f main -make[3]: Leaving directory '/build/libloki-0.1.7/test/SafeFormat' +rm -f -R .static-dep rm -f Dependencies rm -f -R .static-dep -rm -f main.o -rm -f -R .shared-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/ScopeGuard' rm -f Dependencies.o -rm -f -R .static-dep rm -f -R .shared-dep +rm -f -R .shared-dep +rm -f -R .static-dep rm -f Phoenix -rm -f Phoenix.o rm -f SmallObjBench -make[3]: Leaving directory '/build/libloki-0.1.7/test/Singleton' +rm -f -R .shared-dep +rm -f main rm -f -R .shared-dep rm -f SmallObjBench.o -make[3]: Entering directory '/build/libloki-0.1.7/test/Visitor' rm -f SmallObjSingleton -rm -f SmallObjSingleton.o rm -f client -rm -f main rm -f main.o strong.o LockTest.o -rm -f client.o -make[3]: Leaving directory '/build/libloki-0.1.7/test/SmallObj' +rm -f SmallObjSingleton.o +rm -f Phoenix.o +rm -f main make[3]: Leaving directory '/build/libloki-0.1.7/test/SmartPtr' -rm -f -R .static-dep -rm -f -R .shared-dep +rm -f client.o rm -f libfoo.so +make[3]: Leaving directory '/build/libloki-0.1.7/test/Singleton' +rm -f main.o rm -f foo.lo -rm -f main rm -f libsingletondll.so +make[3]: Leaving directory '/build/libloki-0.1.7/test/SmallObj' +make[3]: Leaving directory '/build/libloki-0.1.7/test/Visitor' rm -f singletondll.lo -rm -f main.o make[3]: Leaving directory '/build/libloki-0.1.7/test/SingletonDll' -make[3]: Leaving directory '/build/libloki-0.1.7/test/Visitor' make[2]: Leaving directory '/build/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/libloki-0.1.7/src' @@ -455,8 +469,8 @@ make -C src build-static make[3]: Entering directory '/build/libloki-0.1.7/src' make -C src build-shared -make[3]: Entering directory '/build/libloki-0.1.7/src' g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep +make[3]: Entering directory '/build/libloki-0.1.7/src' g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep g++ -MM -MT SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep g++ -MM -MT SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep @@ -465,37 +479,33 @@ g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep -g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep -g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep -g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep +g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep +g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep +g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep -g++ -MM -MT Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep -g++ -MM -MT SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep +g++ -MM -MT Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep g++ -MM -MT SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep -g++ -MM -MT OrderedStatic.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep -g++ -MM -MT LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep g++ -MM -MT Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep g++ -MM -MT SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep +g++ -MM -MT SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep +g++ -MM -MT OrderedStatic.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep g++ -MM -MT OrderedStatic.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep g++ -MM -MT LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o StrongPtr.o StrongPtr.cpp +g++ -MM -MT LevelMutex.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp -LevelMutex.cpp: In function 'Loki::MutexErrors::Type Loki::DoMutexesMatchContainer(const LevelMutexInfo::MutexContainer&)': -LevelMutex.cpp:186:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 186 | const unsigned int count = mutexes.size(); - | ~~~~~~~~~~~~^~ +g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp +g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp +g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp +g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp +g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp +g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp LevelMutex.cpp: In function 'Loki::MutexErrors::Type Loki::DoMutexesMatchContainer(const LevelMutexInfo::MutexContainer&)': LevelMutex.cpp:186:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 186 | const unsigned int count = mutexes.size(); @@ -508,14 +518,18 @@ LevelMutex.cpp:403:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 403 | const unsigned int count = mutexes.size(); | ~~~~~~~~~~~~^~ -LevelMutex.cpp: In static member function 'static Loki::MutexErrors::Type Loki::LevelMutexInfo::MultiLock(MutexContainer&)': -LevelMutex.cpp:320:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 320 | const unsigned int count = mutexes.size(); - | ~~~~~~~~~~~~^~ LevelMutex.cpp: In static member function 'static Loki::MutexErrors::Type Loki::LevelMutexInfo::MultiUnlock(MutexContainer&)': LevelMutex.cpp:493:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 493 | const unsigned int count = mutexes.size(); | ~~~~~~~~~~~~^~ +LevelMutex.cpp: In function 'Loki::MutexErrors::Type Loki::DoMutexesMatchContainer(const LevelMutexInfo::MutexContainer&)': +LevelMutex.cpp:186:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 186 | const unsigned int count = mutexes.size(); + | ~~~~~~~~~~~~^~ +LevelMutex.cpp: In static member function 'static Loki::MutexErrors::Type Loki::LevelMutexInfo::MultiLock(MutexContainer&)': +LevelMutex.cpp:320:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 320 | const unsigned int count = mutexes.size(); + | ~~~~~~~~~~~~^~ LevelMutex.cpp: In static member function 'static Loki::MutexErrors::Type Loki::LevelMutexInfo::MultiLock(MutexContainer&, unsigned int)': LevelMutex.cpp:403:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 403 | const unsigned int count = mutexes.size(); @@ -524,8 +538,7 @@ LevelMutex.cpp:493:44: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 493 | const unsigned int count = mutexes.size(); | ~~~~~~~~~~~~^~ -In file included from ../include/loki/SmallObj.h:23, - from SmallObj.cpp:19: +In file included from Singleton.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -535,7 +548,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from Singleton.cpp:19: +In file included from ../include/loki/SmallObj.h:23, + from SmallObj.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -547,7 +561,8 @@ | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from SmartPtr.cpp:20: + from ../include/loki/StrongPtr.h:20, + from StrongPtr.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -559,8 +574,7 @@ | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from ../include/loki/StrongPtr.h:20, - from StrongPtr.cpp:16: + from SmartPtr.cpp:20: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -570,7 +584,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp In file included from ../include/loki/OrderedStatic.h:22, from OrderedStatic.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': @@ -592,17 +606,6 @@ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp -../include/loki/SmartPtr.h: At global scope: -../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1768 | : public binary_function, - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/stdexcept:39, - from ../include/loki/Singleton.h:24: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteSingle

::Delete(const P*)': ../include/loki/StrongPtr.h:193:22: warning: typedef 'Type_Must_Be_Defined' locally defined but not used [-Wunused-local-typedefs] 193 | typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; @@ -618,19 +621,22 @@ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp -g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp -g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp -g++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp -ar rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o -ar: creating ../lib/libloki.a -a - LevelMutex.o -a - OrderedStatic.o -a - SafeFormat.o -a - Singleton.o -a - SmallObj.o -a - SmartPtr.o -a - StrongPtr.o +../include/loki/SmartPtr.h: At global scope: +../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1768 | : public binary_function, + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/stdexcept:39, + from ../include/loki/Singleton.h:24: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o StrongPtr.o StrongPtr.cpp +g++ -Wl,-z,relro --shared -Wl,-soname=libloki.so.0.1.7 -fPIC -o ../lib/libloki.so.0.1.7 LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo -lpthread make[3]: Leaving directory '/build/libloki-0.1.7/src' In file included from ../include/loki/OrderedStatic.h:22, from OrderedStatic.cpp:16: @@ -643,8 +649,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from ../include/loki/SmallObj.h:23, - from SmallObj.cpp:19: +In file included from Singleton.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -654,7 +659,8 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from Singleton.cpp:19: +In file included from ../include/loki/SmallObj.h:23, + from SmallObj.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -666,7 +672,8 @@ | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from SmartPtr.cpp:20: + from ../include/loki/StrongPtr.h:20, + from StrongPtr.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -678,8 +685,7 @@ | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from ../include/loki/StrongPtr.h:20, - from StrongPtr.cpp:16: + from SmartPtr.cpp:20: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -707,6 +713,13 @@ ../include/loki/StrongPtr.h:224:22: warning: typedef 'Type_Must_Be_Defined' locally defined but not used [-Wunused-local-typedefs] 224 | typedef char Type_Must_Be_Defined[ sizeof(P) ? 1 : -1 ]; | ^~~~~~~~~~~~~~~~~~~~ +../include/loki/StrongPtr.h: At global scope: +../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1681 | : public binary_function< + | ^~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../include/loki/SmartPtr.h: At global scope: ../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function, @@ -717,14 +730,15 @@ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../include/loki/StrongPtr.h: At global scope: -../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1681 | : public binary_function< - | ^~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -Wl,-z,relro --shared -Wl,-soname=libloki.so.0.1.7 -fPIC -o ../lib/libloki.so.0.1.7 LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo -lpthread +ar rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o +ar: creating ../lib/libloki.a +a - LevelMutex.o +a - OrderedStatic.o +a - SafeFormat.o +a - Singleton.o +a - SmallObj.o +a - SmartPtr.o +a - StrongPtr.o make[3]: Leaving directory '/build/libloki-0.1.7/src' make[2]: Leaving directory '/build/libloki-0.1.7' make[1]: Leaving directory '/build/libloki-0.1.7' @@ -754,17 +768,19 @@ make[4]: Entering directory '/build/libloki-0.1.7/test/Factory' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o Factory.o Factory.cpp make -C LockingPtr -make[4]: Entering directory '/build/libloki-0.1.7/test/Function' make -C Longevity +make[4]: Entering directory '/build/libloki-0.1.7/test/Function' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o FunctionTest.o FunctionTest.cpp +make -C OrderedStatic make[4]: Entering directory '/build/libloki-0.1.7/test/LockingPtr' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp -make -C OrderedStatic make[4]: Entering directory '/build/libloki-0.1.7/test/Longevity' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main2.o main2.cpp +make -C Pimpl make[4]: Entering directory '/build/libloki-0.1.7/test/OrderedStatic' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp +make[4]: Entering directory '/build/libloki-0.1.7/test/Pimpl' +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp In file included from Thread.h:17, from main.cpp:22: ../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] @@ -807,6 +823,24 @@ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from type.h:16, + from main.cpp:24: +../../include/loki/Pimpl.h: In destructor 'Loki::Pimpl::~Pimpl()': +../../include/loki/Pimpl.h:93:26: warning: typedef 'T_must_be_defined' locally defined but not used [-Wunused-local-typedefs] + 93 | typedef char T_must_be_defined[sizeof(T) ? 1 : -1 ]; + | ^~~~~~~~~~~~~~~~~ +In file included from ../../include/loki/SmallObj.h:23, + from ../../include/loki/SmartPtr.h:33, + from type.h:24: +../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': +../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from main.cpp:22: @@ -819,6 +853,16 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from main.cpp:57: +../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': +../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ In file included from DeletableSingleton.cpp:29: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -862,10 +906,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -make[4]: *** [: main.o] Error 1 -make[4]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' -make[3]: *** [Makefile:12: LockingPtr] Error 2 -make[3]: *** Waiting for unfinished jobs.... ../../include/loki/Functor.h: In function 'Fun2 Loki::Chain(const Fun1&, const Fun2&)': ../../include/loki/Functor.h:1781:26: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1781 | return Fun2(std::auto_ptr( @@ -873,6 +913,11 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +make[4]: *** [: main.o] Error 1 +make[4]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' +make[3]: *** [Makefile:12: LockingPtr] Error 2 +make[3]: *** Waiting for unfinished jobs.... +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main2.o main2.cpp In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, @@ -886,70 +931,6 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from main.cpp:57: -../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': -../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from main2.cpp:15: -../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': -../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 158 | std::auto_ptr - | ^~~~~~~~ -In file included from /usr/include/c++/12/memory:76, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here - 64 | template class auto_ptr; - | ^~~~~~~~ -In file included from ../../include/loki/SmallObj.h:22, - from ../../include/loki/Functor.h:24, - from ../../include/loki/Function.h:22, - from FunctionTest.cpp:50: -../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] - 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); - | ^~~ -../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' - 348 | LOKI_THREADS_MUTEX(mtx_) - | ^~~~~~~~~~~~~~~~~~ -../../include/loki/Threads.h:190:57: note: remove parentheses - 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); - | ^~~ -../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' - 348 | LOKI_THREADS_MUTEX(mtx_) - | ^~~~~~~~~~~~~~~~~~ -../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable::AtomicAssign(volatile IntType&, IntType)': -../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] - 254 | return lval; \ - | ^~~~ -../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' - 505 | LOKI_THREADS_ATOMIC_FUNCTIONS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable::AtomicAssign(IntType&, const volatile IntType&)': -../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] - 262 | return lval; \ - | ^~~~ -../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' - 505 | LOKI_THREADS_ATOMIC_FUNCTIONS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable::AtomicAssign(volatile IntType&, IntType)': -../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] - 254 | return lval; \ - | ^~~~ -../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' - 590 | LOKI_THREADS_ATOMIC_FUNCTIONS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable::AtomicAssign(IntType&, const volatile IntType&)': -../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] - 262 | return lval; \ - | ^~~~ -../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' - 590 | LOKI_THREADS_ATOMIC_FUNCTIONS - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, @@ -1003,6 +984,36 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +In file included from ../../include/loki/SmallObj.h:22, + from ../../include/loki/Functor.h:24, + from ../../include/loki/Function.h:22, + from FunctionTest.cpp:50: +../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] + 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); + | ^~~ +../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' + 348 | LOKI_THREADS_MUTEX(mtx_) + | ^~~~~~~~~~~~~~~~~~ +../../include/loki/Threads.h:190:57: note: remove parentheses + 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); + | ^~~ +../../include/loki/Threads.h:348:9: note: in expansion of macro 'LOKI_THREADS_MUTEX' + 348 | LOKI_THREADS_MUTEX(mtx_) + | ^~~~~~~~~~~~~~~~~~ +../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable::AtomicAssign(volatile IntType&, IntType)': +../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] + 254 | return lval; \ + | ^~~~ +../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' + 505 | LOKI_THREADS_ATOMIC_FUNCTIONS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../include/loki/Threads.h: In static member function 'static void Loki::ObjectLevelLockable::AtomicAssign(IntType&, const volatile IntType&)': +../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] + 262 | return lval; \ + | ^~~~ +../../include/loki/Threads.h:505:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' + 505 | LOKI_THREADS_ATOMIC_FUNCTIONS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) @@ -1016,6 +1027,20 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable::AtomicAssign(volatile IntType&, IntType)': +../../include/loki/Threads.h:254:20: error: return-statement with a value, in function returning 'void' [-fpermissive] + 254 | return lval; \ + | ^~~~ +../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' + 590 | LOKI_THREADS_ATOMIC_FUNCTIONS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../include/loki/Threads.h: In static member function 'static void Loki::ClassLevelLockable::AtomicAssign(IntType&, const volatile IntType&)': +../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-fpermissive] + 262 | return lval; \ + | ^~~~ +../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' + 590 | LOKI_THREADS_ATOMIC_FUNCTIONS + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/Functor.h:1428:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1428 | std::auto_ptr spImpl_; | ^~~~~~~~ @@ -1043,6 +1068,30 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ +../../include/loki/SmartPtr.h: At global scope: +../../include/loki/SmartPtr.h:1768:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1768 | : public binary_function, + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/stdexcept:39, + from ../../include/loki/Singleton.h:24: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +type.h:94:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 94 | typedef std::auto_ptr > StdAutoPtr; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +In file included from main.cpp:25: +type2.h:133:23: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 133 | Pimpl > d; + | ^~~~~~~~ +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ +g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a In file included from ../../include/loki/SmallObj.h:23: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -1053,7 +1102,36 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a +In file included from ../../include/loki/Factory.h:21: +../../include/loki/AssocVector.h: At global scope: +../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 111 | : public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from CachedFactoryTest.cpp:27: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ../../include/loki/Factory.h:21: +../../include/loki/AssocVector.h: At global scope: +../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 111 | : public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/string:48, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from Factory.cpp:17: +/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../include/loki/Functor.h: At global scope: ../../include/loki/Functor.h:1250:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) @@ -1094,38 +1172,7 @@ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ -In file included from ../../include/loki/Factory.h:21: -../../include/loki/AssocVector.h: At global scope: -../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 111 | : public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from CachedFactoryTest.cpp:27: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' -FunctionTest.cpp: In function 'void test_ref()': -FunctionTest.cpp:740:25: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] - 740 | catch(runtime_error e) - | ^ -FunctionTest.cpp: In function 'void test_exception()': -FunctionTest.cpp:757:11: error: reference to 'bad_function_call' is ambiguous - 757 | catch(bad_function_call) - | ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/functional:59, - from FunctionTest.cpp:13: -/usr/include/c++/12/bits/std_function.h:54:9: note: candidates are: 'class std::bad_function_call' - 54 | class bad_function_call : public std::exception - | ^~~~~~~~~~~~~~~~~ -../../include/loki/Functor.h:1180:11: note: 'class Loki::bad_function_call' - 1180 | class bad_function_call : public std::runtime_error - | ^~~~~~~~~~~~~~~~~ In file included from CachedFactoryTest.cpp:39: ../../include/loki/CachedFactory.h: In member function 'void Loki::RateLimitedCreation::cleanVector()': ../../include/loki/CachedFactory.h:187:98: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = long int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -1142,21 +1189,6 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from ../../include/loki/Factory.h:21: -../../include/loki/AssocVector.h: At global scope: -../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 111 | : public std::binary_function - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/string:48, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from Factory.cpp:17: -/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../../include/loki/CachedFactory.h:764:69: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 764 | template struct deleteObject : public std::unary_function | ^~~~~~~~~~~~~~ @@ -1175,14 +1207,26 @@ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a +FunctionTest.cpp: In function 'void test_ref()': +FunctionTest.cpp:740:25: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] + 740 | catch(runtime_error e) + | ^ +FunctionTest.cpp: In function 'void test_exception()': +FunctionTest.cpp:757:11: error: reference to 'bad_function_call' is ambiguous + 757 | catch(bad_function_call) + | ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/functional:59, + from FunctionTest.cpp:13: +/usr/include/c++/12/bits/std_function.h:54:9: note: candidates are: 'class std::bad_function_call' + 54 | class bad_function_call : public std::exception + | ^~~~~~~~~~~~~~~~~ +../../include/loki/Functor.h:1180:11: note: 'class Loki::bad_function_call' + 1180 | class bad_function_call : public std::runtime_error + | ^~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp: In function 'void unitTestCachePerformance(int)': CachedFactoryTest.cpp:179:119: warning: conversion from 'milliSec' {aka 'long int'} to 'double' may change value [-Wconversion] 179 | cout << "No cache "<: FunctionTest.o] Error 1 -make[4]: Leaving directory '/build/libloki-0.1.7/test/Function' -make[3]: *** [Makefile:12: Function] Error 2 In file included from ../../include/loki/SPCachedFactory.h:39, from CachedFactoryTest.cpp:393: ../../include/loki/SmartPtr.h: At global scope: @@ -1193,7 +1237,9 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a -make[4]: Leaving directory '/build/libloki-0.1.7/test/Longevity' +make[4]: *** [: FunctionTest.o] Error 1 +make[4]: Leaving directory '/build/libloki-0.1.7/test/Function' +make[3]: *** [Makefile:12: Function] Error 2 CachedFactoryTest.cpp: In instantiation of 'milliSec typicalUse(Cache&, unsigned int, unsigned int, unsigned int) [with Cache = Loki::CachedFactory; milliSec = long int]': CachedFactoryTest.cpp:238:42: required from 'void displayTypicalUse(Cache&, unsigned int, unsigned int, unsigned int) [with Cache = Loki::CachedFactory]' CachedFactoryTest.cpp:252:40: required from here @@ -1208,8 +1254,19 @@ CachedFactoryTest.cpp:238:42: required from 'void displayTypicalUse(Cache&, unsigned int, unsigned int, unsigned int) [with Cache = Loki::CachedFactory]' CachedFactoryTest.cpp:262:26: required from here CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] +In file included from main2.cpp:15: +../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': +../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/12/memory:76, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here + 64 | template class auto_ptr; + | ^~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/OrderedStatic' +g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictAging; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector >]': ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:796:68: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -1298,6 +1355,7 @@ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +make[4]: Leaving directory '/build/libloki-0.1.7/test/Longevity' ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::EvictRandom::onDestroy(const DT&) [with DT = AbstractProduct*; ST = unsigned int]': ../../include/loki/CachedFactory.h:760:26: required from 'void Loki::CachedFactory::onDestroy(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector >]' ../../include/loki/CachedFactory.h:799:21: required from 'void Loki::CachedFactory::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AmountLimitedCreation; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::NoStatisticPolicy; FactoryErrorPolicy = Loki::DefaultFactoryError; ObjVector = std::vector >]' @@ -1308,6 +1366,8 @@ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a +make[4]: Leaving directory '/build/libloki-0.1.7/test/Pimpl' g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/Factory' g++ -Wl,-z,relro -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a @@ -1372,8 +1432,8 @@ dh_builddeb dpkg-deb: building package 'libloki0.1.7' in '../libloki0.1.7_0.1.7-5_arm64.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-5_all.deb'. -dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-5_arm64.deb'. dpkg-deb: building package 'libloki0.1.7-dbgsym' in '../libloki0.1.7-dbgsym_0.1.7-5_arm64.deb'. +dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-5_arm64.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-5_arm64.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-5_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1381,12 +1441,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31276/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/18973 and its subdirectories -I: Current time: Sun May 12 05:42:47 -12 2024 -I: pbuilder-time-stamp: 1715535767 +I: removing directory /srv/workspace/pbuilder/31276 and its subdirectories +I: Current time: Tue Apr 11 01:24:08 +14 2023 +I: pbuilder-time-stamp: 1681125848