Gentoo Archives: gentoo-alt

From: "W. Trevor King" <wking@××××××.edu>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] py2app and `invalid reference`
Date: Wed, 08 Jun 2011 16:21:25
In Reply to: Re: [gentoo-alt] Re: Welcome to by Fabian Groffen
On Wed, Jun 08, 2011 at 05:49:10PM +0200, Fabian Groffen wrote:
> On 08-06-2011 11:45:56 -0400, W. Trevor King wrote: > > py2app bundles prebuilt stubs, but it looks like there *is* code to > > rebuild them if necessary [2]. I'm not sure if there's a good way to > > disable non-x64 stubs, or if that's even a good idea. The universal > > stub presumably uses the appropriate library for whatever system > > you're running on, but I am not enough of a linker guru to understand > > how any of that works ;). > > I think it IS a good idea. Simply because we don't do multilib in any > aspect of the system, so even though py2app thinks it is clever, it > won't ever work. > > A sed or any other hack to make sure it isn't going to do a multilib > build (typically -arch appears then) is just necessary here.
Ok, so USE flags to enable stub installation: if use x64-macos; then # install *-x86_64 fi ... I'm not quite sure of the arch-to-stub mapping, I think it should be arch stub --------- ---------------------------- x64-macos x86_64 ppc64 ppc64 ppc-macos ppc (possibly just ppc?) ? intel ? i386 ? fat3 ? fat -never- universal -- This email may be signed or encrypted with GnuPG ( For more information, see


File name MIME type
signature.asc application/pgp-signature