[MacPorts] #71754: poppler fails to build on 10.6 for undefined symbols 32bit intel

MacPorts noreply at macports.org
Sun Jan 5 09:23:40 UTC 2025


#71754: poppler fails to build on 10.6 for undefined symbols 32bit intel
---------------------------------------+---------------------
 Reporter:  rmottola                   |      Owner:  (none)
     Type:  defect                     |     Status:  new
 Priority:  Normal                     |  Milestone:
Component:  ports                      |    Version:
 Keywords:  LegacySupport snowleopard  |       Port:  poppler
---------------------------------------+---------------------
 building with clang 16 fails to link on 10.6 32bit MacBook Pro (I don't
 see this issue on my 64bit MacBook though).



 {{{
 clang: warning: argument unused during compilation: '-nostdinc++'
 [-Wunused-command-line-argument]
 Undefined symbols for architecture i386:
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::insert(unsigned int, char const*, unsigned
 int)", referenced from:
       GooString::prependUnicodeMarker() in GooString.cc.o
       Dict::findAvailableKey(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&) in
 Dict.cc.o
       FormField::getFullyQualifiedName() in Form.cc.o
       PSOutputDev::setupEmbeddedType1CFont(GfxFont*, Ref*, GooString*) in
 PSOutputDev.cc.o
       PSOutputDev::setupEmbeddedOpenTypeT1CFont(GfxFont*, Ref*,
 GooString*) in PSOutputDev.cc.o
       PSOutputDev::setupEmbeddedCIDType0Font(GfxFont*, Ref*, GooString*)
 in PSOutputDev.cc.o
       PSOutputDev::setupEmbeddedOpenTypeCFFFont(GfxFont*, Ref*,
 GooString*) in PSOutputDev.cc.o
       ...
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::append(char const*, unsigned int)",
 referenced from:
       GooString::appendfv(char const*, char*) in GooString.cc.o
       FoFiType1C::cvtGlyph(int, int, GooString*, Type1CIndex const*,
 Type1CPrivateDict const*, bool, std::__1::set<int, std::__1::less<int>,
 std::__1::allocator<int> >&) in FoFiType1C.cc.o
       FoFiType1C::cvtGlyphWidth(bool, GooString*, Type1CPrivateDict
 const*) in FoFiType1C.cc.o
       FoFiType1C::cvtNum(double, bool, GooString*) const in
 FoFiType1C.cc.o
       drawMultiLineText(GooString const&, double, Form const*, GfxFont
 const&, std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > const&, double, VariableTextQuadding, double)
 in Annot.cc.o
       AnnotAppearanceBuilder::drawText(GooString const*, Form const*,
 GooString const*, GfxResources const*, AnnotBorder const*,
 AnnotAppearanceCharacs const*, PDFRectangle const*, VariableTextQuadding,
 XRef*, Dict*, int, int) in Annot.cc.o
       AnnotAppearanceBuilder::drawListBox(FormFieldChoice const*,
 AnnotBorder const*, PDFRectangle const*, GooString const*, GfxResources
 const*, VariableTextQuadding, XRef*, Dict*) in Annot.cc.o
       ...
 <similar warnings repeated many times>
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71754>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list