Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136941 - linux-headers requires nls
Summary: linux-headers requires nls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard: queue:2.6.17
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 18:05 UTC by Austin Morgan
Modified: 2006-07-02 11:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linux-headers-2.6.16-no-nls.patch (linux-headers-2.6.16-no-nls.patch,362 bytes, patch)
2006-06-16 09:08 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Morgan 2006-06-15 18:05:30 UTC
>>> Source unpacked.
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
In file included from scripts/kconfig/conf.c:14:
scripts/kconfig/lkc.h:12:22: libintl.h: No such file or directory
scripts/kconfig/conf.c: In function `check_stdin':
scripts/kconfig/conf.c:59: warning: implicit declaration of function `gettext'
make[1]: *** [scripts/kconfig/conf.o] Error 1
make: *** [defconfig] Error 2

---
kc-gtm7y21 / # emerge --info
Portage 2.0.54 (uclibc/x86/2005.1, gcc-3.4.5, uclibc-0.9.28-r0, 2.6.16-gentoo-r3                                                             i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-Os -pipe -march=i686 -fomit-frame-pointer"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share                                                            /config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd                                                            e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/q                                                            mail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks nodoc noinfo noman sandbox sfperm                                                            s strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/                                                            distributions/gentoo"
PKGDIR="/packages/uclibc"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts bzip2 cli dri expat minimal ncurses pcre perl pytho                                                            n readline reflection session spl ssl truetype-fonts type1-fonts uclibc uclibc-c                                                            ompat udev xorg zlib userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS                                                            , PORTDIR_OVERLAY
Comment 1 solar (RETIRED) gentoo-dev 2006-06-16 04:36:07 UTC
Which headers version?
Comment 2 Austin Morgan 2006-06-16 05:08:00 UTC
Oops, linux-headers-2.6.16
Comment 3 solar (RETIRED) gentoo-dev 2006-06-16 05:19:41 UTC
I thought this was already fixed by .16
Comment 4 Joshua Kinard gentoo-dev 2006-06-16 06:09:06 UTC
Try passing -DKBUILD_NO_NLS -- There's an ifdef block that screens out the libintl.h include if this is present.
Comment 5 solar (RETIRED) gentoo-dev 2006-06-16 09:08:46 UTC
Created attachment 89320 [details, diff]
linux-headers-2.6.16-no-nls.patch

Works in my testing.. I don't see any reason why to force nls for building linux 
kernel headers so I would just enable this blindly for all headers here on out.
Comment 6 SpanKY gentoo-dev 2006-06-16 13:09:33 UTC
nls is only used in the menuconfig stuff so disabling it for all headers is sane
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2006-06-18 12:26:01 UTC
Looks good, feel free to add it to files/ in CVS (or wait for me to get round to the next patchset).
Comment 8 Austin Morgan 2006-06-19 19:54:13 UTC
(In reply to comment #5)
> Created an attachment (id=89320) [edit]
> linux-headers-2.6.16-no-nls.patch
> 
> Works in my testing.. I don't see any reason why to force nls for building
> linux 
> kernel headers so I would just enable this blindly for all headers here on out. 
> 
Works for me.  Thank you for the prompt assistance.
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2006-07-02 11:22:49 UTC
Fixed in 2.6.17 headers, thanks!