Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59847 closed defect (fixed)

gperf cannot be installed for the configured universal_archs 'x86_64 i386' because the arch(s) 'i386' are not supported.

Reported by: scribibble Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gperf

Description (last modified by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez))

>sudo port upgrade outdated
--->  Fetching archive for gperf
--->  Attempting to fetch gperf-3.1_0+universal.darwin_19.x86_64.tbz2 from https://packages.macports.org/gperf
--->  Attempting to fetch gperf-3.1_0+universal.darwin_19.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/gperf
--->  Attempting to fetch gperf-3.1_0+universal.darwin_19.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/gperf
Error: gperf cannot be installed for the configured universal_archs 'x86_64 i386' because the arch(s) 'i386' are not supported.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

> uname -m
x86_64

Mac OS Catalina

tried: sudo port -f uninstall gperf sudo port -v install gperf

--> Error: Requested variants "" do not match those the build was started with: "+universal".

Change History (6)

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

Description: modified (diff)
Owner: changed from mcalhoun@… to MarcusCalhoun-Lopez
Status: assignedaccepted

For future reference, WikiFormatting makes the report much easier to read.

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

I am not sure how the variant +universal was added, but there is no reason for it.
All 32-bit support was dropped in macOS 10.15 Catalina.
Please try

sudo port clean gperf
sudo port selfupdate
sudo port -v install gperf

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

the only reason your steps failed was that you had to clean out your failed universal build attempt before installing again.

Which is why I think cleaning should be automatic for all builds by default, and only turned off by devs.

comment:4 Changed 5 years ago by scribibble

This recipe worked: sudo port clean gperf sudo port selfupdate sudo port -v install gperf Thanks. I guess this can be closed. But automatic cleaning sounds like a good idea.

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

Resolution: fixed
Status: acceptedclosed

I suppose the reason we don't auto-clean is because the logs would be cleaned as well.

Anyway, always ways to improve MacPorts....

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Keywords: catalina removed
Note: See TracTickets for help on using tickets.