[Buildroot] [PATCH] gettext-tiny: Make libiconv only target dependency

Alexey Brodkin alexey.brodkin at synopsys.com
Mon Apr 8 14:04:42 UTC 2019

Looks like a copy-paste issue in
commit ea1e7ee60682 ("package/gettext: turn into virtual package").

This creates a funny circular dependency in minimalistic configs
with uClibc:
make libiconv-graph-depends
Getting dependency tree...

Recursion detected for  : toolchain
which is a dependency of: host-gettext-tiny
which is a dependency of: host-gettext
which is a dependency of: host-flex
which is a dependency of: host-binutils
which is a dependency of: host-gcc-final
which is a dependency of: toolchain-buildroot
which is a dependency of: toolchain
make: *** [libiconv-graph-depends] Error 1

But real problem in build failure because we try to build
libiconv for target before toolchain is built.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Cc: Vadim Kochan <vadim4j at gmail.com>
 package/gettext-tiny/gettext-tiny.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gettext-tiny/gettext-tiny.mk b/package/gettext-tiny/gettext-tiny.mk
index 4fa014e8dd..f07903d203 100644
--- a/package/gettext-tiny/gettext-tiny.mk
+++ b/package/gettext-tiny/gettext-tiny.mk
@@ -50,7 +50,7 @@ endef
 ifeq ($(BR2_ENABLE_LOCALE),)

More information about the buildroot mailing list