From patchwork Sat Dec 15 20:40:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1013992 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PEUYH0h1"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43HK7X1ky7z9s2P for ; Sun, 16 Dec 2018 07:40:55 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 32440857BD; Sat, 15 Dec 2018 20:40:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bRMellQcwCfH; Sat, 15 Dec 2018 20:40:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A72E5821B1; Sat, 15 Dec 2018 20:40:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1B3501BF336 for ; Sat, 15 Dec 2018 20:40:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 18D0A835EF for ; Sat, 15 Dec 2018 20:40:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYSVg9CAAcCd for ; Sat, 15 Dec 2018 20:40:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E6712834D2 for ; Sat, 15 Dec 2018 20:40:43 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id y139so8707929wmc.5 for ; Sat, 15 Dec 2018 12:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=USK7LQoHLV+424CL8/cKE8aRa4IHWj4bxsLvSWrl4ws=; b=PEUYH0h1OFmoBo4rcD+KsKk/9DX17EP2uNXxsbTXP18cgaC5Yxwx0BSXCqqklBazAq UPULFyu+1iRxSo/6TlqGXMymwxHZ8TSbUo4xh8i/zxRESUxrQzFNEmf2NeN+3Dylu4zp yD40BABlYR450ZFMrftLQIyusMwCvrU2OkvIJJ2hVLBgj7EqpSmIwAMdFqyr98TZGvBt uPSBAnasFId7n7q0VpatoQAuI3lvtf1MQnhEEJKxMugqbPlJDQToHCOTZDmru2frLECo EXDYiU7vfF7dCKzFQ3P9wqMdPxTwPTiSktvksphDEzSxXXySWXShZ0NeCzpCeiy4/B6+ 9uRw== 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=USK7LQoHLV+424CL8/cKE8aRa4IHWj4bxsLvSWrl4ws=; b=SFecxtI4Qyp/Bfcl85sYZQ14SRqyPslwzp/RuHD1MWYCl6S7xNLCGd6IOAP1U6zt4P +uNtpqJTnesqNoCnVLonqHrdhGPGLODA2qmMiZAlB09uGLKq+gLnWFBX8sDnEw9dq+15 5YeVC+R8Pql10jlFS5+LyO9wSKjQEptPYGGyWmdU0b6s/+BRC7nFlamZXzoZJ1xzCP6m 9DAuxmQkmYnv1oXU6uFXW0buHOPYxM5Wk5kz4rUu2/gqWqFfKsF1Zww1jkjWlPofJa88 Thi/w/+QPrEN5HDelSJJB0T8TvVp+i2zUOVO7YFzebdmF0hM9l6S/+GkzsozIipI0LIB 7pzQ== X-Gm-Message-State: AA+aEWbjX4uScT32Vv684Vd7QkBRSgkhTUV4YGrjWEV6XdMOwnfyDE11 BZUI1TKAtkXHT8c10BfqHJcxHlaAyL0= X-Google-Smtp-Source: AFSGD/WSkVWWTVAZL29J7Rian3lvpyJe+nmAcYru4pYvGkBtbVgySm2pEUuceJD6qoOIzNuy1Tkwwg== X-Received: by 2002:a7b:ce84:: with SMTP id q4mr7391784wmj.105.1544906441967; Sat, 15 Dec 2018 12:40:41 -0800 (PST) Received: from fabrice-VirtualBox.home (arennes-656-1-356-67.w86-214.abo.wanadoo.fr. [86.214.196.67]) by smtp.gmail.com with ESMTPSA id h10sm9182564wmf.44.2018.12.15.12.40.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Dec 2018 12:40:41 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 15 Dec 2018 21:40:24 +0100 Message-Id: <20181215204024.14016-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] ffmpeg: fix static build with pkgconf 1.5.3 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Mahyar Koshkouei , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" pkg-config --version returns the following error: /home/fabrice/buildroot/output/host/bin/pkgconf: --version specified with other options or module names, assuming --modversion. Please specify at least one package name on the command line. As a result, pkg_config will be set to false and the following warning will be displayed: WARNING: /home/fabrice/buildroot/output/host/bin/pkg-config not found, library detection may fail. So replace pkg-config --version by pkg-config --about Fixes: - http://autobuild.buildroot.org/results/bb3264661c182c124e89e9a2bcf41e556d40aeb8 Signed-off-by: Fabrice Fontaine --- ...igure-fix-static-build-with-pkgconf-1.5.3.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/ffmpeg/0002-configure-fix-static-build-with-pkgconf-1.5.3.patch diff --git a/package/ffmpeg/0002-configure-fix-static-build-with-pkgconf-1.5.3.patch b/package/ffmpeg/0002-configure-fix-static-build-with-pkgconf-1.5.3.patch new file mode 100644 index 0000000000..93a4ebb345 --- /dev/null +++ b/package/ffmpeg/0002-configure-fix-static-build-with-pkgconf-1.5.3.patch @@ -0,0 +1,41 @@ +From b3f6422a8a72e0ca5f8a1b1a6401db4088977f10 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 15 Dec 2018 21:33:16 +0100 +Subject: [PATCH] configure: fix static build with pkgconf 1.5.3 + +pkg-config --version returns the following error: +/home/fabrice/buildroot/output/host/bin/pkgconf: --version specified +with other options or module names, assuming --modversion. +Please specify at least one package name on the command line. + +As a result, pkg_config will be set to false and the following warning +will be displayed: +WARNING: /home/fabrice/buildroot/output/host/bin/pkg-config not found, +library detection may fail. + +So replace pkg-config --version by pkg-config --about + +Fixes: + - http://autobuild.buildroot.org/results/bb3264661c182c124e89e9a2bcf41e556d40aeb8 + +Signed-off-by: Fabrice Fontaine +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index b062b6318e..b46ce00982 100755 +--- a/configure ++++ b/configure +@@ -4150,7 +4150,7 @@ enabled cross_compile || host_cc_default=$cc + set_default host_cc + + pkg_config_fail_message="" +-if ! $pkg_config --version >/dev/null 2>&1; then ++if ! $pkg_config --about >/dev/null 2>&1; then + warn "$pkg_config not found, library detection may fail." + pkg_config=false + elif is_in -static $cc $LDFLAGS && ! is_in --static $pkg_config $pkg_config_flags; then +-- +2.14.1 +