From patchwork Thu Jan 11 01:44:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 124144 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp25329qgn; Wed, 10 Jan 2018 17:44:59 -0800 (PST) X-Google-Smtp-Source: ACJfBov+dFGm16/gh6sbgT5EtyxifgE+H3GByps5GS+DktVHCzjkFj5tkIEGCKt06VYcrjRwe/H0 X-Received: by 10.99.128.66 with SMTP id j63mr6492178pgd.254.1515635099812; Wed, 10 Jan 2018 17:44:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515635099; cv=none; d=google.com; s=arc-20160816; b=fpnv2Fekv+CNNeifb3Gk9/RwkYp/pV5lQamxBgbzLb8uhsRNH5afrws2efI5vU3gbB REZI4RzRz3we2StLTcan2AKr4dEFs1LEH1P4zuO48r0Xvp+0Rw5OZXHLkOkxsnxApPLP F+vg4c09wumjj0cOtrAfsyCvd80G9+8bowLRNvVH5+1vaYooyFZTdXtEwiihYTsMYmjX HdXPX+VkcmO5Dqx8ClvorEXoUXcYl8h4gnaC+BM9k3UO1FLnnLKoq+q2idNLKd8nys8x AtHsckvqhGnHjpg9q8B90yziizlpc2QRnhmetREgiXVQreA78wR0PNSr2a6aHjz1kxhd WWzg== 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=fy13qRMMzzdhiozQUbW5B3syYmocaktatJ38z5PSnrA=; b=pI9Jyf3Goal7NqZm9nPemU1bE6jrLOnaSB9V/2bUiIJaiGDo8dpi5ANk90kc79dEe4 MJIwA8aGCr6G3opkpD7TQlzH3DWhiQQwCyICPs8k2Y9S6uZCsLxvNJRXvSnT7JrG9SJ+ zLm7Zl37REgcwHXm55Pw5Q8kyn1LjPs3tDVSbp1QxdOaXHoeG7prch4cpNLt5pJzFWtC CMU63VmDjT8LT9sn7RwcBhL2K78TN2HSyy1Xspu+MEntioSnXESQW9Iu+Zlw2bybcG5n UXdJv2a1ZKEOsNE99wBp1q6CmwgLPiobUs5FaN672kVJjdaB8tBtNX4ups80g0jb8Jkz dcoA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h7si7671304pll.414.2018.01.10.17.44.59; Wed, 10 Jan 2018 17:44:59 -0800 (PST) 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; 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 Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3531A7885B; Thu, 11 Jan 2018 01:44:55 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id CF51B6007A for ; Thu, 11 Jan 2018 01:44:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id F036220B35; Thu, 11 Jan 2018 01:44:54 +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 lPNJrWglPSec; Thu, 11 Jan 2018 01:44:54 +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 CEE9020481; Thu, 11 Jan 2018 01:44:53 +0000 (UTC) Received: from gimli.denix (gimli [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id 52BF2163255; Wed, 10 Jan 2018 20:44:53 -0500 (EST) From: Denys Dmytriyenko To: openembedded-devel@lists.openembedded.org Date: Wed, 10 Jan 2018 20:44:52 -0500 Message-Id: <1515635092-19139-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 Cc: Denys Dmytriyenko Subject: [oe] [meta-qt5][PATCH] qtwebengine: explicitly depend on bison-native 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: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org From: Denys Dmytriyenko QtWebEngine uses bison during the build. While normally bison-native gets staged into sysroot indirectly by the toolchain via binutils-cross, it's better to have the dependency listed explicitly for deterministic builds. Otherwise, when using an external toolchain, it fails like this: | FAILED: gen/blink/core/XPathGrammar.cpp gen/blink/core/XPathGrammar.h | .../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/bin/python-native/python2 | ../../../../git/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/rule_bison.py | ../../../../git/src/3rdparty/chromium/third_party/WebKit/Source/core/xml/XPathGrammar.y gen/blink/core bison | Traceback (most recent call last): | File "../../../../git/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/rule_bison.py", line 83, in | returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp]) | File ".../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 168, in call | return Popen(*popenargs, **kwargs).wait() | File ".../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 390, in __init__ | errread, errwrite) | File ".../qtwebengine/5.9.3+...-r0/recipe-sysroot-native/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child | raise child_exception | OSError: [Errno 2] No such file or directory Signed-off-by: Denys Dmytriyenko --- recipes-qt/qt5/qtwebengine_git.bb | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index f88e5e7..3a6a37e 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb @@ -18,6 +18,7 @@ DEPENDS += " \ nspr-native \ ninja-native \ yasm-native \ + bison-native \ qtwebchannel \ qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtquickcontrols2 \ qtlocation \