I: pbuilder: network access will be disabled during build 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 W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libloki_0.1.7-5.dsc] 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 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 dpkg-source: warning: cannot verify inline signature for ./libloki_0.1.7-5.dsc: no acceptable signature found dpkg-source: info: extracting libloki in libloki-0.1.7 dpkg-source: info: unpacking libloki_0.1.7.orig.tar.gz dpkg-source: info: unpacking libloki_0.1.7-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0.1.7-3.patch dpkg-source: info: applying gcc-11.patch I: using fakeroot in build. I: Installing the build-deps 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='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' DISTRIBUTION='bookworm' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' 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='31276' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' 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-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a 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 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 Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 18.3 MB of archives. After unpacking 74.4 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.1+b3 [619 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] 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 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.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../22-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../24-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-8) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps 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: 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 dpkg-buildpackage: info: source changed by Andreas Beckmann dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean dh_auto_clean make -j8 distclean make[1]: Entering directory '/build/libloki-0.1.7' make -C src clean make[2]: Entering directory '/build/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo make[2]: Leaving directory '/build/libloki-0.1.7/src' 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/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 -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 -R .static-dep rm -f -R .static-dep rm -f main.o rm -f DeletableSingleton 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 rm -f -R .shared-dep 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 rm -f main rm -f -R .static-dep rm -f -R .static-dep rm -f main.o make -C Singleton clean 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' 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 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' rm -f Test.o rm -f -R .static-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/RegressionTest' rm -f main.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 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 -R .static-dep rm -f Dependencies rm -f -R .static-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/ScopeGuard' rm -f Dependencies.o rm -f -R .shared-dep rm -f -R .shared-dep rm -f -R .static-dep rm -f Phoenix rm -f SmallObjBench rm -f -R .shared-dep rm -f main rm -f -R .shared-dep rm -f SmallObjBench.o rm -f SmallObjSingleton rm -f client rm -f main.o strong.o LockTest.o rm -f SmallObjSingleton.o rm -f Phoenix.o rm -f main make[3]: Leaving directory '/build/libloki-0.1.7/test/SmartPtr' 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 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 make[3]: Leaving directory '/build/libloki-0.1.7/test/SingletonDll' make[2]: Leaving directory '/build/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo rm -f -R .static-dep rm -f -R .shared-dep rm -f ../lib/libloki.a rm -f ../lib/libloki.so.0.1.7 make[2]: Leaving directory '/build/libloki-0.1.7/src' make[1]: Leaving directory '/build/libloki-0.1.7' dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/libloki-0.1.7' dh_auto_build -- OS=Linux build-static build-shared make -j8 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared make[2]: Entering directory '/build/libloki-0.1.7' make -C src build-static make[3]: Entering directory '/build/libloki-0.1.7/src' make -C src build-shared 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 g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep 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 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 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 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 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++ -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 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(); | ~~~~~~~~~~~~^~ 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(); | ~~~~~~~~~~~~^~ 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(); | ~~~~~~~~~~~~^~ 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(); | ~~~~~~~~~~~~^~ 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 | ^~~~~~~~ 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 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 | ^~~~~~~~ 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/SmartPtr.h:33, 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 | ^~~~~~~~ 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/SmartPtr.h:33, 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 | ^~~~~~~~ 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++ -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)': ../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; | ^~~~~~~~ ../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 ]; | ^~~~~~~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteArray

::Delete(const P*)': ../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, | ^~~~~~~~~~~~~~~ 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: ../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 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 | ^~~~~~~~ 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 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 | ^~~~~~~~ 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/SmartPtr.h:33, 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 | ^~~~~~~~ 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/SmartPtr.h:33, 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 | ^~~~~~~~ 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; | ^~~~~~~~ ../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 ]; | ^~~~~~~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h: In static member function 'static void Loki::DeleteArray

::Delete(const P*)': ../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, | ^~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~~ 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' debian/rules override_dh_auto_test make[1]: Entering directory '/build/libloki-0.1.7' dh_auto_test -- OS=Linux make -j8 check OS=Linux make[2]: Entering directory '/build/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/libloki-0.1.7/src' make[3]: Entering directory '/build/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/libloki-0.1.7/src' make -C test make[3]: Entering directory '/build/libloki-0.1.7/test' make -C CachedFactory make -C DeletableSingleton make[4]: Entering directory '/build/libloki-0.1.7/test/CachedFactory' 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 CachedFactoryTest.o CachedFactoryTest.cpp make -C Factory make[4]: Entering directory '/build/libloki-0.1.7/test/DeletableSingleton' 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 DeletableSingleton.o DeletableSingleton.cpp make -C Function 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 -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[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 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] 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 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: ../../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 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] 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; | ^~~~~~~~ ../../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) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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( | ^~~~~~~~ /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, from CachedFactoryTest.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] 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 ../../include/loki/Factory.h:20, from Factory.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 | ^~~~~~~~ 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; | ^~~~~~~~ ../../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) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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( | ^~~~~~~~ /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) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; | ^~~~~~~~ /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_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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( | ^~~~~~~~ /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] 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/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) | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h:1263:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1263 | typedef Impl * (std::auto_ptr::*unspecified_bool_type)() const; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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_; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In member function 'Loki::Functor::operator unspecified_bool_type() const': ../../include/loki/Functor.h:1267:42: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1267 | return spImpl_.get() ? &std::auto_ptr::get : 0; | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/Functor.h: In function 'typename Loki::Private::BinderFirstTraits::BoundFunctorType Loki::BindFirst(const Fctor&, typename Fctor::Parm1)': ../../include/loki/Functor.h:1619:30: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1619 | return Outgoing(std::auto_ptr( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../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( | ^~~~~~~~ /usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ make[4]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' 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] 187 | Vector::iterator newEnd = remove_if(m_vTimes.begin(), m_vTimes.end(), bind2nd(less(), currentTime - timeValidity)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/stl_function.h:1438: /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: At global scope: ../../include/loki/CachedFactory.h:419:70: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 419 | template struct updateCounter : public std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_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 | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../include/loki/CachedFactory.h:770:76: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 770 | template struct deleteVectorObjects : public std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../include/loki/CachedFactory.h:779:70: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 779 | template struct deleteMapKeys : public std::unary_function | ^~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ 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 "< struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1768 | : public binary_function, | ^~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a 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 CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ 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:257:26: required from here CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 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: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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::EvictLRU; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::EvictRandom; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::NullType; EncapsulationPolicy = SmartPointer_OneTArg; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::SimpleStatisticPolicy; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/CachedFactory.h: In instantiation of 'void Loki::CachedFactory::remove(AbstractProduct*) [with AbstractProduct = AbstractProduct; IdentifierType = int; CreatorParmTList = Loki::Seq; EncapsulationPolicy = Loki::SimplePointer; CreationPolicy = Loki::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::RateLimitedCreation; EvictionPolicy = Loki::EvictRandom; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::EvictRandom; StatisticPolicy = Loki::SimpleStatisticPolicy; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::AlwaysCreate; EvictionPolicy = Loki::EvictAging; StatisticPolicy = Loki::SimpleStatisticPolicy; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::AlwaysCreate; EvictionPolicy = Loki::EvictLRU; StatisticPolicy = Loki::SimpleStatisticPolicy; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; StatisticPolicy = Loki::SimpleStatisticPolicy; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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::AlwaysCreate; EvictionPolicy = Loki::EvictRandom; 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] 796 | objItr = remove_if(v.begin(), v.end(), std::bind2nd(std::equal_to(), pProduct)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 >]' ../../include/loki/CachedFactory.h:785:22: required from here ../../include/loki/CachedFactory.h:508:76: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = AbstractProduct*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 508 | m_vKeys.erase(remove_if(m_vKeys.begin(), m_vKeys.end(), bind2nd(equal_to< DT >(), key)), m_vKeys.end()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /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 make[4]: Leaving directory '/build/libloki-0.1.7/test/CachedFactory' make[3]: Leaving directory '/build/libloki-0.1.7/test' make[2]: *** [Makefile:12: check] Error 2 make[2]: Leaving directory '/build/libloki-0.1.7' dh_auto_test: error: make -j8 check OS=Linux returned exit code 2 make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/libloki-0.1.7' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/libloki-0.1.7' dh_auto_install -- OS=Linux install prefix=/build/libloki-0.1.7/debian/tmp/usr make -j8 install DESTDIR=/build/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/libloki-0.1.7/debian/tmp/usr make[2]: Entering directory '/build/libloki-0.1.7' make -C src install-static make[3]: Entering directory '/build/libloki-0.1.7/src' mkdir -p /build/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.a /build/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified make[3]: Leaving directory '/build/libloki-0.1.7/src' make -C src install-shared make[3]: Entering directory '/build/libloki-0.1.7/src' mkdir -p /build/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.so.0.1.7 /build/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified cd /build/libloki-0.1.7/debian/tmp/usr/lib; ln -s libloki.so.0.1.7 libloki.so make[3]: Leaving directory '/build/libloki-0.1.7/src' make -C include install make[3]: Entering directory '/build/libloki-0.1.7/include' mkdir -p /build/libloki-0.1.7/debian/tmp/usr/include/loki mkdir -p /build/libloki-0.1.7/debian/tmp/usr/include/loki/flex mkdir -p /build/libloki-0.1.7/debian/tmp/usr/include/loki/yasli install -m 644 loki/*.h /build/libloki-0.1.7/debian/tmp/usr/include/loki install -m 644 loki/flex/*.h /build/libloki-0.1.7/debian/tmp/usr/include/loki/flex install -m 644 loki/yasli/*.h /build/libloki-0.1.7/debian/tmp/usr/include/loki/yasli make[3]: Leaving directory '/build/libloki-0.1.7/include' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/build/libloki-0.1.7' make[1]: Leaving directory '/build/libloki-0.1.7' dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums 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 '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) dpkg-source --after-build . 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/31276 and its subdirectories I: Current time: Tue Apr 11 01:24:08 +14 2023 I: pbuilder-time-stamp: 1681125848