Wind River Support Network

HomeDefectsLIN7-8185
Fixed

LIN7-8185 : mktemp version incompatible for WRL7 build

Created: May 18, 2017    Updated: Sep 8, 2018
Resolved Date: May 26, 2017
Found In Version: 7.0
Fix Version: 7.0.0.25
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

mktemp version:
debianutils-2.7

When creating a project aimed as a WRL7 host system, a project configuration due to incompatible mktemp, see:
mktemp: cannot make temp dir gcc_test_XXXX: Invalid argument 

mktemp version used on this host is using internally mkdtemp function from libc which needs a pathname ending with at least six trailing 'X' characters.

(mktemp from coreutils is using a different implementation and this issue is not present)

Steps to Reproduce

<wrlx7_path>/wrlinux-7/wrlinux/configure        
mktemp: cannot make temp dir gcc_test_XXXX: Invalid argument
/windriver/wrlx7/wrlinux-7/layers/wrlcompat/scripts/configure: line 479: /gcc_test.c: Permission denied
/windriver/wrlx7/wrlinux-7/layers/wrlcompat/scripts/configure: line 495: /gcc_error.log: Permission denied
ERROR: The host's GCC version does not support atomic compare_and_swap operations.  (Adding -march=native and -march= did not work either.)
cat: /gcc_error.log: No such file or directory

Other Downloads


Live chat
Online