From patchwork Fri Jul 19 21:11:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1134300 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.136; helo=silver.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="F6VkrSm7"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45r3bT5Cr5z9s4Y for ; Sat, 20 Jul 2019 07:11:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EAD122049C; Fri, 19 Jul 2019 21:11:47 +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 m2lKWFmmPkf6; Fri, 19 Jul 2019 21:11:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 90C3B22DD3; Fri, 19 Jul 2019 21:11:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8BA2C1BF292 for ; Fri, 19 Jul 2019 21:11:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 88AB58842D for ; Fri, 19 Jul 2019 21:11:45 +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 rgLFkvxrgjPD for ; Fri, 19 Jul 2019 21:11:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id BE9DE8840C for ; Fri, 19 Jul 2019 21:11:44 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id n9so8417224wrr.4 for ; Fri, 19 Jul 2019 14:11:44 -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=XNEL5yvcmbM6BbxDIja/3SuY1QiqjWPbmZgAqFO1GtA=; b=F6VkrSm7YcqzaL4BI9Ai/agHZEnL29ihIyQpSRUpGPs33TnxedSjdWYrtHxDRLGU7I 4Uk1hVwCyfWehANLQOuag/7noW5gqlaqOH2ozMzytqv8UrCZNv/7rTWm/E6Mn96B2dMt p3vr6EJu/1qI3CLkB55TT65N7rcsloNLGA/sYRrtebZ+F4c481Th2NqqxYldCNR70ezY +LpBciVYvCBScx6MNQeR3qfnMLKt2xlKPqHGB1hK9su2+0S99knL60WHXaYknJKgxiLx DXWQ5b+PBkze30BcZf+1ZmAPisHuWI5nqNUCJki9ZEiHSayiHP8KnWooEUnV9Tm/WCul jPxw== 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=XNEL5yvcmbM6BbxDIja/3SuY1QiqjWPbmZgAqFO1GtA=; b=oD8ifJw99WUMibsuXWayEJEwoWJLkGTgex1NDjY3kG2HAuie3i+/nWtNR31N5lohWf 4AdbykXtDmjrsn0sL6lWl88zFVqFOZ0Ex+LuE9UB5FnDlu4+6aH5TUQ7oIB9NvufvoKo 0lG6A3JlBHX9NuyJj165ltjWhZXF5b11qRgujrc5yy2QJzQepU65Fo1wyblhfVJpKKbs RG6g0spVqVV5j9/dNWPvH1WpK10FmSE5z8cIr+iJqr3Yv8Pn8Dq3PKSlkbLE70SPTZ52 9Ka1pUXdo620ZisRodfwVg2VF+XTayyw6XFbRoEspIpGdLIMVu1UFZzbSQseZxfhIOJ2 XV1A== X-Gm-Message-State: APjAAAWu2G0FfKVtj0H7kB4e4huEXM0L6j6yu4b7j71zwpWMO/asSdY2 YYloInaTscL1h3fk5wD/NWE7BZg1 X-Google-Smtp-Source: APXvYqwtNaQQyLSpVo1YHPD+dtWQenYKo5jEynD1eTqZyos9DxW2jcs91St/dzaixV79I0kkQf8JMA== X-Received: by 2002:a5d:5152:: with SMTP id u18mr59433007wrt.9.1563570703031; Fri, 19 Jul 2019 14:11:43 -0700 (PDT) Received: from kali.home (lfbn-ren-1-605-248.w81-53.abo.wanadoo.fr. [81.53.181.248]) by smtp.gmail.com with ESMTPSA id h14sm31145298wrs.66.2019.07.19.14.11.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 14:11:42 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 19 Jul 2019 23:11:52 +0200 Message-Id: <20190719211152.3812-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/iputils: fix build without NLS 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: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Set USE_GETTEXT depending on BR2_SYSTEM_ENABLE_NLS as otherwise build will fail if gettext is not installed on host because USE_GETTEXT is enabled by default since version 20190324 and https://github.com/iputils/iputils/commit/2615a527209bb408b54028ef6405075cadd4541b Fixes: - http://autobuild.buildroot.org/results/127823ddbd75336abc0fe0e9bd11e4f5249df87c Signed-off-by: Fabrice Fontaine Acked-by: Petr Vorel --- package/iputils/iputils.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk index 8e6a3e2fc5..b28222138f 100644 --- a/package/iputils/iputils.mk +++ b/package/iputils/iputils.mk @@ -49,6 +49,12 @@ IPUTILS_CONF_OPTS += -DUSE_CRYPTO=none IPUTILS_CONF_OPTS += -DBUILD_NINFOD=false endif +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +IPUTILS_CONF_OPTS += -DUSE_GETTEXT=true +else +IPUTILS_CONF_OPTS += -DUSE_GETTEXT=false +endif + IPUTILS_CONF_OPTS += -DBUILD_TRACEROUTE6=true # XSL Stylesheets for DocBook 5 not packaged for buildroot