From patchwork Tue Jun 23 07:39:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1314972 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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.a=rsa-sha256 header.s=20161025 header.b=m3167PQW; 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 49rdMf6CsGz9sRh for ; Tue, 23 Jun 2020 17:34:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 87D92894F1; Tue, 23 Jun 2020 07:34:33 +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 fgUzXL6OZQzw; Tue, 23 Jun 2020 07:34:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DE2F0894CE; Tue, 23 Jun 2020 07:34:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 800671BF2C9 for ; Tue, 23 Jun 2020 07:34:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 75768203ED for ; Tue, 23 Jun 2020 07:34:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3e8epod9dDLN for ; Tue, 23 Jun 2020 07:34:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by silver.osuosl.org (Postfix) with ESMTPS id 68137203C2 for ; Tue, 23 Jun 2020 07:34:26 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id y11so22271592ljm.9 for ; Tue, 23 Jun 2020 00:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bwgj91Vpxb3+tPCQfk045Ifi1xhTw/ftyLNh04hisY8=; b=m3167PQWlAcjNAy8jfpfNRPDG0IlQTVj55MxDUIGfDA+1jI8/i83iIqrAo4XVSADsP vCQvO5v9OTtMFLNoXP/gpQUnRSTnYGu0+L2PtscFJ/ebopKrrLCHZKmfZ/xoioLgStwd sXTWawuKZ2dyVunFw5OKKo7YnXe7xhXCIvDFTq5qfYaIOmWuxkhGzyjhBFzFTi03SyT6 O/ALVMe3VDIFpYXUY8YrtNYBYJHmqaSv5fDEtHFCVX+YR4QI/T4zM6g8gdGbxIDVyZeg s4nIeH+gG35l8PyPLSiC9W1I33hXq3f4zpoWZCm6Rvg7En3fnQt8uiQ8q4Tyk/ow25r0 BjZg== 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:mime-version :content-transfer-encoding; bh=bwgj91Vpxb3+tPCQfk045Ifi1xhTw/ftyLNh04hisY8=; b=CCvSBC+2bYNhOueiFark1oHmNwfxMRggKE2Qxo7eIoqoR2N6gwI8zmlSmVKEx3H2fC +iF7Uq1DA9bhiPk8S9rHJO+RgJwudU399w7ol9pbnLcCuQ8Og5pNHuFhs4bFicri8yvX amRt0QYC+OBM12I1zzQEqm3RuRsHb1y8gVlGGoHA1a31dncwzzfvhiemJM+Uq2ZsVL7Z 6zXb2n1m8QsW3kCMRXpBcvCmqhW1/pPFm6pmfe9+E1Kk2dvqe1ip8aYFioCcEiN7R5ec HX5i7sCJkUjNc7TiIr1a3axS8bHjjuaV7ojsuBnzb3+XKt9ucUvapeFgW2ysx7Cf+SVU fvXg== X-Gm-Message-State: AOAM530fqUVj1+2yesmDXBRRFjcvw4tjU7rrJPADLr0keMaQjdcs7HOD qjjYT3Ys45qos4VTYyS5VU/NRxpDc0k= X-Google-Smtp-Source: ABdhPJxaQ1nAsfBQ4m3eWl1jeH7WxWuCtPHWyUdkJm9XKQKAkpYb+PE0Y6QPSs60t1WiQ/D23Pe9IQ== X-Received: by 2002:a2e:8751:: with SMTP id q17mr2266304ljj.386.1592897664302; Tue, 23 Jun 2020 00:34:24 -0700 (PDT) Received: from localhost.localdomain ([5.188.167.236]) by smtp.googlemail.com with ESMTPSA id u8sm3965915lff.38.2020.06.23.00.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 00:34:23 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Tue, 23 Jun 2020 10:39:18 +0300 Message-Id: <20200623073918.3415-1-geomatsi@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/dhcp: specify host-gawk path for dhcp build environment 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: Sergey Matyukevich Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" DHCP package silently fails to install its binaries if gawk tool is not installed on build server. This is still the case even if host-gawk package is already available: dhcp Makefiles detect its presence but still attempt to use gawk from host system. Add host-gawk to the list of dependencies for dhcp and explicitely specify host-gawk location. Signed-off-by: Sergey Matyukevich --- package/dhcp/dhcp.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index ad59804d3b..779d56801f 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -9,7 +9,7 @@ DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = MPL-2.0 DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind +DHCP_DEPENDENCIES = bind host-gawk # use libtool-enabled configure.ac define DHCP_LIBTOOL_AUTORECONF @@ -21,6 +21,8 @@ DHCP_CONF_ENV = \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk + DHCP_CONF_OPTS = \ --with-libbind=$(STAGING_DIR)/usr \ --with-randomdev=/dev/random \