Opened 14 months ago
Closed 12 months ago
#72175 closed defect (fixed)
poppler @24.04.0: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
| Reported by: | rcfa | Owned by: | dbevans (David B. Evans) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | sequoia | Cc: | mascguy (Christopher Nielsen), MrB74, GabryBarbe (Gabriele Barbero) |
| Port: | poppler |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
poppler-24.04.0 fails to build with errors on macOS Sequoia 15.4 on x86_64
log files attached
poppler @24.04.0_1+boost
macOS 15.4 (darwin/24.4.0) arch i386
MacPorts 2.10.5
Xcode 16.3, CLT 16.3.0.0.1.1741129865
SDK 15
MACOSX_DEPLOYMENT_TARGET: 15.0
Attachments (2)
Change History (9)
Changed 14 months ago by rcfa
| Attachment: | poppler-24.04.0.build.log added |
|---|
comment:1 Changed 14 months ago by rcfa
| Description: | modified (diff) |
|---|
comment:2 Changed 14 months ago by jmroot (Joshua Root)
| Cc: | mascguy added |
|---|---|
| Owner: | set to dbevans |
| Port: | poppler added; poppler-24.04.0 removed |
| Status: | new → assigned |
comment:3 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Keywords: | sequoia added |
| Summary: | poppler-24.04.0 fails to build with errors on macOS Sequoia 15.4 on x86_64 → poppler @24.04.0: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>' |
The log says:
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/string:821:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>' :info:build 821 | static_assert(is_same<_CharT, typename traits_type::char_type>::value, :info:build | ^
As stated in another bug report:
As noted in the libc++ 19 release notes,
std::char_traits<>is now only provided forchar,char8_t,char16_t,char32_tandwchar_t, and any instantiation for other types will fail.
Here is the upstream bug report about this. It was fixed in poppler 24.05.0. The port needs to be updated. According to the upstream merge request, this change is binary incompatible, and some dependents like inkscape will need to be revbumped.
comment:5 Changed 13 months ago by MrB74
| Cc: | MrB74 added |
|---|
comment:6 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | GabryBarbe added |
|---|
Has duplicate #72351.
comment:7 Changed 12 months ago by i0ntempest
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

build install output