* recipetool issue with empty bbappends
@ 2016-07-19 7:33 Sai Pavan Boddu
2016-07-19 9:25 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Sai Pavan Boddu @ 2016-07-19 7:33 UTC (permalink / raw)
To: bitbake-devel; +Cc: Manjukumar Harthikote Matha, Vineeth Karumanchi
Hi,
I see an issue, working with recipetool, which basically gives error when I point out an empty bbappend file generated form recipetool itself.
Below are the steps
recipetool newappend meta-saip/ linux-xlnx
recipetool setvar -r meta-saip/recipes-kernel/linux/linux-xlnx_4.4.bbappend XSCTH_PROC "arm"
Traceback (most recent call last):
File "<path>/yocto/scripts/recipetool", line 116, in <module>
ret = main()
File "<path>/yocto/scripts/recipetool", line 107, in main
ret = args.func(args)
File "<path>/components/yocto/scripts/lib/recipetool/setvar.py", line 52, in setvar
patches = [oe.recipeutils.patch_recipe_file(args.recipefile, varvalues, patch=args.patch)]
File "<path>/yocto/meta/lib/oe/recipeutils.py", line 258, in patch_recipe_file
if tolines[-1].strip() != '':
IndexError: list index out of range
But I don't see the error if, bbappend file has atlease one line
Regards,
B. Sai pavan
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: recipetool issue with empty bbappends
2016-07-19 7:33 recipetool issue with empty bbappends Sai Pavan Boddu
@ 2016-07-19 9:25 ` Paul Eggleton
2016-07-19 9:46 ` Sai Pavan Boddu
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2016-07-19 9:25 UTC (permalink / raw)
To: Sai Pavan Boddu
Cc: Manjukumar Harthikote Matha, Vineeth Karumanchi, bitbake-devel
Hi there,
On Tue, 19 Jul 2016 07:33:00 Sai Pavan Boddu wrote:
> I see an issue, working with recipetool, which basically gives error when I
> point out an empty bbappend file generated form recipetool itself. Below
> are the steps
> recipetool newappend meta-saip/ linux-xlnx
> recipetool setvar -r meta-saip/recipes-kernel/linux/linux-xlnx_4.4.bbappend
> XSCTH_PROC "arm" Traceback (most recent call last):
> File "<path>/yocto/scripts/recipetool", line 116, in <module>
> ret = main()
> File "<path>/yocto/scripts/recipetool", line 107, in main
> ret = args.func(args)
> File "<path>/components/yocto/scripts/lib/recipetool/setvar.py", line 52,
> in setvar patches = [oe.recipeutils.patch_recipe_file(args.recipefile,
> varvalues, patch=args.patch)] File
> "<path>/yocto/meta/lib/oe/recipeutils.py", line 258, in patch_recipe_file
> if tolines[-1].strip() != '':
> IndexError: list index out of range
>
> But I don't see the error if, bbappend file has atlease one line
I've just reproduced this and have filed the following bug for the issue:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9972
BTW in future for issues with recipetool / devtool could you please use the
openembedded-core@lists.openembedded.org (or yocto@yoctoproject.org if you
prefer) since recipetool isn't part of BitBake.
Thanks,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: recipetool issue with empty bbappends
2016-07-19 9:25 ` Paul Eggleton
@ 2016-07-19 9:46 ` Sai Pavan Boddu
0 siblings, 0 replies; 3+ messages in thread
From: Sai Pavan Boddu @ 2016-07-19 9:46 UTC (permalink / raw)
To: Paul Eggleton
Cc: Manjukumar Harthikote Matha, Vineeth Karumanchi, bitbake-devel
> -----Original Message-----
> From: Paul Eggleton [mailto:paul.eggleton@linux.intel.com]
> Sent: Tuesday, July 19, 2016 2:55 PM
> To: Sai Pavan Boddu <saipava@xilinx.com>
> Cc: bitbake-devel@lists.openembedded.org; Manjukumar Harthikote Matha <MANJUKUM@xilinx.com>; Vineeth Karumanchi
> <VINEETHC@xilinx.com>
> Subject: Re: [bitbake-devel] recipetool issue with empty bbappends
>
> Hi there,
>
> On Tue, 19 Jul 2016 07:33:00 Sai Pavan Boddu wrote:
> > I see an issue, working with recipetool, which basically gives error when I
> > point out an empty bbappend file generated form recipetool itself. Below
> > are the steps
> > recipetool newappend meta-saip/ linux-xlnx
> > recipetool setvar -r meta-saip/recipes-kernel/linux/linux-xlnx_4.4.bbappend
> > XSCTH_PROC "arm" Traceback (most recent call last):
> > File "<path>/yocto/scripts/recipetool", line 116, in <module>
> > ret = main()
> > File "<path>/yocto/scripts/recipetool", line 107, in main
> > ret = args.func(args)
> > File "<path>/components/yocto/scripts/lib/recipetool/setvar.py", line 52,
> > in setvar patches = [oe.recipeutils.patch_recipe_file(args.recipefile,
> > varvalues, patch=args.patch)] File
> > "<path>/yocto/meta/lib/oe/recipeutils.py", line 258, in patch_recipe_file
> > if tolines[-1].strip() != '':
> > IndexError: list index out of range
> >
> > But I don't see the error if, bbappend file has atlease one line
>
> I've just reproduced this and have filed the following bug for the issue:
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9972
Thanks Paul Eggleton.
Regards,
Sai Pavan
>
> BTW in future for issues with recipetool / devtool could you please use the
> openembedded-core@lists.openembedded.org (or yocto@yoctoproject.org if you
> prefer) since recipetool isn't part of BitBake.
>
> Thanks,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-19 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19 7:33 recipetool issue with empty bbappends Sai Pavan Boddu
2016-07-19 9:25 ` Paul Eggleton
2016-07-19 9:46 ` Sai Pavan Boddu
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.