Source: bali-phy
Version: 4.1+dfsg-1
Severity: important
Tags: ftbfs
Control: affects -1 src:fmtlib
X-Debbugs-Cc: [email protected], [email protected]

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.

Attachment: bali-phy-original-failure-arm64.log.gz
Description: GNU Zip compressed data

Reply via email to