From patchwork Tue Jan 9 22:24:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 123983 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4544311qgn; Tue, 9 Jan 2018 14:24:30 -0800 (PST) X-Google-Smtp-Source: ACJfBosKbTA6vOSzLVN9Dgyksj1psAMP6xQG+Dtzxlngbjgk6nAndeVpfgFT5ma19Lw5gkvh0RGo X-Received: by 10.98.53.195 with SMTP id c186mr15067438pfa.115.1515536670430; Tue, 09 Jan 2018 14:24:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515536670; cv=none; d=google.com; s=arc-20160816; b=N8WqGOfSuLqsqSxgtVw2MGTBFU+5Ns4g1qdhawAzobAEbtSU8NmrS136+Uv/J2K6zY HpYYcppNfiey9xVNzO//AKuddDeEhtCXDlEKwlwthmd19iRCxNKvhQWeQWwUydfnjnUg GSX9dOFb9/pcvUlUpknwbVfOhceht+MTr/HlNqiLtb6pTGz6BUJY0FkBRRzIA2oKZI/n auaRcsJrqtEsSi9a/qBjVBw9dcdhs6eLDAQhDQjcFepY3LlzECVIqS0rHKcwNaQWVOCB dmb5OxWusPI2eUF3OvZiqSEwwYTi41OLoIxn4N1MSV6mLGDxCnnHbFFAKW0BQKwWfw8K R72g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=NfzAEkj25askHtEWBGm6OCPhd5gtpedJsFnSp1XABvQ=; b=F4gXVxi2p2bUjswLsHf2IQax2Or95d2EI1L3WzKJeZcFmxpZ5BjWnQSGUvdAi0FK8h gZj1IOvUhpc73nApy7bFPIGfnfTc02Td3GIXLKo2WgyohO7tVxDWr3ZzZV8VUfZIVAqj OUImbGh6iCPEHAvesNTyfYV0DVWqapB5+/MMJqiF3W/fPwNmtTTDge/5FkR9HYN9mAzR f6xGxvvSGm55mCQf3vNxKjsWLhyzU4hAyeHdzeXGEGAcG29wVSRrb6isMs+4K/d3jDjd HWwDCj9CTxPtHZceT/V6vAJAGXJst429KNwnteAGcdvPZXW2CJuxrXLw/W6PcT4hS2aT Dvgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 66si6743856pla.635.2018.01.09.14.24.29; Tue, 09 Jan 2018 14:24:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B5A09788E1; Tue, 9 Jan 2018 22:24:24 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id 34EE8788C0 for ; Tue, 9 Jan 2018 22:24:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id CB24320AB9; Tue, 9 Jan 2018 22:24:23 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L51QVI2InQRW; Tue, 9 Jan 2018 22:24:23 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id AA32C2087C; Tue, 9 Jan 2018 22:24:22 +0000 (UTC) Received: from gimli.denix (gimli [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id 363CA16325D; Tue, 9 Jan 2018 17:24:22 -0500 (EST) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Tue, 9 Jan 2018 17:24:21 -0500 Message-Id: <1515536661-51529-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 Cc: Denys Dmytriyenko Subject: [OE-core] [PATCH] at: explicitly depend on bison-native for deterministic builds X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Denys Dmytriyenko Usually bison-native gets into sysroot through indirect dependencies, even with RSS. But when bison-native is not in sysroot, due to different system config, it falls back to using "yacc" instead and fails like this: | yacc -d parsetime.y | make: yacc: Command not found | Makefile:82: recipe for target 'y.tab.c' failed | make: *** [y.tab.c] Error 127 Signed-off-by: Denys Dmytriyenko --- meta/recipes-extended/at/at_3.1.20.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/at/at_3.1.20.bb b/meta/recipes-extended/at/at_3.1.20.bb index 9b537ee..8fe3b43 100644 --- a/meta/recipes-extended/at/at_3.1.20.bb +++ b/meta/recipes-extended/at/at_3.1.20.bb @@ -5,7 +5,7 @@ the system load levels drop to a particular level." SECTION = "base" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" -DEPENDS = "flex flex-native \ +DEPENDS = "flex flex-native bison-native \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \