From patchwork Fri May 7 09:43:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1475440 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.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) 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=jvgneMLT; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fc59W2LKkz9sj5 for ; Fri, 7 May 2021 19:43:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8DA1940F9C; Fri, 7 May 2021 09:43:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q4hiiTL5W_EY; Fri, 7 May 2021 09:43:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id BAEF740F8D; Fri, 7 May 2021 09:43:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 4E2901BF873 for ; Fri, 7 May 2021 09:43:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 49FBE40F8D for ; Fri, 7 May 2021 09:43:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OA1Rduj17Lu6 for ; Fri, 7 May 2021 09:43:20 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by smtp4.osuosl.org (Postfix) with ESMTPS id 8115E40F75 for ; Fri, 7 May 2021 09:43:20 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id a4so8519748wrr.2 for ; Fri, 07 May 2021 02:43:20 -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=oO17waVt1Rc8Qi/oPPgAI3/qgq9dS/4Mf4/ighR6TsY=; b=jvgneMLTNRMGsXTsWSFpYrfz2gxyPYHWLke/ewAvd8aWxiOqz4TTKsovCgtha06JtL jVEA9LOcc/oZ40gudLLwCIW678AGnvxMUGnI1vOPFtH0/hJf0gex/1eFhq3mTVmI3MhO sUKHqnS6FOsLYXNR2a6+4A1+j6IKLLSkQc3vSQ6ll/rfRxGdkBrt9d8qVRhma0O2ZANL 0uEX/nBDw5Io1zpIM6UkarPr13wlhd4IqeZsU78CKbl2CLhMBP4mMYqd5OZtY7gxc3xk Hvs2vIJ/VUTTIvKuqHegRrFWeMS88xvhB2sZLTvxOZxEy6xvHmn7oXMgkZ/GG8mROtIA 2I1A== 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=oO17waVt1Rc8Qi/oPPgAI3/qgq9dS/4Mf4/ighR6TsY=; b=MddFE2RaL/0T1Da2ZO/desyKsXD3w9e/nVzqdMC7Nv69HhawchP1gp0ojBmx5XduEO HILX+o93F9xISbZja9oXGvbL4yQfE4jdEVaHC3DSuk8HDKidrYQn7DahLAurOc3NYj5N +DgBc14N1KH1+EMjsWXdW4eaDDYBdyeNEPibqwL/8FV8Y3rXG1ReLJ4/UuB/IOBYxznn BAx+MXhzcHLXAoh9rxQqbLl5uoA0SHmCWOQijO7vT9o5Q9ACUDNx2VJgIakoYAakO0vH n0R8I7tIfV5eURSqZzPjnM/f8vrBzV/5AJ8b5PYaTdyoTTY8u1i7LJJf15yYViL8jkrN KAXg== X-Gm-Message-State: AOAM531GboulaFGmbVhmyrqlW+8dv0ykHXYRxU4+bx2rxBBFb0x9fl7P HO8F6y6RHnjFCE2B+XzflyG4HSaHMuMcCw== X-Google-Smtp-Source: ABdhPJxAJjmCx8vObQ5aBooA6AKOYJw+Bc5xbugUTmQQFyWd12roEKbmkUcsYVcri45vm48KTx2oYw== X-Received: by 2002:adf:f152:: with SMTP id y18mr11226448wro.77.1620380598461; Fri, 07 May 2021 02:43:18 -0700 (PDT) Received: from hthiery.fritz.box (ip1f1322f8.dynamic.kabel-deutschland.de. [31.19.34.248]) by smtp.gmail.com with ESMTPSA id f25sm8032131wrd.67.2021.05.07.02.43.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 02:43:18 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Fri, 7 May 2021 11:43:05 +0200 Message-Id: <20210507094304.21719-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2] package/dhcp: add host-gawk optional dependency 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: Heiko Thiery , Kay Jeschonneck Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" On hosts where gawk is not available, it is not possible to build the package with server option (BR2_PACKAGE_DHCP_SERVER). The build goes through without errors but the binaries are not created and installed. The reason is that autotools cannot find gawk. Fixes: Bug 13781 Reported-by: Kay Jeschonneck Signed-off-by: Heiko Thiery --- v2: - set to correct bug number package/dhcp/dhcp.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 988c7792dc..8d7157f357 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -55,6 +55,7 @@ define DHCP_INSTALL_LIBS endef ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) +DHCP_DEPENDENCIES += host-gawk define DHCP_INSTALL_CTL_LIBS $(MAKE) -C $(@D)/dhcpctl install-exec DESTDIR=$(TARGET_DIR) endef