From: Sven Neumann <s.neumann@raumfeld.com>
To: buildroot@busybox.net
Subject: [Buildroot] util-linux compile problems
Date: Tue, 09 Aug 2011 11:50:49 +0200 [thread overview]
Message-ID: <1312883451.1593.3.camel@sven> (raw)
In-Reply-To: <87y5z3k92i.fsf@macbook.be.48ers.dk>
Hi,
On Mon, 2011-08-08 at 21:16 +0200, Peter Korsgaard wrote:
> >>>>> "Peter" == Peter Korsgaard <jacmet@uclibc.org> writes:
>
> Hi,
>
> Peter> We already pass --disable-nls unless you have locales enabled,
> Peter> so perhaps it needs similar handling as libglib2 for uClibc
> Peter> (select LIBINTIL if BR2_NEEDS_GETTEXT). Thomas also mentioned
> Peter> something about that, but I haven't done a locale build lately
> Peter> to test. Will do so now.
>
> It seems to work fine here with:
>
> BR2_arm=y
> BR2_arm926t=y
> BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
> BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
> BR2_PACKAGE_UTIL_LINUX=y
> BR2_PACKAGE_UTIL_LINUX_MOUNT=y
> BR2_PACKAGE_UTIL_LINUX_FSCK=y
> BR2_PACKAGE_UTIL_LINUX_LIBMOUNT=y
> BR2_PACKAGE_UTIL_LINUX_UUIDD=y
> BR2_PACKAGE_UTIL_LINUX_AGETTY=y
> BR2_PACKAGE_UTIL_LINUX_CRAMFS=y
> BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT=y
> BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT=y
> BR2_PACKAGE_UTIL_LINUX_FALLOCATE=y
> BR2_PACKAGE_UTIL_LINUX_UNSHARE=y
> BR2_PACKAGE_UTIL_LINUX_RENAME=y
> BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS=y
> BR2_PACKAGE_UTIL_LINUX_WALL=y
> BR2_PACKAGE_UTIL_LINUX_ARCH=y
> BR2_PACKAGE_UTIL_LINUX_INIT=y
> BR2_PACKAGE_UTIL_LINUX_KILL=y
> BR2_PACKAGE_UTIL_LINUX_LAST=y
> BR2_PACKAGE_UTIL_LINUX_MESG=y
> BR2_PACKAGE_UTIL_LINUX_PARTX=y
> BR2_PACKAGE_UTIL_LINUX_RAW=y
> BR2_PACKAGE_UTIL_LINUX_RESET=y
> BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS=y
> BR2_PACKAGE_UTIL_LINUX_WRITE=y
>
> E.G. locale support and all util-linux options enabled, but no
> gettext/libintl.
Well, it works for me in that configuration as well. But it doesn't work
for the configuration that has locale support enabled and
gettext/libintl:
BR2_ENABLE_LOCALE=y
BR2_NEEDS_GETTEXT=y
BR2_NEEDS_GETTEXT_IF_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PACKAGE_GETTEXT=y
BR2_PACKAGE_LIBINTL=y
I've tried the following patch, but it doesn't seem to help:
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 816130d..ed0ba8b 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_UTIL_LINUX
bool "util-linux"
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
depends on BR2_LARGEFILE
depends on BR2_USE_WCHAR
help
diff --git a/package/util-linux/util-linux.mk
b/package/util-linux/util-linux.mk
index d34759b..c124256 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -9,7 +9,7 @@ UTIL_LINUX_SOURCE =
util-linux-$(UTIL_LINUX_VERSION).tar.bz2
UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v
$(UTIL_LINUX_VER
UTIL_LINUX_AUTORECONF = YES
UTIL_LINUX_INSTALL_STAGING = YES
-UTIL_LINUX_DEPENDENCIES = host-pkg-config
+UTIL_LINUX_DEPENDENCIES = host-pkg-config $(if
$(BR2_NEEDS_GETTEXT_IF_LOCALE),g
UTIL_LINUX_CONF_OPT += --disable-rpath --disable-makeinstall-chown
next prev parent reply other threads:[~2011-08-09 9:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 11:58 [Buildroot] util-linux compile problems Sven Neumann
2011-08-08 11:58 ` [Buildroot] [PATCH 1/2] util-linux: fix BR2_PACKAGE_UTIL_LINUX_UUIDD option Sven Neumann
2011-08-08 18:06 ` Peter Korsgaard
2011-08-08 11:58 ` [Buildroot] [PATCH 2/2] util-linux: disable NLS Sven Neumann
2011-08-08 12:13 ` [Buildroot] util-linux compile problems Yegor Yefremov
2011-08-08 12:24 ` Sven Neumann
2011-08-08 18:05 ` Peter Korsgaard
2011-08-08 19:16 ` Peter Korsgaard
2011-08-09 9:50 ` Sven Neumann [this message]
2011-08-09 14:18 ` Peter Korsgaard
2011-08-11 7:56 ` Sven Neumann
2011-08-12 8:28 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1312883451.1593.3.camel@sven \
--to=s.neumann@raumfeld.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox