Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: "W. Trevor King" <wking@...>
Subject: Re: py2app and `invalid reference`
Date: Wed, 8 Jun 2011 12:21:28 -0400
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 (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
Attachment:
signature.asc (OpenPGP digital signature)
References:
Re: Welcome to gentoo-alt@g.o
-- W. Trevor King
Re: Re: Welcome to gentoo-alt@g.o
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Welcome to gentoo-alt@g.o
Next by thread:
Gentoo/OpenBSD, strange problems with bzip2.
Previous by date:
Re: Re: Welcome to gentoo-alt@g.o
Next by date:
Gentoo/OpenBSD, strange problems with bzip2.


Updated Apr 03, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.