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: Welcome to gentoo-alt@g.o
Date: Wed, 8 Jun 2011 11:45:56 -0400
I'm trying to write a py2app ebuild on x64-macos [1], but installation
crashes with

   * QA Notice: invalid reference to /usr/lib/libgcc_s_ppc64.1.dylib in /Users/wking/Gentoo/usr/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-universal
   * QA Notice: invalid reference to /usr/lib/libgcc_s_ppc64.1.dylib in /Users/wking/Gentoo/usr/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-universal

This makes sense, because I'm running x64-macos, so I don't have the
ppc64 libraries.  My current solution is to ignore the problem:

    $ FEATURES="allow_broken_install_names" emerge -av py2app

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 ;).

There are lots of bugs and mailing list messages where `invalid
reference to ...` problems have come up over the years, but I haven't
been able to find a clear description of what's actually going wrong.
How can a package successfully link to a library during the build if
that library doesn't exist?  Manually checking that the library exists
seems like overkill, unless (as for my py2app), the libraries were not
built on your system.  Anyhow, I'd be greatful if someone could shed
some light on the big-picture problem, and/or my particular py2app
issues.

Thanks!
Trevor

[1] http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=wtk-prefix-overlay.git;a=blob;f=dev-python/py2app/py2app-0.6.3.ebuild;h=0dbffcc942efadfb3e3794a5ebc73d9bf577e053;hb=HEAD
[2] https://bitbucket.org/ronaldoussoren/py2app/src/f98381f4cb5f/py2app/bundletemplate/setup.py

-- 
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)
Replies:
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:
portable EPREFIX? ... crossdev toolchains, anyone?
Next by thread:
Re: Re: Welcome to gentoo-alt@g.o
Previous by date:
Re: Error on installing package with portage
Next by date:
Re: Re: Welcome to gentoo-alt@g.o


Updated Jun 07, 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.