Re: [OE-core] [PATCH 03/20] python: introduce python3-dtschema

2021-11-25 Thread Bruce Ashfield
On Thu, Nov 25, 2021 at 12:53 PM Khem Raj  wrote:
>
>
>
> On 11/25/21 9:51 AM, Bruce Ashfield wrote:
> > On Thu, Nov 25, 2021 at 12:36 PM Khem Raj  wrote:
> >>
> >> fails to build for me
> >>
> >> https://errors.yoctoproject.org/Errors/Details/618010/
> >
> > It was updated in-branch with fixups.  The version in this patch is
> > known to break on a target build.
>
> thanks, my grinder runs slowly since it builds a lot of stuff, so it
> gets to errors a bit late :). Are these fixes already in master-next now ?

Yup,

Richard picked up the fix after I noticed the failure in my AB run, I see the

DEPENDS += "python3-setuptools-scm-native"

In the master-next version, which was the fix for the target build issue.

Bruce

>
> >
> > Bruce
> >
> >>
> >> On Wed, Nov 24, 2021 at 1:14 PM Bruce Ashfield  
> >> wrote:
> >>>
> >>> From: Bruce Ashfield 
> >>>
> >>> kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
> >>> targets], which is part of v5.16+, makes the checking of dtb schemas
> >>> manditory.
> >>>
> >>> To support the checking, we introduce this new recipe dtschema.
> >>>
> >>> Dependencies will be imported in subsequent commits, so we can
> >>> track the dependency need on a per-import basis.
> >>>
> >>> Signed-off-by: Bruce Ashfield 
> >>> ---
> >>>   .../python/python3-dtschema_2021.10.bb   | 16 
> >>>   1 file changed, 16 insertions(+)
> >>>   create mode 100644 
> >>> meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> >>>
> >>> diff --git a/meta/recipes-devtools/python/python3-dtschema_2021.10.bb 
> >>> b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> >>> new file mode 100644
> >>> index 00..f16232d610
> >>> --- /dev/null
> >>> +++ b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> >>> @@ -0,0 +1,16 @@
> >>> +DESCRIPTION = "Tooling for devicetree validation using YAML and 
> >>> jsonschema"
> >>> +HOMEPAGE = "https://github.com/devicetree-org/dt-schema";
> >>> +LICENSE = "BSD-2-Clause"
> >>> +LIC_FILES_CHKSUM = 
> >>> "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
> >>> +
> >>> +inherit pypi setuptools3
> >>> +
> >>> +PYPI_PACKAGE = "dtschema"
> >>> +
> >>> +SRC_URI[md5sum] = "d2f0d847ba2ad4d223317ef7304342b0"
> >>> +SRC_URI[sha256sum] = 
> >>> "d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9"
> >>> +
> >>> +DEPENDS += "python3-setuptools-scm"
> >>> +RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema 
> >>> python3-rfc3987"
> >>> +
> >>> +BBCLASSEXTEND = "native nativesdk"
> >>> --
> >>> 2.19.1
> >>>
> >>>
> >>> 
> >>>
> >
> >
> >



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158794): 
https://lists.openembedded.org/g/openembedded-core/message/158794
Mute This Topic: https://lists.openembedded.org/mt/87290455/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 03/20] python: introduce python3-dtschema

2021-11-25 Thread Khem Raj



On 11/25/21 9:51 AM, Bruce Ashfield wrote:

On Thu, Nov 25, 2021 at 12:36 PM Khem Raj  wrote:


fails to build for me

https://errors.yoctoproject.org/Errors/Details/618010/


It was updated in-branch with fixups.  The version in this patch is
known to break on a target build.


thanks, my grinder runs slowly since it builds a lot of stuff, so it 
gets to errors a bit late :). Are these fixes already in master-next now ?




Bruce



On Wed, Nov 24, 2021 at 1:14 PM Bruce Ashfield  wrote:


From: Bruce Ashfield 

kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
targets], which is part of v5.16+, makes the checking of dtb schemas
manditory.

To support the checking, we introduce this new recipe dtschema.

Dependencies will be imported in subsequent commits, so we can
track the dependency need on a per-import basis.

Signed-off-by: Bruce Ashfield 
---
  .../python/python3-dtschema_2021.10.bb   | 16 
  1 file changed, 16 insertions(+)
  create mode 100644 meta/recipes-devtools/python/python3-dtschema_2021.10.bb

diff --git a/meta/recipes-devtools/python/python3-dtschema_2021.10.bb 
b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
new file mode 100644
index 00..f16232d610
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Tooling for devicetree validation using YAML and jsonschema"
+HOMEPAGE = "https://github.com/devicetree-org/dt-schema";
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "dtschema"
+
+SRC_URI[md5sum] = "d2f0d847ba2ad4d223317ef7304342b0"
+SRC_URI[sha256sum] = 
"d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9"
+
+DEPENDS += "python3-setuptools-scm"
+RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema python3-rfc3987"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.19.1









-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158793): 
https://lists.openembedded.org/g/openembedded-core/message/158793
Mute This Topic: https://lists.openembedded.org/mt/87290455/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 03/20] python: introduce python3-dtschema

2021-11-25 Thread Bruce Ashfield
On Thu, Nov 25, 2021 at 12:36 PM Khem Raj  wrote:
>
> fails to build for me
>
> https://errors.yoctoproject.org/Errors/Details/618010/

It was updated in-branch with fixups.  The version in this patch is
known to break on a target build.

Bruce

>
> On Wed, Nov 24, 2021 at 1:14 PM Bruce Ashfield  
> wrote:
> >
> > From: Bruce Ashfield 
> >
> > kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
> > targets], which is part of v5.16+, makes the checking of dtb schemas
> > manditory.
> >
> > To support the checking, we introduce this new recipe dtschema.
> >
> > Dependencies will be imported in subsequent commits, so we can
> > track the dependency need on a per-import basis.
> >
> > Signed-off-by: Bruce Ashfield 
> > ---
> >  .../python/python3-dtschema_2021.10.bb   | 16 
> >  1 file changed, 16 insertions(+)
> >  create mode 100644 meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> >
> > diff --git a/meta/recipes-devtools/python/python3-dtschema_2021.10.bb 
> > b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> > new file mode 100644
> > index 00..f16232d610
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> > @@ -0,0 +1,16 @@
> > +DESCRIPTION = "Tooling for devicetree validation using YAML and jsonschema"
> > +HOMEPAGE = "https://github.com/devicetree-org/dt-schema";
> > +LICENSE = "BSD-2-Clause"
> > +LIC_FILES_CHKSUM = 
> > "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
> > +
> > +inherit pypi setuptools3
> > +
> > +PYPI_PACKAGE = "dtschema"
> > +
> > +SRC_URI[md5sum] = "d2f0d847ba2ad4d223317ef7304342b0"
> > +SRC_URI[sha256sum] = 
> > "d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9"
> > +
> > +DEPENDS += "python3-setuptools-scm"
> > +RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema python3-rfc3987"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.19.1
> >
> >
> > 
> >



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158792): 
https://lists.openembedded.org/g/openembedded-core/message/158792
Mute This Topic: https://lists.openembedded.org/mt/87290455/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 03/20] python: introduce python3-dtschema

2021-11-25 Thread Khem Raj
fails to build for me

https://errors.yoctoproject.org/Errors/Details/618010/

On Wed, Nov 24, 2021 at 1:14 PM Bruce Ashfield  wrote:
>
> From: Bruce Ashfield 
>
> kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
> targets], which is part of v5.16+, makes the checking of dtb schemas
> manditory.
>
> To support the checking, we introduce this new recipe dtschema.
>
> Dependencies will be imported in subsequent commits, so we can
> track the dependency need on a per-import basis.
>
> Signed-off-by: Bruce Ashfield 
> ---
>  .../python/python3-dtschema_2021.10.bb   | 16 
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-dtschema_2021.10.bb
>
> diff --git a/meta/recipes-devtools/python/python3-dtschema_2021.10.bb 
> b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> new file mode 100644
> index 00..f16232d610
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "Tooling for devicetree validation using YAML and jsonschema"
> +HOMEPAGE = "https://github.com/devicetree-org/dt-schema";
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
> +
> +inherit pypi setuptools3
> +
> +PYPI_PACKAGE = "dtschema"
> +
> +SRC_URI[md5sum] = "d2f0d847ba2ad4d223317ef7304342b0"
> +SRC_URI[sha256sum] = 
> "d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9"
> +
> +DEPENDS += "python3-setuptools-scm"
> +RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema python3-rfc3987"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.19.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158789): 
https://lists.openembedded.org/g/openembedded-core/message/158789
Mute This Topic: https://lists.openembedded.org/mt/87290455/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 03/20] python: introduce python3-dtschema

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield 

kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
targets], which is part of v5.16+, makes the checking of dtb schemas
manditory.

To support the checking, we introduce this new recipe dtschema.

Dependencies will be imported in subsequent commits, so we can
track the dependency need on a per-import basis.

Signed-off-by: Bruce Ashfield 
---
 .../python/python3-dtschema_2021.10.bb   | 16 
 1 file changed, 16 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-dtschema_2021.10.bb

diff --git a/meta/recipes-devtools/python/python3-dtschema_2021.10.bb 
b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
new file mode 100644
index 00..f16232d610
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dtschema_2021.10.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Tooling for devicetree validation using YAML and jsonschema"
+HOMEPAGE = "https://github.com/devicetree-org/dt-schema";
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "dtschema"
+
+SRC_URI[md5sum] = "d2f0d847ba2ad4d223317ef7304342b0"
+SRC_URI[sha256sum] = 
"d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9"
+
+DEPENDS += "python3-setuptools-scm"
+RDEPENDS:${PN} += "python3-ruamel-yaml python3-jsonschema python3-rfc3987"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.19.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158749): 
https://lists.openembedded.org/g/openembedded-core/message/158749
Mute This Topic: https://lists.openembedded.org/mt/87290455/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-