From b4bff336d0bfb6763a4789dce3cb976653bfe1e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 6 Nov 2019 01:37:21 +0100
Subject: [PATCH] aspell: disable parrallel build

Sometimes we observe:

    /usr/bin/ld: cannot find -laspell
    collect2: error: ld returned 1 exit status
    libtool: install: error: relink `email-filter.la' with the above command before installing it
    Makefile:960: recipe for target 'install-filterLTLIBRARIES' failed

/reviewed-on https://lab.nexedi.com/nexedi/slapos/merge_requests/652
---
 component/aspell/buildout.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/component/aspell/buildout.cfg b/component/aspell/buildout.cfg
index f8068a168..3ade945ec 100644
--- a/component/aspell/buildout.cfg
+++ b/component/aspell/buildout.cfg
@@ -22,6 +22,8 @@ environment =
   PATH=${patch:location}/bin:${perl:location}/bin:%(PATH)s
   CPPFLAGS=-I${ncurses:location}/include
   LDFLAGS=-L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib
+# aspell parallel build sometimes fail
+make-options = -j1
 
 [aspell-en-dictionary]
 <= aspell-dictionary-common
-- 
2.30.9