sane-backends: uses fork(), not available on noMMU systems
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 May 2014 09:31:14 +0000 (11:31 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 17 May 2014 09:37:55 +0000 (11:37 +0200)
sane-backends currently doesn't build with the ADI external
toolchains, due to an internal compiler failure. However, using the
internal toolchain backend for Blackfin goes past this internal
compiler failure, but raises the problem that sane-backends uses
fork(). Sane-backends has a --enable-pthreads option that allows to
use threads instead of forking in some parts of sane, but there are
still some other areas of sane-backends that continue to use fork().

Since the probability of using sane-backends on a noMMU system is
fairly small, we'll just disable this package for now on such
architectures, until someone cares enough to investigate deeper.

Fixes:

  http://autobuild.buildroot.org/results/136/136100c3a2d843b7915fdd83d23d8b301fee577e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sane-backends/Config.in

index 04222fc6d8960480a6e3a3bda87acdc8445c75c8..8156e858dce989cbb091d2574862f827c0e6d2b6 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SANE_BACKENDS
        bool "sane-backends"
+       depends on BR2_USE_MMU # fork()
        help
          SANE - Scanner Access Now Easy