Wind River Support Network

HomeDefectsLIN7-4132
Fixed

LIN7-4132 : sanity.bbclass: check /bin/sh is dash or bash

Created: Jun 29, 2015    Updated: Sep 8, 2018
Resolved Date: Jul 6, 2015
Found In Version: 7.0.0.5
Fix Version: 7.0.0.8
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

The build would fail when /bin/sh links to ksh or csh, we only test dash
and bash AFAIK.

A patch from upstream.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=48b5ea6782ec7e9ab8f9a28438ef0ededa5fe224

Steps to Reproduce

1. Step 1
  When /bin/sh -> csh:
  $ bitbake quilt-native
  $ bitbake quilt-native -c fetch
Illegal variable name.
Illegal variable name.
[snip]
uname: extra operand `2' 
Try `uname --help' for more information.

2. Step 2
* When /bin/sh -> ksh:
  If there are only a few tasks running, for example,
  "bitbake quilt-native", the build would be OK, but it would fail if we
  run "bitbake world" for a while, there would be a lot of "Broken pipe"
  errors:
  $bitbake world
Exception: CalledProcessError: Command
'cd /path/to/xx; find . -type d -print | tar -cf - -C /path/to/sysroot-destdir -p --files-from - --no-recursion | tar -xf - -C /path/to/xxx'
returned non-zero exit status 2 with output tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
find: `standard output': Broken pipe
find: write error

Other Downloads


Live chat
Online