From patchwork Thu Jul 20 11:56:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dechesne X-Patchwork-Id: 108326 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp2024675obm; Thu, 20 Jul 2017 04:57:14 -0700 (PDT) X-Received: by 10.99.97.12 with SMTP id v12mr1498829pgb.97.1500551834191; Thu, 20 Jul 2017 04:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500551834; cv=none; d=google.com; s=arc-20160816; b=sNmHi7bUnTyIVuk/P1toErhkyGhO02vjRdP3zyTYuw89Vynlkt84c94g/iHSAg2icN mzZFwv4z7BvJ/aUrkYUNAnbDqW4Luc9M58qtccUs+0uKG6HflVVXDfS5OxW1iEiuWOE6 jdeBLh2HYy0jkqhfQvrjNL7Ns88kj+Sj5yTB2B3okZYlfVA9Zf+kyzVXu9hAuB0dSC0t nPckYIldxw9XtBd6USv2OhDWPpMWzIVbl1t4Bdm7TkjsWUFzpqBgv1xCHmnKo8gbOpYh kyCfU1yOLe03JaP4UsDq588SQMf4QHjvAc18uZQoyh2Mbv1Tn0Tb0GSF/oSGgM4Muaxx xABw== 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 :dkim-signature:delivered-to:arc-authentication-results; bh=CK6ZL3A0Vls+3Lu1rh+pEkNtV+ax9zLiMJELbLFkE1c=; b=rdbg+LYwsZ/KQMtxaFGXKHGh+PogLpbEYGgk3UHnHVgtNDdhrbQVmftqoNZSFW7fTq ZGgjIzfM7xPJ0QoHEm7k34LxAT43wFYidKEdiEox0jme+EqKsGdfmA2aCzp45orsopA/ 8esHbKwy+XgDs/LvMLqnJ9oRf706qIxc9Quo52GKBJDTsuCftFJuEhhd65QHOaR+VIoe +z1xpg+BQNAN3J9c57aYkho/7vDrcAQzgj/4jyFlnzjaZR7TfG0y00QSW+nKUz5NN3Za zSIPj3TDycDpSaiSpnNVwrKURGUymo1abHU9cMGKQc2dTIGfsUcK2AWLwBzJLxrp3DQg gmBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=PmShV0y7; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a64si1519304pfj.160.2017.07.20.04.57.13; Thu, 20 Jul 2017 04:57:14 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=PmShV0y7; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 33AB5782D7; Thu, 20 Jul 2017 11:57:11 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) by mail.openembedded.org (Postfix) with ESMTP id A0533782C8 for ; Thu, 20 Jul 2017 11:57:09 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id a62so14928220itd.1 for ; Thu, 20 Jul 2017 04:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=AIWSadYCNUxlgBUucw7heeHmyVW78I82y/A00NdrZLw=; b=PmShV0y7vrjdjlWZJ8Uq00eBeF5iLqitFcTCjpYN8aqBuabyrPbDNPw6WiUhM1bXTs dGwWWC7eKZCaoNoZ1k2l7QcJeExNnJW5U151XwMyQvOdWHVv/8UMpWiHqX5DHSIq2gAY hKouj6o5gAx6qXUAfzF/jJCdUA8D7H+QpVQHk= 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; bh=AIWSadYCNUxlgBUucw7heeHmyVW78I82y/A00NdrZLw=; b=ddbmJDsibHwzfYbMGoEgNyNZKycAECgfoCoHR3/SkG/K1RnHl3ONeNUcW4AeHATOYp 9aY0ZzM9feL6BYj1ZltvA4QGKOJKD1d6efAfw8gdtMTy0ip4pSi+nxQK/hcv1L3Q8lte AYOw+IHzqZRgd9j6Ha4ZLfSrl8GW8phsRS6A68/HniFjllKV890vzFflkYvaqCdGlIyS o7syfjFM2gbOwLKfGMj1FdavErrLktpyULsDLJ4EOFtaiMSJo3f7VPW/rErMNwiXANXJ FSNveviz4cAqFwFCg2ZXEfdW+G0sQ8XPLQnQkvAVjNAYNKGnGLk+2SJTnCp0n9WlBp5S 4GKw== X-Gm-Message-State: AIVw113tTPm+bPeZzUULMVKIpzEm2Yv2tgZ4CVTWZgY+mLsyTurp+Fu2 bcq2utTCf++8+8gyQdLUrQ== X-Received: by 10.36.112.12 with SMTP id f12mr1763851itc.8.1500551830386; Thu, 20 Jul 2017 04:57:10 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id o11sm1120177iod.61.2017.07.20.04.57.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Jul 2017 04:57:09 -0700 (PDT) From: Nicolas Dechesne To: openembedded-core@lists.openembedded.org Date: Thu, 20 Jul 2017 13:56:57 +0200 Message-Id: <20170720115657.11406-1-nicolas.dechesne@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: Nicolas Dechesne Subject: [OE-core] [PATCH] ffmpeg: fix pkg-config utilization 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 in config.log we can see: WARNING: aarch64-linaro-linux-pkg-config not found, library detection may fail. ffmpeg configure script is not looking for pkg-config at the rigt place since it is assuming cross compilation. let's force its value in the recipe. This patches 'fixes' library detection and brings the following diff: * RDEPENDS: ++libxcb (>= 1.12) libxcb-shape (>= 1.12) libxcb-shm (>= 1.12) libxcb-xfixes (>= 1.12) * PKGSIZE : 79167 -> 87823 Which basically means that the following conf options were left dangling in EXTRA_OECONF: --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape Signed-off-by: Nicolas Dechesne --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb index f4bb2ba1f5..442d4f4532 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb @@ -107,6 +107,7 @@ EXTRA_OECONF = " \ --datadir=${datadir}/ffmpeg \ ${@bb.utils.contains('AVAILTUNES', 'mips32r2', '', '--disable-mipsdsp --disable-mipsdspr2', d)} \ --cpu=${@cpu(d)} \ + --pkg-config=pkg-config \ " EXTRA_OECONF_append_linux-gnux32 = " --disable-asm"