Opened 3 years ago

Closed 3 years ago

#63373 closed defect (fixed)

cctools @949.0.1_1: not showing universal variant on darwin15

Reported by: kencu (Ken) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: cctools

Description

I'm not sure why this started happening, exactly:

$ port info cctools
cctools @949.0.1_1 (devel)
Variants:             [+]llvm10, llvm50, llvm60, llvm70, llvm80, llvm90, llvmdev, xcode

Description:          A set of essential tools to support development on Mac OS X and Darwin. Conceptually similar to binutils on other platforms.
Homepage:             https://opensource.apple.com/source/cctools/

Build Dependencies:   libunwind-headers
Library Dependencies: llvm-10
Platforms:            darwin
License:              (APSL-2 or GPL-2+)
Maintainers:          Email: jeremyhu@macports.org, GitHub: jeremyhu
                      Email: kencu@macports.org, GitHub: kencu
                      Policy: openmaintainer

changing this:

if {${os.major} >= 20} {
    universal_variant no
}

to this:

if {${os.major} >= 20} {
    universal_variant no
} else {
    universal_variant yes
}

appears to fix it:

$ port info cctools
cctools @949.0.1_1 (devel)
Variants:             [+]llvm10, llvm50, llvm60, llvm70, llvm80, llvm90, llvmdev, (+)universal, xcode

Description:          A set of essential tools to support development on Mac OS X and Darwin. Conceptually similar to binutils on other platforms.
Homepage:             https://opensource.apple.com/source/cctools/

Build Dependencies:   libunwind-headers
Library Dependencies: llvm-10
Platforms:            darwin
License:              (APSL-2 or GPL-2+)
Maintainers:          Email: jeremyhu@macports.org, GitHub: jeremyhu
                      Email: kencu@macports.org, GitHub: kencu
                      Policy: openmaintainer

Change History (5)

comment:1 Changed 3 years ago by kencu (Ken)

Cc: jeremyhu added
Owner: set to kencu
Port: cctools added
Status: newassigned

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

use_configure no has prevented the default universal variant from being added for ages. If you want it added anyway, universal_variant yes will do that, or you can define your own universal variant. There shouldn't be any need to do something different with that based on the OS version these days.

comment:3 Changed 3 years ago by kencu (Ken)

I somehow have the universal variant installed on a number of my systems. I noticed this during an update.

comment:4 Changed 3 years ago by kencu (Ken)

Looks like I inadvertantly deleted the universal variant a few months ago...silly me.

I'll put it right back again shortly

https://github.com/macports/macports-ports/commit/753ded04dd50f378bd372283c56eadabadea0320#diff-6a36da484ef6e00e821125ff4ba76fd85783b9a50d82dce30503c86a0f5c4571

comment:5 Changed 3 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 5e215da656ea32d2a18a0a934c00f3dc24821fd8/macports-ports (master):

cctools: reenable universal variant when appropriate

closes: #63373

Note: See TracTickets for help on using tickets.