| Summary: | problem while emerge dev-libs/glib | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Dirk Schoenberger <dirk.schoenberger> |
| Component: | Mac OSX | Assignee: | Gentoo for Mac OS X <ppc-macos> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jer |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | OS X | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
log file containing the root problem of the failed emerge
Patch that makes ppc-macos patches version-dependent. Patch for the 2.8.2 ebuild that uses sed instead of [e]patch |
||
|
Description
Dirk Schoenberger
2005-10-16 05:05:52 UTC
Created attachment 70784 [details]
log file containing the root problem of the failed emerge
Created attachment 70790 [details, diff]
Patch that makes ppc-macos patches version-dependent.
The patch in the files dir is specific to an apparently unsupported glib
version 2.4.8. This patch renames the current patch to specify that and changed
the two 2.x ebuilds so that epatch can handle it and die appropriately if
needed. This patch *does not* solve the bug because the way it is now, it seems
the configure script in every version would need to be edited separately. :-\
Created attachment 70791 [details, diff]
Patch for the 2.8.2 ebuild that uses sed instead of [e]patch
Apparently the patch only statically replaced every -$flag in configure with
$flag. Hey, we can do that dynamically too with sed. Disclaimer: I haven't
tested the patched ebuild.
On another note, why doesn't the 2.8.2 ebuild have a SRC_URI? I believe the gnome people don't need to be bothered with this. The SRC_URI comes from the gnome.org eclass. (In reply to comment #5) > I believe the gnome people don't need to be bothered with this. You tell me. :) > The SRC_URI comes from the gnome.org eclass. In that case the Ebuild HOWTO [1] might need some TLC, as it lists SRC_URI as one of the "variables you must always set" in "every ebuild file". [1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml? part=2&chap=1#doc_chap2 uhm... did someone consider removing the patch? It [1] just compiles for me when I remove the patch from the ebuild... [1] dev-libs/glib-2.8.2 -debug (-doc) (-hardened) 2,502 kB (In reply to comment #6) > > The SRC_URI comes from the gnome.org eclass. > > In that case the Ebuild HOWTO [1] might need some TLC, as it lists SRC_URI as > one of the "variables you must always set" in "every ebuild file". The power of the Human Brain(tm) is to 'reason'. It might be obfuscated, but if you think of how eclasses work the ebuild has a SRC_URI. It has no use to spank someone for things that are simply not to obvious, IMHO. (In reply to comment #8) > It might be obfuscated, but if you think of how eclasses work the ebuild has a > SRC_URI. It has no use to spank someone for things that are simply not to > obvious, IMHO. I wasn't trying to spank anyone. I merely asked a straightforward question. Thanks for the anwser. I learn something everyday, like always to check what eclasses are inherited. :) Remember that one books more success using a proper amount of politeness. It also helps to research a bit before you actually come up with a 'straight' question. I'd be surpriced if someone from the gnome herd would have nicely answered you, if any at all. |