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

ali anwar ali_3k1 at hotmail.com
Fri Sep 23 13:36:55 UTC 2011


To elaborate manually "tar -xf" untar as well as uncompressd the tp-full-20101031.bz2 file. Where as OE only uncompressed it and did NOT untar so I recieved following:
ERROR: Error executing a python function in /home/qatools/ali/trunk/meta-oe/meta-oe/recipes-benchmark/ltp/ltp_20101031.bb:OSError: [Errno 20] Not a directory: '/home/qatools/ali/trunk/build_release_ltp/work/ppce500mc-linux/ltp-20101031-r0/ltp-full-20101031'
Ali


> From: ali_3k1 at hotmail.com
> To: openembedded-devel at lists.openembedded.org
> Date: Fri, 23 Sep 2011 16:34:51 +0500
> Subject: [oe] do_patch failure ltp_20101031.bb as file not uncompressed	propely
> 
> 
> 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 		 	   		  
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
 		 	   		  


More information about the Openembedded-devel mailing list