[oe] do_patch failure ltp_20101031.bb as file not uncompressed propely

ali anwar ali_3k1 at hotmail.com
Fri Sep 23 11:34:51 UTC 2011


Hi All,
This is my first e-mail to OE mailing list. There is an issue which I am facing with ltp recipe in open embedded which I like to discuss.
Currently ltp_20101031.bb for source points to http://downloads.sourceforge.net/ltp/ltp-full-20101031.bz2. But problem is that do_unpack extracts ltp-full-20101031.bz2 to tar archive (GNU).
qa at qatools:~/ali/build_release_ltp/work/ppce500mc-linux/ltp-20101031-r0$ file ltp-full-20101031ltp-full-20101031: POSIX tar archive (GNU)
Where as manually I am able to untar the file properly using "tar -xf". Now there are two solutions to this problem. 
1. We modify the source to contain `tar.bz2` in its name instead of only .bz2 if a tar archived is compressed, which I guess is the correct way as well.
2. Change the functionality of OE to verify/ recognize the extracted contents and again uncompress it if required.
Notes:I am on a Ubuntu 10.04 64 bit host.
Thanks,Ali 		 	   		  


More information about the Openembedded-devel mailing list