Opened 2 years ago

Closed 2 years ago

#65231 closed defect (duplicate)

pg cargo_fetch: defunct port 'rust-compiler-wrap' still referenced, causing errors

Reported by: mascguy (Christopher Nielsen) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: High Milestone:
Component: ports Version: 2.7.2
Keywords: pg cargo_fetch Cc: cjones051073 (Chris Jones), herbygillot (Herby Gillot), catap (Kirill A. Korinsky)
Port:

Description

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... ?

Change History (3)

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Observers: Priority of this ticket was purposely set to High, as this is a critical issue that needs to be fixed ASAP.

comment:2 Changed 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

You are right, this should have been done with the previous pull request.
I do not believe the fix is complicated, but I am on a trip right now.
I will do my best to work on it tonight.

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.