Message ID | 20181216093732.30482-1-fontaine.fabrice@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) 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="RkvgkK1a"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43HfMx4Ht7z9s0t for <incoming-buildroot@patchwork.ozlabs.org>; Sun, 16 Dec 2018 20:37:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2C1D285D11; Sun, 16 Dec 2018 09:37:46 +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 2-CpsWhnlIbp; Sun, 16 Dec 2018 09:37:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A9BC48544C; Sun, 16 Dec 2018 09:37:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9D3F91BF343 for <buildroot@lists.busybox.net>; Sun, 16 Dec 2018 09:37:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 99EA4845BE for <buildroot@lists.busybox.net>; Sun, 16 Dec 2018 09:37:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U7Iz1G64RPFs for <buildroot@lists.busybox.net>; Sun, 16 Dec 2018 09:37:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4A89384570 for <buildroot@buildroot.org>; Sun, 16 Dec 2018 09:37:42 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id x10so9338461wrs.8 for <buildroot@buildroot.org>; Sun, 16 Dec 2018 01:37:42 -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=UahMh0tAVaX4mThQgXKIWEJ0euyNgDi6RtxG3SA2RUk=; b=RkvgkK1a0HV1odRgihtvEF+mNFi7FeDJmqyl2LVdgtpKYzV/2Xwzn8xhA7h8dZS4FK aIhw+tYbkpOPDApZSUE+jruNnuD/2GoYmujUozajhuyG8JyHdBbIkFJPhk//sB23uhR0 6M7kGCtNuCVzHU70dlM72ajrKnHKdp0C1Gu6725jukd5zQwmHJOfFliXC85zKsBw169W spynULIRqalVoI9ALALsXz101Bo4kYH083FUalZ8yx6+0J3MYrQgceia4x9G0PQGIIzJ Vc8XLw7Bj756e76lQqJK4lD5BkgXYsRzbhEUR0fF57ZxXgW3aGX+rElYp7nrfibWxSUh fchg== 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=UahMh0tAVaX4mThQgXKIWEJ0euyNgDi6RtxG3SA2RUk=; b=aPXuoEVJMYDOw4JAlrQvySAHZG8EhTOgIDmaLn61leN2c6SlHdBFmuuTNtEdYjavNa gfV/RVEiChgNWP/MVSNDstdj9E2MBmoCYQxXg4L4z9CSMrWPYNiz5x+lkTZ+n8+wKHmJ n4iZaV8SUJM1k4eFYRcxU5Aujp9AVC14r9j0wdcaJv+m7jZVKd4+Yn+qvluAoyK/G4a0 qXMAaEWtm7Gf/3t4ubeMvUg7il+IF2F8qqb4PwOHRsOo9+nvUBI25HauGXDZ24kzqAlq OKS9eGj9uk9jmPSwGXEaBmqifsggJD7fgn29tDymRm1gPZ2Yegc2YNzOF9+3qlLyHZeP sKJw== X-Gm-Message-State: AA+aEWZOLHC8u+DKR1yztOzoatXjpHb98mY3vX9A0A2a2ufnjVhmidOU Lr196vzFbihy595Cxd4YZVp9H1jd X-Google-Smtp-Source: AFSGD/XRSBXjjQ8EHXNF0hxS0+voQkdPUQ5tPt39p6jMinnIBak8LL+a0TSpGpgQGYgk+m8szbNbuw== X-Received: by 2002:adf:ea81:: with SMTP id s1mr7217716wrm.309.1544953060320; Sun, 16 Dec 2018 01:37:40 -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 c13sm14424120wrb.38.2018.12.16.01.37.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Dec 2018 01:37:39 -0800 (PST) From: Fabrice Fontaine <fontaine.fabrice@gmail.com> To: buildroot@buildroot.org Date: Sun, 16 Dec 2018 10:37:32 +0100 Message-Id: <20181216093732.30482-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] php: fix curl 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 <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[1/1] php: fix curl build with pkgconf 1.5.3
|
expand
|
diff --git a/package/php/php.mk b/package/php/php.mk index b95ceb5c9d..338361f58a 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -259,7 +259,7 @@ endif endif ifeq ($(BR2_PACKAGE_PHP_EXT_CURL),y) -PHP_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr +PHP_CONF_OPTS += --with-curl PHP_DEPENDENCIES += libcurl endif
Build fails because PKG_NAME is set to the full path of libcurl.pc: checking for libcurl.pc... using /home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/libcurl.pc Then, when checking version, pkg-config prepends $(sysroot), which will fails with the following error: checking for cURL 7.10.5 or greater... Package /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/libcurl.pc was not found in the pkg-config search path. Perhaps you should add the directory containing `/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/../mips64el-buildroot-linux-gnu/sysroot/home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/libcurl.pc.pc' to the PKG_CONFIG_PATH environment variable To fix this error, remove curl directory path from --with-curl to use the default libcurl.pc name. It should be noted that the next php version will remove this possibility, see: https://github.com/php/php-src/commit/78e4f047525268278ffe497a162d0d279999c8c2 Fixes: - http://autobuild.buildroot.org/results/c80792f871f2c5f02fe3faa1fc654fef760b8e2b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/php/php.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)