I: pbuilder: network access will be disabled during build I: Current time: Mon Apr 17 10:06:33 +14 2023 I: pbuilder-time-stamp: 1681675594 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: using eatmydata during job 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/901/tmp/hooks/D01_modify_environment starting debug: Running on ionos2-i386. 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 '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Apr 17 10:07 /bin/sh -> /bin/bash 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/901/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/901/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' INVOCATION_ID=a1579c91714644309a5cf252a4be6da5 LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu 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 PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=901 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 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.pTpVlA3y/pbuilderrc_TtIt --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.pTpVlA3y/b2 --logfile b2/build.log --extrapackages usrmerge libloki_0.1.7-5.dsc' SUDO_GID=112 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://78.137.99.97:3128 I: uname -a Linux i-capture-the-hostname 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux I: ls -l /bin total 6036 -rwxr-xr-x 1 root root 1408088 Feb 13 10:21 bash -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash -rwxr-xr-x 1 root root 137160 Sep 21 2022 date -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd -rwxr-xr-x 1 root root 108940 Sep 21 2022 df -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep -rwxr-xr-x 1 root root 34664 Sep 21 2022 false -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd lrwxrwxrwx 1 root root 4 Feb 13 10:21 rbash -> bash -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir -rwxr-xr-x 1 root root 22308 Nov 3 06:31 run-parts -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed lrwxrwxrwx 1 root root 9 Apr 17 10:07 sh -> /bin/bash -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar -rwxr-xr-x 1 root root 13860 Nov 3 06:31 tempfile -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch -rwxr-xr-x 1 root root 34664 Sep 21 2022 true -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/901/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: i386 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 ... 19604 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 19.0 MB of archives. After unpacking 72.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main i386 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main i386 libmagic-mgc i386 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main i386 libmagic1 i386 1:5.44-3 [114 kB] Get: 4 http://deb.debian.org/debian bookworm/main i386 file i386 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main i386 gettext-base i386 0.21-12 [162 kB] Get: 6 http://deb.debian.org/debian bookworm/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main i386 groff-base i386 1.22.4-10 [932 kB] Get: 8 http://deb.debian.org/debian bookworm/main i386 bsdextrautils i386 2.38.1-5+b1 [90.3 kB] Get: 9 http://deb.debian.org/debian bookworm/main i386 libpipeline1 i386 1.5.7-1 [40.0 kB] Get: 10 http://deb.debian.org/debian bookworm/main i386 man-db i386 2.11.2-2 [1397 kB] Get: 11 http://deb.debian.org/debian bookworm/main i386 m4 i386 1.4.19-3 [294 kB] Get: 12 http://deb.debian.org/debian bookworm/main i386 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main i386 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main i386 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main i386 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main i386 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main i386 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main i386 libelf1 i386 0.188-2.1 [179 kB] Get: 24 http://deb.debian.org/debian bookworm/main i386 dwz i386 0.15-1 [118 kB] Get: 25 http://deb.debian.org/debian bookworm/main i386 libicu72 i386 72.1-3 [9541 kB] Get: 26 http://deb.debian.org/debian bookworm/main i386 libxml2 i386 2.9.14+dfsg-1.1+b3 [720 kB] Get: 27 http://deb.debian.org/debian bookworm/main i386 gettext i386 0.21-12 [1311 kB] Get: 28 http://deb.debian.org/debian bookworm/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main i386 debhelper all 13.11.4 [942 kB] Fetched 19.0 MB in 1s (34.6 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 ... 19604 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_i386.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../02-libmagic1_1%3a5.44-3_i386.deb ... Unpacking libmagic1:i386 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_i386.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_i386.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../05-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_i386.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_i386.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../08-libpipeline1_1.5.7-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_i386.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_i386.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:i386. Preparing to unpack .../22-libelf1_0.188-2.1_i386.deb ... Unpacking libelf1:i386 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_i386.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../24-libicu72_72.1-3_i386.deb ... Unpacking libicu72:i386 (72.1-3) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_i386.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:i386 (1.5.7-1) ... Setting up libicu72:i386 (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:i386 (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:i386 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:i386 (0.188-2.1) ... Setting up libxml2:i386 (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/901/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... removed '/etc/unsupported-skip-usrmerge-conversion' The system has been successfully converted. I: user script /srv/workspace/pbuilder/901/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known 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 i386 fakeroot debian/rules clean dh clean dh_auto_clean make -j7 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 -C DeletableSingleton clean make[3]: Entering directory '/build/libloki-0.1.7/test/CachedFactory' make -C Factory clean make[3]: Entering directory '/build/libloki-0.1.7/test/DeletableSingleton' make -C Function clean make[3]: Entering directory '/build/libloki-0.1.7/test/Factory' make -C LockingPtr clean make -C Longevity clean make -C OrderedStatic clean make[3]: Entering directory '/build/libloki-0.1.7/test/Function' make[3]: Entering directory '/build/libloki-0.1.7/test/LockingPtr' make[3]: Entering directory '/build/libloki-0.1.7/test/Longevity' make[3]: Entering directory '/build/libloki-0.1.7/test/OrderedStatic' 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 -R .shared-dep rm -f CachedFactoryTest rm -f DeletableSingleton rm -f CachedFactoryTest.o rm -f DeletableSingleton.o make[3]: Leaving directory '/build/libloki-0.1.7/test/CachedFactory' make -C Pimpl clean make[3]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' make -C Register clean rm -f Factory rm -f -R .static-dep rm -f Factory.o rm -f -R .static-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/Factory' make -C RegressionTest clean rm -f -R .shared-dep rm -f -R .shared-dep rm -f -R .static-dep rm -f -R .static-dep rm -f FunctionTest rm -f main rm -f FunctionTest.o rm -f -R .shared-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/Function' rm -f main.o make -C SafeFormat clean make[3]: Entering directory '/build/libloki-0.1.7/test/Pimpl' make[3]: Leaving directory '/build/libloki-0.1.7/test/LockingPtr' make -C ScopeGuard clean rm -f -R .shared-dep make[3]: Entering directory '/build/libloki-0.1.7/test/Register' rm -f main rm -f main.o rm -f main2 rm -f main2.o make[3]: Leaving directory '/build/libloki-0.1.7/test/Longevity' make -C Singleton clean make[3]: Entering directory '/build/libloki-0.1.7/test/RegressionTest' rm -f main rm -f main.o make[3]: Leaving directory '/build/libloki-0.1.7/test/OrderedStatic' make -C SingletonDll clean make[3]: Entering directory '/build/libloki-0.1.7/test/ScopeGuard' make[3]: Entering directory '/build/libloki-0.1.7/test/SafeFormat' make[3]: Entering directory '/build/libloki-0.1.7/test/Singleton' make[3]: Entering directory '/build/libloki-0.1.7/test/SingletonDll' rm -f -R .static-dep rm -f -R .static-dep rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .shared-dep rm -f -R .shared-dep rm -f main rm -f main.o rm -f main rm -f -R .static-dep rm -f -R .static-dep rm -f -R .static-dep rm -f Test rm -f -R .static-dep make[3]: Leaving directory '/build/libloki-0.1.7/test/Pimpl' rm -f -R .shared-dep rm -f main.o make -C SmallObj clean rm -f -R .shared-dep rm -f -R .shared-dep rm -f Test.o rm -f client rm -f client.o rm -f libfoo.so make[3]: Leaving directory '/build/libloki-0.1.7/test/RegressionTest' rm -f foo.lo rm -f libsingletondll.so rm -f singletondll.lo rm -f libfoo.a make[3]: Leaving directory '/build/libloki-0.1.7/test/SingletonDll' make -C SmartPtr clean rm -f -R .shared-dep rm -f Dependencies rm -f main make[3]: Entering directory '/build/libloki-0.1.7/test/SmallObj' rm -f Dependencies.o rm -f foo.o make -C Visitor clean make[3]: Entering directory '/build/libloki-0.1.7/test/SmartPtr' rm -f Phoenix make[3]: Leaving directory '/build/libloki-0.1.7/test/Register' rm -f main.o make[3]: Entering directory '/build/libloki-0.1.7/test/Visitor' make[3]: Leaving directory '/build/libloki-0.1.7/test/SafeFormat' rm -f Phoenix.o rm -f main make[3]: Leaving directory '/build/libloki-0.1.7/test/Singleton' rm -f main.o make[3]: Leaving directory '/build/libloki-0.1.7/test/ScopeGuard' rm -f -R .static-dep rm -f -R .shared-dep rm -f main rm -f main.o strong.o LockTest.o make[3]: Leaving 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 .shared-dep rm -f main rm -f SmallObjBench rm -f SmallObjBench.o rm -f SmallObjSingleton rm -f SmallObjSingleton.o make[3]: Leaving directory '/build/libloki-0.1.7/test/SmallObj' rm -f main.o 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' 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 -j7 "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 -C src build-shared make[3]: Entering directory '/build/libloki-0.1.7/src' 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 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 Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.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 Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep g++ -MM -MT SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-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 StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.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 SmallObj.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.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 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++ -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++ -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 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; | ^~~~~~~~ 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 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 ../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 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 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 ../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 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 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; | ^~~~~~~~ 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 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 | ^~~~~~~~~~~~~~~ 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 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; | ^~~~~~~~ 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 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; | ^~~~~~~~ make[3]: Leaving directory '/build/libloki-0.1.7/src' 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; | ^~~~~~~~ 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; | ^~~~~~~~ ../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/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 | ^~~~~~~~~~~~~~~ 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 -j7 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[4]: Entering directory '/build/libloki-0.1.7/test/DeletableSingleton' make -C Factory make -C 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 DeletableSingleton.o DeletableSingleton.cpp 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' 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[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 Longevity 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 OrderedStatic 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 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 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; | ^~~~~~~~ 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 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; | ^~~~~~~~ g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a ../../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: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 ../../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; | ^~~~~~~~ make[4]: Leaving directory '/build/libloki-0.1.7/test/DeletableSingleton' ../../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; | ^~~~~~~~ ../../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/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 | ^~~~~~~~~~~~~~~ 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/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 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 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) | ^~~~~~~ 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; | ^~~~~~~~ ../../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 | ^~~~~~~~~~~~~~ ../../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; | ^~~~~~~~ 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 ../../include/loki/SPCachedFactory.h:39, from CachedFactoryTest.cpp:393: ../../include/loki/SmartPtr.h:1768:18: warning: 'template 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 | ^~~~~~~~~~~~~~~ make[4]: *** [: 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 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 g++ -Wl,-z,relro -o main main.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) | ^~~~~~~ ../../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 main2 main2.o ../../lib/libloki.a make[4]: Leaving directory '/build/libloki-0.1.7/test/OrderedStatic' make[4]: Leaving directory '/build/libloki-0.1.7/test/Longevity' 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 -j7 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 -j7 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-dbgsym' in '../libloki0.1.7-dbgsym_0.1.7-5_i386.deb'. dpkg-deb: building package 'libloki0.1.7' in '../libloki0.1.7_0.1.7-5_i386.deb'. dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-5_i386.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-5_all.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-5_i386.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-5_i386.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/901/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/901/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/901 and its subdirectories I: Current time: Mon Apr 17 10:08:28 +14 2023 I: pbuilder-time-stamp: 1681675708