From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] buildtools: fix build for some mktemp Date: Fri, 26 Oct 2018 19:59:03 +0200 Message-ID: <1826680.rqYCJSl033@xps> References: <20181026184248.78908-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ferruh Yigit 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) In-Reply-To: <20181026184248.78908-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.