All of lore.kernel.org
 help / color / mirror / Atom feed
* do_patch failure ltp_20101031.bb as file not uncompressed propely
@ 2011-09-23 11:34 ali anwar
  2011-09-23 13:36 ` ali anwar
  0 siblings, 1 reply; 5+ messages in thread
From: ali anwar @ 2011-09-23 11:34 UTC (permalink / raw)
  To: openembedded-devel


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@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 		 	   		  

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: do_patch failure ltp_20101031.bb as file not uncompressed propely
  2011-09-23 11:34 do_patch failure ltp_20101031.bb as file not uncompressed propely ali anwar
@ 2011-09-23 13:36 ` ali anwar
  2011-09-26 19:39   ` ali anwar
  0 siblings, 1 reply; 5+ messages in thread
From: ali anwar @ 2011-09-23 13:36 UTC (permalink / raw)
  To: openembedded-devel


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@hotmail.com
> To: openembedded-devel@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@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
 		 	   		  

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: do_patch failure ltp_20101031.bb as file not uncompressed propely
  2011-09-23 13:36 ` ali anwar
@ 2011-09-26 19:39   ` ali anwar
  2011-09-26 19:57     ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: ali anwar @ 2011-09-26 19:39 UTC (permalink / raw)
  To: openembedded-devel


Any thoughts???
Ali



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: do_patch failure ltp_20101031.bb as file not uncompressed propely
  2011-09-26 19:39   ` ali anwar
@ 2011-09-26 19:57     ` Denys Dmytriyenko
  2011-09-26 21:34       ` Paul Menzel
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2011-09-26 19:57 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Sep 27, 2011 at 12:39:23AM +0500, ali anwar wrote:
> 
> > From: ali_3k1@hotmail.com
> > To: openembedded-devel@lists.openembedded.org
> > Date: Fri, 23 Sep 2011 18:36:55 +0500
> > Subject: Re: [oe] do_patch failure ltp_20101031.bb as file not uncompressed propely
> > 
> > 
> > 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,

Please contact upstream and request they fix their filename - the way they 
named it clearly indicates it's bz2 compressed, but not a tar archive. It 
should be either .tar.bz2 or at least .tbz2 extension and not just .bz2

-- 
Denys


> > 
> > > From: ali_3k1@hotmail.com
> > > To: openembedded-devel@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@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@lists.openembedded.org
> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >  		 	   		  
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>  		 	   		  
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: do_patch failure ltp_20101031.bb as file not uncompressed propely
  2011-09-26 19:57     ` Denys Dmytriyenko
@ 2011-09-26 21:34       ` Paul Menzel
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2011-09-26 21:34 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]

Dear Ali, dear Denys,


Am Montag, den 26.09.2011, 15:57 -0400 schrieb Denys Dmytriyenko:
> On Tue, Sep 27, 2011 at 12:39:23AM +0500, ali anwar wrote:
> > 
> > > From: ali_3k1@hotmail.com
> > > To: openembedded-devel@lists.openembedded.org
> > > Date: Fri, 23 Sep 2011 18:36:55 +0500
> > > Subject: Re: [oe] do_patch failure ltp_20101031.bb as file not uncompressed propely
> > > 
> > > 
> > > 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'

> Please contact upstream and request they fix their filename - the way they 
> named it clearly indicates it's bz2 compressed, but not a tar archive. It 
> should be either .tar.bz2 or at least .tbz2 extension and not just .bz2

That would indeed be the best solution.

I still could not figure out though what has changed since
decompressing/unpacking the archive must have worked some time back. I
tried BitBake 1.8 but it also failed with the same error.

Is there a way to specify the file name the downloaded file should be
saved as?


Thanks,

Paul


PS: Ali, please adhere to the netiquette [1].


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-26 21:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 11:34 do_patch failure ltp_20101031.bb as file not uncompressed propely ali anwar
2011-09-23 13:36 ` ali anwar
2011-09-26 19:39   ` ali anwar
2011-09-26 19:57     ` Denys Dmytriyenko
2011-09-26 21:34       ` Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.