#1150962 paps: FTBFS with fmt 12 due to removal of fmt::localtime

Package:
src:paps
Source:
src:paps
Submitter:
Aron Xu
Date:
2026-10-19 16:11:01 UTC
Severity:
normal
Tags:
#1150962#5
Date:
2026-10-15 09:33:21 UTC
From:
To:
paps 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 this
call with a supported local-time conversion:

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

Relevant build-log excerpt:

format_from_dict.cc: In function ‘std::string
scalar_to_string(scalar_t, const std::string&)’:
format_from_dict.cc:57:58: error: ‘localtime’ is not a member of ‘fmt’
   57 |     return format(runtime(format("{{:{}}}", spec)),
fmt::localtime(val));
      |                                                          ^~~~~~~~~

The full build log is attached.

#1150962#12
Date:
2026-10-19 16:09:21 UTC
From:
To:
Hi,

I've prepared a patch to fix this problem.

Regards,
Aron