diff mbox

package/at: needs uClibc or (e)glibc

Message ID 1430776353-9627-1-git-send-email-yann.morin.1998@free.fr
State Changes Requested
Headers show

Commit Message

Yann E. MORIN May 4, 2015, 9:52 p.m. UTC
at needs __isleap() which is (e)glibc and uClibc, but not in musl.

Fixes:
    http://autobuild.buildroot.org/results/6f2/6f25e80e8aedec91323ef9b67576b550d7abee60/
    http://autobuild.buildroot.org/results/da5/da5bb779f3077b079203fcbdb2533dd790963cd4/
    http://autobuild.buildroot.org/results/8a6/8a6ce608c6f46d08ed77049f796e98e6e10a1709/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/at/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Jörg Krause May 4, 2015, 10:10 p.m. UTC | #1
Hi Yann,

On Mo, 2015-05-04 at 23:52 +0200, Yann E. MORIN wrote:
> at needs __isleap() which is (e)glibc and uClibc, but not in musl.
> 

There is a patch on Open Embeddeds Patchwork for this issue:
http://patchwork.openembedded.org/patch/91893/

Best regards
Jörg Krause
Yann E. MORIN May 5, 2015, 5:59 p.m. UTC | #2
Jörg, All,

On 2015-05-05 00:10 +0200, Jörg Krause spake thusly:
> On Mo, 2015-05-04 at 23:52 +0200, Yann E. MORIN wrote:
> > at needs __isleap() which is (e)glibc and uClibc, but not in musl.
> > 
> 
> There is a patch on Open Embeddeds Patchwork for this issue:
> http://patchwork.openembedded.org/patch/91893/

I've just sent a v2 to use that patch. Thanks! :-)

Regards,
Yann E. MORIN.
diff mbox

Patch

diff --git a/package/at/Config.in b/package/at/Config.in
index 17fabf7..e58debf 100644
--- a/package/at/Config.in
+++ b/package/at/Config.in
@@ -1,6 +1,7 @@ 
 config BR2_PACKAGE_AT
 	bool "at"
 	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
 	help
 	  At and batch read shell commands from standard input and
 	  store them as jobs to be scheduled for execution in the
@@ -8,3 +9,7 @@  config BR2_PACKAGE_AT
 
 	  at    - run the job at a specified time
 	  batch - run the job when system load levels permit
+
+comment "at needs a uClibc or (e)glibc toolchain"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_USES_GLIBC && !BR2_TOOLCHAIN_USES_UCLIBC