All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)
@ 2019-09-19 20:02 Peter Seiderer
  2019-09-19 20:40 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Seiderer @ 2019-09-19 20:02 UTC (permalink / raw)
  To: buildroot

Fixes:

  match.o: In function `SetMatchSpec':
  match.c:(.text+0x9c): undefined reference to `re_comp'
  match.o: In function `Match':
  match.c:(.text+0xca): undefined reference to `re_exec'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/ytree/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/ytree/Config.in b/package/ytree/Config.in
index 3ac9283a56..c6f75b5590 100644
--- a/package/ytree/Config.in
+++ b/package/ytree/Config.in
@@ -1,8 +1,13 @@
 config BR2_PACKAGE_YTREE
 	bool "ytree"
+	depends on !BR2_TOOLCHAIN_USES_MUSL # re_comp/re_exec
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NCURSES
 	help
 	  Ytree - a (curses-based) file manager similar to DOS Xtree(tm)

 	  https://www.han.de/~werner/ytree.html
+
+comment "ytree needs a glibc or uClibc toolchain"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_USES_MUSL
--
2.23.0

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

* [Buildroot] [PATCH] package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)
  2019-09-19 20:02 [Buildroot] [PATCH] package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec) Peter Seiderer
@ 2019-09-19 20:40 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-09-19 20:40 UTC (permalink / raw)
  To: buildroot

On Thu, 19 Sep 2019 22:02:57 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> Fixes:
> 
>   match.o: In function `SetMatchSpec':
>   match.c:(.text+0x9c): undefined reference to `re_comp'
>   match.o: In function `Match':
>   match.c:(.text+0xca): undefined reference to `re_exec'
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/ytree/Config.in | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks. Not great that we're adding a new package,
and it uses some old legacy/deprecated APIs that musl doesn't implement.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-09-19 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-19 20:02 [Buildroot] [PATCH] package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec) Peter Seiderer
2019-09-19 20:40 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.