[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: Tue, 19 Nov 2024 19:57:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282807

--- Comment #2 from robbak@gmail.com ---
Look at the error log, and see where the error is happening. In my case, it
looked like this - 

In file included from
/usr/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-24.8.3.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20:
In file included from
/usr/home/obj/ports/usr/ports/editors/libreoffice/work/libreoffice-24.8.3.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:36:
In file included from /usr/local/include/poppler/GfxState.h:41:
In file included from /usr/local/include/poppler/Object.h:39:
In file included from /usr/include/c++/v1/set:1495:
In file included from /usr/include/c++/v1/functional:552:
In file included from
/usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/include/c++/v1/__format/concepts.h:16:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:16:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of
undefined template 'std::char_tr
aits<unsigned short>'


The error wasn't in libreoffice, but in the poppler headers. Rebuilding poppler
resolved the error for me.

You can expect to have other similar problems with other libraries that weren't
built on libc++ 19 until you have rebuilt all of them.

-- 
You are receiving this mail because:
You are the assignee for the bug.