From patchwork Thu Jul 20 14:55:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dechesne X-Patchwork-Id: 108352 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp2230775obm; Thu, 20 Jul 2017 07:55:29 -0700 (PDT) X-Received: by 10.84.178.37 with SMTP id y34mr4641188plb.223.1500562529018; Thu, 20 Jul 2017 07:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500562529; cv=none; d=google.com; s=arc-20160816; b=dylcKp3RQwHgL1x+7VUR6bKKaGPkaBf40P+s7+1i+A9ouj858FsAq6H9pwCOz41rPp dYwLFsiNsGvWChZ6SAxaeIsDScSG0mi/9MTAH+3htiaxSt+oQYl7GegiPDVC5ykqpw0E A+gomWL3i+cssW2qz2uM/PGDOiEzgymUVysaUxdQDc8vRQtnxfh2a5fuZbbX/B41szCW Rjvys7QCwRn+7faI/azOPTA6ItWWFn9fz7b4NXf4bwRpbHz52Q+PT5t1ZaGSow4esuPm gZS8dlNaxDSVnzudYCXihUV9cArZ7b7xgxWcAdP0KXmFXcs3oXQ99z1rRk8ZOFhTpf9H 5zFQ== 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=7R5ouC1Gd+RjdQMBsmmZ1QgIq+Q1v5+SpKogIqk1p9o=; b=ZJvmYsN4dHAx78Bi57oUBCm+rH6HsUFUlRGThxOea6bn1p6KLaZNZlXojC8aQBwPmR Pj9QIAdtLZ/9XwYBSt88RZbInKJ6p9Voh3sOhvj5aEJhnu4oxW5PFMGnF2Fohl/YXSgm SpISJVX09/NGB0+lhi/Z5hXzP1NUhP/JhlsRIBMn/cCgdfB6B6AappXV4QLYlkIkkt9g PIfwNX6Px8P7tDg9VF/khvta6sLVu8Uuw808f9lwKZ5k6RyKzhJde2gtouFgFrHWqHL/ OXz52VkBg9peCVnpAxlynLI0pFV1VhZ7nsQ+5Gp1lATYI03U9iutPaeqCQ5KJdDQGR93 CteA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=jVBbvP67; 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 a71si1651892pli.551.2017.07.20.07.55.28; Thu, 20 Jul 2017 07:55:29 -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=jVBbvP67; 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 A009E78317; Thu, 20 Jul 2017 14:55:25 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mail.openembedded.org (Postfix) with ESMTP id 580E578316 for ; Thu, 20 Jul 2017 14:55:24 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id g13so12473755ioj.5 for ; Thu, 20 Jul 2017 07:55:25 -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=+WXzDZ91UzuYEh6/o8rLKzg0zAKYWN0Sg+fj+4KzrLs=; b=jVBbvP670wkWGi42TSuP70YJlW/GbiWOP50lpS/Fd/bUQJvTkDp1vl+75BD7r4xlu+ 8BDV3I1i/xarY3e+vkcgEK6/HnecW7O/pSo4JlADivLib3CqqBD1ZgBuXHL0cKoQM9Ks SpfAoa02dcDSu7yhYxnh/2bCydgKzl1MC2Vgg= 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=+WXzDZ91UzuYEh6/o8rLKzg0zAKYWN0Sg+fj+4KzrLs=; b=BfwGqmdJHA/OOCX/9qnOcikr1MGwT9zIPHFJIMT+GVZLBbR8v5cE/EjHcEHs6n+HU7 EkdYApIrvivuSskbw0G3mbMWPugSTUy+CVwfB644zvGPiMZpgSdmDj5ao9cM16ha7bHS 4q21e6rei4A6sgbNpbMyY7YjIA6VLF13VTzPTh81U+f3Eva9Hx/4xz+zufgBWfdBNfPj ZbQBJhWlfHCSnuH/uI9YU5slLPWvbmiQuWb26Kll5F8rdrq1OBi0ox0bJLv6sF+pz+wA lVirfR2PFTBOenbhZVQ8ILLCGKmqFqMlKw2FW00zxy70xVxBNqu7wS+2TlJguf2M5+EZ B8dQ== X-Gm-Message-State: AIVw110QmYV/0+52YF0aTTkm8D2XusJRHOnbWDpa2yNYv5ZOIC1X14ss tLzThsbbLt6sz6NS5tc5hQ== X-Received: by 10.107.169.130 with SMTP id f2mr3593591ioj.199.1500562525209; Thu, 20 Jul 2017 07:55:25 -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 r125sm1140296itd.11.2017.07.20.07.55.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Jul 2017 07:55:23 -0700 (PDT) From: Nicolas Dechesne To: openembedded-core@lists.openembedded.org Date: Thu, 20 Jul 2017 16:55:11 +0200 Message-Id: <20170720145511.22753-1-nicolas.dechesne@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: Nicolas Dechesne Subject: [OE-core] [PATCH v2] 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, so it also adds: --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape Which were dangling configure options, which started to be enabled after the pkg-config fix, so they need now to be explicitely disabled. Follow up patch will enable these options when DISTRO_FEATURES has x11. Signed-off-by: Nicolas Dechesne --- Changes in v2 * added the --disable-libxcbxxx flags to make sure the patch is a no-op --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb | 5 +++++ 1 file changed, 5 insertions(+) -- 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..30d918ea1a 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb @@ -87,6 +87,10 @@ EXTRA_OECONF = " \ --enable-pic \ --enable-shared \ --enable-pthreads \ + --disable-libxcb \ + --disable-libxcb-shm \ + --disable-libxcb-xfixes \ + --disable-libxcb-shape \ ${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \ \ --cross-prefix=${TARGET_PREFIX} \ @@ -107,6 +111,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"