- Package:
- src:gerbera
- Source:
- src:gerbera
- Submitter:
- Aron Xu
- Date:
- 2026-10-19 16:13:01 UTC
- Severity:
- normal
- Tags:
gerbera 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: /build/reproducible-path/gerbera-2.4.1+dfsg/src/content/import_service.cc: In member function ‘void ImportService::updateItemData(const std::shared_ptr<CdsItem>&, const std::string&)’: /build/reproducible-path/gerbera-2.4.1+dfsg/src/content/import_service.cc:766:82: error: ‘localtime’ is not a member of ‘fmt’ 766 | item->addMetaData(MetadataFields::M_DATE, fmt::format("{:%FT%T%z}", fmt::localtime(item->getMTime().count()))); | ^~~~~~~~~ The full build log is attached.
Hi, I've prepared two patches for fixing this problem. Regards, Aron