Skip to contentSkip to conversation

linux-torvalds-next: ignore TMPDIR issues

PATCH Applied Trevor Woerner 3 participants 5 messages Jul 15, 2024 – Jul 16, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-torvalds-next: ignore TMPDIR issues

oe-core has raised the status of some checks from warnings to errors. Ignore the "...contains references to TMPDIR..." error when building the torvalds-next kernel.

---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-torvalds-next_git.bb +1 -0
index c0ac1de22005..6f3db7c61bdf 100644
@@ -5,6 +5,7 @@ SECTION = "kernel"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
+ERROR_QA:remove = "buildpaths"
 DEFAULT_PREFERENCE = "-1"
 COMPATIBLE_MACHINE = "^$"
 COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
Signature · 1 line
2.44.0.478.g7774cfed6261
Reviewed-by on v1 1/1
#1 lore raw

Hi Trevor,

Quoted 14 lines · Trevor Woerner via lists.yoctoproject.org

oe-core has raised the status of some checks from warnings to errors. Ignore the "...contains references to TMPDIR..." error when building the torvalds-next kernel.

---
  recipes-kernel/linux/linux-torvalds-next_git.bb | 1 +
  1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-torvalds-next_git.bb +0 -0
index c0ac1de22005..6f3db7c61bdf 100644

recipes-kernel/linux/linux-torvalds-next_git.bb SECTION = "kernel" · line 8

Quoted 4 lines
recipes-kernel/linux/linux-torvalds-next_git.bb +1 -0
@@ -5,6 +5,7 @@ SECTION = "kernel"
  LICENSE = "GPL-2.0-only"
  LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
+ERROR_QA:remove = "buildpaths"

I think I've had those as warnings already and I've patched the files triggering those in my downstream tree, and Bruce as well I think in linux-yocto. We should really at least notify upstream to check if there isn't anything we can do about it to avoid silencing warnings/errors or carrying patches.

https://git.theobroma-systems.com/jaguar-linux.git/commit/?id=55b4a6e969981d21b320a90a6ba1b8f89cda80f0
https://git.theobroma-systems.com/jaguar-linux.git/commit/?id=01a5c521907b714dc9bbde9dc6a8e06b1894d019

In any case,

Thanks!
Quentin

#2 lore raw
In reply to Trevor Woerner
Quoted 16 lines · Trevor Woerner via lists.yoctoproject.org

oe-core has raised the status of some checks from warnings to errors. Ignore
the "...contains references to TMPDIR..." error when building the torvalds-next kernel.

---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 1 +

 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-torvalds-next_git.bb +0 -0
index c0ac1de22005..6f3db7c61bdf 100644
@@ -5,6 +5,7 @@ SECTION = "kernel"
Quoted 8 lines

 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+ERROR_QA:remove = "buildpaths" DEFAULT_PREFERENCE = "-1"
 COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"

You may want to add that to WARN_QA so you remember to at least look at them a some point. They're a sign of non-reproducible builds for a start and break hash equivalence sstate reuse.

Cheers,

Richard

#3 lore raw
Quoted 22 lines · Richard Purdie via lists.yoctoproject.org
Quoted 20 lines · Trevor Woerner via lists.yoctoproject.org

oe-core has raised the status of some checks from warnings to errors. Ignore
the "...contains references to TMPDIR..." error when building the torvalds-next kernel.

---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 1 +

 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-torvalds-next_git.bb +0 -0
index c0ac1de22005..6f3db7c61bdf 100644
@@ -5,6 +5,7 @@ SECTION = "kernel"

 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"

Quoted 8 lines
Quoted 4 lines

+ERROR_QA:remove = "buildpaths"
 DEFAULT_PREFERENCE = "-1"
 COMPATIBLE_MACHINE = "^$"
 COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"

You may want to add that to WARN_QA so you remember to at least look at them a some point. They're a sign of non-reproducible builds for a start and break hash equivalence sstate reuse.

When I added support for these two MACHINEs in meta-rockchip (radxa-zero-3{e|w}), support wasn't even yet available in linux-yocto-dev, I had to use Linus' -next tree to get support (which is why I created a linux-torvalds-next recipe). In time support will hopefully trickle down into linux-yocto-dev, then linux-yocto, at which points I will discard linux-torvalds-next for fully upstream oe-core support.

I could add a WARN for this, but I'm probably not going to get around to looking into it and fixing it, I doubt anyone else will (since it's a recipe specific to meta-rockchip), and fixing it won't be required once we switch to something from oe-core.

Quoted 15 lines

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#430): https://lists.yoctoproject.org/g/yocto-patches/message/430
Mute This Topic: https://lists.yoctoproject.org/mt/107232153/900817
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13168745/900817/63955952/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author Applied
#4 lore raw
In reply to Trevor Woerner
Quoted 8 lines · Trevor Woerner

oe-core has raised the status of some checks from warnings to errors. Ignore the "...contains references to TMPDIR..." error when building the torvalds-next kernel.

---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 1 +
 1 file changed, 1 insertion(+)

Applied to meta-rockchip, master branch.