Summary: | no debugedit ebuild for OS X | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | steve <swsiadak> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED CANTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
steve
2009-10-01 16:50:10 UTC
Please test it :) We have so many bugs that we can't get to every package =/ http://www.gentoo.org/proj/en/gentoo-alt/prefix/ecopy.xml Gave this a shot PORTDIR_OVERLAY="{$EPREFIX}/usr/local/portage" ~/Library/Gentoo/usr/portage/scripts/ecopy dev-util/debugedit ekeyword ~x86-macos debugedit-4.4.6-r1.ebuild FEATURES=test ebuild debugedit-4.4.6-r1.ebuild test # digest issue ebuild debugedit-4.4.6-r1.ebuild digest FEATURES=test ebuild debugedit-4.4.6-r1.ebuild test At this point I get build errors, 1st large issue is missing headers: debugedit.c:23:22: error: byteswap.h: No such file or directory debugedit.c:24:20: error: endian.h: No such file or directory debugedit.c:26:19: error: error.h: No such file or directory debugedit.c:36:18: error: gelf.h: No such file or directory debugedit.c:37:19: error: dwarf.h: No such file or directory Is there already a standard way to handle missing headers? (Although to be fair this is more than missing headers, OS X actually implements these with different names) If not could we create a <something>-headers ebuild specifically for this prefix? This would be a set of headers that wrap OS X includes and define macros/inline function that define what the linux apps expect to exist. For example this missing byteswap header: http://cgit.freedesktop.org/xorg/xserver/tree/GL/glx/glxbyteorder.h?id=cdf6b15f039c4905d8d54152153b0a3ecd7aba55;id2=415e49b940bba2d08870db410ebb47d2add5d836 Could be pulled in and included in a byteswap.h header installed in $EPREFIX/usr/include/ Thanks for your analysis. Too little time to implement such ideas. I'm afraid it will have to hold for some time. Sorry. You can forget about debugedit ever working on OSX. This package seems to be geared towards ELF systems, and OSX/Darwin uses MACHO. If eix devs want a backtrace from you, you better reemerge eix with CFLAGS="-g" FEATURES="keepwork nostrip" and then start eix from gdb: gdb --args eix args... and then when the debugger catches the segfault, print the backtrace using "bt". |