Opened 14 years ago

Closed 12 years ago

#25404 closed defect (fixed)

mumble universal variant fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mumble murmur

Description

mumble has a universal variant but it fails to even attempt to install because its dependency ice-cpp does not have a universal variant.

$ sudo port install mumble +universal
Password:
--->  Computing dependencies for mumble
Error: Cannot install mumble for the arch(s) 'i386 x86_64' because
Error: its dependency ice-cpp does not build for the required arch(s) by default
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch

Change History (10)

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

Perhaps I've misunderstood the function of supported_archs--it indicates it only supports ppc i386. Why is +universal trying to use universal_archs if they aren't a subset of supported_archs?

I think that's a bigger issue than having the universal_archs differ for one port than another.

Have I missed something?

comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

In the latest (1.2.3):

CONFIG+=universal (OSX)
 Build a universal binary build of Mumble for i386 and ppc instead of the
 default x86-64-only build. The universal build is meant to be used with
 the Carbon version of Qt, and is compatible with 10.4+.
 The x86-64 build of Mumble is compatible with 10.5+ and requires a Cocoa
 version of Qt.

comment:3 in reply to:  1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to snc@…:

Perhaps I've misunderstood the function of supported_archs--it indicates it only supports ppc i386. Why is +universal trying to use universal_archs if they aren't a subset of supported_archs?

I think that's a bigger issue than having the universal_archs differ for one port than another.

You're right: supported_archs does not influence configure.universal_archs. Feel free to file a MacPorts base bug about that. For now, ports that set supported_archs should also set configure.universal_archs. MacPorts 2 has at least improved the error message:

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

comment:4 in reply to:  2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to snc@…:

In the latest (1.2.3):

CONFIG+=universal (OSX)
 Build a universal binary build of Mumble for i386 and ppc instead of the
 default x86-64-only build.

That doesn't sound like what we want for MacPorts.

comment:5 Changed 13 years ago by nerdling (Jeremy Lavergne)

Port: murmur added
Version: 1.9.1

Murmur's universal variant now functions like mumble.

Since it doesn't operate how we'd like in MacPorts, should I just disable the universal variant rather than leaving it to be successful for those who want to build it ppc/i386?

comment:6 Changed 13 years ago by Ephaeton@…

It's interesting that mumble wants to build as 386 on this box anyways:

$ uname -smr
Darwin 11.3.0 x86_64

but still:

Error: Cannot install mumble for the arch(s) 'i386' because
Error: its dependency ice-cpp does not build for the required arch(s) by default
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch

Also mumble from its homepage says its "now" (1.2.3) only providing for x86_64...

comment:7 Changed 13 years ago by gotyaoi@…

So this has been biting me in the butt as well. Though I'm on 64-bit snow leopard, mumble insists on trying to build universal, and no amount of commandline switches can stop it. Now, I know that even though ice-cpp has no universal variant, it can build on both i386 and x86_64, as I have previously installed mumble on a leopard box and my current snow leopard one. So to test a small theory, I set build_arch in macports.conf to i386 and installed ice-cpp. Mumble seems mollified at this point. I may try to modify the portfile to have supported_archs include x86_64, to see how that goes.

comment:8 Changed 13 years ago by gotyaoi@…

Well, that didn't exactly work. Build failures and such. So yeah, my current experience, it tries to build universal on SL, which fails, you can force it to build i386, which works, and trying to make it build x86_64 doesn't work so well.

comment:9 Changed 12 years ago by nerdling (Jeremy Lavergne)

Anyone opposed to removal of mumble/murmur?

comment:10 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Removed mumble/murmur r95178.

Note: See TracTickets for help on using tickets.