[MacPorts] #72386: poppler @24.04.0_1+boost: build failure due to clang-16 linker assertion failure (was: poppler @24.04.0_1+boost: build failure)

MacPorts noreply at macports.org
Fri Apr 25 05:28:34 UTC 2025


#72386: poppler @24.04.0_1+boost: build failure due to clang-16 linker assertion
failure
--------------------------------+-------------------------
  Reporter:  NucleaPeon         |      Owner:  dbevans
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.10.5
Resolution:                     |   Keywords:  snowleopard
      Port:  poppler, clang-16  |
--------------------------------+-------------------------
Changes (by ryandesign):

 * port:  poppler => poppler, clang-16


Comment:

 The log shows an assertion failure in the MacPorts clang-16 linker:

 {{{
 [ 55%] Linking CXX shared library libpoppler.dylib
 /opt/local/bin/cmake -E cmake_link_script CMakeFiles/poppler.dir/link.txt
 --verbose=ON
 clang: warning: argument unused during compilation: '-nostdinc++'
 [-Wunused-command-line-argument]
 Assertion failed: (name != NULL), function Fixup, file src/ld/ld.hpp, line
 394.
 0  0x100001fa0  __assert_rtn + 79
 1  0x10007564e  ld::Fixup::Fixup(unsigned int, ld::Fixup::Cluster,
 ld::Fixup::Kind, bool, char const*) + 70
 2  0x10009015c
 mach_o::relocatable::Parser<x86_64>::FixupInAtom::FixupInAtom(mach_o::relocatable::Parser<x86_64>::SourceLocation
 const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 30
 3  0x10009baff
 mach_o::relocatable::Parser<x86_64>::addFixup(mach_o::relocatable::Parser<x86_64>::SourceLocation
 const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 31
 4  0x10008882d
 mach_o::relocatable::Section<x86_64>::addRelocFixup(mach_o::relocatable::Parser<x86_64>&,
 macho_relocation_info<Pointer64<LittleEndian> > const*) + 1977
 5  0x1000a4b2d
 mach_o::relocatable::Section<x86_64>::makeFixups(mach_o::relocatable::Parser<x86_64>&,
 mach_o::relocatable::Parser<x86_64>::CFI_CU_InfoArrays const&) + 75
 6  0x1000b8a0f
 mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions
 const&) + 1251
 7  0x1000b8e5f  mach_o::relocatable::Parser<x86_64>::parse(unsigned char
 const*, unsigned long long, char const*, long, unsigned int,
 mach_o::relocatable::ParserOptions const&) + 66
 8  0x100089643  mach_o::relocatable::parse(unsigned char const*, unsigned
 long long, char const*, long, unsigned int,
 mach_o::relocatable::ParserOptions const&) + 319
 9  0x10000e8b5  ld::tool::InputFiles::makeFile(Options::FileInfo const&,
 bool) + 579
 10  0x10000ed31  ld::tool::InputFiles::InputFiles(Options&, char const**)
 + 413
 11  0x10000b860  main + 166
 12  0x1000039b4  start + 52
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

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


More information about the macports-tickets mailing list