[dpdk-dev] [PATCH] buildtools: fix build for some mktemp

Thomas Monjalon thomas at monjalon.net
Fri Oct 26 19:59:03 CEST 2018


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.





More information about the dev mailing list