Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#57245 closed defect (fixed)

Confusing message when attempting to use +universal with the macOS 10.14 SDK

Reported by: idirect3d Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone: MacPorts 2.6.0
Component: base Version: 2.5.4
Keywords: mojave Cc: jmroot (Joshua Root), libsystem-ethan, LeoFCardoso (Leonardo), justr1 (Juergen)
Port: wine

Description (last modified by mf2k (Frank Schima))

Error: wine cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) 'i386 x86_64'.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port wine failed

Change History (22)

comment:1 Changed 6 years ago by idirect3d

'x86_64 i386' != 'i386 x86_64' ?

comment:2 Changed 6 years ago by idirect3d

Summary: wine cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) 'i386 x86_64'.Erro: wine cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) 'i386 x86_64'.

comment:3 Changed 6 years ago by idirect3d

Summary: Erro: wine cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) 'i386 x86_64'.Error: wine cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) 'i386 x86_64'.

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

In the future, please use WikiFormatting, fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers wine), if any.

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

Description: modified (diff)
Keywords: wine universal_archs removed
Owner: set to ryandesign
Port: wine added
Status: newassigned

comment:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot added

I have not seen that error message before. Perhaps it relates to changes made in MacPorts 2.5.4; Josh?

Can you attach the main.log please?

What macOS version are you running on?

comment:7 Changed 6 years ago by jmroot (Joshua Root)

The explaining messages probably need to be improved, as the failure is a result of the SDK being used, not the port's supported_archs.

comment:8 in reply to:  4 Changed 6 years ago by idirect3d

Replying to mf2k:

In the future, please use WikiFormatting, fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers wine), if any.

sorry, I will try my best in the future.

comment:9 in reply to:  7 ; Changed 6 years ago by idirect3d

Replying to jmroot:

The explaining messages probably need to be improved, as the failure is a result of the SDK being used, not the port's supported_archs.

I get same message on 2 macbooks after I upgrade them to Mojave and MacPorts 2.5.4. Xcode version is 10.0 (10A255), xcode-select --install and xcodebuild -license has bean executed.

uname -a
Darwin localhost 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64
xcodebuild -showsdks
iOS SDKs:
	iOS 12.0                      	-sdk iphoneos12.0

iOS Simulator SDKs:
	Simulator - iOS 12.0          	-sdk iphonesimulator12.0

macOS SDKs:
	macOS 10.14                   	-sdk macosx10.14

tvOS SDKs:
	tvOS 12.0                     	-sdk appletvos12.0

tvOS Simulator SDKs:
	Simulator - tvOS 12.0         	-sdk appletvsimulator12.0

watchOS SDKs:
	watchOS 5.0                   	-sdk watchos5.0

watchOS Simulator SDKs:
	Simulator - watchOS 5.0       	-sdk watchsimulator5.0

I hope this will help you

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:10 in reply to:  9 ; Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mojave added

Replying to idirect3d:

I get same message on 2 macbooks after I upgrade them to Mojave and MacPorts 2.5.4.

Ok. It's definitely impossible to build wine on Mojave right now. See #56991 and https://lists.macports.org/pipermail/macports-users/2018-September/045704.html and https://lists.macports.org/pipermail/macports-dev/2018-September/039395.html.

I had put an error message into the wine ports to alert users to this problem, but apparently the new error message in MacPorts 2.5.4 has superseded the ports' error message.

comment:11 Changed 6 years ago by jmroot (Joshua Root)

The message would probably be less confusing if wine didn't default to +universal on 10.14.

comment:12 in reply to:  10 Changed 6 years ago by idirect3d

Replying to ryandesign:

Replying to idirect3d:

I get same message on 2 macbooks after I upgrade them to Mojave and MacPorts 2.5.4.

Ok. It's definitely impossible to build wine on Mojave right now. See #56991 and https://lists.macports.org/pipermail/macports-users/2018-September/045704.html and https://lists.macports.org/pipermail/macports-dev/2018-September/039395.html.

I had put an error message into the wine ports to alert users to this problem, but apparently the new error message in MacPorts 2.5.4 has superseded the ports' error message.

I think I know what is the problem. Unfortunately i can't use ports to build wine now. but it's still good software apparently. Thank you and your team for what you have done.

comment:13 Changed 6 years ago by libsystem-ethan

Cc: libsystem-ethan added

comment:14 Changed 6 years ago by jmroot (Joshua Root)

In 0d0f97e38103daa643340755a095e706d5f19376/macports-ports (master):

wine*: don't default to +universal on Mojave

See: #57245

comment:15 in reply to:  10 Changed 6 years ago by jmroot (Joshua Root)

Component: portsbase
Summary: Error: wine cannot be installed for the configured universal_archs 'x86_64 i386' because it only supports the arch(s) 'i386 x86_64'.Confusing message when attempting to use +universal with the macOS 10.14 SDK

Replying to ryandesign:

Ok. It's definitely impossible to build wine on Mojave right now. See #56991

Since we already have that ticket for not being able to build wine, let's make this one about improving the message printed by base.

comment:16 Changed 6 years ago by LeoFCardoso (Leonardo)

Cc: LeoFCardoso added

comment:17 Changed 6 years ago by justr1 (Juergen)

Cc: justr1 added

comment:18 Changed 6 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:19 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 918c34729bb3b4f33c822cec384f86b8c6d99a54/macports-base (master):

Improve explanations in check_supported_archs

Fixes: #57245

comment:20 Changed 6 years ago by jmroot (Joshua Root)

With the above commit, you now get this:

% sudo port install wine +universal
Password:
Error: wine cannot be installed for the configured universal_archs 'i386 x86_64' because the arch(s) 'i386' are not supported.

comment:21 Changed 6 years ago by yaseppochi (Stephen J. Turnbull)

This comment is informative in case others run into the situation I did. AFAICS no action is needed by MacPorts on my report.

In #57369 "gperf: Cannot be installed +universal on Mojave", ryandesign gives this list:

Don't specify +universal on the command line, or in variants.conf, or in myports.txt as part of migration. 

There's some other possibility (I have none of the above as far as I can tell). I did have ~/myports (no extension). I'm not sure if port picked that up (there are many +universal in there, but only ncurses got the error of 150 outdated ports; of course many don't have executables or libraries in them).

It was sufficient to uninstall ncurses, clean --all ncurses (don't know why that was necessary), and reinstall ncurses with variant -universal (don't know if that is necessary).

comment:22 Changed 5 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.6.0
Note: See TracTickets for help on using tickets.