Re: [oe] [meta-openwrt] Issues adding layer using readme instructions

2017-08-11 Thread Diana Thayer
> 600-shared-libext.patch does not apply any more. It is part of
meta-openwrt [1]. Have no idea what this patch is trying to
fix/enhance - Khem?

This is still blocking efforts to build with meta-openwrt. Any ideas?

On Fri, Aug 4, 2017 at 5:04 PM, Andreas Müller  wrote:

> On Sat, Aug 5, 2017 at 1:12 AM, Diana Thayer  wrote:
> > Great! Here's the PR <https://github.com/kraj/meta-openwrt/pull/22>.
> >
> > Attempting to run `TCLIBC=musl MACHINE=qemux86 bitbake core-image-sato`
> > still fails with this error:
> >
> > ```
> > ERROR: iptables-1.6.1-r0 do_patch: Command Error: 'quilt --quiltrc
> > /home/garbados/openembedded-core/build/tmp-musl/work/i586-
> oe-linux-musl/iptables/1.6.1-r0/recipe-sysroot-native/etc/quiltrc
> > push' exited with 0  Output:
> > Applying patch 600-shared-libext.patch
> > patching file extensions/GNUmakefile.in
> > Hunk #1 succeeded at 50 (offset 1 line).
> > Hunk #2 succeeded at 87 (offset 1 line).
> > Hunk #3 succeeded at 114 (offset 1 line).
> > Hunk #4 succeeded at 123 (offset 1 line).
> > Hunk #5 succeeded at 146 (offset 1 line).
> > patching file iptables/Makefile.am
> > Hunk #1 succeeded at 8 (offset 2 lines).
> > Hunk #2 FAILED at 15.
> > Hunk #3 FAILED at 42.
> > 2 out of 3 hunks FAILED -- rejects in file iptables/Makefile.am
> > Patch 600-shared-libext.patch does not apply (enforce with -f)
> 600-shared-libext.patch does not apply any more. It is part of
> meta-openwrt [1]. Have no idea what this patch is trying to
> fix/enhance - Khem?
>
> [1] https://github.com/kraj/meta-openwrt/blob/master/recipes-
> tweaks/iptables/iptables/600-shared-libext.patch
>
> Andreas
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openwrt] Issues adding layer using readme instructions

2017-08-04 Thread Diana Thayer
Great! Here's the PR <https://github.com/kraj/meta-openwrt/pull/22>.

Attempting to run `TCLIBC=musl MACHINE=qemux86 bitbake core-image-sato`
still fails with this error:

```
ERROR: iptables-1.6.1-r0 do_patch: Command Error: 'quilt --quiltrc
/home/garbados/openembedded-core/build/tmp-musl/work/i586-oe-linux-musl/iptables/1.6.1-r0/recipe-sysroot-native/etc/quiltrc
push' exited with 0  Output:
Applying patch 600-shared-libext.patch
patching file extensions/GNUmakefile.in
Hunk #1 succeeded at 50 (offset 1 line).
Hunk #2 succeeded at 87 (offset 1 line).
Hunk #3 succeeded at 114 (offset 1 line).
Hunk #4 succeeded at 123 (offset 1 line).
Hunk #5 succeeded at 146 (offset 1 line).
patching file iptables/Makefile.am
Hunk #1 succeeded at 8 (offset 2 lines).
Hunk #2 FAILED at 15.
Hunk #3 FAILED at 42.
2 out of 3 hunks FAILED -- rejects in file iptables/Makefile.am
Patch 600-shared-libext.patch does not apply (enforce with -f)
ERROR: iptables-1.6.1-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in:
/home/garbados/openembedded-core/build/tmp-musl/work/i586-oe-linux-musl/iptables/1.6.1-r0/temp/log.do_patch.21478
ERROR: Task
(/home/garbados/openembedded-core/meta/recipes-extended/iptables/iptables_1.6.1.bb:do_patch)
failed with exit code '1'
```

Like before, I'm not sure how to handle it.

On Fri, Aug 4, 2017 at 3:56 PM, Khem Raj  wrote:

> Yes, please!
>
> On Fri, Aug 4, 2017 at 2:37 PM Diana Thayer  wrote:
>
>> That did the trick. Should I submit a patch to remove it?
>>
>> On Fri, Aug 4, 2017 at 2:34 PM, Khem Raj  wrote:
>>
>>> Ok please look for this class being inherited in this layer and delete
>>> it it has been merged into image class in oe-core we should have kept an
>>> empty class in or-core for backward compatibility but that's another matter
>>>
>>> On Fri, Aug 4, 2017 at 2:30 PM Diana Thayer  wrote:
>>>
>>>> Alright. I've added it manually. I get this error:
>>>>
>>>> ```
>>>> ParseError at /home/garbados/openembedded-core/meta-openwrt/recipes-
>>>> core/images/openwrt-base-image.bb:5: Could not inherit file
>>>> classes/image_types_uboot.bbclass
>>>> ```
>>>>
>>>> This is also the error Toaster gives me when trying to build the layer.
>>>>
>>>> On Fri, Aug 4, 2017 at 2:25 PM, Khem Raj  wrote:
>>>>
>>>>> Hi Diana
>>>>>
>>>>> Haven't seen anyone report this error thus far
>>>>> I would suggest to add the layer manually to
>>>>> Bblayer.conf and see how then you get better error messages during
>>>>> parse
>>>>>
>>>>> On Fri, Aug 4, 2017 at 1:45 PM Diana Thayer 
>>>>> wrote:
>>>>>
>>>>>> Hello!
>>>>>>
>>>>>> I'm experiencing issues building with meta-openwrt. Following the
>>>>>> instructions in the readme <https://github.com/kraj/meta-openwrt>, I
>>>>>> get
>>>>>> this error:
>>>>>>
>>>>>> ```
>>>>>> $ bitbake-layers add-layer ../meta-openwrt
>>>>>> NOTE: Starting bitbake server...
>>>>>> Loading cache: 100% |#
>>>>>> 
>>>>>> #|
>>>>>> Time: 0:00:00
>>>>>> Loaded 66 entries from dependency cache.
>>>>>> ERROR: Parse failure with the specified layer added
>>>>>>   | ETA:
>>>>>> --:--:--
>>>>>> ```
>>>>>>
>>>>>> What failed? Why? How do I debug it? I followed the directions step by
>>>>>> step, both within openembedded-core and poky.
>>>>>>
>>>>>> Thanks for any help you can provide.
>>>>>>
>>>>>> Best regards,
>>>>>> Diana
>>>>>> --
>>>>>> ___
>>>>>> Openembedded-devel mailing list
>>>>>> Openembedded-devel@lists.openembedded.org
>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>
>>>>>
>>>>
>>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openwrt] Issues adding layer using readme instructions

2017-08-04 Thread Diana Thayer
That did the trick. Should I submit a patch to remove it?

On Fri, Aug 4, 2017 at 2:34 PM, Khem Raj  wrote:

> Ok please look for this class being inherited in this layer and delete it
> it has been merged into image class in oe-core we should have kept an empty
> class in or-core for backward compatibility but that's another matter
>
> On Fri, Aug 4, 2017 at 2:30 PM Diana Thayer  wrote:
>
>> Alright. I've added it manually. I get this error:
>>
>> ```
>> ParseError at /home/garbados/openembedded-core/meta-openwrt/recipes-
>> core/images/openwrt-base-image.bb:5: Could not inherit file
>> classes/image_types_uboot.bbclass
>> ```
>>
>> This is also the error Toaster gives me when trying to build the layer.
>>
>> On Fri, Aug 4, 2017 at 2:25 PM, Khem Raj  wrote:
>>
>>> Hi Diana
>>>
>>> Haven't seen anyone report this error thus far
>>> I would suggest to add the layer manually to
>>> Bblayer.conf and see how then you get better error messages during parse
>>>
>>> On Fri, Aug 4, 2017 at 1:45 PM Diana Thayer  wrote:
>>>
>>>> Hello!
>>>>
>>>> I'm experiencing issues building with meta-openwrt. Following the
>>>> instructions in the readme <https://github.com/kraj/meta-openwrt>, I
>>>> get
>>>> this error:
>>>>
>>>> ```
>>>> $ bitbake-layers add-layer ../meta-openwrt
>>>> NOTE: Starting bitbake server...
>>>> Loading cache: 100% |#
>>>> 
>>>> #|
>>>> Time: 0:00:00
>>>> Loaded 66 entries from dependency cache.
>>>> ERROR: Parse failure with the specified layer added
>>>>   | ETA:
>>>> --:--:--
>>>> ```
>>>>
>>>> What failed? Why? How do I debug it? I followed the directions step by
>>>> step, both within openembedded-core and poky.
>>>>
>>>> Thanks for any help you can provide.
>>>>
>>>> Best regards,
>>>> Diana
>>>> --
>>>> ___
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>
>>>
>>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openwrt] Issues adding layer using readme instructions

2017-08-04 Thread Diana Thayer
Alright. I've added it manually. I get this error:

```
ParseError at
/home/garbados/openembedded-core/meta-openwrt/recipes-core/images/
openwrt-base-image.bb:5: Could not inherit file
classes/image_types_uboot.bbclass
```

This is also the error Toaster gives me when trying to build the layer.

On Fri, Aug 4, 2017 at 2:25 PM, Khem Raj  wrote:

> Hi Diana
>
> Haven't seen anyone report this error thus far
> I would suggest to add the layer manually to
> Bblayer.conf and see how then you get better error messages during parse
>
> On Fri, Aug 4, 2017 at 1:45 PM Diana Thayer  wrote:
>
>> Hello!
>>
>> I'm experiencing issues building with meta-openwrt. Following the
>> instructions in the readme <https://github.com/kraj/meta-openwrt>, I get
>> this error:
>>
>> ```
>> $ bitbake-layers add-layer ../meta-openwrt
>> NOTE: Starting bitbake server...
>> Loading cache: 100% |#
>> 
>> #|
>> Time: 0:00:00
>> Loaded 66 entries from dependency cache.
>> ERROR: Parse failure with the specified layer added
>>   | ETA:  --:--:--
>> ```
>>
>> What failed? Why? How do I debug it? I followed the directions step by
>> step, both within openembedded-core and poky.
>>
>> Thanks for any help you can provide.
>>
>> Best regards,
>> Diana
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-openwrt] Issues adding layer using readme instructions

2017-08-04 Thread Diana Thayer
Hello!

I'm experiencing issues building with meta-openwrt. Following the
instructions in the readme , I get
this error:

```
$ bitbake-layers add-layer ../meta-openwrt
NOTE: Starting bitbake server...
Loading cache: 100% |#
#|
Time: 0:00:00
Loaded 66 entries from dependency cache.
ERROR: Parse failure with the specified layer added
  | ETA:  --:--:--
```

What failed? Why? How do I debug it? I followed the directions step by
step, both within openembedded-core and poky.

Thanks for any help you can provide.

Best regards,
Diana
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel