prosody: needs MMU
authorBaruch Siach <baruch@tkos.co.il>
Tue, 3 Apr 2018 04:45:25 +0000 (07:45 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 3 Apr 2018 13:50:39 +0000 (15:50 +0200)
prosody POSIX support code calls fork() unconditionally.

prosody also uses the mallinfo() API, but uClibc does not provide that
for no-MMU targets.

Fixes:
http://autobuild.buildroot.net/results/2d0/2d0f97e41cc1d4c9c7a0eacd4eec8bad6f00bcff/
http://autobuild.buildroot.net/results/f69/f69dfb1a7d1163b402b1f9bef045891c229539e5/

Cc: Dushara Jayasinghe <nidujay@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/prosody/Config.in

index 1bc79b7f2a7812062f6d33add72d5695098e87a0..ef26e2750b66a80d6c2e573240de13c92cf0f2d0 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PROSODY
        bool "prosody"
+       depends on BR2_USE_MMU # fork
        depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        select BR2_PACKAGE_LUAEXPAT # runtime
        select BR2_PACKAGE_LUASEC # runtime
@@ -16,3 +17,4 @@ config BR2_PACKAGE_PROSODY
 
 comment "prosody needs the lua interpreter"
        depends on !BR2_PACKAGE_HAS_LUAINTERPRETER
+       depends on BR2_USE_MMU