[MacPorts] #65231: pg cargo_fetch: defunct port 'rust-compiler-wrap' still referenced, causing errors

MacPorts noreply at macports.org
Wed May 25 14:13:13 UTC 2022


#65231: pg cargo_fetch: defunct port 'rust-compiler-wrap' still referenced, causing
errors
----------------------------+---------------------------------
 Reporter:  mascguy         |      Owner:  MarcusCalhoun-Lopez
     Type:  defect          |     Status:  assigned
 Priority:  High            |  Milestone:
Component:  ports           |    Version:  2.7.2
 Keywords:  pg cargo_fetch  |       Port:
----------------------------+---------------------------------
 As part of the recent Rust-related enhancements and improvements, port
 `rust-compiler-wrap` was eliminated.

 Originating PR:

 https://github.com/macports/macports-ports/pull/14277

 However, that port is still referenced in pg `cargo_fetch`, causing fatal
 errors:

 {{{
     if { ${os.major} <= [option
 legacysupport.newest_darwin_requires_legacy] } {
         # Use wrapped rust compilers
         depends_build-append port:rust-compiler-wrap
         configure.cc      ${prefix}/libexec/rust-compiler-wrap/bin/clang
         configure.cxx     ${prefix}/libexec/rust-compiler-wrap/bin/clang++
         configure.objc    ${prefix}/libexec/rust-compiler-wrap/bin/clang
         configure.objcxx  ${prefix}/libexec/rust-compiler-wrap/bin/clang++
         set cargo_ld      ${prefix}/libexec/rust-compiler-wrap/bin/ld-rust
     }
 }}}

 Do we simply need to eliminate this block from the pg, or... ?

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


More information about the macports-tickets mailing list