Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gettext-tiny: Make libiconv only target dependency
@ 2019-04-08 14:04 Alexey Brodkin
  2019-04-08 21:05 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Brodkin @ 2019-04-08 14:04 UTC (permalink / raw)
  To: buildroot

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:
------------------------->8---------------------
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
------------------------->8---------------------

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

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Vadim Kochan <vadim4j@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
 HOST_GETTEXT_TINY_POST_PATCH_HOOKS += HOST_GETTEXT_TINY_COPY_EXTRA_FILES
 
 ifeq ($(BR2_ENABLE_LOCALE),)
-HOST_GETTEXT_TINY_DEPENDENCIES = libiconv
+GETTEXT_TINY_DEPENDENCIES = libiconv
 endif
 
 define HOST_GETTEXT_TINY_BUILD_CMDS
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-09  7:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-08 14:04 [Buildroot] [PATCH] gettext-tiny: Make libiconv only target dependency Alexey Brodkin
2019-04-08 21:05 ` Thomas Petazzoni
2019-04-08 21:54   ` Vadim Kochan
2019-04-09  6:02     ` Thomas Petazzoni
2019-04-09  6:39       ` Vadim Kochan
2019-04-09  7:11         ` Alexey Brodkin
2019-04-09  7:34           ` Vadim Kochan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox