[MacPorts] #69864: poppler fails to configure compiler on 10.6 Snow Leopard

MacPorts noreply at macports.org
Mon Apr 29 19:48:43 UTC 2024


#69864: poppler fails to configure compiler on 10.6 Snow Leopard
-----------------------+------------------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  i386 snowleopard
      Port:  poppler   |
-----------------------+------------------------------

Comment (by rmottola):

 If I force clang16:

 build fails with linking. I suppose a C++ library issue (minimum
 libgcc8?), but it proves that with a set compiler things move on.


 {{{
 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
       ...
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::resize(unsigned int, char)", referenced from:
       std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::overflow(int) in gbase64.cc.o
       timeToStringWithFormat(long const*, char const*) in DateInfo.cc.o
       std::__1::basic_stringbuf<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::overflow(int) in PDFDoc.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::erase(unsigned int, unsigned int)",
 referenced from:
       appendToPath(GooString*, char const*) in gfile.cc.o
       Annot::layoutText(GooString const*, GooString*, int*, GfxFont
 const&, double*, double, int*, bool, bool*) in Annot.cc.o
       FormField::getFullyQualifiedName() in Form.cc.o
 __ZN11Gfx8BitFontC2EP4XRefPKc3RefONSt3__18optionalINS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEEE11GfxFontTypeS4_P4Dict
 in GfxFont.cc.o
       SysFontList::find(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool,
 bool, std::__1::vector<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in
 GlobalParams.cc.o
       LocalPDFDocBuilder::buildPDFDoc(GooString const&,
 std::__1::optional<GooString> const&, std::__1::optional<GooString>
 const&, void*) in LocalPDFDocBuilder.cc.o
       PSOutputDev::cvtFunction(Function const*, bool) in PSOutputDev.cc.o
       ...
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::insert(unsigned int, char const*)",
 referenced from:
       openFile(char const*, char const*) in gfile.cc.o
       AnnotStamp::generateStampCustomAppearance() in Annot.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::assign(char const*, unsigned int)",
 referenced from:
       FoFiTrueType::readPostTable() in FoFiTrueType.cc.o
       FoFiType1::parse() in FoFiType1.cc.o
       get_id(GooString const*, GooString*) in PDFDoc.cc.o
       PageLabelInfo::Interval::Interval(Object*, int) in
 PageLabelInfo.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::compare(unsigned int, unsigned int, char
 const*, unsigned int) const", referenced from:
       DefaultAppearance::DefaultAppearance(GooString const*) 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
       determineFallbackFont(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&, char
 const*) in Annot.cc.o
       Dict::find(char const*) const in Dict.cc.o
       FormFieldText::tokenizeDA(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&,
 std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > >*, char
 const*) in Form.cc.o
 __ZN11Gfx8BitFontC2EP4XRefPKc3RefONSt3__18optionalINS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEEE11GfxFontTypeS4_P4Dict
 in GfxFont.cc.o
       GfxFont::matches(char const*) const in GfxFont.cc.o
       ...
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::basic_string(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned
 int, unsigned int, std::__1::allocator<char> const&)", referenced from:
       AnnotAppearanceBuilder::drawListBox(FormFieldChoice const*,
 AnnotBorder const*, PDFRectangle const*, GooString const*, GfxResources
 const*, VariableTextQuadding, XRef*, Dict*) in Annot.cc.o
       FormFieldSignature::getCheckedSignature(long long*) in Form.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::basic_string(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned
 int, unsigned int, std::__1::allocator<char> const&)", referenced from:
       Annot::calculateFontSize(Form const*, GfxFont const*, GooString
 const*, double, double, bool) in Annot.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
       HorizontalTextLayouter::HorizontalTextLayouter(GooString const*,
 Form const*, GfxFont const*, std::__1::optional<double>, bool) in
 Annot.cc.o
       FormFieldText::tokenizeDA(std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > const&,
 std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > >*, char
 const*) in Form.cc.o
       GfxFont::getNameWithoutSubsetTag() const in GfxFont.cc.o
       buildFcPattern(GfxFont const*, GooString const*) in
 GlobalParams.cc.o
       PageLabelInfo::labelToIndex(GooString*, int*) const in
 PageLabelInfo.cc.o
       ...
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::replace(unsigned int, unsigned int, char
 const*)", referenced from:
       timeToStringWithFormat(long const*, char const*) in DateInfo.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::insert(unsigned int, unsigned int, char)",
 referenced from:
       FormField::getFullyQualifiedName() in Form.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::compare(unsigned int, unsigned int, char
 const*) const", referenced from:
 FormField::isAmongExcludedFields(std::__1::vector<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in
 Form.cc.o
       Form::reset(std::__1::vector<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 std::__1::allocator<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool)
 in Form.cc.o
       LinkURI::LinkURI(Object const*,
 std::__1::optional<std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> > > const&) in
 Link.cc.o
       LocalPDFDocBuilder::buildPDFDoc(GooString const&,
 std::__1::optional<GooString> const&, std::__1::optional<GooString>
 const&, void*) in LocalPDFDocBuilder.cc.o
       LocalPDFDocBuilder::supports(GooString const&) in
 LocalPDFDocBuilder.cc.o
       CurlPDFDocBuilder::supports(GooString const&) in
 CurlPDFDocBuilder.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::find(char, unsigned int) const", referenced
 from:
       buildFcPattern(GfxFont const*, GooString const*) in
 GlobalParams.cc.o
   "std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >::reserve(unsigned int)", referenced from:
       getCertificateInfoFromKey(GpgME::Key const&) in
 GPGMECryptoSignBackend.cc.o
       DN::parseString(std::__1::basic_string_view<char,
 std::__1::char_traits<char> >) in GPGMECryptoSignBackend.cc.o
 ld: symbol(s) not found for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)

 }}}

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


More information about the macports-tickets mailing list