Skip to contentSkip to conversation

[2.18][PATCH 0/3] Patch review

bitbake Yoann Congal 1 participant 4 messages May 19

lore
Share & tools
lore
#0 lore raw

Please review this set of changes for 2.18/wrynose and have comments back by end of day Thursday, May 21.

Passed a-full on autobuilder with some AB-INT issues:
* https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3846
* check-layer https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3851
Failed due to 16285 – AB-INT: check-layer: unexplained changed signatures retried as https://autobuilder.yoctoproject.org/valkyrie/#/builders/27/builds/3852
* qemux86-64-ptest https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3688
Failed due to 16279 – AB-INT: groff error: couldn't exec preconv: No such file or directory retried as https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3689
* qemuriscv64-ptest https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1610
Failed due to 16215 – AB-INT PTEST RISCV64: libpng ptest failure
Retried as https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1611
* oe-selftest-debian https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3878
retried as https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3879
git.openembedded.org hung up a HTTP git clone connection
* oe-selftest-fedora https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3740
retried as https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3741
git.yoctoproject.org hung up a HTTP git clone connection
I attribute the last 2 to the current situation with bot scrappers.

A new build is running here:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3847

The following changes since commit 0415a00658b59f66bdab22a3558794f238c42973:

fetch/git: Improve temporary directory handling (2026-05-13 17:50:24 +0100)

are available in the Git repository at:

https://git.openembedded.org/bitbake-contrib stable/2.18-nut
https://git.openembedded.org/bitbake-contrib/log/?h=stable/2.18-nut

for you to fetch changes up to 22021758e66737bcf68dfd2b74adc6a0cb1d42d9:

README: Add "2.18" subject-prefix to git-send-email suggestion (2026-05-19 11:08:15 +0200)

----------------------------------------------------------------

Alexander Kanavin (1):
fetch/wget: in upstream version checks, match versioned directories
exactly

Yoann Congal (2):
b4-config: add send-prefixes for 2.18/wrynose
README: Add "2.18" subject-prefix to git-send-email suggestion

 .b4-config            | 1 +
 README                | 4 ++--
 lib/bb/fetch2/wget.py | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
#1 lore raw

[bitbake][wrynose][2.18][PATCH 2/3] b4-config: add send-prefixes for 2.18/wrynose

From: Yoann Congal <[email protected]>

That might help new users send correct first stable patches.

Cc Quentin Schulz <[email protected]>
---
 .b4-config | 1 +
 1 file changed, 1 insertion(+)
.b4-config +1 -0
index 047f0b94a..4d9ab7bd0 100644
@@ -2,3 +2,4 @@
   send-series-to = [email protected]
   send-auto-cc-cmd = ./contrib/b4-wrapper-bitbake.py send-auto-cc-cmd
   prep-pre-flight-checks = disable-needs-checking
+  send-prefixes = 2.18
#2 lore raw

[bitbake][wrynose][2.18][PATCH 3/3] README: Add "2.18" subject-prefix to git-send-email suggestion

In reply to Yoann Congal

From: Yoann Congal <[email protected]>

That might help new users send correct first stable patches.

---
 README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
README +2 -2
index e9f4c858e..0701dbbe2 100644
@@ -24,12 +24,12 @@ for full details on how to submit changes.
 As a quick guide, patches should be sent to [email protected]
 The git command to do that would be:
 
-    git send-email -M -1 --to [email protected]
+    git send-email -M -1 --to [email protected] --subject-prefix="2.18][PATCH
 
 If you're sending a patch related to the BitBake manual, make sure you copy
 the Yocto Project documentation mailing list:
 
-    git send-email -M -1 --to [email protected] --cc [email protected]
+    git send-email -M -1 --to [email protected] --cc [email protected] --subject-prefix="2.18][PATCH
 
 Mailing list:
 
#3 lore raw

[bitbake][wrynose][2.18][PATCH 1/3] fetch/wget: in upstream version checks, match versioned directories exactly

In reply to Yoann Congal

From: Alexander Kanavin <[email protected]>

This change is in code that iterates over a html page, picking out links to versioned subdirectories to check further for new versions.

Without the ^ and $ guards, there would be sub-string matches. This results in querying the server multiple times for the same directory (for example,
perl check where the page contains multiple references to 5.0/something-unrelated) or querying the server for directory that doesn't exist (nasm check, where existence of 3.02rcX directories would result in querying the server for non-existing 3.02).

I have confirmed that the overall oe-core version check returns same results as before, with less network churn and nasm version check working properly again.

(cherry picked from commit 4af5f6a65a63bd92021d5eaa9d9ecc14f7397823)
---
 lib/bb/fetch2/wget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/wget.py +1 -1
index ca4959ab5..6ac4306c0 100644
@@ -539,7 +539,7 @@ class Wget(FetchMethod):
         version_dir = ['', '', '']
         version = ['', '', '']
 
-        dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])*(\d+))")
+        dirver_regex = re.compile(r"^(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])*(\d+))$")
         s = dirver_regex.search(dirver)
         if s:
             version_dir[1] = s.group('ver')