Skip to contentSkip to conversation

insane: add patch-status to default ERROR_QA

PATCH RESEND In review Martin Jansa 2 participants 5 messages May 24, 2024 – May 31, 2024 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 insane: add patch-status to default ERROR_QA

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
Resend https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
now when scarthgap is released and master is open for development

 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -2
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
Signature · 1 line
2.45.1
#1 lore raw

ERROR: gitrepotest-1.0-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/pokybuild/yocto-worker/reproducible/build/build-st/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: gitrepotest-1.0-r0 do_patch: Fatal QA errors were found, failing task.

Quoted 46 lines · Martin Jansa

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
Resend https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
now when scarthgap is released and master is open for development

 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -2
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
Signature · 11 lines
2.45.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199853): https://lists.openembedded.org/g/openembedded-core/message/199853
Mute This Topic: https://lists.openembedded.org/mt/106284256/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 5 lines · Alexandre Belloni

ERROR: gitrepotest-1.0-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/pokybuild/yocto-worker/reproducible/build/build-st/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: gitrepotest-1.0-r0 do_patch: Fatal QA errors were found, failing task.

https://lists.openembedded.org/g/openembedded-core/message/200086
should fix that.

Thanks,

Quoted 54 lines · Martin Jansa
Quoted 38 lines

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
Resend https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
now when scarthgap is released and master is open for development

 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -3
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
--

2.45.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199853): https://lists.openembedded.org/g/openembedded-core/message/199853
Mute This Topic: https://lists.openembedded.org/mt/106284256/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#3 lore raw
Quoted 10 lines · Martin Jansa
Quoted 5 lines · Alexandre Belloni

ERROR: gitrepotest-1.0-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/pokybuild/yocto-worker/reproducible/build/build-st/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: gitrepotest-1.0-r0 do_patch: Fatal QA errors were found, failing task.

https://lists.openembedded.org/g/openembedded-core/message/200086
should fix that.

I can't keep track of the tens f patches I need to reapply once they have been dropped so please always resend complete series. I'm pretty sure that once my current a-full build will be finished I'll have forgotten.
The other option is to resend later on.

Quoted 57 lines

Thanks,

Quoted 54 lines · Martin Jansa
Quoted 38 lines

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
Resend https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
now when scarthgap is released and master is open for development

 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -3
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
--

2.45.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199853): https://lists.openembedded.org/g/openembedded-core/message/199853
Mute This Topic: https://lists.openembedded.org/mt/106284256/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 9 lines · Alexandre Belloni via lists.openembedded.org
Quoted 8 lines · Martin Jansa
Quoted 5 lines · Alexandre Belloni

ERROR: gitrepotest-1.0-r0 do_patch: QA Issue: Missing Upstream-Status in patch /home/pokybuild/yocto-worker/reproducible/build/build-st/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch Please add according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status . [patch-status]
ERROR: gitrepotest-1.0-r0 do_patch: Fatal QA errors were found, failing task.

Quoted 8 lines
Quoted 2 lines

https://lists.openembedded.org/g/openembedded-core/message/200086
should fix that.

I can't keep track of the tens f patches I need to reapply once they have been dropped so please always resend complete series. I'm pretty sure that once my current a-full build will be finished I'll have forgotten.
The other option is to resend later on.

And you sent it properly as a series so you can disregard my rant ;)

Thanks!

Quoted 67 lines
Quoted 52 lines

Thanks,

Quoted 48 lines · Martin Jansa
Quoted 34 lines

* it's enabled for patches in oe-core for very long time and I was using it for many other layers as well, so most layers should be in good shape

* it's also possible to disable it for individual layer as shown by oe-core in:
https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

---
Resend https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
now when scarthgap is released and master is open for development

 meta/classes-global/insane.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/insane.bbclass +1 -3
index 99736830b9..6d2f83c6f7 100644
@@ -45,11 +45,10 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
             already-stripped installed-vs-shipped ldflags compile-host-path \
             install-host-path pn-overrides unknown-configure-option \
             useless-rpaths rpaths staticdev empty-dirs \
-            patch-fuzz \
+            patch-fuzz patch-status \
             "
 # Add usrmerge QA check based on distro feature
 ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
-ERROR_QA:append:layer-core = " patch-status"
 WARN_QA:append:layer-core = " missing-metadata missing-maintainer"
 
 FAKEROOT_QA = "host-user-contaminated"
--
Quoted 6 lines

2.45.1

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Signature · 12 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200089): https://lists.openembedded.org/g/openembedded-core/message/200089
Mute This Topic: https://lists.openembedded.org/mt/106284256/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com