[MacPorts] #73696: poppler @26.02.0_0: Undefined symbols __ZN5GpgME4Data8toStringB5cxx11Ev __ZNK5GpgME5Error11asStdStringB5cxx11Ev

MacPorts noreply at macports.org
Thu Aug 27 17:25:25 UTC 2026


#73696: poppler @26.02.0_0: Undefined symbols __ZN5GpgME4Data8toStringB5cxx11Ev
__ZNK5GpgME5Error11asStdStringB5cxx11Ev
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  dbevans
  jrandall814            |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.12.4
Resolution:              |   Keywords:  lion mountainlion mavericks
      Port:  poppler     |  yosemite elcapitan sierra highsierra mojave
-------------------------+-------------------------------------------------

Comment (by rmottola):

 I don't fully @JULWAL1's work but I tried something different on 10.11 El
 Capitan

 1. Remove GCC hack, it should go anyway, we know it is not the route
 (except perhaps it could work on 10.5 PPC where everything is GCC anyway?)
 2. Use clang 16
 3. get failure for "ranges"
 4. remove use of MP - set **legacysupport.use_mp_libcxx no**

 get failure:

 {{{
 pt/local/bin/clang++-mp-16 -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS -Dpoppler_EXPORTS
 -I/opt/local/var/macports/build/poppler-
 06287f0b/work/poppler-26.02.0/poppler -I/opt/local/var/macports/build
 /poppler-06287f0b/work/poppler-26.02.0 -I/opt/local/var/macports/build
 /poppler-06287f0b/work/build -I/opt/local/var/macports/build/poppler-
 06287f0b/work/build/poppler -isystem /opt/local/include/openjpeg-2.5
 -isystem /opt/local/include -isystem /opt/local/include/freetype2 -isystem
 /opt/local/include/nss -isystem /opt/local/include/nspr -isystem
 /opt/local/libexec/boost/1.88/include -Wall -Wextra -Wpedantic -Wcast-
 align -Wformat-security -Wframe-larger-than=65536 -Wmissing-format-
 attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations
 -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wweak-vtables -fno-
 exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -O2 -g -pipe
 -I/opt/local/libexec/boost/1.88/include -Os -DNDEBUG
 -I/opt/local/libexec/boost/1.88/include
 -isystem/opt/local/include/LegacySupport -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -std=c++2b
 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 -mmacosx-version-min=10.11 -fPIC -fvisibility=hidden -fvisibility-inlines-
 hidden -MD -MT CMakeFiles/poppler.dir/poppler/CharCodeToUnicode.cc.o -MF
 CMakeFiles/poppler.dir/poppler/CharCodeToUnicode.cc.o.d -o
 CMakeFiles/poppler.dir/poppler/CharCodeToUnicode.cc.o -c
 /opt/local/var/macports/build/poppler-
 06287f0b/work/poppler-26.02.0/poppler/CharCodeToUnicode.cc
 In file included from /opt/local/var/macports/build/poppler-
 06287f0b/work/poppler-26.02.0/poppler/CharCodeToUnicode.cc:46:
 /opt/local/var/macports/build/poppler-
 06287f0b/work/poppler-26.02.0/poppler/GlobalParams.h:173:52: error: 'path'
 is unavailable: introduced in macOS 10.15
     void parseNameToUnicode(const std::filesystem::path &name);
                                                    ^
 /opt/local/libexec/llvm-16/bin/../include/c++/v1/__filesystem/path.h:442:24:
 note: 'path' has been explicitly marked unavailable here
 class _LIBCPP_TYPE_VIS path {
                        ^
 1 error generated.
 make[2]: *** [CMakeFiles/poppler.dir/poppler/CharCodeToUnicode.cc.o] Error
 1

 }}}

 This suggests it is not helpful on 10.11 or 10.13 except with more legacy
 support?

-- 
Ticket URL: <https://trac.macports.org/ticket/73696#comment:32>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list