Running as unit: rb-build-amd64_20-68252.service; invocation ID: f3265ef882274599920bb4237b8e2f49 ==================================================================================== Fri Sep 19 14:42:26 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_amd64_20) on jenkins, called using "ionos15-amd64 ionos1-amd64" as arguments. Fri Sep 19 14:42:26 UTC 2025 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-uFZr1gG3" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Fri Sep 19 14:42:26 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Fri Sep 19 14:42:26 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-XVayDY' Fri Sep 19 14:42:28 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos1-amd64.debian.net is marked as down. Fri Sep 19 14:42:28 UTC 2025 - checking via ssh if ionos1-amd64.debian.net is up. removed '/tmp/read-only-fs-test-LuckCD' ok, let's check if libloki is building anywhere yet… ok, libloki is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of libloki in unstable on amd64 on jenkins now. 1st build will be done on ionos15-amd64.debian.net. 2nd build will be done on ionos1-amd64.debian.net. ============================================================================= Fri Sep 19 14:42:48 UTC 2025 I: starting to build libloki/unstable/amd64 on jenkins on '2025-09-19 14:42' Fri Sep 19 14:42:48 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_20/68252/console.log 1758292968 amd64 unstable libloki Fri Sep 19 14:42:48 UTC 2025 I: Downloading source for unstable/libloki=0.1.7-6 --2025-09-19 14:42:49-- http://deb.debian.org/debian/pool/main/libl/libloki/libloki_0.1.7-6.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1967 (1.9K) [text/prs.lines.tag] Saving to: ‘libloki_0.1.7-6.dsc’ 0K . 100% 222M=0s 2025-09-19 14:42:49 (222 MB/s) - ‘libloki_0.1.7-6.dsc’ saved [1967/1967] --2025-09-19 14:42:49-- http://deb.debian.org/debian/pool/main/libl/libloki/libloki_0.1.7-6.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1967 (1.9K) [text/prs.lines.tag] Saving to: ‘libloki_0.1.7-6.dsc’ 0K . 100% 222M=0s 2025-09-19 14:42:49 (222 MB/s) - ‘libloki_0.1.7-6.dsc’ saved [1967/1967] Fri Sep 19 14:42:49 UTC 2025 I: libloki_0.1.7-6.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: libloki Binary: libloki0.1.7t64, libloki-dev, libloki-doc Architecture: any all Version: 0.1.7-6 Maintainer: Debian QA Group Homepage: https://loki-lib.sourceforge.net/ Standards-Version: 4.7.0 Vcs-Browser: https://salsa.debian.org/debian/libloki Vcs-Git: https://salsa.debian.org/debian/libloki.git Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.22.5) Package-List: libloki-dev deb libdevel optional arch=any libloki-doc deb doc optional arch=all libloki0.1.7t64 deb libs optional arch=any Checksums-Sha1: 457e7d4e829f329e4f15106fbfe47e7a6b25d062 546329 libloki_0.1.7.orig.tar.gz 0e76022ed65b4ae4ce2ca0a496744e72e4ac7893 6076 libloki_0.1.7-6.debian.tar.xz Checksums-Sha256: 0c2094ce916b106731c8be61c32f538a22e1c0f8398bd5d6295b13d08e0c41a3 546329 libloki_0.1.7.orig.tar.gz 3af43a909920d1e7ecc5441284b1405ddda2dfc85be1e85f06046ba74d1efd64 6076 libloki_0.1.7-6.debian.tar.xz Files: af532c24a7f2e12d0829be8201934d92 546329 libloki_0.1.7.orig.tar.gz f50c2ed64a635ee4989c44c29ba7d5ac 6076 libloki_0.1.7-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmdAOWQACgkQgSgKoIe6 +w6Ydg//ahJZw5NEq+N3PycJNC9UdXLPJGMju/0Q7JM8JB8n9yz5QvyRT0XfpYN4 +PBrvQoDvlIiZB3XO4mUCyBh1W4uajPAkhWqcmH3Enk/AF1XW9lnE/gbtFpkxh44 Eaat1byIuCE6dD8jbNcpdDt8UtWzZC1wEcYATce7N8gSDwALdLTnzlc4Vlb6j4bC dX3mL+T18SlZw+Cz9ByLDbLifxsSaMANAtJynTtMqOztCg4PyrFOct/KYT+6u/ZL uS+SUyx+DU+9ZZJrt3KaXsD+nVDB9HXs1iuaDlVkb+2n6xFS1gHECSArBgKy18Ld NLX2J8utqTQ7syMQLXSUQ93BAn3IRwlpcNxV7znSMa6eu5RYc/EuFKBYVyH88a9r /iVXHz4pZxXcQn+uNOHc9Tc769WRQLmwLcDdoXnPIrxo7/aFH+muzaeaOY9kL5c3 hO/cEbGA55/I/1BvHZ5RpuhZz7bedXo0oK7xMcBGf/bdJcXWR4FmcMkep9ZthG7G elTCm09g1LyqAAEus+sdRGOD1xgQFW1c3rZOUo+Aq131UJ3xNLs26TVa322bXJWc +SgLqh8cxSkS8v37+r6pfW2PomOyZOX38ZX1ZFE8bkD/2KV2cR6D3z3OooomOsAx E+/aT4CgjZC2yiN5Bxu7ydaZXLUbhFLBDkRsGVp+hKHK0Gfgsq8= =46LM -----END PGP SIGNATURE----- Fri Sep 19 14:42:49 UTC 2025 I: Checking whether the package is not for us Fri Sep 19 14:42:49 UTC 2025 I: Starting 1st build on remote node ionos15-amd64.debian.net. Fri Sep 19 14:42:49 UTC 2025 I: Preparing to do remote build '1' on ionos15-amd64.debian.net. Fri Sep 19 14:42:49 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Fri Sep 19 14:42:49 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-jOtCxc' ==================================================================================== Thu Oct 22 21:05:49 UTC 2026 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos15-amd64, called using "1 libloki unstable /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN 0.1.7-6" as arguments. Thu Oct 22 21:05:49 UTC 2026 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-rL7Ll1Tm" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Thu Oct 22 21:05:49 UTC 2026 I: Downloading source for unstable/libloki=0.1.7-6 Reading package lists... NOTICE: 'libloki' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/libloki.git Please use: git clone https://salsa.debian.org/debian/libloki.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 554 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (dsc) [1967 B] Get:2 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (tar) [546 kB] Get:3 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (diff) [6076 B] Fetched 554 kB in 0s (11.1 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'libloki' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/libloki.git Please use: git clone https://salsa.debian.org/debian/libloki.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 554 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (dsc) [1967 B] Get:2 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (tar) [546 kB] Get:3 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (diff) [6076 B] Fetched 554 kB in 0s (11.1 MB/s) Download complete and in download only mode ============================================================================= Building libloki in unstable on amd64 on ionos15-amd64 now. Date: Thu Oct 22 21:05:49 UTC 2026 Date UTC: Thu Oct 22 21:05:49 UTC 2026 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Thu Oct 22 09:05:50 -12 2026 I: pbuilder-time-stamp: 1792703150 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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-6.dsc] I: copying [./libloki_0.1.7.orig.tar.gz] I: copying [./libloki_0.1.7-6.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./libloki_0.1.7-6.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-6.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/2566310/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='e9574907a20f4e82ac4d19a6750bd0c5' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2566310' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/pbuilderrc_HCoC --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1 --logfile b1/build.log libloki_0.1.7-6.dsc' SUDO_GID='111' SUDO_HOME='/var/lib/jenkins' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2566310/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: amd64 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-dev (>= 1.22.5) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19917 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} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{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, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 MB of archives. After unpacking 42.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.41.1-3 [100 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.20-1 [324 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 21 [12.2 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.16-2 [108 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2-16 amd64 2.14.5+dfsg-0.2 [638 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.26 [939 kB] Fetched 11.2 MB in 4s (2651 kB/s) Preconfiguring packages ... 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 ... 19917 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_amd64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_amd64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_amd64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-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 .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... 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... fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/libloki-0.1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libloki_0.1.7-6_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Petter Reinholdtsen dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j42 distclean make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src clean make[2]: Entering directory '/build/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make -C test clean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory clean make -C DeletableSingleton clean make -C Factory clean make -C Function clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' make -C LockingPtr clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' make -C Longevity clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Factory' make -C OrderedStatic clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' make -C Pimpl clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make -C Register clean make -C RegressionTest clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' make -C SafeFormat clean rm -f -R .static-dep make -C ScopeGuard clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' make -C Singleton clean rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make -C SingletonDll clean rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f -R .shared-dep make -C SmallObj clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f -R .static-dep make -C SmartPtr clean rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' make -C Visitor clean rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' rm -f -R .shared-dep rm -f CachedFactoryTest make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' rm -f DeletableSingleton rm -f -R .static-dep rm -f Factory make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .static-dep rm -f -R .static-dep rm -f CachedFactoryTest.o rm -f main rm -f FunctionTest rm -f DeletableSingleton.o rm -f -R .shared-dep rm -f -R .static-dep rm -f main rm -f Factory.o rm -f -R .shared-dep rm -f -R .static-dep rm -f main.o rm -f -R .shared-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' rm -f -R .static-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' rm -f -R .shared-dep rm -f main make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' rm -f -R .shared-dep rm -f main.o rm -f main rm -f -R .shared-dep rm -f -R .static-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' rm -f main rm -f -R .static-dep rm -f Test rm -f main.o rm -f FunctionTest.o rm -f -R .static-dep rm -f main.o rm -f main2 rm -f main rm -f Dependencies rm -f -R .shared-dep rm -f -R .shared-dep rm -f -R .shared-dep rm -f Test.o rm -f main.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' rm -f -R .shared-dep rm -f main2.o rm -f main.o rm -f -R .static-dep rm -f libfoo.a rm -f main rm -f main rm -f Dependencies.o rm -f SmallObjBench make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' rm -f main rm -f -R .shared-dep rm -f foo.o rm -f main.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f Phoenix rm -f main.o strong.o LockTest.o rm -f SmallObjBench.o rm -f client make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' rm -f main.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f Phoenix.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' rm -f SmallObjSingleton rm -f client.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' rm -f SmallObjSingleton.o rm -f libfoo.so make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f foo.lo rm -f libsingletondll.so rm -f singletondll.lo make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f -R .static-dep rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo rm -f -R .shared-dep rm -f ../lib/libloki.a rm -f ../lib/libloki.so.0.1.7 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_build -- OS=Linux build-static build-shared CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make -j42 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared "CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' 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++ -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 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 Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.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 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 SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT 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 Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.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 SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep 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++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 ar -rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' 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/reproducible-path/libloki-0.1.7/src' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test -- OS=Linux make -j42 check OS=Linux make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C test make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory make -C DeletableSingleton make -C Factory make -C Function make -C LockingPtr make -C Longevity make -C OrderedStatic make[4]: Entering directory '/build/reproducible-path/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 Pimpl make[4]: Entering directory '/build/reproducible-path/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 Register make[4]: Entering directory '/build/reproducible-path/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 RegressionTest make -C SafeFormat make[4]: Entering directory '/build/reproducible-path/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 ScopeGuard make[4]: Entering directory '/build/reproducible-path/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[4]: Entering directory '/build/reproducible-path/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 Singleton g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main2.o main2.cpp make[4]: Entering directory '/build/reproducible-path/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 -C SingletonDll make[4]: Entering directory '/build/reproducible-path/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 make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' 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 SmallObj 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 foo.o foo.cpp make -C SmartPtr make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' 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 Test.o Test.cpp make -C Visitor make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' 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[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' 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/reproducible-path/libloki-0.1.7/test/Singleton' 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 Dependencies.o Dependencies.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' 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 client.o client.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 Phoenix.o Phoenix.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' 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 SmallObjBench.o SmallObjBench.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 foo.lo foo.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' 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 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 singletondll.lo singletondll.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 strong.o strong.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' 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 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 LockTest.o LockTest.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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:22, from SmallObjBench.cpp:25: ../../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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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:22, from ../../include/loki/SmartPtr.h:33, from ../../include/loki/StrongPtr.h:20, from strong.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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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 LockTest.cpp:37: ../../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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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 singletondll.h:26, from client.cpp:28: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from main2.cpp:15: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr | ^~~~~~~~ In file included from /usr/include/c++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ --shared -fPIC -L../../lib -o libfoo.so foo.lo ../../lib/libloki.a In file included from ../../include/loki/SmallObj.h:23, from Dependencies.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from Phoenix.cpp:35: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Function.h:22, from Dependencies.cpp:19: ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from singletondll.h:26, from singletondll.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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ Dependencies.cpp: In function 'int main()': Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] 411 | void* p; | ^ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from SmallObjBench.cpp:26: timer.h: In member function 'void Timer::start()': timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 34 | t0 = clock(); | ~~~~~^~ timer.h: In member function 'void Timer::stop()': timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 39 | t1 = clock(); | ~~~~~^~ In file included from ../../include/loki/SmallObj.h:23, from SmallObjectTest.h:20, from Test.cpp:45: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ make[4]: *** [: main.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make[3]: *** [Makefile:12: LockingPtr] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../../include/loki/SmallObj.h:23, from SmallObjSingleton.cpp:17: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from Factory.cpp:17: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/SmartPtr.h:33, from main.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 LockTest.cpp:38: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 main.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:20: ../SmallObj/timer.h: In member function 'void Timer::start()': ../SmallObj/timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 34 | t0 = clock(); | ~~~~~^~ ../SmallObj/timer.h: In member function 'void Timer::stop()': ../SmallObj/timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 39 | t1 = clock(); | ~~~~~^~ ../../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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a g++ -Wl,-z,relro -o Phoenix Phoenix.o ../../lib/libloki.a 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a ../../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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ strong.cpp: In function 'void DoWeakLeakTest()': strong.cpp:329:24: warning: unused variable 'ctorCount' [-Wunused-variable] 329 | const unsigned int ctorCount = Counted::GetCtorCount(); | ^~~~~~~~~ strong.cpp:330:24: warning: unused variable 'dtorCount' [-Wunused-variable] 330 | const unsigned int dtorCount = Counted::GetDtorCount(); | ^~~~~~~~~ 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from main.cpp:16: /usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ ar -rv libfoo.a foo.o ar: creating libfoo.a a - foo.o main.cpp: In function 'void DoRefLinkSwapTests()': main.cpp:612:10: warning: variable 'merged' set but not used [-Wunused-but-set-variable] 612 | bool merged = false; | ^~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' main.cpp: In function 'int main(int, const char**)': main.cpp:1004:10: warning: variable 'doThreadTest' set but not used [-Wunused-but-set-variable] 1004 | bool doThreadTest = false; | ^~~~~~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from CachedFactoryTest.cpp:27: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from SmartPtrTest.h:20, from Test.cpp:54: ../../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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from UnitTest.h:19, from Test.cpp:31: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/SmartPtr.h: In instantiation of 'void Loki::DefaultSPStorage::Destroy() [with T = Thingy]': ../../include/loki/SmartPtr.h:1264:28: required from 'Loki::SmartPtr::~SmartPtr() [with T = Thingy; OwnershipPolicy = Loki::RefCounted; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::PropagateConst]' 1264 | SP::Destroy(); | ~~~~~~~~~~~^~ main.cpp:987:31: required from here 987 | Thingy_DefaultStorage_ptr p1; | ^~ ../../include/loki/SmartPtr.h:200:13: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete] 200 | delete pointee_; | ^~~~~~~~~~~~~~~ ../../include/loki/SmartPtr.h:200:20: warning: invalid use of incomplete type 'class Thingy' 200 | delete pointee_; | ^~~~~~~~ main.cpp:53:7: note: forward declaration of 'class Thingy' 53 | class Thingy; | ^~~~~~ ../../include/loki/SmartPtr.h:200:13: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined 200 | delete pointee_; | ^~~~~~~~~~~~~~~ ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ make[4]: *** [: SmallObjBench.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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++/15/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++/15/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++/15/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++/15/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++/15/functional:61, from FunctionTest.cpp:13: /usr/include/c++/15/bits/std_function.h:56:9: note: candidates are: 'class std::bad_function_call' 56 | 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 "< class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ LockTest.cpp: In function 'void DoLockedPtrTest()': LockTest.cpp:431:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 431 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp:439:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp: In function 'void DoLockedStorageTest()': LockTest.cpp:456:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp:463:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' In file included from Test.cpp:57: AbstractFactoryTest.h: In member function 'virtual void AbstractFactoryTest::execute(TestResult&)': AbstractFactoryTest.h:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from AbstractFactoryTest.h:21: ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:85:11: required from 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >' 85 | class OpNewFactoryUnit : public Base | ^~~~~~~~~~~~~~~~ ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:74:57: required from here 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySoldier; Base = Loki::AbstractFactory > > >; typename Base::ProductList::Head = Soldier; typename Base::ProductList = Loki::Typelist > >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillyMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:74:57: required from here 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillyMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' In file included from ../../include/loki/SPCachedFactory.h:39, from CachedFactoryTest.cpp:393: ../../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, | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:85:11: required from 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >' 85 | class OpNewFactoryUnit : public Base | ^~~~~~~~~~~~~~~~ ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:57: required from here 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSoldier; Base = Loki::AbstractFactory > > >; typename Base::ProductList::Head = Soldier; typename Base::ProductList = Loki::Typelist > >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:57: required from here 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' In file included from Test.cpp:60: AssocVectorTest.h: At global scope: AssocVectorTest.h:122:31: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 122 | struct str_less : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ AssocVectorTest.h: In function 'void test_vect2()': AssocVectorTest.h:262:45: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 262 | std::pair aux = vec21.insert(std::make_pair("xyz", 99)); | ^~~ AssocVectorTest.h: In function 'void test_vect4()': AssocVectorTest.h:321:28: warning: variable 'it' set but not used [-Wunused-but-set-variable] 321 | test_vect4_t::iterator it = vec41.find(AVTestClass(22)); | ^~ make[4]: *** [: LockTest.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [: strong.o] Error 1 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:252:40: required from here 252 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:257:26: required from here 257 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:262:26: required from here 262 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ make[4]: *** [: FunctionTest.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: *** [Makefile:12: Function] Error 2 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' 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 785 | virtual void remove(AbstractProduct * const pProduct) | ^~~~~~ ../../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++/15/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 >]' 760 | EP::onDestroy(pProduct); | ~~~~~~~~~~~~~^~~~~~~~~~ ../../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 >]' 799 | onDestroy(pProduct); // warning policies we are about to destroy an object | ^~~~~~~~~ ../../include/loki/CachedFactory.h:785:22: required from here 785 | virtual void remove(AbstractProduct * const pProduct) | ^~~~~~ ../../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++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' make[3]: *** [Makefile:12: SmallObj] Error 2 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo g++ -Wl,-z,relro -o Dependencies Dependencies.o ../../lib/libloki.a main.cpp: In function 'int main(int, char**)': main.cpp:173:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 173 | sprintf(buf, "%u", width); | ^~ main.cpp:173:30: note: directive argument in the range [0, 19200] 173 | sprintf(buf, "%u", width); | ^~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/15/cstdio:47, from ../../include/loki/SafeFormat.h:24, from main.cpp:15: In function 'int sprintf(char*, const char*, ...)', inlined from 'int main(int, char**)' at main.cpp:173:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:181:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 181 | sprintf(buf, "%u", prec); | ^~ main.cpp:181:30: note: directive argument in the range [0, 19200] 181 | sprintf(buf, "%u", prec); | ^~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int main(int, char**)' at main.cpp:181:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: *** [Makefile:12: SmartPtr] Error 2 g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' g++ -Wl,-z,relro -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' In file included from SmallObjectTest.h:170: In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:124:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:124:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:148:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:148:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:156:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:156:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:188:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:188:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:196:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:196:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o Test Test.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make[2]: *** [Makefile:12: check] Error 2 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test: error: make -j42 check OS=Linux returned exit code 2 make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_install -- OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make -j42 install DESTDIR=/build/reproducible-path/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src install-static make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.a /build/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make -C src install-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.so.0.1.7 /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified cd /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib; ln -s libloki.so.0.1.7 libloki.so make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C include install make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/include' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/flex mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/yasli install -m 644 loki/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki install -m 644 loki/flex/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/flex install -m 644 loki/yasli/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/yasli make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/include' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_install dh_installdocs dh_installchangelogs dh_lintian 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 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib64/ld-linux-x86-64.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libloki0.1.7t64-dbgsym' in '../libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-6_all.deb'. dpkg-deb: building package 'libloki0.1.7t64' in '../libloki0.1.7t64_0.1.7-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-6_amd64.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: 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/2566310 and its subdirectories I: Current time: Thu Oct 22 09:09:09 -12 2026 I: pbuilder-time-stamp: 1792703349 Thu Oct 22 21:09:09 UTC 2026 I: Signing ./b1/libloki_0.1.7-6_amd64.buildinfo as libloki_0.1.7-6_amd64.buildinfo.asc Thu Oct 22 21:09:09 UTC 2026 I: Signed ./b1/libloki_0.1.7-6_amd64.buildinfo as ./b1/libloki_0.1.7-6_amd64.buildinfo.asc Thu Oct 22 21:09:09 UTC 2026 - build #1 for libloki/unstable/amd64 on ionos15-amd64 done. Starting cleanup. All cleanup done. Thu Oct 22 21:09:09 UTC 2026 - reproducible_build.sh stopped running as /tmp/jenkins-script-rL7Ll1Tm, removing. /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN: total 16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:46 b1 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:42 b2 -rw-rw-r-- 1 jenkins jenkins 1967 Nov 22 2024 libloki_0.1.7-6.dsc -rw------- 1 jenkins jenkins 3072 Sep 19 14:42 rbuildlog.WyOdBMi /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1: total 636 -rw-r--r-- 1 jenkins jenkins 190641 Sep 19 14:46 build.log -rw-r--r-- 1 jenkins jenkins 131600 Sep 19 14:46 libloki-dev_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 93224 Sep 19 14:46 libloki-doc_0.1.7-6_all.deb -rw-r--r-- 1 jenkins jenkins 162204 Sep 19 14:46 libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 27688 Sep 19 14:46 libloki0.1.7t64_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 6076 Sep 19 14:46 libloki_0.1.7-6.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1967 Sep 19 14:46 libloki_0.1.7-6.dsc -rw-r--r-- 1 jenkins jenkins 5428 Sep 19 14:46 libloki_0.1.7-6_amd64.buildinfo -rw-rw-r-- 1 jenkins jenkins 6310 Sep 19 14:46 libloki_0.1.7-6_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 2580 Sep 19 14:46 libloki_0.1.7-6_amd64.changes -rw-r--r-- 1 jenkins jenkins 1678 Sep 19 14:46 libloki_0.1.7-6_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2: total 0 Fri Sep 19 14:46:09 UTC 2025 I: Deleting $TMPDIR on ionos15-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Oct 22 09:05:50 -12 2026 I: pbuilder-time-stamp: 1792703150 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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-6.dsc] I: copying [./libloki_0.1.7.orig.tar.gz] I: copying [./libloki_0.1.7-6.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./libloki_0.1.7-6.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-6.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/2566310/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='e9574907a20f4e82ac4d19a6750bd0c5' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2566310' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/pbuilderrc_HCoC --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1 --logfile b1/build.log libloki_0.1.7-6.dsc' SUDO_GID='111' SUDO_HOME='/var/lib/jenkins' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2566310/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: amd64 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-dev (>= 1.22.5) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19917 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} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{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, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 MB of archives. After unpacking 42.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.41.1-3 [100 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.20-1 [324 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 21 [12.2 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.16-2 [108 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2-16 amd64 2.14.5+dfsg-0.2 [638 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.26 [939 kB] Fetched 11.2 MB in 4s (2651 kB/s) Preconfiguring packages ... 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 ... 19917 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_amd64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_amd64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_amd64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-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 .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... 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... fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/reproducible-path/libloki-0.1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libloki_0.1.7-6_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Petter Reinholdtsen dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j42 distclean make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src clean make[2]: Entering directory '/build/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make -C test clean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory clean make -C DeletableSingleton clean make -C Factory clean make -C Function clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' make -C LockingPtr clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' make -C Longevity clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Factory' make -C OrderedStatic clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' make -C Pimpl clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make -C Register clean make -C RegressionTest clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' make -C SafeFormat clean rm -f -R .static-dep make -C ScopeGuard clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' make -C Singleton clean rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make -C SingletonDll clean rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f -R .shared-dep make -C SmallObj clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f -R .static-dep make -C SmartPtr clean rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' make -C Visitor clean rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' rm -f -R .shared-dep rm -f CachedFactoryTest make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' rm -f DeletableSingleton rm -f -R .static-dep rm -f Factory make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .static-dep rm -f -R .static-dep rm -f CachedFactoryTest.o rm -f main rm -f FunctionTest rm -f DeletableSingleton.o rm -f -R .shared-dep rm -f -R .static-dep rm -f main rm -f Factory.o rm -f -R .shared-dep rm -f -R .static-dep rm -f main.o rm -f -R .shared-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' rm -f -R .static-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' rm -f -R .shared-dep rm -f main make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' rm -f -R .shared-dep rm -f main.o rm -f main rm -f -R .shared-dep rm -f -R .static-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' rm -f main rm -f -R .static-dep rm -f Test rm -f main.o rm -f FunctionTest.o rm -f -R .static-dep rm -f main.o rm -f main2 rm -f main rm -f Dependencies rm -f -R .shared-dep rm -f -R .shared-dep rm -f -R .shared-dep rm -f Test.o rm -f main.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' rm -f -R .shared-dep rm -f main2.o rm -f main.o rm -f -R .static-dep rm -f libfoo.a rm -f main rm -f main rm -f Dependencies.o rm -f SmallObjBench make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' rm -f main rm -f -R .shared-dep rm -f foo.o rm -f main.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f Phoenix rm -f main.o strong.o LockTest.o rm -f SmallObjBench.o rm -f client make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' rm -f main.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f Phoenix.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' rm -f SmallObjSingleton rm -f client.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' rm -f SmallObjSingleton.o rm -f libfoo.so make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f foo.lo rm -f libsingletondll.so rm -f singletondll.lo make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f -R .static-dep rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo rm -f -R .shared-dep rm -f ../lib/libloki.a rm -f ../lib/libloki.so.0.1.7 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_build -- OS=Linux build-static build-shared CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make -j42 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared "CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' 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++ -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 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 Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.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 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 SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT 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 Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.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 SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep 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++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 ar -rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' 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/reproducible-path/libloki-0.1.7/src' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test -- OS=Linux make -j42 check OS=Linux make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C test make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory make -C DeletableSingleton make -C Factory make -C Function make -C LockingPtr make -C Longevity make -C OrderedStatic make[4]: Entering directory '/build/reproducible-path/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 Pimpl make[4]: Entering directory '/build/reproducible-path/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 Register make[4]: Entering directory '/build/reproducible-path/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 RegressionTest make -C SafeFormat make[4]: Entering directory '/build/reproducible-path/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 ScopeGuard make[4]: Entering directory '/build/reproducible-path/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[4]: Entering directory '/build/reproducible-path/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 Singleton g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main2.o main2.cpp make[4]: Entering directory '/build/reproducible-path/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 -C SingletonDll make[4]: Entering directory '/build/reproducible-path/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 make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' 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 SmallObj 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 foo.o foo.cpp make -C SmartPtr make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' 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 Test.o Test.cpp make -C Visitor make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' 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[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' 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/reproducible-path/libloki-0.1.7/test/Singleton' 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 Dependencies.o Dependencies.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' 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 client.o client.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 Phoenix.o Phoenix.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' 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 SmallObjBench.o SmallObjBench.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 foo.lo foo.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' 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 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 singletondll.lo singletondll.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 strong.o strong.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' 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 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 LockTest.o LockTest.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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:22, from SmallObjBench.cpp:25: ../../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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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:22, from ../../include/loki/SmartPtr.h:33, from ../../include/loki/StrongPtr.h:20, from strong.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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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 LockTest.cpp:37: ../../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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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 singletondll.h:26, from client.cpp:28: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from main2.cpp:15: ../../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr | ^~~~~~~~ In file included from /usr/include/c++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ --shared -fPIC -L../../lib -o libfoo.so foo.lo ../../lib/libloki.a In file included from ../../include/loki/SmallObj.h:23, from Dependencies.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from Phoenix.cpp:35: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Function.h:22, from Dependencies.cpp:19: ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from singletondll.h:26, from singletondll.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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ Dependencies.cpp: In function 'int main()': Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] 411 | void* p; | ^ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from SmallObjBench.cpp:26: timer.h: In member function 'void Timer::start()': timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 34 | t0 = clock(); | ~~~~~^~ timer.h: In member function 'void Timer::stop()': timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 39 | t1 = clock(); | ~~~~~^~ In file included from ../../include/loki/SmallObj.h:23, from SmallObjectTest.h:20, from Test.cpp:45: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ make[4]: *** [: main.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make[3]: *** [Makefile:12: LockingPtr] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../../include/loki/SmallObj.h:23, from SmallObjSingleton.cpp:17: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from Factory.cpp:17: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/SmartPtr.h:33, from main.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 LockTest.cpp:38: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 main.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from main.cpp:20: ../SmallObj/timer.h: In member function 'void Timer::start()': ../SmallObj/timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 34 | t0 = clock(); | ~~~~~^~ ../SmallObj/timer.h: In member function 'void Timer::stop()': ../SmallObj/timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 39 | t1 = clock(); | ~~~~~^~ ../../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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a g++ -Wl,-z,relro -o Phoenix Phoenix.o ../../lib/libloki.a 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a ../../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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ strong.cpp: In function 'void DoWeakLeakTest()': strong.cpp:329:24: warning: unused variable 'ctorCount' [-Wunused-variable] 329 | const unsigned int ctorCount = Counted::GetCtorCount(); | ^~~~~~~~~ strong.cpp:330:24: warning: unused variable 'dtorCount' [-Wunused-variable] 330 | const unsigned int dtorCount = Counted::GetDtorCount(); | ^~~~~~~~~ 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from main.cpp:16: /usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ ar -rv libfoo.a foo.o ar: creating libfoo.a a - foo.o main.cpp: In function 'void DoRefLinkSwapTests()': main.cpp:612:10: warning: variable 'merged' set but not used [-Wunused-but-set-variable] 612 | bool merged = false; | ^~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' main.cpp: In function 'int main(int, const char**)': main.cpp:1004:10: warning: variable 'doThreadTest' set but not used [-Wunused-but-set-variable] 1004 | bool doThreadTest = false; | ^~~~~~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from CachedFactoryTest.cpp:27: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from SmartPtrTest.h:20, from Test.cpp:54: ../../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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from UnitTest.h:19, from Test.cpp:31: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/SmartPtr.h: In instantiation of 'void Loki::DefaultSPStorage::Destroy() [with T = Thingy]': ../../include/loki/SmartPtr.h:1264:28: required from 'Loki::SmartPtr::~SmartPtr() [with T = Thingy; OwnershipPolicy = Loki::RefCounted; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::PropagateConst]' 1264 | SP::Destroy(); | ~~~~~~~~~~~^~ main.cpp:987:31: required from here 987 | Thingy_DefaultStorage_ptr p1; | ^~ ../../include/loki/SmartPtr.h:200:13: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete] 200 | delete pointee_; | ^~~~~~~~~~~~~~~ ../../include/loki/SmartPtr.h:200:20: warning: invalid use of incomplete type 'class Thingy' 200 | delete pointee_; | ^~~~~~~~ main.cpp:53:7: note: forward declaration of 'class Thingy' 53 | class Thingy; | ^~~~~~ ../../include/loki/SmartPtr.h:200:13: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined 200 | delete pointee_; | ^~~~~~~~~~~~~~~ ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ make[4]: *** [: SmallObjBench.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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++/15/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++/15/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++/15/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++/15/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++/15/functional:61, from FunctionTest.cpp:13: /usr/include/c++/15/bits/std_function.h:56:9: note: candidates are: 'class std::bad_function_call' 56 | 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 "< class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1250 | Functor(std::auto_ptr spImpl) : spImpl_(spImpl) | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ LockTest.cpp: In function 'void DoLockedPtrTest()': LockTest.cpp:431:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 431 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp:439:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp: In function 'void DoLockedStorageTest()': LockTest.cpp:456:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp:463:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' In file included from Test.cpp:57: AbstractFactoryTest.h: In member function 'virtual void AbstractFactoryTest::execute(TestResult&)': AbstractFactoryTest.h:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from AbstractFactoryTest.h:21: ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:85:11: required from 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >' 85 | class OpNewFactoryUnit : public Base | ^~~~~~~~~~~~~~~~ ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:74:57: required from here 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySoldier; Base = Loki::AbstractFactory > > >; typename Base::ProductList::Head = Soldier; typename Base::ProductList = Loki::Typelist > >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillyMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:74:57: required from here 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillyMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' In file included from ../../include/loki/SPCachedFactory.h:39, from CachedFactoryTest.cpp:393: ../../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, | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:85:11: required from 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >' 85 | class OpNewFactoryUnit : public Base | ^~~~~~~~~~~~~~~~ ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:57: required from here 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSoldier; Base = Loki::AbstractFactory > > >; typename Base::ProductList::Head = Soldier; typename Base::ProductList = Loki::Typelist > >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:57: required from here 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' In file included from Test.cpp:60: AssocVectorTest.h: At global scope: AssocVectorTest.h:122:31: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 122 | struct str_less : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ AssocVectorTest.h: In function 'void test_vect2()': AssocVectorTest.h:262:45: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 262 | std::pair aux = vec21.insert(std::make_pair("xyz", 99)); | ^~~ AssocVectorTest.h: In function 'void test_vect4()': AssocVectorTest.h:321:28: warning: variable 'it' set but not used [-Wunused-but-set-variable] 321 | test_vect4_t::iterator it = vec41.find(AVTestClass(22)); | ^~ make[4]: *** [: LockTest.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [: strong.o] Error 1 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:252:40: required from here 252 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:257:26: required from here 257 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:262:26: required from here 262 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ make[4]: *** [: FunctionTest.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: *** [Makefile:12: Function] Error 2 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' 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 785 | virtual void remove(AbstractProduct * const pProduct) | ^~~~~~ ../../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++/15/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 >]' 760 | EP::onDestroy(pProduct); | ~~~~~~~~~~~~~^~~~~~~~~~ ../../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 >]' 799 | onDestroy(pProduct); // warning policies we are about to destroy an object | ^~~~~~~~~ ../../include/loki/CachedFactory.h:785:22: required from here 785 | virtual void remove(AbstractProduct * const pProduct) | ^~~~~~ ../../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++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' make[3]: *** [Makefile:12: SmallObj] Error 2 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo g++ -Wl,-z,relro -o Dependencies Dependencies.o ../../lib/libloki.a main.cpp: In function 'int main(int, char**)': main.cpp:173:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 173 | sprintf(buf, "%u", width); | ^~ main.cpp:173:30: note: directive argument in the range [0, 19200] 173 | sprintf(buf, "%u", width); | ^~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/15/cstdio:47, from ../../include/loki/SafeFormat.h:24, from main.cpp:15: In function 'int sprintf(char*, const char*, ...)', inlined from 'int main(int, char**)' at main.cpp:173:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:181:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 181 | sprintf(buf, "%u", prec); | ^~ main.cpp:181:30: note: directive argument in the range [0, 19200] 181 | sprintf(buf, "%u", prec); | ^~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int main(int, char**)' at main.cpp:181:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: *** [Makefile:12: SmartPtr] Error 2 g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' g++ -Wl,-z,relro -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' In file included from SmallObjectTest.h:170: In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:124:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:124:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:148:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:148:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:156:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:156:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:188:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:188:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:196:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:196:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o Test Test.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make[2]: *** [Makefile:12: check] Error 2 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test: error: make -j42 check OS=Linux returned exit code 2 make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_install -- OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make -j42 install DESTDIR=/build/reproducible-path/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src install-static make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.a /build/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make -C src install-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.so.0.1.7 /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified cd /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib; ln -s libloki.so.0.1.7 libloki.so make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C include install make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/include' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/flex mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/yasli install -m 644 loki/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki install -m 644 loki/flex/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/flex install -m 644 loki/yasli/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/yasli make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/include' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_install dh_installdocs dh_installchangelogs dh_lintian 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 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib64/ld-linux-x86-64.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libloki0.1.7t64-dbgsym' in '../libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-6_all.deb'. dpkg-deb: building package 'libloki0.1.7t64' in '../libloki0.1.7t64_0.1.7-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-6_amd64.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: 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/2566310 and its subdirectories I: Current time: Thu Oct 22 09:09:09 -12 2026 I: pbuilder-time-stamp: 1792703349 Fri Sep 19 14:46:10 UTC 2025 I: 1st build successful. Starting 2nd build on remote node ionos1-amd64.debian.net. Fri Sep 19 14:46:10 UTC 2025 I: Preparing to do remote build '2' on ionos1-amd64.debian.net. Fri Sep 19 14:46:10 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos1-amd64.debian.net is marked as down. Fri Sep 19 14:46:10 UTC 2025 - checking via ssh if ionos1-amd64.debian.net is up. removed '/tmp/read-only-fs-test-Zl3ZAG' ==================================================================================== Fri Sep 19 14:46:10 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos1-amd64, called using "2 libloki unstable /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN 0.1.7-6" as arguments. Fri Sep 19 14:46:10 UTC 2025 - actually running "reproducible_build.sh" (md5sum cc591790ab2c8e13f5e554202b95c89c) as "/tmp/jenkins-script-Vh1e5x3O" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Fri Sep 19 14:46:10 UTC 2025 I: Downloading source for unstable/libloki=0.1.7-6 Reading package lists... NOTICE: 'libloki' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/libloki.git Please use: git clone https://salsa.debian.org/debian/libloki.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 554 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (dsc) [1967 B] Get:2 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (tar) [546 kB] Get:3 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (diff) [6076 B] Fetched 554 kB in 0s (7071 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'libloki' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/libloki.git Please use: git clone https://salsa.debian.org/debian/libloki.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 554 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (dsc) [1967 B] Get:2 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (tar) [546 kB] Get:3 http://deb.debian.org/debian unstable/main libloki 0.1.7-6 (diff) [6076 B] Fetched 554 kB in 0s (7071 kB/s) Download complete and in download only mode ============================================================================= Re-Building libloki in unstable on amd64 on ionos1-amd64 now. Date: Fri Sep 19 14:46:11 UTC 2025 Date UTC: Fri Sep 19 14:46:11 UTC 2025 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/pbuilderrc_Ewos + case ${ARCH} in + case $ARCH in + locale=et_EE + language=et + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' libloki = debian-installer -o libloki = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' libloki = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo 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.cihGuugN/pbuilderrc_Ewos --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2 --logfile b2/build.log libloki_0.1.7-6.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Sat Sep 20 04:46:11 +14 2025 I: pbuilder-time-stamp: 1758293171 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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-6.dsc] I: copying [./libloki_0.1.7.orig.tar.gz] I: copying [./libloki_0.1.7-6.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./libloki_0.1.7-6.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-6.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/3573897/tmp/hooks/D01_modify_environment starting debug: Running on ionos1-amd64. 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 Sep 19 14:46 /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/3573897/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/3573897/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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.3.3(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=efc23f59ff1849d5907f734ea389aed2 LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-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=3573897 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.cihGuugN/pbuilderrc_Ewos --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2 --logfile b2/build.log libloki_0.1.7-6.dsc' SUDO_GID=110 SUDO_HOME=/var/lib/jenkins SUDO_UID=105 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://46.16.76.132:3128 I: uname -a Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3573897/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: amd64 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-dev (>= 1.22.5) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19917 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} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{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, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 MB of archives. After unpacking 42.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.41.1-3 [100 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.20-1 [324 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 21 [12.2 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.16-2 [108 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2-16 amd64 2.14.5+dfsg-0.2 [638 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.26 [939 kB] Fetched 11.2 MB in 0s (43.6 MB/s) Preconfiguring packages ... 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 ... 19917 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_amd64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_amd64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_amd64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_21_all.deb ... Unpacking dh-autoreconf (21) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-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 .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (21) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... 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... fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Petter Reinholdtsen dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j40 distclean make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src clean make[2]: Entering directory '/build/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make -C test clean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' rm -f -R .static-dep rm -f -R .shared-dep rm -f CachedFactoryTest rm -f CachedFactoryTest.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' make -C DeletableSingleton clean make -C Factory clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Factory' make -C Function clean make -C LockingPtr clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' make -C Longevity clean rm -f -R .static-dep rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make -C OrderedStatic clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' rm -f -R .shared-dep rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' rm -f DeletableSingleton make -C Pimpl clean make -C Register clean rm -f FunctionTest rm -f Factory make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' rm -f -R .static-dep rm -f DeletableSingleton.o make -C RegressionTest clean make -C SafeFormat clean rm -f FunctionTest.o rm -f Factory.o make -C ScopeGuard clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' make -C Singleton clean rm -f -R .shared-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' rm -f -R .static-dep rm -f -R .static-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' make -C SingletonDll clean rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f -R .static-dep rm -f main rm -f main rm -f -R .static-dep rm -f main.o rm -f main2 make -C SmallObj clean make -C SmartPtr clean rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' rm -f main2.o rm -f main.o rm -f -R .static-dep rm -f -R .static-dep rm -f -R .static-dep rm -f -R .shared-dep rm -f main make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' make -C Visitor clean rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' rm -f -R .static-dep rm -f -R .shared-dep rm -f -R .shared-dep rm -f main.o make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' rm -f -R .static-dep rm -f -R .shared-dep rm -f main rm -f -R .shared-dep rm -f main rm -f Dependencies rm -f main rm -f -R .static-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' rm -f Test rm -f main rm -f -R .shared-dep rm -f main.o rm -f main rm -f Test.o rm -f main.o rm -f Dependencies.o rm -f main.o rm -f -R .static-dep rm -f -R .shared-dep rm -f main.o strong.o LockTest.o rm -f main.o rm -f -R .shared-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' rm -f libfoo.a rm -f client make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f -R .static-dep rm -f Phoenix rm -f SmallObjBench rm -f -R .shared-dep make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' rm -f client.o rm -f main rm -f foo.o rm -f SmallObjBench.o rm -f libfoo.so rm -f main.o rm -f Phoenix.o rm -f foo.lo rm -f SmallObjSingleton make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' rm -f SmallObjSingleton.o rm -f libsingletondll.so make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f singletondll.lo make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make -C src distclean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' rm -f LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o rm -f -R .static-dep rm -f LevelMutex.lo OrderedStatic.lo SafeFormat.lo Singleton.lo SmallObj.lo SmartPtr.lo StrongPtr.lo rm -f -R .shared-dep rm -f ../lib/libloki.a rm -f ../lib/libloki.so.0.1.7 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_build -- OS=Linux build-static build-shared CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make -j40 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared "CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' 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++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.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.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.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.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep g++ -MM -MT SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.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 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 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 StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep g++ -MM -MT SmallObj.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep g++ -MM -MT SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-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 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 SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o StrongPtr.o StrongPtr.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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/reproducible-path/libloki-0.1.7/src' 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/reproducible-path/libloki-0.1.7/src' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test -- OS=Linux make -j40 check OS=Linux make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C test make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory make -C DeletableSingleton make[4]: Entering directory '/build/reproducible-path/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/reproducible-path/libloki-0.1.7/test/DeletableSingleton' make -C 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 DeletableSingleton.o DeletableSingleton.cpp make -C Function make[4]: Entering directory '/build/reproducible-path/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[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' make -C LockingPtr make -C Longevity make -C 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 FunctionTest.o FunctionTest.cpp make -C Pimpl make -C Register make -C RegressionTest make[4]: Entering directory '/build/reproducible-path/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/reproducible-path/libloki-0.1.7/test/Longevity' make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' make[4]: Entering directory '/build/reproducible-path/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 make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make -C SafeFormat 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 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 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 foo.o foo.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 Test.o Test.cpp make -C ScopeGuard make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' make -C Singleton make -C SingletonDll make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' 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 Dependencies.o Dependencies.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make -C SmallObj make -C SmartPtr 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 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 Phoenix.o Phoenix.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 client.o client.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 foo.lo foo.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' make -C Visitor 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 SmallObjBench.o SmallObjBench.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' 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 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 singletondll.lo singletondll.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' 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 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 strong.o strong.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 LockTest.o LockTest.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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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:22, from ../../include/loki/SmartPtr.h:33, from ../../include/loki/StrongPtr.h:20, from strong.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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 254 | 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 LockTest.cpp:37: ../../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' [-Wtemplate-body] 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::ClassLevelLockable::AtomicAssign(IntType&, const volatile IntType&)': ../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-Wtemplate-body] 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/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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:22, from SmallObjBench.cpp:25: ../../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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 262 | return lval; \ | ^~~~ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from SmallObjSingleton.cpp:17: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from singletondll.h:26, from client.cpp:28: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from CachedFactoryTest.cpp:27: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/bits/stl_function.h:1441: /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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++/15/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++/15/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++/15/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++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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) | ^~~~~~~~ In file included from Phoenix.cpp:35: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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] 111 | : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from Factory.cpp:17: /usr/include/c++/15/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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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' [-Wtemplate-body] 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 main.cpp:20: ../SmallObj/timer.h: In member function 'void Timer::start()': ../SmallObj/timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 34 | t0 = clock(); | ~~~~~^~ ../SmallObj/timer.h: In member function 'void Timer::stop()': ../SmallObj/timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 39 | t1 = clock(); | ~~~~~^~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, from main.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SPCachedFactory.h:39, from CachedFactoryTest.cpp:393: ../../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, | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from singletondll.h:26, from singletondll.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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from Dependencies.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 LockTest.cpp:38: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from main.cpp:16: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/Function.h:22, from Dependencies.cpp:19: ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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_; | ^~~~~~~~ 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 | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/c++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:252:40: required from here 252 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:257:26: required from here 257 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ 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]' 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:262:26: required from here 262 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 204 | CC.Register(i, createProductNull); | ^ ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from SmallObjectTest.h:20, from Test.cpp:45: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ -Wl,-z,relro -o Phoenix Phoenix.o ../../lib/libloki.a Dependencies.cpp: In function 'int main()': Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] 411 | void* p; | ^ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/functional:61, from FunctionTest.cpp:13: /usr/include/c++/15/bits/std_function.h:56:9: note: candidates are: 'class std::bad_function_call' 56 | 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 | ^~~~~~~~~~~~~~~~~ g++ --shared -fPIC -L../../lib -o libfoo.so foo.lo ../../lib/libloki.a g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/SmartPtr.h:33, from main.cpp:18: ../../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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/string:51, from /usr/include/c++/15/stdexcept:41, from ../../include/loki/Singleton.h:24: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/15/memory:80, from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ g++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a make[4]: *** [: FunctionTest.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: *** [Makefile:12: Function] Error 2 make[3]: *** Waiting for unfinished jobs.... main.cpp: In function 'void DoRefLinkSwapTests()': main.cpp:612:10: warning: variable 'merged' set but not used [-Wunused-but-set-variable] 612 | bool merged = false; | ^~~~~~ main.cpp: In function 'int main(int, const char**)': main.cpp:1004:10: warning: variable 'doThreadTest' set but not used [-Wunused-but-set-variable] 1004 | bool doThreadTest = false; | ^~~~~~~~~~~~ ar -rv libfoo.a foo.o g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: *** [: main.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make[3]: *** [Makefile:12: LockingPtr] Error 2 ar: creating libfoo.a a - foo.o ../../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 785 | virtual void remove(AbstractProduct * const pProduct) | ^~~~~~ ../../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++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/SmartPtr.h: In instantiation of 'void Loki::DefaultSPStorage::Destroy() [with T = Thingy]': ../../include/loki/SmartPtr.h:1264:28: required from 'Loki::SmartPtr::~SmartPtr() [with T = Thingy; OwnershipPolicy = Loki::RefCounted; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::PropagateConst]' 1264 | SP::Destroy(); | ~~~~~~~~~~~^~ main.cpp:987:31: required from here 987 | Thingy_DefaultStorage_ptr p1; | ^~ ../../include/loki/SmartPtr.h:200:13: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete] 200 | delete pointee_; | ^~~~~~~~~~~~~~~ ../../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 >]' 760 | EP::onDestroy(pProduct); | ~~~~~~~~~~~~~^~~~~~~~~~ ../../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 >]' 799 | onDestroy(pProduct); // warning policies we are about to destroy an object | ^~~~~~~~~ ../../include/loki/CachedFactory.h:785:22: required from here 785 | virtual void remove(AbstractProduct * const pProduct) | ^~~~~~ ../../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()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/SmartPtr.h:200:20: warning: invalid use of incomplete type 'class Thingy' 200 | delete pointee_; | ^~~~~~~~ main.cpp:53:7: note: forward declaration of 'class Thingy' 53 | class Thingy; | ^~~~~~ /usr/include/c++/15/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../include/loki/SmartPtr.h:200:13: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined 200 | delete pointee_; | ^~~~~~~~~~~~~~~ strong.cpp: In function 'void DoWeakLeakTest()': strong.cpp:329:24: warning: unused variable 'ctorCount' [-Wunused-variable] 329 | const unsigned int ctorCount = Counted::GetCtorCount(); | ^~~~~~~~~ strong.cpp:330:24: warning: unused variable 'dtorCount' [-Wunused-variable] 330 | const unsigned int dtorCount = Counted::GetDtorCount(); | ^~~~~~~~~ In file included from SmartPtrTest.h:20, from Test.cpp:54: ../../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++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/bits/ostream.h:43, from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from UnitTest.h:19, from Test.cpp:31: /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from SmallObjBench.cpp:26: timer.h: In member function 'void Timer::start()': timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 34 | t0 = clock(); | ~~~~~^~ timer.h: In member function 'void Timer::stop()': timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] 39 | t1 = clock(); | ~~~~~^~ g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a In file included from ../../include/loki/Factory.h:20, from FactoryTest.h:19, from Test.cpp:55: ../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' In file included from Test.cpp:57: AbstractFactoryTest.h: In member function 'virtual void AbstractFactoryTest::execute(TestResult&)': AbstractFactoryTest.h:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ In file included from AbstractFactoryTest.h:21: ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:85:11: required from 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >' 85 | class OpNewFactoryUnit : public Base | ^~~~~~~~~~~~~~~~ ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:74:57: required from here 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySoldier; Base = Loki::AbstractFactory > > >; typename Base::ProductList::Head = Soldier; typename Base::ProductList = Loki::Typelist > >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillyMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:74:57: required from here 74 | std::auto_ptr easyFactory(new EasyLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillyMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' AbstractFactoryTest.h:75:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:85:11: required from 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >' 85 | class OpNewFactoryUnit : public Base | ^~~~~~~~~~~~~~~~ ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:57: required from here 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSoldier; Base = Loki::AbstractFactory > > >; typename Base::ProductList::Head = Soldier; typename Base::ProductList = Loki::Typelist > >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' ../../include/loki/AbstractFactory.h: In instantiation of 'class Loki::OpNewFactoryUnit >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > > >': ../../include/loki/HierarchyGenerators.h:259:11: required from 'class Loki::GenLinearHierarchy > >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >' 259 | class GenLinearHierarchy, Unit, Root> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:172:11: required from 'class Loki::ConcreteFactory > > >, Loki::OpNewFactoryUnit, Loki::Typelist > > >' 172 | class ConcreteFactory | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:57: required from here 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~~~~~~~~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: warning: 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadMonster; Base = Loki::GenLinearHierarchy, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = Monster; typename Base::ProductList = Loki::Typelist >]' was hidden [-Woverloaded-virtual=] 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' g++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll In file included from Test.cpp:60: AssocVectorTest.h: At global scope: AssocVectorTest.h:122:31: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 122 | struct str_less : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ AssocVectorTest.h: In function 'void test_vect2()': AssocVectorTest.h:262:45: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 262 | std::pair aux = vec21.insert(std::make_pair("xyz", 99)); | ^~~ LockTest.cpp: In function 'void DoLockedPtrTest()': LockTest.cpp:431:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 431 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp:439:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp: In function 'void DoLockedStorageTest()': LockTest.cpp:456:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ LockTest.cpp:463:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | ::system( "pause" ); | ~~~~~~~~^~~~~~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' AssocVectorTest.h: In function 'void test_vect4()': AssocVectorTest.h:321:28: warning: variable 'it' set but not used [-Wunused-but-set-variable] 321 | test_vect4_t::iterator it = vec41.find(AVTestClass(22)); | ^~ make[4]: *** [: strong.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [: LockTest.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' g++ -Wl,-z,relro -o SmallObjSingleton SmallObjSingleton.o ../../lib/libloki.a g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a make[4]: *** [: SmallObjBench.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' make[3]: *** [Makefile:12: SmallObj] Error 2 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a main.cpp: In function 'int main(int, char**)': main.cpp:173:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 173 | sprintf(buf, "%u", width); | ^~ main.cpp:173:30: note: directive argument in the range [0, 19200] 173 | sprintf(buf, "%u", width); | ^~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/15/cstdio:47, from ../../include/loki/SafeFormat.h:24, from main.cpp:15: In function 'int sprintf(char*, const char*, ...)', inlined from 'int main(int, char**)' at main.cpp:173:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:181:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 181 | sprintf(buf, "%u", prec); | ^~ main.cpp:181:30: note: directive argument in the range [0, 19200] 181 | sprintf(buf, "%u", prec); | ^~~~ In function 'int sprintf(char*, const char*, ...)', inlined from 'int main(int, char**)' at main.cpp:181:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 6 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: *** [Makefile:12: SmartPtr] Error 2 g++ -Wl,-z,relro -o Dependencies Dependencies.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' g++ -Wl,-z,relro -o CachedFactoryTest CachedFactoryTest.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' In file included from SmallObjectTest.h:170: In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:38: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:116:25: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:124:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:124:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:132:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::AssertCheckStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:140:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:148:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:148:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:156:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStatic; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:156:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:164:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNull; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:172:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:180:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:188:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::RejectNullStrict; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:188:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:196:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::AllowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:196:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ In function 'void Loki::DefaultDeallocator(void*)', inlined from 'void Loki::SmallObjAllocator::Deallocate(void*, std::size_t)' at ../../src/SmallObj.cpp:1149:27, inlined from 'static void Loki::SmallObjectBase::operator delete(void*, std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' at ../../include/loki/SmallObj.h:489:56, inlined from 'bool Loki::RefCountedMTAdj::RefCountedMT

::Release(const P&) [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]' at ../../include/loki/SmartPtr.h:547:86, inlined from 'Loki::SmartPtr::~SmartPtr() [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1262:28, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:29: ../../src/SmallObj.cpp:1054:16: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1054 | ::std::free( p ); | ~~~~~~~~~~~^~~~~ In constructor 'Loki::RefCountedMTAdj::RefCountedMT

::RefCountedMT() [with P = TestClass*; ThreadingModel = Loki::SingleThreaded; MX = Loki::Mutex]', inlined from 'Loki::SmartPtr::SmartPtr(ImplicitArg) [with T = TestClass; OwnershipPolicy = Loki::RefCountedMTAdj::RefCountedMT; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::NoCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::DontPropagateConst]' at ../../include/loki/SmartPtr.h:1168:39, inlined from 'virtual void SmartPtrTest::execute(TestResult&)' at SmartPtrTest.h:204:26: ../../include/loki/SmartPtr.h:518:83: note: returned from 'static void* Loki::SmallObjectBase::operator new(std::size_t) [with ThreadingModel = Loki::SingleThreaded; long unsigned int chunkSize = 4096; long unsigned int maxSmallObjectSize = 256; long unsigned int objectAlignSize = 4; LifetimePolicy = Loki::LongevityLifetime::DieAsSmallObjectParent; MutexPolicy = Loki::Mutex]' 518 | SmallObject::operator new( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 519 | sizeof(*pCount_))); | ~~~~~~~~~~~~~~~~~ g++ -Wl,-z,relro -o Test Test.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make[2]: *** [Makefile:12: check] Error 2 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test: error: make -j40 check OS=Linux returned exit code 2 make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_install -- OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make -j40 install DESTDIR=/build/reproducible-path/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src install-static make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.a /build/reproducible-path/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/reproducible-path/libloki-0.1.7/src' make -C src install-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install --strip-program=true -m 644 ../lib/libloki.so.0.1.7 /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib install: WARNING: ignoring --strip-program option as -s option was not specified cd /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/lib; ln -s libloki.so.0.1.7 libloki.so make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' make -C include install make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/include' mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/flex mkdir -p /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/yasli install -m 644 loki/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki install -m 644 loki/flex/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/flex install -m 644 loki/yasli/*.h /build/reproducible-path/libloki-0.1.7/debian/tmp/usr/include/loki/yasli make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/include' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' dh_install dh_installdocs dh_installchangelogs dh_lintian 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 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib64/ld-linux-x86-64.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libloki0.1.7t64-dbgsym' in '../libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki0.1.7t64' in '../libloki0.1.7t64_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-6_all.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-6_amd64.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/3573897/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/3573897/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/3573897 and its subdirectories I: Current time: Sat Sep 20 04:48:51 +14 2025 I: pbuilder-time-stamp: 1758293331 + false + set +x Fri Sep 19 14:48:51 UTC 2025 I: Signing ./b2/libloki_0.1.7-6_amd64.buildinfo as libloki_0.1.7-6_amd64.buildinfo.asc Fri Sep 19 14:48:51 UTC 2025 I: Signed ./b2/libloki_0.1.7-6_amd64.buildinfo as ./b2/libloki_0.1.7-6_amd64.buildinfo.asc Fri Sep 19 14:48:51 UTC 2025 - build #2 for libloki/unstable/amd64 on ionos1-amd64 done. Starting cleanup. All cleanup done. Fri Sep 19 14:48:51 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-Vh1e5x3O, removing. /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN: total 208 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:46 b1 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:48 b2 -rw-rw-r-- 1 jenkins jenkins 1967 Nov 22 2024 libloki_0.1.7-6.dsc -rw------- 1 jenkins jenkins 194000 Sep 19 14:46 rbuildlog.WyOdBMi /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1: total 652 -rw-r--r-- 1 jenkins jenkins 190641 Sep 19 14:46 build.log -rw-r--r-- 1 jenkins jenkins 131600 Sep 19 14:46 libloki-dev_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 93224 Sep 19 14:46 libloki-doc_0.1.7-6_all.deb -rw-r--r-- 1 jenkins jenkins 162204 Sep 19 14:46 libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 27688 Sep 19 14:46 libloki0.1.7t64_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 6076 Sep 19 14:46 libloki_0.1.7-6.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1967 Sep 19 14:46 libloki_0.1.7-6.dsc -rw-r--r-- 1 jenkins jenkins 5428 Sep 19 14:46 libloki_0.1.7-6_amd64.buildinfo -rw-rw-r-- 1 jenkins jenkins 6310 Sep 19 14:46 libloki_0.1.7-6_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 2580 Sep 19 14:46 libloki_0.1.7-6_amd64.changes -rw-r--r-- 1 jenkins jenkins 1678 Sep 19 14:46 libloki_0.1.7-6_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2: total 640 -rw-rw-r-- 1 jenkins jenkins 192599 Sep 19 14:48 build.log -rw-r--r-- 1 jenkins jenkins 131600 Sep 19 14:48 libloki-dev_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 93224 Sep 19 14:48 libloki-doc_0.1.7-6_all.deb -rw-r--r-- 1 jenkins jenkins 162204 Sep 19 14:48 libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 27688 Sep 19 14:48 libloki0.1.7t64_0.1.7-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 6076 Sep 19 14:48 libloki_0.1.7-6.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1967 Sep 19 14:48 libloki_0.1.7-6.dsc -rw-rw-r-- 1 jenkins jenkins 5428 Sep 19 14:48 libloki_0.1.7-6_amd64.buildinfo -rw-rw-r-- 1 jenkins jenkins 6310 Sep 19 14:48 libloki_0.1.7-6_amd64.buildinfo.asc -rw-rw-r-- 1 jenkins jenkins 2580 Sep 19 14:48 libloki_0.1.7-6_amd64.changes -rw-rw-r-- 1 jenkins jenkins 1678 Sep 19 14:48 libloki_0.1.7-6_source.changes Fri Sep 19 14:48:52 UTC 2025 I: Deleting $TMPDIR on ionos1-amd64.debian.net. Fri Sep 19 14:48:52 UTC 2025 I: libloki_0.1.7-6_amd64.changes: Format: 1.8 Date: Fri, 22 Nov 2024 08:56:15 +0100 Source: libloki Binary: libloki-dev libloki-doc libloki0.1.7t64 libloki0.1.7t64-dbgsym Architecture: amd64 all Version: 0.1.7-6 Distribution: unstable Urgency: medium Maintainer: Debian QA Group Changed-By: Petter Reinholdtsen Description: libloki-dev - C++ library of generic design patterns (development files) libloki-doc - C++ library of generic design patterns (documentation) libloki0.1.7t64 - C++ library of generic design patterns Closes: 865527 1014559 Changes: libloki (0.1.7-6) unstable; urgency=medium . * QA upload. . [ Petter Reinholdtsen ] * New uploading using new ABI (Closes: #865527). * Added d/gbp.conf to describe branch layout. * Updated vcs in d/control to Salsa. * Updated d/gbp.conf to enforce the use of pristine-tar. * Updated Standards-Version from 3.9.2 to 4.7.0. * Use wrap-and-sort -at for debian control files. * Update watch file format version to 4. * Marked libloki-doc as multi-arch: foreign. . [ Vagrant Cascadian ] * debian/rules: Explicitly pass CXXFLAGS to dh_auto_build (Closes: #1014559). Checksums-Sha1: 5b465d164d5c0f82ca74ad3d8b44b62a7767d63b 131600 libloki-dev_0.1.7-6_amd64.deb 5b5f07c6c8b0433ad131ae7c607857fabcc462e9 93224 libloki-doc_0.1.7-6_all.deb baf8b178af9c5b00e1f4e43497b9c30dd93c6ceb 162204 libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb b88f2dd85a7fc5262f5010d403a163e0367ceee5 27688 libloki0.1.7t64_0.1.7-6_amd64.deb c4dabb30072ff8eaffab049d01159d509fca6df3 5428 libloki_0.1.7-6_amd64.buildinfo Checksums-Sha256: 11aa9eeb6715743d6e99269f51318c561f345eecc5d038d06b758a73fcc82e89 131600 libloki-dev_0.1.7-6_amd64.deb 76e262484e881bb8b1396c65021a2e9b0e1967dd9d0a2e17b9eafe09e23af886 93224 libloki-doc_0.1.7-6_all.deb 7ef2723af29b00852a097c6bd21d429ca8e521d1a471b4db39f9ca20f15414ca 162204 libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb a51c2deb30cbdd1dca3ad49f72c962be8215d89ad8ef9cc69eeb82b4ed5f2450 27688 libloki0.1.7t64_0.1.7-6_amd64.deb 3b1aa92d51391cd2d83265d0cac98bebe2f38a4425d7e0cea14d49bec52d4c39 5428 libloki_0.1.7-6_amd64.buildinfo Files: 6c8031e939c406f19c150fc30db8b662 131600 libdevel optional libloki-dev_0.1.7-6_amd64.deb a457cb8fa2b30783a6ef6b9976e856c1 93224 doc optional libloki-doc_0.1.7-6_all.deb a61becb91182d272437b91a1b693028f 162204 debug optional libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb 63a0a69da090e432cbb4338dadf86bc8 27688 libs optional libloki0.1.7t64_0.1.7-6_amd64.deb de5bf4724fb105305a2828e2b08d82ae 5428 libs optional libloki_0.1.7-6_amd64.buildinfo removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libloki_0.1.7-6.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libloki_0.1.7-6.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libloki_0.1.7-6.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libloki_0.1.7-6.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/unstable/amd64/libloki_0.1.7-6_amd64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libloki_0.1.7-6.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2025-09-19 14:46:09.920879803 +0000 +++ b2/build.log 2025-09-19 14:48:52.365093409 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 22 09:05:50 -12 2026 -I: pbuilder-time-stamp: 1792703150 +I: Current time: Sat Sep 20 04:46:11 +14 2025 +I: pbuilder-time-stamp: 1758293171 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,53 +25,85 @@ dpkg-source: info: applying gcc-11.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2566310/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 Sep 19 14:46 /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/3573897/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='e9574907a20f4e82ac4d19a6750bd0c5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2566310' - PS1='# ' - PS2='> ' + INVOCATION_ID=efc23f59ff1849d5907f734ea389aed2 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=3573897 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/pbuilderrc_HCoC --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1 --logfile b1/build.log libloki_0.1.7-6.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.cihGuugN/pbuilderrc_Ewos --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2 --logfile b2/build.log libloki_0.1.7-6.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2566310/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -136,7 +168,7 @@ Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.26 [939 kB] -Fetched 11.2 MB in 4s (2651 kB/s) +Fetched 11.2 MB in 0s (43.6 MB/s) Preconfiguring packages ... 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 ... 19917 files and directories currently installed.) @@ -272,7 +304,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/libloki-0.1.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libloki_0.1.7-6_source.changes +I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package libloki dpkg-buildpackage: info: source version 0.1.7-6 dpkg-buildpackage: info: source distribution unstable @@ -282,7 +318,7 @@ debian/rules clean dh clean dh_auto_clean - make -j42 distclean + make -j40 distclean make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src clean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' @@ -292,134 +328,134 @@ make -C test clean make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory clean +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' +rm -f -R .static-dep +rm -f -R .shared-dep +rm -f CachedFactoryTest +rm -f CachedFactoryTest.o +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' make -C DeletableSingleton clean make -C Factory clean +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Factory' make -C Function clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' make -C LockingPtr clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' make -C Longevity clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Factory' +rm -f -R .static-dep +rm -f -R .static-dep +rm -f -R .shared-dep +rm -f -R .static-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make -C OrderedStatic clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' +rm -f -R .shared-dep +rm -f -R .shared-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' +rm -f DeletableSingleton make -C Pimpl clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' make -C Register clean -make -C RegressionTest clean -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' +rm -f FunctionTest +rm -f Factory make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' -make -C SafeFormat clean rm -f -R .static-dep +rm -f DeletableSingleton.o +make -C RegressionTest clean +make -C SafeFormat clean +rm -f FunctionTest.o +rm -f Factory.o make -C ScopeGuard clean make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' make -C Singleton clean -rm -f -R .static-dep +rm -f -R .shared-dep +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' -make -C SingletonDll clean +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' rm -f -R .static-dep -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' -rm -f -R .shared-dep -make -C SmallObj clean +rm -f -R .static-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' +make -C SingletonDll clean +rm -f -R .shared-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' rm -f -R .static-dep -make -C SmartPtr clean +rm -f main +rm -f main rm -f -R .static-dep -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' -make -C Visitor clean +rm -f main.o +rm -f main2 +make -C SmallObj clean +make -C SmartPtr clean rm -f -R .shared-dep make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' -rm -f -R .shared-dep -rm -f CachedFactoryTest -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' +rm -f main2.o +rm -f main.o rm -f -R .static-dep -rm -f -R .shared-dep -rm -f -R .shared-dep -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' -rm -f DeletableSingleton rm -f -R .static-dep -rm -f Factory -make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' rm -f -R .static-dep rm -f -R .shared-dep -rm -f -R .static-dep -rm -f -R .static-dep -rm -f CachedFactoryTest.o rm -f main -rm -f FunctionTest -rm -f DeletableSingleton.o +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' +make -C Visitor clean rm -f -R .shared-dep +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' rm -f -R .static-dep -rm -f main -rm -f Factory.o rm -f -R .shared-dep -rm -f -R .static-dep -rm -f main.o rm -f -R .shared-dep -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/CachedFactory' +rm -f main.o +make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' rm -f -R .static-dep -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' rm -f -R .shared-dep rm -f main -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' rm -f -R .shared-dep -rm -f main.o rm -f main -rm -f -R .shared-dep -rm -f -R .static-dep -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' +rm -f Dependencies rm -f main rm -f -R .static-dep +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' rm -f Test -rm -f main.o -rm -f FunctionTest.o -rm -f -R .static-dep -rm -f main.o -rm -f main2 rm -f main -rm -f Dependencies -rm -f -R .shared-dep -rm -f -R .shared-dep rm -f -R .shared-dep +rm -f main.o +rm -f main rm -f Test.o rm -f main.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' -rm -f -R .shared-dep -rm -f main2.o +rm -f Dependencies.o rm -f main.o rm -f -R .static-dep +rm -f -R .shared-dep +rm -f main.o strong.o LockTest.o +rm -f main.o +rm -f -R .shared-dep +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' rm -f libfoo.a -rm -f main -rm -f main -rm -f Dependencies.o +rm -f client +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' +rm -f -R .static-dep +rm -f Phoenix rm -f SmallObjBench +rm -f -R .shared-dep +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' +rm -f client.o rm -f main -rm -f -R .shared-dep rm -f foo.o -rm -f main.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' -rm -f Phoenix -rm -f main.o strong.o LockTest.o rm -f SmallObjBench.o -rm -f client -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' +rm -f libfoo.so rm -f main.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' rm -f Phoenix.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' +rm -f foo.lo rm -f SmallObjSingleton -rm -f client.o +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' rm -f SmallObjSingleton.o -rm -f libfoo.so -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' -rm -f foo.lo rm -f libsingletondll.so +make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' rm -f singletondll.lo make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' @@ -442,7 +478,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_build -- OS=Linux build-static build-shared CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" - make -j42 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared "CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" + make -j40 "INSTALL=install --strip-program=true" OS=Linux build-static build-shared "CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static make -C src build-shared @@ -450,56 +486,46 @@ make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' 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++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.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.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.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.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.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 Singleton.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.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 SafeFormat.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.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 SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep -g++ -MM -MT SmartPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.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 StrongPtr.o -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep -g++ -MM -MT LevelMutex.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep -g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep -g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT SafeFormat.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep g++ -MM -MT Singleton.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep +g++ -MM -MT OrderedStatic.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.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 SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep +g++ -MM -MT StrongPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG StrongPtr.cpp > .shared-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 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 SmartPtr.lo -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep 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++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp -g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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++/15/memory:80, - from ../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | template class auto_ptr; - | ^~~~~~~~ +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o Singleton.lo Singleton.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp +g++ -c -g -O2 -ffile-prefix-map=/build/reproducible-path/libloki-0.1.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, from SmartPtr.cpp:20: @@ -512,8 +538,7 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from ../include/loki/SmallObj.h:23, - from SmallObj.cpp:19: +In file included from Singleton.cpp:19: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -524,9 +549,7 @@ 58 | 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: + 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 @@ -536,8 +559,17 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from ../include/loki/SmallObj.h:23, - from SmallObj.cpp:19: +../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++/15/string:51, + from /usr/include/c++/15/stdexcept:41, + from ../include/loki/Singleton.h:24: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +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 @@ -549,8 +581,7 @@ | ^~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from ../include/loki/StrongPtr.h:20, - from StrongPtr.cpp:16: + from SmartPtr.cpp:20: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -560,9 +591,20 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, + from /usr/include/c++/15/stdexcept:41, + from ../include/loki/Singleton.h:24: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from ../include/loki/SmallObj.h:23, from ../include/loki/SmartPtr.h:33, - from SmartPtr.cpp:20: + from ../include/loki/StrongPtr.h:20, + from StrongPtr.cpp:16: ../include/loki/Singleton.h: In function 'void Loki::SetLongevity(T*, unsigned int, Destroyer)': ../include/loki/Singleton.h:158:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 158 | std::auto_ptr @@ -572,7 +614,8 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from Singleton.cpp:19: +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 @@ -582,8 +625,10 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from ../include/loki/OrderedStatic.h:22, - from OrderedStatic.cpp:16: +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 @@ -603,16 +648,6 @@ /usr/include/c++/15/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++/15/string:51, - from /usr/include/c++/15/stdexcept:41, - from ../include/loki/Singleton.h:24: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ @@ -629,22 +664,23 @@ /usr/include/c++/15/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++/15/string:51, - from /usr/include/c++/15/stdexcept:41, - from ../include/loki/Singleton.h:24: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 1681 | : public binary_function< | ^~~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +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++/15/memory:80, + from ../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ 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)': @@ -656,9 +692,7 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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 ar -rv ../lib/libloki.a LevelMutex.o OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o StrongPtr.o -make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' ar: creating ../lib/libloki.a a - LevelMutex.o a - OrderedStatic.o @@ -668,18 +702,20 @@ a - SmartPtr.o a - StrongPtr.o make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' +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/reproducible-path/libloki-0.1.7/src' make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_test -- OS=Linux - make -j42 check OS=Linux + make -j40 check OS=Linux make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src build-static -make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-static'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' +make -C src build-shared make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' make[3]: Nothing to be done for 'build-shared'. make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/src' @@ -687,62 +723,62 @@ make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/test' make -C CachedFactory make -C DeletableSingleton -make -C Factory -make -C Function -make -C LockingPtr -make -C Longevity -make -C OrderedStatic make[4]: Entering directory '/build/reproducible-path/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 Pimpl make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +make -C 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 DeletableSingleton.o DeletableSingleton.cpp -make -C Register +make -C Function make[4]: Entering directory '/build/reproducible-path/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 RegressionTest -make -C SafeFormat make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Function' +make -C LockingPtr +make -C Longevity +make -C 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 FunctionTest.o FunctionTest.cpp -make -C ScopeGuard -make[4]: Entering directory '/build/reproducible-path/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 -C Register +make -C RegressionTest make[4]: Entering directory '/build/reproducible-path/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 Singleton -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main2.o main2.cpp +make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' +make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[4]: Entering directory '/build/reproducible-path/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 -C SingletonDll make[4]: Entering directory '/build/reproducible-path/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 -make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Register' +make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp -make -C SmallObj +make -C SafeFormat +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 +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 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 foo.o foo.cpp -make -C SmartPtr -make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/RegressionTest' 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 Test.o Test.cpp -make -C Visitor +make -C ScopeGuard make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' -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 Singleton +make -C SingletonDll make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' -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/reproducible-path/libloki-0.1.7/test/Singleton' 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 Dependencies.o Dependencies.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o main.o main.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' -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 client.o client.cpp +make -C SmallObj +make -C SmartPtr +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 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 Phoenix.o Phoenix.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 client.o client.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 foo.lo foo.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' +make -C Visitor 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 SmallObjBench.o SmallObjBench.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 foo.lo foo.cpp -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' 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 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 singletondll.lo singletondll.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 strong.o strong.cpp +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -fexpensive-optimizations -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -c -o SmallObjSingleton.o SmallObjSingleton.cpp make[4]: Entering directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' 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 +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 strong.o strong.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 LockTest.o LockTest.cpp In file included from Thread.h:17, from main.cpp:22: @@ -786,8 +822,16 @@ ../../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:22, - from SmallObjBench.cpp:25: + from ../../include/loki/SmartPtr.h:33, + from ../../include/loki/StrongPtr.h:20, + from strong.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); | ^~~ @@ -821,23 +865,7 @@ ../../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' [-Wtemplate-body] - 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:22, - from ../../include/loki/SmartPtr.h:33, - from ../../include/loki/StrongPtr.h:20, - from strong.cpp:22: +In file included from LockTest.cpp:37: ../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ @@ -857,6 +885,13 @@ ../../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(IntType&, const volatile IntType&)': +../../include/loki/Threads.h:262:20: error: return-statement with a value, in function returning 'void' [-Wtemplate-body] + 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/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' [-Wtemplate-body] 262 | return lval; \ @@ -878,7 +913,8 @@ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from LockTest.cpp:37: +In file included from ../../include/loki/SmallObj.h:22, + from SmallObjBench.cpp:25: ../../include/loki/Threads.h:190:57: warning: unnecessary parentheses in declaration of 'mtx_' [-Wparentheses] 190 | #define LOKI_THREADS_MUTEX(x) pthread_mutex_t (x); | ^~~ @@ -919,8 +955,18 @@ ../../include/loki/Threads.h:590:9: note: in expansion of macro 'LOKI_THREADS_ATOMIC_FUNCTIONS' 590 | LOKI_THREADS_ATOMIC_FUNCTIONS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from singletondll.h:26, - from client.cpp:28: +In file included from ../../include/loki/SmallObj.h:23, + from SmallObjSingleton.cpp:17: +../../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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | 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 @@ -932,7 +978,8 @@ | ^~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, - from main.cpp:22: + 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 @@ -955,16 +1002,6 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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_; | ^~~~~~~~ @@ -992,7 +1029,8 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from main2.cpp:15: +In file included from singletondll.h:26, + from client.cpp:28: ../../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 @@ -1002,9 +1040,59 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -g++ --shared -fPIC -L../../lib -o libfoo.so foo.lo ../../lib/libloki.a +In file included from ../../include/loki/Factory.h:21: +../../include/loki/AssocVector.h: At global scope: +../../include/loki/AssocVector.h:111:27: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 111 | : public std::binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/15/string:51, + from /usr/include/c++/15/bits/locale_classes.h:42, + from /usr/include/c++/15/bits/ios_base.h:43, + from /usr/include/c++/15/ios:46, + from /usr/include/c++/15/bits/ostream.h:43, + from /usr/include/c++/15/ostream:42, + from /usr/include/c++/15/iostream:43, + from CachedFactoryTest.cpp:27: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +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++/15/bits/stl_function.h:1441: +/usr/include/c++/15/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../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++/15/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++/15/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++/15/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++/15/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from ../../include/loki/SmallObj.h:23, - from Dependencies.cpp:18: + 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 @@ -1014,7 +1102,10 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from DeletableSingleton.cpp:29: +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 @@ -1024,6 +1115,10 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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) + | ^~~~~~~~ In file included from Phoenix.cpp:35: ../../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] @@ -1034,12 +1129,6 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from ../../include/loki/Function.h:22, - from Dependencies.cpp:19: -../../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++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ @@ -1069,17 +1158,6 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from singletondll.h:26, - from singletondll.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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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( @@ -1087,44 +1165,6 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -Dependencies.cpp: In function 'int main()': -Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] - 411 | void* p; - | ^ -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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | template class auto_ptr; - | ^~~~~~~~ -In file included from SmallObjBench.cpp:26: -timer.h: In member function 'void Timer::start()': -timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 34 | t0 = clock(); - | ~~~~~^~ -timer.h: In member function 'void Timer::stop()': -timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 39 | t1 = clock(); - | ~~~~~^~ -In file included from ../../include/loki/SmallObj.h:23, - from SmallObjectTest.h:20, - from Test.cpp:45: -../../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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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) @@ -1165,31 +1205,10 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -make[4]: *** [: main.o] Error 1 -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' -make[3]: *** [Makefile:12: LockingPtr] Error 2 -make[3]: *** Waiting for unfinished jobs.... -In file included from ../../include/loki/SmallObj.h:23, - from SmallObjSingleton.cpp:17: -../../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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | template class auto_ptr; - | ^~~~~~~~ -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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | template class auto_ptr; - | ^~~~~~~~ +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] @@ -1206,43 +1225,59 @@ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../include/loki/SmallObj.h:23, - from ../../include/loki/SmartPtr.h:33, - from main.cpp:18: -../../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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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 LockTest.cpp:38: -../../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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | template class auto_ptr; - | ^~~~~~~~ -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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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' [-Wtemplate-body] + 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' [-Wtemplate-body] + 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' [-Wtemplate-body] + 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' [-Wtemplate-body] + 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 main.cpp:20: +../SmallObj/timer.h: In member function 'void Timer::start()': +../SmallObj/timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 34 | t0 = clock(); + | ~~~~~^~ +../SmallObj/timer.h: In member function 'void Timer::stop()': +../SmallObj/timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 39 | t1 = clock(); + | ~~~~~^~ In file included from ../../include/loki/SmallObj.h:23, from ../../include/loki/Functor.h:24, from ../../include/loki/Factory.h:20, @@ -1256,32 +1291,15 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ +In file included from ../../include/loki/SPCachedFactory.h:39, + from CachedFactoryTest.cpp:393: ../../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++/15/string:51, - from /usr/include/c++/15/stdexcept:41, - from ../../include/loki/Singleton.h:24: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1681 | : public binary_function< - | ^~~~~~~~~~~~~~~ /usr/include/c++/15/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++/15/memory:80, - from ../../include/loki/Singleton.h:30: -/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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) @@ -1322,33 +1340,19 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -In file included from main.cpp:20: -../SmallObj/timer.h: In member function 'void Timer::start()': -../SmallObj/timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 34 | t0 = clock(); - | ~~~~~^~ -../SmallObj/timer.h: In member function 'void Timer::stop()': -../SmallObj/timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 39 | t1 = clock(); - | ~~~~~^~ -../../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++/15/string:51, - from /usr/include/c++/15/stdexcept:41, - from ../../include/loki/Singleton.h:24: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a -g++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a -g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a -g++ -Wl,-z,relro -o Phoenix Phoenix.o ../../lib/libloki.a +In file included from singletondll.h:26, + from singletondll.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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | 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: + from Dependencies.cpp:18: ../../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 @@ -1358,87 +1362,28 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a -../../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++/15/string:51, - from /usr/include/c++/15/stdexcept:41, - from ../../include/loki/Singleton.h:24: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 1681 | : public binary_function< - | ^~~~~~~~~~~~~~~ -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -strong.cpp: In function 'void DoWeakLeakTest()': -strong.cpp:329:24: warning: unused variable 'ctorCount' [-Wunused-variable] - 329 | const unsigned int ctorCount = Counted::GetCtorCount(); - | ^~~~~~~~~ -strong.cpp:330:24: warning: unused variable 'dtorCount' [-Wunused-variable] - 330 | const unsigned int dtorCount = Counted::GetDtorCount(); - | ^~~~~~~~~ -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' [-Wtemplate-body] - 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' [-Wtemplate-body] - 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' [-Wtemplate-body] - 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' [-Wtemplate-body] - 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/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++/15/string:51, - from /usr/include/c++/15/stdexcept:41, - from ../../include/loki/Singleton.h:24: -/usr/include/c++/15/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; +In file included from ../../include/loki/SmallObj.h:23, + from ../../include/loki/SmartPtr.h:33, + from ../../include/loki/StrongPtr.h:20, + from LockTest.cpp:38: +../../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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ +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++/15/memory:80, + from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ @@ -1458,6 +1403,18 @@ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ +In file included from ../../include/loki/Function.h:22, + from Dependencies.cpp:19: ../../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) @@ -1474,6 +1431,16 @@ ../../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_; | ^~~~~~~~ +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 + | ^~~~~~~~ +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ +In file included from /usr/include/c++/15/memory:80, + from ../../include/loki/Singleton.h:30: /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ @@ -1491,13 +1458,6 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/unique_ptr.h:58:28: note: declared here - 58 | 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( @@ -1505,19 +1465,7 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -ar -rv libfoo.a foo.o -ar: creating libfoo.a -a - foo.o -main.cpp: In function 'void DoRefLinkSwapTests()': -main.cpp:612:10: warning: variable 'merged' set but not used [-Wunused-but-set-variable] - 612 | bool merged = false; - | ^~~~~~ -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' -main.cpp: In function 'int main(int, const char**)': -main.cpp:1004:10: warning: variable 'doThreadTest' set but not used [-Wunused-but-set-variable] - 1004 | bool doThreadTest = false; - | ^~~~~~~~~~~~ -In file included from ../../include/loki/SmallObj.h:23: +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 @@ -1527,59 +1475,6 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/string:51, - from /usr/include/c++/15/bits/locale_classes.h:42, - from /usr/include/c++/15/bits/ios_base.h:43, - from /usr/include/c++/15/ios:46, - from /usr/include/c++/15/bits/ostream.h:43, - from /usr/include/c++/15/ostream:42, - from /usr/include/c++/15/iostream:43, - from CachedFactoryTest.cpp:27: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from SmartPtrTest.h:20, - from Test.cpp:54: -../../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++/15/string:51, - from /usr/include/c++/15/bits/locale_classes.h:42, - from /usr/include/c++/15/bits/ios_base.h:43, - from /usr/include/c++/15/ios:46, - from /usr/include/c++/15/bits/ostream.h:43, - from /usr/include/c++/15/ostream:42, - from /usr/include/c++/15/iostream:43, - from UnitTest.h:19, - from Test.cpp:31: -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../include/loki/SmartPtr.h: In instantiation of 'void Loki::DefaultSPStorage::Destroy() [with T = Thingy]': -../../include/loki/SmartPtr.h:1264:28: required from 'Loki::SmartPtr::~SmartPtr() [with T = Thingy; OwnershipPolicy = Loki::RefCounted; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::PropagateConst]' - 1264 | SP::Destroy(); - | ~~~~~~~~~~~^~ -main.cpp:987:31: required from here - 987 | Thingy_DefaultStorage_ptr p1; - | ^~ -../../include/loki/SmartPtr.h:200:13: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete] - 200 | delete pointee_; - | ^~~~~~~~~~~~~~~ -../../include/loki/SmartPtr.h:200:20: warning: invalid use of incomplete type 'class Thingy' - 200 | delete pointee_; - | ^~~~~~~~ -main.cpp:53:7: note: forward declaration of 'class Thingy' - 53 | class Thingy; - | ^~~~~~ -../../include/loki/SmartPtr.h:200:13: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined - 200 | delete pointee_; - | ^~~~~~~~~~~~~~~ ../../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) @@ -1593,8 +1488,16 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ -make[4]: *** [: SmallObjBench.o] Error 1 -make[4]: *** Waiting for unfinished jobs.... +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]' + 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CachedFactoryTest.cpp:252:40: required from here + 252 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 204 | CC.Register(i, createProductNull); + | ^ ../../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_; | ^~~~~~~~ @@ -1608,6 +1511,16 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ +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]' + 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CachedFactoryTest.cpp:257:26: required from here + 257 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 204 | CC.Register(i, createProductNull); + | ^ ../../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( @@ -1615,6 +1528,16 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | template class auto_ptr; | ^~~~~~~~ +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]' + 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CachedFactoryTest.cpp:262:26: required from here + 262 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 204 | CC.Register(i, createProductNull); + | ^ ../../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( @@ -1622,40 +1545,33 @@ /usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here 58 | 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++/15/bits/stl_function.h:1441: -/usr/include/c++/15/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../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++/15/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++/15/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++/15/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++/15/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ +In file included from ../../include/loki/SmallObj.h:23, + from SmallObjectTest.h:20, + from Test.cpp:45: +../../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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ +g++ -Wl,-z,relro -o Phoenix Phoenix.o ../../lib/libloki.a +Dependencies.cpp: In function 'int main()': +Dependencies.cpp:411:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] + 411 | void* p; + | ^ +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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | 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) @@ -1672,10 +1588,196 @@ ../../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 "< class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 158 | std::auto_ptr + | ^~~~~~~~ +In file included from /usr/include/c++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | 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++/15/string:51, + from /usr/include/c++/15/stdexcept:41, + from ../../include/loki/Singleton.h:24: +/usr/include/c++/15/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++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | 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 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++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ +In file included from /usr/include/c++/15/string:51, + from /usr/include/c++/15/stdexcept:41, + from ../../include/loki/Singleton.h:24: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1681 | : public binary_function< + | ^~~~~~~~~~~~~~~ +/usr/include/c++/15/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++/15/string:51, + from /usr/include/c++/15/stdexcept:41, + from ../../include/loki/Singleton.h:24: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../include/loki/StrongPtr.h:1681:18: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 1681 | : public binary_function< + | ^~~~~~~~~~~~~~~ +/usr/include/c++/15/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++/15/string:51, + from /usr/include/c++/15/stdexcept:41, + from ../../include/loki/Singleton.h:24: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +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++/15/memory:80, + from ../../include/loki/Singleton.h:30: +/usr/include/c++/15/bits/unique_ptr.h:58:28: note: declared here + 58 | template class auto_ptr; + | ^~~~~~~~ +g++ --shared -fPIC -L../../lib -L. -o libsingletondll.so singletondll.lo libfoo.so -lfoo ../../lib/libloki.a +make[4]: *** [: FunctionTest.o] Error 1 +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' +make[3]: *** [Makefile:12: Function] Error 2 +make[3]: *** Waiting for unfinished jobs.... +main.cpp: In function 'void DoRefLinkSwapTests()': +main.cpp:612:10: warning: variable 'merged' set but not used [-Wunused-but-set-variable] + 612 | bool merged = false; + | ^~~~~~ +main.cpp: In function 'int main(int, const char**)': +main.cpp:1004:10: warning: variable 'doThreadTest' set but not used [-Wunused-but-set-variable] + 1004 | bool doThreadTest = false; + | ^~~~~~~~~~~~ +ar -rv libfoo.a foo.o +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a +make[4]: *** [: main.o] Error 1 +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/LockingPtr' +make[3]: *** [Makefile:12: LockingPtr] Error 2 +ar: creating libfoo.a +a - foo.o +../../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 + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../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++/15/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../include/loki/SmartPtr.h: In instantiation of 'void Loki::DefaultSPStorage::Destroy() [with T = Thingy]': +../../include/loki/SmartPtr.h:1264:28: required from 'Loki::SmartPtr::~SmartPtr() [with T = Thingy; OwnershipPolicy = Loki::RefCounted; ConversionPolicy = Loki::DisallowConversion; CheckingPolicy = Loki::AssertCheck; StoragePolicy = Loki::DefaultSPStorage; ConstnessPolicy = Loki::PropagateConst]' + 1264 | SP::Destroy(); + | ~~~~~~~~~~~^~ +main.cpp:987:31: required from here + 987 | Thingy_DefaultStorage_ptr p1; + | ^~ +../../include/loki/SmartPtr.h:200:13: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete] + 200 | delete pointee_; + | ^~~~~~~~~~~~~~~ +../../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 >]' + 760 | EP::onDestroy(pProduct); + | ~~~~~~~~~~~~~^~~~~~~~~~ +../../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 >]' + 799 | onDestroy(pProduct); // warning policies we are about to destroy an object + | ^~~~~~~~~ +../../include/loki/CachedFactory.h:785:22: required from here + 785 | virtual void remove(AbstractProduct * const pProduct) + | ^~~~~~ +../../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()); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../../include/loki/SmartPtr.h:200:20: warning: invalid use of incomplete type 'class Thingy' + 200 | delete pointee_; + | ^~~~~~~~ +main.cpp:53:7: note: forward declaration of 'class Thingy' + 53 | class Thingy; + | ^~~~~~ +/usr/include/c++/15/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../include/loki/SmartPtr.h:200:13: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined + 200 | delete pointee_; + | ^~~~~~~~~~~~~~~ +strong.cpp: In function 'void DoWeakLeakTest()': +strong.cpp:329:24: warning: unused variable 'ctorCount' [-Wunused-variable] + 329 | const unsigned int ctorCount = Counted::GetCtorCount(); + | ^~~~~~~~~ +strong.cpp:330:24: warning: unused variable 'dtorCount' [-Wunused-variable] + 330 | const unsigned int dtorCount = Counted::GetDtorCount(); + | ^~~~~~~~~ +In file included from SmartPtrTest.h:20, + from Test.cpp:54: +../../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++/15/string:51, + from /usr/include/c++/15/bits/locale_classes.h:42, + from /usr/include/c++/15/bits/ios_base.h:43, + from /usr/include/c++/15/ios:46, + from /usr/include/c++/15/bits/ostream.h:43, + from /usr/include/c++/15/ostream:42, + from /usr/include/c++/15/iostream:43, + from UnitTest.h:19, + from Test.cpp:31: +/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from SmallObjBench.cpp:26: +timer.h: In member function 'void Timer::start()': +timer.h:34:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 34 | t0 = clock(); + | ~~~~~^~ +timer.h: In member function 'void Timer::stop()': +timer.h:39:19: warning: conversion from 'clock_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 39 | t1 = clock(); + | ~~~~~^~ +g++ -Wl,-z,relro -o DeletableSingleton DeletableSingleton.o ../../lib/libloki.a +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a In file included from ../../include/loki/Factory.h:20, from FactoryTest.h:19, from Test.cpp:55: @@ -1726,23 +1828,7 @@ /usr/include/c++/15/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -LockTest.cpp: In function 'void DoLockedPtrTest()': -LockTest.cpp:431:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 431 | ::system( "pause" ); - | ~~~~~~~~^~~~~~~~~~~ -LockTest.cpp:439:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 439 | ::system( "pause" ); - | ~~~~~~~~^~~~~~~~~~~ -LockTest.cpp: In function 'void DoLockedStorageTest()': -LockTest.cpp:456:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 456 | ::system( "pause" ); - | ~~~~~~~~^~~~~~~~~~~ -LockTest.cpp:463:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 463 | ::system( "pause" ); - | ~~~~~~~~^~~~~~~~~~~ -g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a -g++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/ScopeGuard' In file included from Test.cpp:57: AbstractFactoryTest.h: In member function 'virtual void AbstractFactoryTest::execute(TestResult&)': AbstractFactoryTest.h:74:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -1786,15 +1872,6 @@ 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = SillySuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' -In file included from ../../include/loki/SPCachedFactory.h:39, - from CachedFactoryTest.cpp:393: -../../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, - | ^~~~~~~~~~~~~~~ -/usr/include/c++/15/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ AbstractFactoryTest.h:75:10: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 75 | std::auto_ptr hardFactory(new HardLevelEnemyFactory); | ^~~~~~~~ @@ -1835,6 +1912,7 @@ 94 | ConcreteProduct* DoCreate(Type2Type) | ^~~~~~~~ ../../include/loki/AbstractFactory.h:94:26: note: by 'ConcreteProduct* Loki::OpNewFactoryUnit::DoCreate(Loki::Type2Type) [with ConcreteProduct = BadSuperMonster; Base = Loki::GenLinearHierarchy >, Loki::OpNewFactoryUnit, Loki::AbstractFactory > > > >; typename Base::ProductList::Head = SuperMonster; typename Base::ProductList = Loki::Typelist]' +g++ -L. -L../../lib -o client client.o ../../lib/libloki.a -lfoo -lsingletondll In file included from Test.cpp:60: AssocVectorTest.h: At global scope: AssocVectorTest.h:122:31: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -1847,82 +1925,39 @@ AssocVectorTest.h:262:45: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 262 | std::pair aux = vec21.insert(std::make_pair("xyz", 99)); | ^~~ +LockTest.cpp: In function 'void DoLockedPtrTest()': +LockTest.cpp:431:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 431 | ::system( "pause" ); + | ~~~~~~~~^~~~~~~~~~~ +LockTest.cpp:439:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 439 | ::system( "pause" ); + | ~~~~~~~~^~~~~~~~~~~ +LockTest.cpp: In function 'void DoLockedStorageTest()': +LockTest.cpp:456:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 456 | ::system( "pause" ); + | ~~~~~~~~^~~~~~~~~~~ +LockTest.cpp:463:13: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 463 | ::system( "pause" ); + | ~~~~~~~~^~~~~~~~~~~ +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/DeletableSingleton' AssocVectorTest.h: In function 'void test_vect4()': AssocVectorTest.h:321:28: warning: variable 'it' set but not used [-Wunused-but-set-variable] 321 | test_vect4_t::iterator it = vec41.find(AVTestClass(22)); | ^~ -make[4]: *** [: LockTest.o] Error 1 -make[4]: *** Waiting for unfinished jobs.... make[4]: *** [: strong.o] Error 1 -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]' - 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CachedFactoryTest.cpp:252:40: required from here - 252 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]' - 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CachedFactoryTest.cpp:257:26: required from here - 257 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]' - 238 | cout << "====> " << typicalUse(CC, objectKind, maxObjectCount, maxIteration) << " ms" << endl; - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CachedFactoryTest.cpp:262:26: required from here - 262 | displayTypicalUse( cache, objectKind, maxObjectCount, maxIteration); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CachedFactoryTest.cpp:204:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 204 | CC.Register(i, createProductNull); - | ^ -make[4]: *** [: FunctionTest.o] Error 1 -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Function' -make[3]: *** [Makefile:12: Function] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[4]: *** [: LockTest.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SingletonDll' -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Visitor' -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 - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../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++/15/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 >]' - 760 | EP::onDestroy(pProduct); - | ~~~~~~~~~~~~~^~~~~~~~~~ -../../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 >]' - 799 | onDestroy(pProduct); // warning policies we are about to destroy an object - | ^~~~~~~~~ -../../include/loki/CachedFactory.h:785:22: required from here - 785 | virtual void remove(AbstractProduct * const pProduct) - | ^~~~~~ -../../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++/15/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +g++ -Wl,-z,relro -o SmallObjSingleton SmallObjSingleton.o ../../lib/libloki.a +g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo +g++ -Wl,-z,relro -o main2 main2.o ../../lib/libloki.a +make[4]: *** [: SmallObjBench.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmallObj' make[3]: *** [Makefile:12: SmallObj] Error 2 +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Longevity' -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' -g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo -g++ -Wl,-z,relro -o Dependencies Dependencies.o ../../lib/libloki.a +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a main.cpp: In function 'int main(int, char**)': main.cpp:173:31: warning: '%u' directive writing between 1 and 5 bytes into a region of size 4 [-Wformat-overflow=] 173 | sprintf(buf, "%u", width); @@ -1959,13 +1994,14 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Register' -make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/OrderedStatic' +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SmartPtr' make[3]: *** [Makefile:12: SmartPtr] Error 2 -g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a -g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a +g++ -Wl,-z,relro -o Dependencies Dependencies.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/SafeFormat' +make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Singleton' +g++ -Wl,-z,relro -o main main.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Pimpl' g++ -Wl,-z,relro -o Factory Factory.o ../../lib/libloki.a make[4]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test/Factory' @@ -2198,7 +2234,7 @@ make[3]: Leaving directory '/build/reproducible-path/libloki-0.1.7/test' make[2]: *** [Makefile:12: check] Error 2 make[2]: Leaving directory '/build/reproducible-path/libloki-0.1.7' -dh_auto_test: error: make -j42 check OS=Linux returned exit code 2 +dh_auto_test: error: make -j40 check OS=Linux returned exit code 2 make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/libloki-0.1.7' create-stamp debian/debhelper-build-stamp @@ -2206,7 +2242,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/libloki-0.1.7' dh_auto_install -- OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr - make -j42 install DESTDIR=/build/reproducible-path/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr + make -j40 install DESTDIR=/build/reproducible-path/libloki-0.1.7/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" OS=Linux install prefix=/build/reproducible-path/libloki-0.1.7/debian/tmp/usr make[2]: Entering directory '/build/reproducible-path/libloki-0.1.7' make -C src install-static make[3]: Entering directory '/build/reproducible-path/libloki-0.1.7/src' @@ -2256,9 +2292,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'libloki0.1.7t64-dbgsym' in '../libloki0.1.7t64-dbgsym_0.1.7-6_amd64.deb'. +dpkg-deb: building package 'libloki0.1.7t64' in '../libloki0.1.7t64_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-dev' in '../libloki-dev_0.1.7-6_amd64.deb'. dpkg-deb: building package 'libloki-doc' in '../libloki-doc_0.1.7-6_all.deb'. -dpkg-deb: building package 'libloki0.1.7t64' in '../libloki0.1.7t64_0.1.7-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libloki_0.1.7-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libloki_0.1.7-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2266,12 +2302,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3573897/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3573897/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/2566310 and its subdirectories -I: Current time: Thu Oct 22 09:09:09 -12 2026 -I: pbuilder-time-stamp: 1792703349 +I: removing directory /srv/workspace/pbuilder/3573897 and its subdirectories +I: Current time: Sat Sep 20 04:48:51 +14 2025 +I: pbuilder-time-stamp: 1758293331 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libloki_0.1.7-6.diff: 89.6% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libloki_0.1.7-6.diff.gz b2/build.log: 91.7% -- replaced with stdout Compressing the 1st log... b1/build.log: 91.9% -- replaced with stdout Fri Sep 19 14:48:53 UTC 2025 I: diffoscope 306 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_libloki_unstable_amd64_1758293333 + touch /var/log/reproducible-builds/diffoscope_stamp_libloki_unstable_amd64_1758293333 + RESULT=0 + systemd-run '--description=diffoscope on libloki/0.1.7-6 in unstable/amd64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-amd64_20-68252 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN --run-session -c jenkins-reproducible-unstable-diffoscope-8df035ac-bdfe-4ecb-ba0e-da668d4d3fb8 -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/dbd-tmp-MrPOBs7 ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/libloki_0.1.7-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/libloki_0.1.7-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/libloki_0.1.7-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1/libloki_0.1.7-6_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2/libloki_0.1.7-6_amd64.changes' + false + set +x Running as unit: rb-diffoscope-amd64_20-68252.service; invocation ID: 9ad08bcdb47c4696b525d8b42183f9a9 # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/libloki_0.1.7-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/libloki_0.1.7-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/libloki_0.1.7-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b1/libloki_0.1.7-6_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.cihGuugN/b2/libloki_0.1.7-6_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call diffoscope.comparators.binary.FilesystemFile ## main (total time: 0.003s) 0.003s 2 calls outputs 0.000s 1 call cleanup Finished with result: success Main processes terminated with: code=exited, status=0/SUCCESS Service runtime: 203ms CPU time consumed: 168ms Memory peak: 18M (swap: 0B) _ _ _ _ _ _ | (_) |__ | | ___ | | _(_) | | | '_ \| |/ _ \| |/ / | | | | |_) | | (_) | <| | |_|_|_.__/|_|\___/|_|\_\_| Fri Sep 19 14:48:54 UTC 2025 I: diffoscope 306 found no differences in the changes files, and a .buildinfo file also exists. Fri Sep 19 14:48:54 UTC 2025 I: libloki from unstable built successfully and reproducibly on amd64. INSERT 0 1 INSERT 0 1 DELETE 1 [2025-09-19 14:48:54] INFO: Starting at 2025-09-19 14:48:54.803049 [2025-09-19 14:48:54] INFO: Generating the pages of 1 package(s) [2025-09-19 14:48:55] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/amd64/libloki didn't produce a buildlog, even though it has been built. [2025-09-19 14:48:55] INFO: Finished at 2025-09-19 14:48:55.075894, took: 0:00:00.272848 Fri Sep 19 14:48:55 UTC 2025 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libloki.html Fri Sep 19 14:48:55 UTC 2025 I: Removing signed libloki_0.1.7-6_amd64.buildinfo.asc files: removed './b1/libloki_0.1.7-6_amd64.buildinfo.asc' removed './b2/libloki_0.1.7-6_amd64.buildinfo.asc' 1758293335 amd64 unstable libloki Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libloki_0.1.7-6.rbuild.log: 90.5% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libloki_0.1.7-6.rbuild.log.gz [2025-09-19 14:48:55] INFO: Starting at 2025-09-19 14:48:55.396296 [2025-09-19 14:48:55] INFO: Generating the pages of 1 package(s) [2025-09-19 14:48:55] INFO: Finished at 2025-09-19 14:48:55.655924, took: 0:00:00.259631 All cleanup done. Fri Sep 19 14:48:55 UTC 2025 - total duration: 0h 6m 28s. Fri Sep 19 14:48:55 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-uFZr1gG3, removing. Finished with result: success Main processes terminated with: code=exited, status=0/SUCCESS Service runtime: 6min 29.340s CPU time consumed: 3.181s Memory peak: 42.5M (swap: 0B)