[MacPorts] #65346: rust @1.61: can't build librsvg 2.54 on Snow Leopard

MacPorts noreply at macports.org
Tue Jun 14 01:43:41 UTC 2022


#65346: rust @1.61: can't build librsvg 2.54 on Snow Leopard
-------------------------+---------------------------------
 Reporter:  evanmiller   |      Owner:  MarcusCalhoun-Lopez
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.2
 Keywords:  snowleopard  |       Port:  rust librsvg
-------------------------+---------------------------------
 I just built Rust on 10.6 (!) and am trying to use it to build the
 librsvg(-devel) port. However I get an assertion error during linking:

 {{{
 :info:build libtool: link: /opt/local/bin/clang-mp-11 -dynamiclib  -o
 .libs/librsvg-2.2.dylib   -Wl,-force_load,./.libs/librsvg_c_api.a
 -framework Foundation -lobjc -L/opt/local/lib
 /opt/local/lib/libpng16.dylib /opt/local/lib/libcairo-gobject.dylib
 -lgdk_pixbuf-2.0 -lgio-2.0 /opt/local/lib/libxml2.dylib -lpangocairo-1.0
 /opt/local/lib/libcairo.dylib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
 -lglib-2.0 /opt/local/lib/libintl.dylib /opt/local/lib/libharfbuzz.dylib
 /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib  -arch
 x86_64 -Wl,-syslibroot -Wl,/ -arch x86_64   -framework Foundation -pthread
 -framework ApplicationServices -install_name
 /opt/local/lib/librsvg-2.2.dylib -compatibility_version 51
 -current_version 51.0 -Wl,-single_module
 -Wl,-exported_symbols_list,.libs/librsvg-2-symbols.expsym
 :info:build Assertion failed: (name != NULL), function Fixup, file
 src/ld/ld.hpp, line 394.
 :info:build 0  0x100001fa0  __assert_rtn + 79
 :info:build 1  0x10007564e  ld::Fixup::Fixup(unsigned int,
 ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 70
 :info:build 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
 :info:build 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
 :info:build 4  0x10008882d
 mach_o::relocatable::Section<x86_64>::addRelocFixup(mach_o::relocatable::Parser<x86_64>&,
 macho_relocation_info<Pointer64<LittleEndian> > const*) + 1977
 :info:build 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
 :info:build 6  0x1000b8a0f
 mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions
 const&) + 1251
 :info:build 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
 :info:build 8  0x100089643  mach_o::relocatable::parse(unsigned char
 const*, unsigned long long, char const*, long, unsigned int,
 mach_o::relocatable::ParserOptions const&) + 319
 :info:build 9  0x10006ff07
 archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry
 const*) const + 407
 :info:build 10  0x100070122
 archive::File<x86_64>::forEachAtom(ld::File::AtomHandler&) const + 150
 :info:build 11  0x10000db95
 ld::tool::InputFiles::forEachInitialAtom(ld::File::AtomHandler&) const +
 45
 :info:build 12  0x100064e0a  ld::tool::Resolver::buildAtomList() + 38
 :info:build 13  0x100066561  ld::tool::Resolver::resolve() + 89
 :info:build 14  0x10000b896  main + 220
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [librsvg-2.la] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_Users_emiller_macports
 .local_graphics_librsvg-devel/librsvg-devel/work/librsvg-2.54.3'
 }}}

 Any ideas? Full log attached.

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


More information about the macports-tickets mailing list