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

Diana Thayer garbados at gmail.com
Fri Aug 4 23:12:52 UTC 2017


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 <raj.khem at gmail.com> wrote:

> Yes, please!
>
> On Fri, Aug 4, 2017 at 2:37 PM Diana Thayer <garbados at gmail.com> wrote:
>
>> That did the trick. Should I submit a patch to remove it?
>>
>> On Fri, Aug 4, 2017 at 2:34 PM, Khem Raj <raj.khem at gmail.com> 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 <garbados at gmail.com> 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 <raj.khem at gmail.com> 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 <garbados at gmail.com>
>>>>> 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 at lists.openembedded.org
>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>>>>
>>>>>
>>>>
>>



More information about the Openembedded-devel mailing list