[Debian-med-packaging] Bug#1150961: bali-phy: FTBFS with fmt 12 due to removal of fmt::localtime

Aron Xu aron at debian.org
Thu Oct 15 10:32:33 BST 2026


Source: bali-phy
Version: 4.1+dfsg-1
Severity: important
Tags: ftbfs
Control: affects -1 src:fmtlib
X-Debbugs-Cc: fmtlib at packages.debian.org, aron at debian.org

bali-phy fails to build with fmt 12.1.0+ds1-1 during the fmtlib transition
rebuild on arm64:

  https://release.debian.org/transitions/html/auto-fmtlib.html

To reproduce, rebuild in sid with libfmt-dev from experimental.

fmt 12 removed the deprecated fmt::localtime API. Please replace these
calls with a supported local-time conversion:

  https://raw.githubusercontent.com/fmtlib/fmt/12.0.0/ChangeLog.md

Relevant build-log excerpts:

../src/bali-phy/files.cc: In function ‘void
run_info(boost::json::object&, int, int, char**)’:
../src/bali-phy/files.cc:144:51: error: ‘localtime’ is not a member of ‘fmt’
  144 |     string start_time = fmt::format("{:%c}", fmt::localtime(now));
      |                                                   ^~~~~~~~~
[...]
../src/bali-phy/bali-phy.cc: In function ‘void show_ending_messages()’:
../src/bali-phy/bali-phy.cc:274:54: error: ‘localtime’ is not a member of ‘fmt’
  274 |         cout<<"  start: "<<fmt::format("{:%c}",
fmt::localtime(start_time_t))<<endl;
      |                                                      ^~~~~~~~~
[...]
../src/bali-phy/bali-phy.cc:275:54: error: ‘localtime’ is not a member of ‘fmt’
  275 |         cout<<"    end: "<<fmt::format("{:%c}",
fmt::localtime(start_work_time_t))<<endl;
      |                                                      ^~~~~~~~~

The full build log is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bali-phy-original-failure-arm64.log.gz
Type: application/x-gzip
Size: 80930 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20261015/73402006/attachment-0001.bin>


More information about the Debian-med-packaging mailing list