Opened 8 years ago

Last modified 5 years ago

#38806 new defect

cmake +universal cannot be installed with universal_archs='i386 ppc'

Reported by: geri6383@… Owned by: michaelld (Michael Dickens)
Priority: Low Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: cmake

Description

I am using Leopard Mac OS X version 10.5.8 Processor 2.4 GHz Intel Core 2 Duo (ie 64-bit) Kernel Version: Darwin 9.8.0

I am trying to install Wine 1.3.13, but I keep on getting the error below.

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

I am using XCode 3.1.3 (I also tried Xcode 3.1.4 and have the same issue), XQuartz (aka X11). and have also downloaded Java developer for Mac_OS_X_10.5_9m3425.dmg.

Not sure what I am doing wrong, but I would appreciate whatever help I can get to install Wine. Attached is what I entered in the terminal. As you can see, I tried cleaning the cmake port to no avail. I am also attaching the log file for port cmake for the details.

Lastly, I tried to enter the command to see the license agreement, but this is supposedly an "unknown option: -license". The instructions I was using said that it may or may not require you to agree to a license. I assumed since I had to agree to licenses when I was downloading all the programs (XCode, Xquartz, wine, java), that this is probably why I did not need to agree to any licenses and consequently why this option is unknown.

Thank you in advance for your help!

Attachments (3)

Port Wine Fail 4-14-2013.rtf (2.9 KB) - added by geri6383@… 8 years ago.
main.log (974 bytes) - added by geri6383@… 8 years ago.
New Issue.rtf (675 bytes) - added by geri6383@… 8 years ago.

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by geri6383@…

Changed 8 years ago by geri6383@…

Attachment: main.log added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: leopard added; Leopard 64-bit removed
Owner: changed from macports-tickets@… to css@…
Port: wine removed
Summary: Wine @ 1.3.13 + Port cmake configure error - build failurecmake configure error

That does not look like a clean build log. clean cmake and try again. Post the new log if it fails.

Changed 8 years ago by geri6383@…

Attachment: New Issue.rtf added

comment:2 Changed 8 years ago by geri6383@…

Prior to sending the above email, i cleaned cmake and the log cleared out. I ran sudo port install wine and I got the same message I sent above and the same cmake port file. I did this process 2 more times to make sure that cleaning this port was not the issue. For some reason, I can't enter any command in the Terminal as it is telling me "command not found". Not sure what is causing this issue, but I have attached the error I'm seeing.

Are there any other programs I need to download? Is there another command line I need to use? Do I need to have all the other programs mentioned above open or will MacPorts just get the information it needs from my computer so long as everything is installed?

Thank you for your help.

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

Keywords: leopard removed
Summary: cmake configure errorcmake +universal cannot be installed with universal_archs='i386 ppc'

comment:4 Changed 7 years ago by cssdev

Priority: NormalLow

is wine doing something to set build_arch? this seems similar to #38990

comment:5 in reply to:  4 Changed 7 years ago by douglasdd@…

On my 10.5.8 MacMini2,1 (core2 duo) I first encountered this when selfupdateing from 2.1.2 to 2.2.1

I hacked around this by editing:

etc/macports.conf from:

universal_archs         i386 ppc

to:

universal_archs         i386

After this I was able to complete the installation of gd2 (cmake is one of it's dependencies).

The side effect of my hack is that every port command now first issues a warning before behaving normally:

$ port platform
Warning: invalid universal_archs configured (should contain at least 2 archs)
Platform: darwin 9 i386

$ port version
Warning: invalid universal_archs configured (should contain at least 2 archs)
Version: 2.2.1

comment:6 in reply to:  4 Changed 7 years ago by ryandesign (Ryan Schmidt)

Replying to css@…:

is wine doing something to set build_arch? this seems similar to #38990

Of course: wine only builds for i386, and indicates this via the line "supported_archs i386". On 64-bit machines running Snow Leopard and later, the default build_arch is x86_64, so such machines will have to build wine's dependencies universal first, and MacPorts will automatically do so.

But this ticket is about Leopard, on which the default build_arch on Intel machines is i386, so MacPorts should not be trying to build wine's dependencies universal, unless the user has changed build_arch to x86_64 in macports.conf. If the user has done this, the user should also change universal_archs from its default i386 ppc to x86_64 i386, and rebuild any already-installed universal ports.

comment:7 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from css@… to michaelld@…
Note: See TracTickets for help on using tickets.