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

MacPorts noreply at macports.org
Tue Jun 14 09:23:14 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
Resolution:                |   Keywords:  snowleopard
      Port:  rust librsvg  |
---------------------------+---------------------------------

Comment (by evanmiller):

 Looks like this flag is added by the Rust PG:

 {{{
     if { [string match "macports-clang*" [option configure.compiler]] &&
 [option os.major] < 11 } {
         # by default, ld64 uses ld64-127 when 9 <= ${os.major} < 11
         # Rust fails to build when architecture is x86_64 and ld64 uses
 ld64-127
         depends_build-delete            port:ld64-274
         depends_build-append            port:ld64-274
         depends_skip_archcheck-delete   ld64-274
         depends_skip_archcheck-append   ld64-274
         configure.ldflags-delete        -fuse-ld=${prefix}/bin/ld-274
         configure.ldflags-append        -fuse-ld=${prefix}/bin/ld-274
     }
 }}}

 https://github.com/macports/macports-
 ports/blob/2e0af51496db5fac79e2ec731d719ecadce5110d/_resources/port1.0/group/rust-1.0.tcl#L747-L756

 I think this block needs to be moved so that it only affects builds of
 Rust and not other ports.

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


More information about the macports-tickets mailing list