From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 902BE2BE3 for ; Fri, 26 Oct 2018 19:59:01 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5D1FB22077; Fri, 26 Oct 2018 13:58:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 26 Oct 2018 13:58:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=NtL0K3cXN7SRNKrwpYejhJULOn7BACX8mjOrzsbugI8=; b=TKy4ouRJqRA7 q1I7BwS7Jjuilgy3Aetyo61nK6/03wMLpqdM9qGsh9F36EIYyOm+JqhR2iHZwu3z SpaoFCJ9Dc4fMQ4s/ArwD2hboRFeSVW/FDzukkBtJ+sBQSCvlKbNHdqx4e45BXJX rcyNmkYFYWpd3wwkzA1RSYMGABmseO8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NtL0K3cXN7SRNKrwpYejhJULOn7BACX8mjOrzsbug I8=; b=UrVVfzzw3Xpop/IJJ0lBCdWoE1MD3uNjJKp+0Jih2aJN4qEt0J+cMUIt9 Y5I35LIJfTcaLcd1aOrkIETzfEoJolybfpe1YDYseA63whd+DKcVKbYceCQeAPfP fbm9AhN8eDS854gX7I58pxDeqU4T9s/EhIZmufPjt13aLfehdODhFrBieGY/D2EH 3PGYkaPU+ciuoGJElYcGeLJbVlNwP2R6vs+lJRqR2lMb/3zqYYOLRuvMdULWJtZU Uilyf9puQT8qgjnMX8a4yd8yVieiuhcRXl2IG93/cinUeUBgZJJrLWnn60JuqGVg 6Q7LFRbsiD8seaAj5LWvHfy73Ad3g== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4DEAEE4071; Fri, 26 Oct 2018 13:58:58 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Fri, 26 Oct 2018 19:59:03 +0200 Message-ID: <1826680.rqYCJSl033@xps> In-Reply-To: <20181026184248.78908-1-ferruh.yigit@intel.com> References: <20181026184248.78908-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] buildtools: fix build for some mktemp X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 17:59:01 -0000 26/10/2018 20:42, Ferruh Yigit: > build error: > == Build drivers/net/tap > mktemp: cannot create temp file /tmp/dpdk.auto-config-h.sh.XXX.c: > Invalid argument > .../buildtools/auto-config-h.sh: line 86: : No such file or directory > .../drivers/net/tap/Makefile:55: recipe for target > 'tap_autoconf.h.new' failed > > Above error observed on Wind River Linux 8.0 > > `mktemp` command in that system has a restrictions to have X in > the template at the end and at least six of them. So let's comply with this requirement. > Switched back to static assignment for `temp` in buildtools, > but kept `dpdk.` prefix to preserve the common prefix intention. It is a regression. mktemp allows to choose the temporary directory thanks to TMPDIR environment variable.