Bug 8766

Summary: attr-ptest missing dependence of attr
Product: [Build System, Metadata & Runtime] OE-Core Reporter: dawei <daweix.wu>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: corneliux.stoicescu, meta.mr.watcher, meta.watcher, ross.burton
Version: 1.8.2   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description dawei 2015-12-04 09:22:38 UTC
Without attr , the log likes below:
<pre>
FAIL: $ setfattr -n user -v value f
Can't exec "setfattr": No such file or directory at run line 337, <> line 15. != setfattr: f: Operation not supported
setfattr: No such file or directory != ~
FAIL: $ setfattr -n user. -v value f
Can't exec "setfattr": No such file or directory at run line 337, <> line 18. != setfattr: f: Invalid argument
setfattr: No such file or directory != ~
FAIL: $ setfattr -n user.name f
Can't exec "setfattr": No such file or directory at run line 337, <> line 20. != ~
setfattr: No such file or directory != ~
FAIL: $ getfattr -d f
Can't exec "getfattr": No such file or directory at run line 337, <> line 24. != # file: f
getfattr: No such file or directory != user.name
</pre>

So we can add RDEPENDS for ptest 
RDEPENDS_${PN}-ptest = "coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix attr"
Comment 1 Ross Burton 2016-01-12 20:43:42 UTC
Fixed in oe-core ec9f727fc95d5ac4b4209272f794c4865dd2946f.
Comment 2 dawei 2016-01-13 03:47:20 UTC
Verified , close this
Comment 3 Ross Burton 2016-04-14 21:09:38 UTC
We use RESOLVED.