Skip to contentSkip to conversation

ncurses: only include upstream releases in version check

PATCH New Alexander Kanavin 1 participant 4 messages Oct 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 ncurses: only include upstream releases in version check

---
 meta/recipes-core/ncurses/ncurses_6.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/ncurses/ncurses_6.2.bb +1 -1
index 5c02db8541..f3c84c2877 100644
@@ -7,7 +7,7 @@ SRC_URI += "file://0001-tic-hang.patch \
 SRCREV = "a669013cd5e9d6434e5301348ea51baf306c93c4"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5"
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)$"
 
 # This is needed when using patchlevel versions like 6.1+20181013
 #CVE_VERSION = "${@d.getVar("PV").split('+')[0]}.${@d.getVar("PV").split('+')[1]}"
Signature · 1 line
2.28.0
#1 lore raw

PATCH 2/4 python3: fix upstream version check

---
 meta/recipes-devtools/python/python3_3.8.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3_3.8.5.bb +1 -0
index cabe5dc075..2a3c52a116 100644
@@ -45,6 +45,7 @@ SRC_URI[sha256sum] = "e3003ed57db17e617acb382b0cade29a248c6026b1bd8aad1f976e9af6
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
+UPSTREAM_CHECK_URI = "https://www.python.org/downloads/source/"
 
 CVE_PRODUCT = "python"
 
Signature · 1 line
2.28.0
#2 lore raw

PATCH 3/4 boost-build-native: fix upstream version check

In reply to Alexander Kanavin
---
 meta/recipes-support/boost/boost-build-native_4.3.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/boost/boost-build-native_4.3.0.bb +2 -0
index d8096de5af..258f8c9cdf 100644
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 SRC_URI = "git://github.com/boostorg/build;protocol=https"
 SRCREV = "632ea768f3eb225b4472c5ed6d20afee708724ad"
 
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+){2,}))"
+
 inherit native
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.28.0
#3 lore raw

PATCH 4/4 selftest/virgl: drop the custom 30 sec timeout

In reply to Alexander Kanavin

This is occasionally reached on the AB; I am not sure if it is due to host overload, or guest malfunction, but let's use the default 300 sec and see if it helps.

[YOCTO #14097]

---
 meta-selftest/lib/oeqa/runtime/cases/virgl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-selftest/lib/oeqa/runtime/cases/virgl.py +1 -1
index 892c19c848..144decdd6b 100644
@@ -13,6 +13,6 @@ class VirglTest(OERuntimeTestCase):
 
     @OETestDepends(['virgl.VirglTest.test_kernel_driver'])
     def test_kmscube(self):
-        status, output = self.target.run('kmscube', timeout=30)
+        status, output = self.target.run('kmscube')
         self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
         self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output))
Signature · 1 line
2.28.0