Summary: | net-misc/kiax fails to compile w/ glibc-2.8 (h_addr issue) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | A Frederick Christensen <fauxmight> |
Component: | New packages | Assignee: | voip herd (OBSOLETE) <voip+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, pacho |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 225459, 258813 | ||
Attachments: |
Patch to fix the h_addr issue
Ebuild to go with the above patch Patch fixing compilation issue with glibc-2.8 Patch from 0.8.51 to 0.8.51-r1 Ebuild for kiax-0.8.51-r1 |
Description
A Frederick Christensen
2008-11-09 07:28:38 UTC
Created attachment 171150 [details, diff]
Patch to fix the h_addr issue
This patch fixed the compile for me. (Worked on x86 ... haven't tested any other circumstances.)
Created attachment 171151 [details]
Ebuild to go with the above patch
Ebuild that includes the patch above.
Thanks for submitting this compile fix. Could you post your version of glibc as additional info, since the problem must come from newer versions of glibc dropping h_addr definition from netdb.h? (In reply to comment #3) > Thanks for submitting this compile fix. Could you post your version of glibc as > additional info, since the problem must come from newer versions of glibc > dropping h_addr definition from netdb.h? > Thanks for pointing that out, Wormo. I'm running sys-libs/glibc-2.8_p20080602. *** Bug 248107 has been marked as a duplicate of this bug. *** Created attachment 181919 [details, diff]
Patch fixing compilation issue with glibc-2.8
Actually, I just renamed A. Frederick Christensen patch.
Created attachment 181921 [details, diff] Patch from 0.8.51 to 0.8.51-r1 This patch use the patch to fix glibc-2.8 issue. It is also cleaning the ebuild and fixing bug #233062. Note: I had a sandbox violation so I add : # throw a sandbox error otherwise sed -ie "s:../../../../../../../../share:usr/share:g" \ src/Makefile || die "patching src/Makefile failed" I made many tests and I don't think it's linked with my system. Can anyone confirm this ? As I have not glibc-2.8, I must trust Frederick about his patch fixing everything. Only I can say is it is not breaking anything without glibc-2.8 ;) Another time, can anyone test this ? Created attachment 182070 [details]
Ebuild for kiax-0.8.51-r1
I search a deeper reason about sandbox violation and I'm now using eqmake3 instead of upstream script.
This is changing many things in the ebuild so I prefer to provide a plain text ebuild instead of a patch.
So, I just need someone to confirm this is working with glibc-2.8.
By the way, if this ebuild is added to the tree and old ones removed, configure.patch can be removed too.
thx, added -r1, removed -r0. |