xmrig 6.26.0+dfsg-1 fails to build with fmtlib 12.2.0+ds1-2 from
experimental during the fmtlib transition rebuild on arm64.
To reproduce, rebuild xmrig in a clean sid build environment with
libfmt-dev and libfmt12 12.2.0+ds1-2 from experimental.
LinuxMemory.cpp includes "3rdparty/fmt/core.h", which debian/rules
redirects to /usr/include/fmt. In fmt 12.2, core.h includes base.h rather
than format.h by default, so these calls need an explicit fmt/format.h
include:
src/crypto/common/LinuxMemory.cpp:68:17: error: ‘format’ is not a member of ‘fmt’
68 | return fmt::format("/sys/devices/system/node/node{}/hugepages/hugepages-{}kB/{}_hugepages", node, hugePageSize / 1024, nr ? "nr" : "free");
| ^~~~~~
src/crypto/common/LinuxMemory.cpp:74:17: error: ‘format’ is not a member of ‘fmt’
74 | return fmt::format("/sys/kernel/mm/hugepages/hugepages-{}kB/{}_hugepages", hugePageSize / 1024, nr ? "nr" : "free");
| ^~~~~~
This is distinct from #1086567, the fmt 10 failure involving the
xmrig::String formatter, fixed in 6.22.2+dfsg-2.
The full build log is attached.
We believe that the bug you reported is fixed in the latest version of xmrig, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1151530@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Westover <bjw@debian.org> (supplier of updated xmrig package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 17 Nov 2026 14:04:10 -0500 Source: xmrig Architecture: source Version: 6.26.0+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Cryptocoin Team <team+cryptocoin@tracker.debian.org> Changed-By: Ben Westover <bjw@debian.org> Closes: 1151530 Changes: xmrig (6.26.0+dfsg-2) unstable; urgency=medium . * Refresh patches. * Fix FTBFS with fmt 12.2 (Closes: #1151530) Checksums-Sha1: 4eb431c8ff3b1c37a1b50b13fa322027816d996a 2090 xmrig_6.26.0+dfsg-2.dsc 161402f0032ecd06f09c48fa27da7ffac5724dd2 8624 xmrig_6.26.0+dfsg-2.debian.tar.xz 119c0ac8b798b06e4c45d6e9282e6179a044ad08 7293 xmrig_6.26.0+dfsg-2_source.buildinfo Checksums-Sha256: c5860feb5c630343fb910425182f2708f08f577ccba6ee3682703b39ff9478d4 2090 xmrig_6.26.0+dfsg-2.dsc 9a3ac2c7f2cf7564658380d56984e3813e8d17c4eb1f36cf197a390229e4bc4e 8624 xmrig_6.26.0+dfsg-2.debian.tar.xz 0697c14051cdfff4369cd137db770f5d92ef501738fa6dfb6ac9422263c9cfea 7293 xmrig_6.26.0+dfsg-2_source.buildinfo Files: b98119ea0df8b1d2768cc1cc552f0e16 2090 utils optional xmrig_6.26.0+dfsg-2.dsc 6c442b19775ad12d46ee13f670c11122 8624 utils optional xmrig_6.26.0+dfsg-2.debian.tar.xz d9e4c923671dd6d3a09bd067ce5238d7 7293 utils optional xmrig_6.26.0+dfsg-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEOGnacqRhdU6eNmtFwxHF9U6JtpgFAmr8pZkPHGJqd0BkZWJp YW4ub3JnAAoJEMMRxfVOibaYGTwQAKzXqRcRCEHnzXA8Z8eLDsKVWGWbbDMi6qbT Y6SyLYlni2LWtrtJzKVnThW1QNk4V3SEQ5yucJDyEeEZHkaKlMSkmQcwX2fDMoxc mUSvuFkmQV66LY68O6m7dg2PZF2e8/efA0i4+lxoMEgraJ2TJ+kfbCCaq7tJAPr0 aiTey20UUmXsgDbs6BHd14serOwvhw9dgPXsC0dMe09wocNUpOTBv8PfMIh9gufM fD5xGcOtGtnW2BePKARsavyYsbU/lYsblWpLghqy6m6/Miwrs7g6ejuLLCN8IAcI ATUlflLyZA6ztXCLgfq7APzWl7vxi2SEwjSO1eqwoi8ALbdoKSJNFUqFGTGyZDp6 /Dq7oN1Bsfin3DnHZg5d8/kR5LHPPLJPpoPALKpS++qLVGymWXrPaCDQHYIFFOMk 1+7SN6hLrbQXYmb4N4E9FmBc/p+xgQEYdTCP7+IoanFk8gn/PVhRhOdxCQOzlyq4 tKWYfb+KSOfmbbFWyEvHfrMssRAP1sXgeUNNRtk70A/KZ2o0G4icatpWeHNlQw/S CWY6CGvHYNpDAgaXUVvvrPxHquy/bN+1mMaUhFOyVTiR2kSgdmFfOJpuYJIGLv1T CAGDn2FAb3Hey17TUeA1Q5TUb1RTUAVgKFmPNpQSdK3KuKdR+4QDeeWBMX0PrWW3 fPHJAZC1 =Rx5s -----END PGP SIGNATURE-----