maintainer-feedback requested: [Bug 282807] editors/libreoffice 24.8.3: Build failure: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 Nov 2024 07:16:35 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked FreeBSD Office Team
<office@FreeBSD.org> for maintainer-feedback:
Bug 282807: editors/libreoffice 24.8.3: Build failure: error: implicit
instantiation of undefined template 'std::char_traits<unsigned short>'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282807



--- Description ---
On recent CURRENT (FreeBSD 15.0-CURRENT #26 main-n273671-f334c0b8b3cb: Sat Nov
16 20:19:46 CET 2024 amd64), build of port editors/libreoffice fails due to the
error shown below.

Config is:

root@thor:/usr/ports # make -C editors/libreoffice showconfig
===> The following configuration options are available for
libreoffice-24.8.3.2:
     COINMP=off: Enable CoinMP (deprecated) math solver
     CUPS=on: CUPS printing system support
     DOCS=on: Build and/or install documentation
     GNOME=off: GNOME desktop environment support
     GTK3=off: GTK 3 GUI toolkit support
     GTK4=off: GTK+ 4 GUI toolkit support (experimental, broken)
     JAVA=on: Add Java support (XML filters, macros, DB connections)
     LTO=off: Use Link-Time Optimization
     MARIADB=off: Build with MariaDB/MySQL-SDBC driver
     MMEDIA=on: Enable multimedia backend for Impress
     PDFIUM=on: Enable PDFium secure engine
     PGSQL=on: Build with PostgreSQL-SDBC driver
     SDK=off: Build with SDK
     TEST=off: Run all regression tests
     WEBDAV=off: Enable WebDAV protocol
====> Select Qt GUI engine version: you can only select none or one of them
     QT5=on: Qt5 GUI toolkit support (default visual style)
     QT6=off: Qt6 GUI toolkit support (experimental visual style)
====> Select KDE GUI engine version: you can only select none or one of them
     KF5=off: KF5/Qt5 GUI toolkit support (implies QT5)
     KF6=off: KF6/Qt6 GUI toolkit support (implies QT6)
===> Use 'make config' to modify these settings
[...]


The error occuring during "make all" is:

[...]
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined
template 'std::char_traits<unsigned short>'
  820 |   static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
      | 					 ^