From patchwork Sun Apr 7 00:06:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 161910 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2106510jan; Sat, 6 Apr 2019 17:06:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxA7QqyVFvRzhrYiZesDR9ir0BM/Vjptfl+FQjCc4b4wC0mean6AK/K07jGCW76BOU7H6aP X-Received: by 2002:a62:b411:: with SMTP id h17mr2910458pfn.61.1554595608460; Sat, 06 Apr 2019 17:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554595608; cv=none; d=google.com; s=arc-20160816; b=O/vdCOap3DqlWJyIMCNdWbYYxP5pl5SBQXCfMw6C8ZNI7NP/UK8hRawlx65Y51Cxyw 8eV7UFxcxmOFn2Ej8JPl595jX0EEtGCgqR5zJ05T2ydU7oAX7CklxFInnTRBYvGyQkD0 D1pWgjUoWJ2wv1ktwAHaMm7k/edKHmw2UjeSJehBTdagVCdAhyipcPR3Ywir4S9H4eL2 HDe8hZd0ibbXq0e3uqoGyDbBXRRquVbv7nPqFkgowWAQ4eQ3dB31TSb5VyHBy0qgt9pU ErQJOBY0PvZ21y99wN89iky5M2xzVQil0oH3il+PNt2B0Uh0IRuBLrwAqCGYsWSdyR0h mZrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=Quah+JZVj1O2YJbtb0i2qWMmZ91H0xLtrBzkruUfCyU=; b=ufG8/KqnE7BKJ517Jc9rTPKnsq4bXPtgf5erEh4+lXd/utLulMIsjfaZ9U3LvW8a1r zznd3tevbkPGVT1z9b7KAeXTEVSXngBipzcluW5Dy2XxtKIOb9iEbqff8TuQd1AEyWOZ FNrkI1DxoiNndLFshxt9sxJGeMETN+6nz2K1yTepctNBmFLw3yh6c52ZodjgQjS3cTHx M3sxm5cAnhTpj8E+sPInloXF6OZVilTyK27gIoymvMR7eOy4/7YC8AqntaPOTfawoYVU 4VTrhGn+NH+XmLjR/REQTcLuzAfNofc1EXVjaK2m/y2ZTLFix+LCvYdzv19l/dwR0MIK Ishw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lIqD6+an; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o12si21979345pgp.94.2019.04.06.17.06.47; Sat, 06 Apr 2019 17:06:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lIqD6+an; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 538297D5C1; Sun, 7 Apr 2019 00:06:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mail.openembedded.org (Postfix) with ESMTP id 623A37D5B8 for ; Sun, 7 Apr 2019 00:06:43 +0000 (UTC) Received: by mail-pf1-f178.google.com with SMTP id t21so3076869pfh.2 for ; Sat, 06 Apr 2019 17:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lLPRg+xww53p/uGVz92x3lqoVxG+jY7ZS20mk9mXwMg=; b=lIqD6+aneuxzIrElvcDHkqJL52KPpP9l8XrowgTCx8NvOHLnZyknk9NDZ4cO21t+s6 mmPUP2bryO1T7juZzfGnvu0feUOxGVAPLHCi9wVu88UkGj7K+YkGIhVwzysoflbc6R3/ QQcFA8BcIrRJTFwwLIoq9NQqo544eN8hqPdM77FiZAgvN7H0ZEYXpNLKn8/S1aEDv10M jJrG1vkMNmyslCQYpkKKkPyyjMELaXNeQf+4NGFhok4Pd0YmJUKznSiO7U+StMorhdck FPg81Y2zM0sPe+BtudFHbLfCN27xeKxgi3HfJjIvxWZzRDNd5LxrIqn49it0v2u6iFJz yVGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lLPRg+xww53p/uGVz92x3lqoVxG+jY7ZS20mk9mXwMg=; b=qvw169R5NfQNkN91E+b3+xuYANoq30qiMQK+fxc2/M7A5ZgtmTtofzeP229MEh8IOI DQER2t5JjfClEOrZITywqqMrFOiZwpOeVJIjrU9+KZBUA23g4j8LbOtgFpy2n4g4hEWR T4DzwQ0M1yrzMCY3zUK/hCjqL+1yjggES4YQ71py/Fmz6jdrNH0b3gS7MrkEB31SJOlB CVo56Uh4FncOgfdSzASw0EyN4iCmGk/aokzlShiEfgQqPB1K2E4exxCGuVeTzcb0jN4d tYdkQxeC9tWTnAAJdPhFH0KzsaGW/uhZGeomp1iXur0QYv+wra12iU1hNdi7IqZV/QW8 V/UA== X-Gm-Message-State: APjAAAVZ3tBuTUQtV7TUcYCKpghFotKChBYno+gDpdNWWNMNzhPrfwSs pxMNuKaCw56hpzmADp74gaVCAPD+gXg= X-Received: by 2002:a63:5b0a:: with SMTP id p10mr20474029pgb.282.1554595603492; Sat, 06 Apr 2019 17:06:43 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::8ec8]) by smtp.gmail.com with ESMTPSA id k6sm22372469pfj.173.2019.04.06.17.06.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Apr 2019 17:06:42 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 6 Apr 2019 17:06:33 -0700 Message-Id: <20190407000633.38920-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] redis: Fix ocasional parallel build failure X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Sometimes with high parallel build we see compile errors e.g. clang-8: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [Makefile:52: lua] Error 1 Therefore try to build dependencies before main build Signed-off-by: Khem Raj --- meta-oe/recipes-extended/redis/redis_4.0.12.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.21.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/redis/redis_4.0.12.bb b/meta-oe/recipes-extended/redis/redis_4.0.12.bb index af99537f52..2e54f665d2 100644 --- a/meta-oe/recipes-extended/redis/redis_4.0.12.bb +++ b/meta-oe/recipes-extended/redis/redis_4.0.12.bb @@ -31,6 +31,10 @@ GROUPADD_PARAM_${PN} = "--system redis" REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}" +do_compiler_prepend() { + (cd deps && oe_runmake hiredis lua jemalloc linenoise) +} + do_install() { export PREFIX=${D}/${prefix} oe_runmake install