Hello everyone
We met a issue when run gzip-1.14 tests in yocto project

| od: invalid option -- 'A'
| BusyBox v1.37.0 () multi-call binary.

It's caused by line 46 in tests/reference.

yocto use od from busybox which only has limited option of od.

For such cases, the usual approach taken by adding coreutils to RDEPENDS which 
means use od from coreutils
instead of busybox

 42 # Ensure that compressing these simple strings always produces the same 
bytes.
 43 # If using "od" is not portable enough, consider using this:
 44 # perl -ne 'printf "%02x ", ord($_) for split //'
 45 for i in '' a b c yyy zzzzzzzzzzz; do
 46   echo $i: $(printf %s "$i" | gzip | od -An -tx1 | tr -d '\n')
 47 done > out || framework_failure_



So this mail just to inform you that od in tests may cause issues to downstream


Thank you


Reply via email to