Summary: | sys-devel/gettext-0.18.1: bundled gnulib doesn't cross compiles with uclibc targets | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maksim 'max_posedon' Melnikau <maxposedon> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | laborer2008 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gettext uclibc nls patch
gettext ebuild patch gettext mipsel-ucibc cross build.log |
Description
Maksim 'max_posedon' Melnikau
2010-06-09 22:42:02 UTC
Created attachment 234789 [details]
gettext uclibc nls patch
This patch should be applied *during* compile time - just after error.
Its crazy hack, but it works.
I don't know where all this files (which gettext generates) comes from - I don't know root of the problem.
Created attachment 234791 [details]
gettext ebuild patch
This is how crazy hack can be applied.
This patches possible never go to portage. But let they save time for somebody who want just compile it right now.
If somebody know how to fix such issues correct way - plz let me know.
Created attachment 234793 [details]
gettext mipsel-ucibc cross build.log
This how it failed for me, before this patches.
not really bugs in gettext This issue is present for me too. I try to crosscompile it for arm cpu, but it has ./spawn.h:403: error: field '_sp' has incomplete type error >I try to crosscompile it for arm cpu, but it has
./spawn.h:403: error: field '_sp' has incomplete type
error
Also for me!
I am compile it without nls. Patch is trivial:
--- spawn.h.orig 2010-11-18 19:49:42.424350565 +0300
+++ spawn.h 2010-11-18 19:49:10.392349526 +0300
@@ -37,6 +37,10 @@
# include <signal.h>
#endif
+#ifdef __UCLIBC__
+# include <sched.h>
+#endif
+
#include <sys/types.h>
#ifndef __THROW
the sched/spawn issue is fixed in gettext-0.18.1.1-r2 gettext failing with uclibc is generally tracked in Bug 214835 |