meta-virtualization/recipes-devtools/go-cross
Bruce Ashfield 313b06bfad go-cross: allow tmp directory to already exist
The change [go-native: don't use host /var/tmp for temp build artifacts]
fixed builds, but it is possible that the tmp directory already exists, which
results in the following failure:

  | DEBUG: Executing shell function do_compile
  | mkdir: cannot create directory 'tmp/work/x86_64-linux/go-cross/1.6.2-r0/build-tmp': File exists
  | WARNING: exit code 1 from a shell command.
  | ERROR: Function failed: do_compile (log file is located at tmp/work/x86_64-linux/go-cross/1.6.2-r0/temp/log.do_compile.29142)

By adding a -p to the mkdir calls, we can survive this scenario.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-25 09:50:56 -04:00
..
go-1.4 go-cross: add relocation fix to 1.4 for new binutils. 2016-04-22 12:51:23 -04:00
go-1.5 go-cross: uprev to 1.5.2 2016-04-19 15:51:10 -04:00
go-1.6 go: add go-cross 1.6 2016-05-02 14:02:41 -04:00
go-1.4.inc go-cross: add relocation fix to 1.4 for new binutils. 2016-04-22 12:51:23 -04:00
go-1.5.inc go-cross: uprev to 1.5.2 2016-04-19 15:51:10 -04:00
go-1.6.inc go: add go-cross 1.6 2016-05-02 14:02:41 -04:00
go-common.inc go-cross: uprev to 1.5.2 2016-04-19 15:51:10 -04:00
go-cross_1.5.bb go-cross: uprev to 1.5.2 2016-04-19 15:51:10 -04:00
go-cross_1.6.bb go: add go-cross 1.6 2016-05-02 14:02:41 -04:00
go-cross.inc go-cross: allow tmp directory to already exist 2016-05-25 09:50:56 -04:00
go-native_1.4.bb go-cross: uprev to 1.5.2 2016-04-19 15:51:10 -04:00
go-native.inc go-cross: allow tmp directory to already exist 2016-05-25 09:50:56 -04:00