All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo
@ 2025-09-04 22:11 Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant Peter Marko
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

memroy -> memory

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-core/images/meta-oe-image-ptest.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/images/meta-oe-image-ptest.bb b/meta-oe/recipes-core/images/meta-oe-image-ptest.bb
index b32df0e221..6361562de4 100644
--- a/meta-oe/recipes-core/images/meta-oe-image-ptest.bb
+++ b/meta-oe/recipes-core/images/meta-oe-image-ptest.bb
@@ -26,7 +26,7 @@ IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-poco = "1024288"
 
 # ptests need more memory than standard to avoid the OOM killer
 QB_MEM = "-m 1024"
-# If a particular ptest needs more memroy, it can be customized:
+# If a particular ptest needs more memory, it can be customized:
 #QB_MEM:virtclass-mcextend-<pn> = "-m 4096"
 
 TEST_SUITES = "ping ssh parselogs ptest"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 03/10] poco: remove obsolete config define Peter Marko
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

Remove options which have dependencies without native variant.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/poco/poco_1.13.3.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb
index e0f6c4169e..e338d88580 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb
@@ -31,6 +31,8 @@ PACKAGECONFIG:remove:riscv32 = "MongoDB"
 PACKAGECONFIG:remove:riscv64 = "MongoDB"
 PACKAGECONFIG:remove:mipsarch = "MongoDB"
 PACKAGECONFIG:remove:powerpc = "MongoDB"
+# Following options have dependencies on recipes which don't have native variant
+PACKAGECONFIG:remove:class-native = "MongoDB DataODBC"
 
 PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 03/10] poco: remove obsolete config define
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 04/10] poco: enable dns in ptest Peter Marko
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

Inspecting log.do_configure shows that this variable is listed in
"Manually-specified variables were not used by the project".
Also sqlite ptests are passing.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/poco/poco_1.13.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb
index e338d88580..3a15b74537 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb
@@ -44,7 +44,7 @@ PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl"
 PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl"
 PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl"
 PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
-PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3"
+PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3"
 PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
 PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
 PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 04/10] poco: enable dns in ptest
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 03/10] poco: remove obsolete config define Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 05/10] poco: ignore newly failing test Peter Marko
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

NetSSL tests connect to secure.appinf.com and thus need to resolve DNS.
1 failure and 23 errors are fixed by this change making
NetSSL-testrunner to pass.

Such configuration is already used in oe-core oeqa maturin test.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/poco/poco/run-ptest | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-oe/recipes-support/poco/poco/run-ptest b/meta-oe/recipes-support/poco/poco/run-ptest
index c8e50fc967..95fd988e48 100644
--- a/meta-oe/recipes-support/poco/poco/run-ptest
+++ b/meta-oe/recipes-support/poco/poco/run-ptest
@@ -1,4 +1,12 @@
 #!/bin/sh
+
+# configure dns
+if ! nslookup secure.appinf.com >/dev/null 2>&1; then
+  trap 'mv /etc/resolv.conf.backup /etc/resolv.conf' INT EXIT
+  mv /etc/resolv.conf /etc/resolv.conf.backup
+  echo 'nameserver 8.8.8.8' > /etc/resolv.conf
+fi
+
 export POCO_BASE=/usr/lib/poco/ptest
 export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH}
 i=0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 05/10] poco: ignore newly failing test
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
                   ` (2 preceding siblings ...)
  2025-09-04 22:11 ` [meta-oe][PATCH 04/10] poco: enable dns in ptest Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 06/10] poco: disable redis config by default Peter Marko
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

PID file seems to work when testing manually, not sure what's wrong with
the test, but it's already failing now and we should get back to
situation when ptests are passing to enable them.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 ...pignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch
index d172c8dbf2..1d4eb9b831 100644
--- a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch
+++ b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch
@@ -40,9 +40,16 @@ There were 4 failures:
   Not found: POCO_BASE"
   │ │ in "<unknown>", line -1
 
+There was 1 error:
+ 1: CppUnit::TestCaller<ProcessRunnerTest>.testProcessRunner
+    "Poco::TimeoutException:
+Timeout: ProcessRunner::checkTimeout(): waiting for PID file"
+    in "<unknown>", line -1
+
 Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
 ---
  cppignore.lnx | 9 +++++++++
  1 file changed, 9 insertions(+)
@@ -51,7 +58,7 @@ diff --git a/cppignore.lnx b/cppignore.lnx
 index b3288d474..9aad48ca5 100644
 --- a/cppignore.lnx
 +++ b/cppignore.lnx
-@@ -30,3 +30,12 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy
+@@ -30,3 +30,13 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy
  CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy
  CppUnit::TestCaller<DNSTest>.testHostByAddress
  CppUnit::TestCaller<DNSTest>.testHostByName
@@ -64,3 +71,4 @@ index b3288d474..9aad48ca5 100644
 +CppUnit::TestCaller<PKCS12ContainerTest>.testCertsOnlyPKCS12
 +CppUnit::TestCaller<PKCS12ContainerTest>.testPEMReadWrite
 +CppUnit::TestCaller<MongoDBTest>.testArray
++CppUnit::TestCaller<ProcessRunnerTest>.testProcessRunner


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 06/10] poco: disable redis config by default
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
                   ` (3 preceding siblings ...)
  2025-09-04 22:11 ` [meta-oe][PATCH 05/10] poco: ignore newly failing test Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 07/10] poco: move MongoDB to group of configs disabled " Peter Marko
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

Tests for Redis are completely failing.
Should be fixed by someone interested in this feature.

Each test gives:
Couldn't connect to [localhost:6379].
test<TEST>: Not connected, test skipped.

And summary shows:
!!!FAILURES!!!
Runs: 54   Failures: 0   Errors: 1

There was 1 error:
 1: CppUnit::TestCaller<RedisTest>.testPool
    "Poco::AssertionViolationException:
Assertion violation: _output in file "../sources/poco-1.13.3/Redis/src/Client.cpp", line 178"
    in "<unknown>", line -1

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/poco/poco_1.13.3.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb
index 3a15b74537..97e4d9f963 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb
@@ -24,7 +24,7 @@ inherit cmake ptest
 # By default the most commonly used poco components are built
 # Foundation is built anyway and doesn't need to be listed explicitly
 # these don't have dependencies outside oe-core
-PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis Prometheus"
+PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Prometheus"
 # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe
 # and mongodb needs meta-python enabled as well
 PACKAGECONFIG:remove:riscv32 = "MongoDB"
@@ -47,7 +47,6 @@ PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
 PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3"
 PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
 PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
-PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"
 PACKAGECONFIG[Prometheus] = "-DENABLE_PROMETHEUS=ON,-DENABLE_PROMETHEUS=OFF"
 
 # Additional components not build by default,
@@ -61,6 +60,7 @@ PACKAGECONFIG[ActiveRecord] = "-DENABLE_ACTIVERECORD=ON,-DENABLE_ACTIVERECORD=OF
 PACKAGECONFIG[ActiveRecordCompiler] = "-DENABLE_ACTIVERECORD_COMPILER=ON,-DENABLE_ACTIVERECORD_COMPILER=OFF"
 PACKAGECONFIG[PageCompiler] = "-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF"
 PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
+PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"
 PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF"
 
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 07/10] poco: move MongoDB to group of configs disabled by default
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
                   ` (4 preceding siblings ...)
  2025-09-04 22:11 ` [meta-oe][PATCH 06/10] poco: disable redis config by default Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 08/10] poco: enable postgresql support Peter Marko
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

MongoDB recipe is currently unbuildable.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/poco/poco_1.13.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb
index 97e4d9f963..6d93ca4b08 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb
@@ -36,7 +36,6 @@ PACKAGECONFIG:remove:class-native = "MongoDB DataODBC"
 
 PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
-PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
 PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
 PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
 PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
@@ -58,6 +57,7 @@ PACKAGECONFIG[DataMySQL] = "-DENABLE_DATA_MYSQL=ON -DMYSQL_LIB:STRING=mysqlclien
 PACKAGECONFIG[DataODBC] = "-DENABLE_DATA_ODBC=ON,-DENABLE_DATA_ODBC=OFF,libiodbc"
 PACKAGECONFIG[ActiveRecord] = "-DENABLE_ACTIVERECORD=ON,-DENABLE_ACTIVERECORD=OFF"
 PACKAGECONFIG[ActiveRecordCompiler] = "-DENABLE_ACTIVERECORD_COMPILER=ON,-DENABLE_ACTIVERECORD_COMPILER=OFF"
+PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF"
 PACKAGECONFIG[PageCompiler] = "-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF"
 PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF"
 PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 08/10] poco: enable postgresql support
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
                   ` (5 preceding siblings ...)
  2025-09-04 22:11 ` [meta-oe][PATCH 07/10] poco: move MongoDB to group of configs disabled " Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest Peter Marko
  2025-09-04 22:11 ` [meta-oe][PATCH 10/10] poco: upgrade 1.13.3 -> 1.14.2 Peter Marko
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

This was added in recent poco versions and this recipe seems to have
configs for all features.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/poco/poco/run-ptest | 21 +++++++++++++++++++++
 meta-oe/recipes-support/poco/poco_1.13.3.bb | 16 +++++++++++-----
 2 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/meta-oe/recipes-support/poco/poco/run-ptest b/meta-oe/recipes-support/poco/poco/run-ptest
index 95fd988e48..5721ca39e4 100644
--- a/meta-oe/recipes-support/poco/poco/run-ptest
+++ b/meta-oe/recipes-support/poco/poco/run-ptest
@@ -7,6 +7,25 @@ if ! nslookup secure.appinf.com >/dev/null 2>&1; then
   echo 'nameserver 8.8.8.8' > /etc/resolv.conf
 fi
 
+setup_test() {
+  case "$1" in
+    "DataPostgreSQL-testrunner")
+      if [ "$2" = "start" ]; then
+        # init database
+        postgresql-setup initdb
+        # do not require authentication for tests
+        mv /var/lib/postgresql/data/pg_hba.conf /var/lib/postgresql/data/pg_hba.conf.backup
+        sed s:ident$:trust: /var/lib/postgresql/data/pg_hba.conf.backup > /var/lib/postgresql/data/pg_hba.conf
+        # start as in combination of posgresql.service and posgresql.init
+        su -l postgres -c 'pg_ctl start -D /var/lib/postgresql/data -s -o "-p 5432" -w -t 300'
+      else
+        su -l postgres -c 'pg_ctl stop -D /var/lib/postgresql/data -s -m fast'
+        mv /var/lib/postgresql/data/pg_hba.conf.backup /var/lib/postgresql/data/pg_hba.conf
+      fi
+      ;;
+  esac
+}
+
 export POCO_BASE=/usr/lib/poco/ptest
 export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH}
 i=0
@@ -14,7 +33,9 @@ while read runner; do
   oldpath=`pwd` >/dev/null
   cd bin
   echo Testing $runner
+  setup_test $runner start
   ./$runner -ignore $oldpath/cppignore.lnx -all
+  setup_test $runner stop
   export res$((i++))=$?
   cd $oldpath >/dev/null
 done < testrunners
diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb
index 6d93ca4b08..c57c207f82 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb
@@ -24,7 +24,7 @@ inherit cmake ptest
 # By default the most commonly used poco components are built
 # Foundation is built anyway and doesn't need to be listed explicitly
 # these don't have dependencies outside oe-core
-PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Prometheus"
+PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite Zip Encodings Prometheus"
 # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe
 # and mongodb needs meta-python enabled as well
 PACKAGECONFIG:remove:riscv32 = "MongoDB"
@@ -32,7 +32,7 @@ PACKAGECONFIG:remove:riscv64 = "MongoDB"
 PACKAGECONFIG:remove:mipsarch = "MongoDB"
 PACKAGECONFIG:remove:powerpc = "MongoDB"
 # Following options have dependencies on recipes which don't have native variant
-PACKAGECONFIG:remove:class-native = "MongoDB DataODBC"
+PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL"
 
 PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
@@ -43,6 +43,7 @@ PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl"
 PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl"
 PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl"
 PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
+PACKAGECONFIG[DataPostgreSQL] = "-DENABLE_DATA_POSTGRESQL=ON,-DENABLE_DATA_POSTGRESQL=OFF,postgresql,postgresql"
 PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3"
 PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
 PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
@@ -94,6 +95,9 @@ python populate_packages:prepend () {
 do_install_ptest () {
        cp -rf ${B}/bin/ ${D}${PTEST_PATH}
        cp -f ${B}/lib/libCppUnit.so* ${D}${libdir}
+       if ${@bb.utils.contains('PACKAGECONFIG', 'DataPostgreSQL', 'true', 'false', d)}; then
+            cp -f ${B}/lib/libPocoDataTest.so* ${D}${libdir}
+       fi
        cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/
        find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \;
        rm -f ${D}${PTEST_PATH}/testrunners
@@ -108,12 +112,14 @@ PACKAGES_DYNAMIC = "poco-.*"
 # "poco" is a metapackage which pulls in all Poco components
 ALLOW_EMPTY:${PN} = "1"
 
-# cppunit is only built if tests are enabled
-PACKAGES =+ "${PN}-cppunit"
+# cppunit and datatest is only built if tests are enabled
+PACKAGES =+ "${PN}-cppunit ${PN}-datatest"
 FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*"
 ALLOW_EMPTY:${PN}-cppunit = "1"
+FILES:${PN}-datatest += "${libdir}/libPocoDataTest.so*"
+ALLOW_EMPTY:${PN}-datatest = "1"
 
-RDEPENDS:${PN}-ptest += "${PN}-cppunit"
+RDEPENDS:${PN}-ptest += "${PN}-cppunit ${PN}-datatest"
 RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}"
 RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'Redis', 'redis', '', d)}"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
                   ` (6 preceding siblings ...)
  2025-09-04 22:11 ` [meta-oe][PATCH 08/10] poco: enable postgresql support Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  2025-09-06 17:22   ` [oe] " jan vermaete
  2025-09-04 22:11 ` [meta-oe][PATCH 10/10] poco: upgrade 1.13.3 -> 1.14.2 Peter Marko
  8 siblings, 1 reply; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

It is needed for poco 1.14+
Ptest runs for less than a second.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 .../include/ptest-packagelists-meta-oe.inc    |  1 +
 .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
 .../utf8proc/utf8proc_2.10.0.bb               | 33 +++++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
 create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb

diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index d77b97d576..18324ff0d3 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
     pv \
     sdbus-c++ \
     tomlplusplus \
+    utf8proc \
     uthash \
     xmlsec1 \
     zeromq \
diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
new file mode 100644
index 0000000000..349e496d68
--- /dev/null
+++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+execute_test() {
+    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
+}
+
+execute_test "case"
+execute_test "custom"
+execute_test "iterate"
+execute_test "misc"
+execute_test "printproperty"
+execute_test "valid"
+execute_test "charwidth"
+execute_test "graphemetest data/GraphemeBreakTest.txt"
+execute_test "normtest data/NormalizationTest.txt"
diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
new file mode 100644
index 0000000000..e42d16b8b7
--- /dev/null
+++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
@@ -0,0 +1,33 @@
+SUMMARY = "library that provides operations for data in the UTF-8 encoding"
+DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
+normalization, case-folding, and other operations for data in the UTF-8 \
+encoding, supporting Unicode version 16.0"
+HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
+SECTION = "libs"
+
+LICENSE = "MIT & Unicode-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
+
+SRC_URI = "\
+    git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
+    file://run-ptest \
+"
+
+inherit cmake ptest
+
+EXTRA_OECMAKE = "\
+    -DBUILD_SHARED_LIBS=ON \
+    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
+"
+
+do_install_ptest() {
+    # this list and run-ptest needs to be updated on upgrade (the project uses add_test feature)
+    for t in "case" custom iterate misc printproperty valid charwidth graphemetest normtest; do
+        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
+    done
+    install -d ${D}${PTEST_PATH}/data
+    install -m 0644 ${B}/data/GraphemeBreakTest.txt ${D}${PTEST_PATH}/data/
+    install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
+}
+
+BBCLASSEXTEND = "native"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-oe][PATCH 10/10] poco: upgrade 1.13.3 -> 1.14.2
  2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
                   ` (7 preceding siblings ...)
  2025-09-04 22:11 ` [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest Peter Marko
@ 2025-09-04 22:11 ` Peter Marko
  8 siblings, 0 replies; 17+ messages in thread
From: Peter Marko @ 2025-09-04 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Peter Marko

From: Peter Marko <peter.marko@siemens.com>

Release notes:
* https://github.com/pocoproject/poco/releases/tag/poco-1.14.0-release
* https://github.com/pocoproject/poco/releases/tag/poco-1.14.1-release
* https://github.com/pocoproject/poco/releases/tag/poco-1.14.2-release

Handles CVE-2025-6375 (in 1.14.2) and several other security issues
without CVE assignment.

Changes:
* remove patches included in new release
* added new dependency utf8proc for Foundation
* added libpng dependency to PDF (was bundled previously)
* added new component DNSSD (Avahi)
* fixed buildpaths issue
* removed failing test

Test with databases are problematic:
* ODBC - does not compile (previously caused QA errors)
  * https://github.com/pocoproject/poco/issues/5010
* MySQL - broken test - database not connecting (already in old version)
* Redis - broken test - database not connecting (already in old version)
Should be fixed by someone needing these modules.
Example can be taken from my ptest patch for PostgreSQL.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 ...er.h-fix-the-build-on-gcc-15-unsatis.patch | 59 -------------------
 ...DataTest-disable-testSQLChannel-test.patch | 26 ++++++++
 ...uild-error-with-GCC-15-class-Poco-Pr.patch | 53 -----------------
 .../poco/{poco_1.13.3.bb => poco_1.14.2.bb}   | 26 +++++---
 4 files changed, 44 insertions(+), 120 deletions(-)
 delete mode 100644 meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch
 create mode 100644 meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch
 delete mode 100644 meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch
 rename meta-oe/recipes-support/poco/{poco_1.13.3.bb => poco_1.14.2.bb} (86%)

diff --git a/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch b/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch
deleted file mode 100644
index d976a1f83b..0000000000
--- a/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 03c35cff930e421199b586c33a00eb6cc537ba28 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyich@gmail.com>
-Date: Thu, 19 Sep 2024 09:36:48 +0100
-Subject: [PATCH] SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied
- `noexcept`)
-
-On today's `gcc-15` poco fails to build as:
-
-    In file included from /build/source/Data/include/Poco/Data/Statement.h:27,
-                     from /build/source/Data/include/Poco/Data/Session.h:23,
-                     from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:22,
-                     from /build/source/Data/src/ArchiveStrategy.cpp:15:
-    /build/source/Data/include/Poco/Data/SimpleRowFormatter.h:114:21: error: declaration of 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_construc
-    tible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]' has a different exception specifier
-      114 |         inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
-          |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    In file included from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/new_allocator.h:36,
-                     from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/x86_64-unknown-linux-gnu/bits/c++allocator.h:33,
-                     from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/allocator.h:46,
-                     from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/string:43,
-                     from /build/source/Foundation/include/Poco/Foundation.h:94,
-                     from /build/source/Data/include/Poco/Data/Data.h:23,
-                     from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:21:
-    /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/move.h:214:5: note: from previous declaration 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept (false) [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]'
-      214 |     swap(_Tp& __a, _Tp& __b)
-          |     ^~~~
-
-Possibly because `SimpleRowFormatter` does not have constructors and
-assignment operators that involve rvalue references?
-
-Updated `noexcept` condition. Fixes the build on` gcc-15`. Still
-compiles on `gcc-13`.
-
-Upstream-Status: Backport [03c35cf SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied `noexcept`)]
-Signed-off-by: mark.yang <mark.yang@lge.com>
----
- Data/include/Poco/Data/SimpleRowFormatter.h | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/Data/include/Poco/Data/SimpleRowFormatter.h b/Data/include/Poco/Data/SimpleRowFormatter.h
-index 0dcb43b0b..c8417b3a7 100644
---- a/Data/include/Poco/Data/SimpleRowFormatter.h
-+++ b/Data/include/Poco/Data/SimpleRowFormatter.h
-@@ -109,13 +109,10 @@ inline std::streamsize SimpleRowFormatter::getSpacing() const
- 
- namespace std
- {
--	// Note: for an unknown reason, clang refuses to compile this function as noexcept
- 	template<>
- 	inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
- 		Poco::Data::SimpleRowFormatter& s2)
--#ifndef POCO_COMPILER_CLANG
--		noexcept
--#endif
-+		noexcept(std::is_nothrow_swappable_v<Poco::Data::SimpleRowFormatter>)
- 		/// Full template specalization of std:::swap for SimpleRowFormatter
- 	{
- 		s1.swap(s2);
-
diff --git a/meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch b/meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch
new file mode 100644
index 0000000000..7628a8625a
--- /dev/null
+++ b/meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch
@@ -0,0 +1,26 @@
+From 0a8c7e5e074c124c2d5e5713fc3038295324cf96 Mon Sep 17 00:00:00 2001
+From: Peter Marko <peter.marko@siemens.com>
+Date: Thu, 4 Sep 2025 22:27:26 +0200
+Subject: [PATCH] DataTest: disable testSQLChannel test
+
+It takes forever and then is killed by signal 9
+
+Upstream-Status: Inappropriate [OE specific]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ Data/testsuite/src/DataTest.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Data/testsuite/src/DataTest.cpp b/Data/testsuite/src/DataTest.cpp
+index e18b87edc..60fd266c3 100644
+--- a/Data/testsuite/src/DataTest.cpp
++++ b/Data/testsuite/src/DataTest.cpp
+@@ -1648,7 +1648,7 @@ CppUnit::Test* DataTest::suite()
+ 	CppUnit_addTest(pSuite, DataTest, testExternalBindingAndExtraction);
+ 	CppUnit_addTest(pSuite, DataTest, testTranscode);
+ 	CppUnit_addTest(pSuite, DataTest, testSQLParse);
+-	CppUnit_addTest(pSuite, DataTest, testSQLChannel);
++	//CppUnit_addTest(pSuite, DataTest, testSQLChannel);
+ 	CppUnit_addTest(pSuite, DataTest, testNullableExtract);
+ 
+ 	return pSuite;
diff --git a/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch b/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch
deleted file mode 100644
index e607063d58..0000000000
--- a/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 6faf90773a7327e54342a5d3caee151623b5caf0 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= <guenter.obiltschnig@appinf.com>
-Date: Fri, 27 Sep 2024 08:53:18 +0200
-Subject: [PATCH] =?UTF-8?q?fix(Foundation):=20Build=20error=20with=20GCC-1?=
- =?UTF-8?q?5=20(class=20Poco::PriorityDelegate<TObj,=20void,=20true>?=
- =?UTF-8?q?=E2=80=99=20has=20no=20member=20named=20=E2=80=98=5FpTarget?=
- =?UTF-8?q?=E2=80=99)=20(#4695)?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Backport [6faf907 fix(Foundation): Build error with GCC-15 (class Poco::PriorityDelegate<TObj, void, true>’ has no member named ‘_pTarget’) (#4695)]
-Signed-off-by: mark.yang <mark.yang@lge.com>
----
- Foundation/include/Poco/PriorityDelegate.h | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/Foundation/include/Poco/PriorityDelegate.h b/Foundation/include/Poco/PriorityDelegate.h
-index 4cd664aab..cac9cf25e 100644
---- a/Foundation/include/Poco/PriorityDelegate.h
-+++ b/Foundation/include/Poco/PriorityDelegate.h
-@@ -52,7 +52,6 @@ public:
- 	{
- 		if (&delegate != this)
- 		{
--			this->_pTarget        = delegate._pTarget;
- 			this->_receiverObject = delegate._receiverObject;
- 			this->_receiverMethod = delegate._receiverMethod;
- 			this->_priority       = delegate._priority;
-@@ -126,7 +125,6 @@ public:
- 	{
- 		if (&delegate != this)
- 		{
--			this->_pTarget        = delegate._pTarget;
- 			this->_receiverObject = delegate._receiverObject;
- 			this->_receiverMethod = delegate._receiverMethod;
- 			this->_priority       = delegate._priority;
-@@ -200,7 +198,6 @@ public:
- 	{
- 		if (&delegate != this)
- 		{
--			this->_pTarget        = delegate._pTarget;
- 			this->_receiverObject = delegate._receiverObject;
- 			this->_receiverMethod = delegate._receiverMethod;
- 			this->_priority       = delegate._priority;
-@@ -274,7 +271,6 @@ public:
- 	{
- 		if (&delegate != this)
- 		{
--			this->_pTarget        = delegate._pTarget;
- 			this->_receiverObject = delegate._receiverObject;
- 			this->_receiverMethod = delegate._receiverMethod;
- 			this->_priority       = delegate._priority;
diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.14.2.bb
similarity index 86%
rename from meta-oe/recipes-support/poco/poco_1.13.3.bb
rename to meta-oe/recipes-support/poco/poco_1.14.2.bb
index c57c207f82..9cdc9e325c 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.14.2.bb
@@ -6,15 +6,14 @@ LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
 
 # These dependencies are required by Foundation
-DEPENDS = "libpcre2 zlib"
+DEPENDS = "libpcre2 utf8proc zlib"
 
-SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-1.13.3;protocol=https \
+SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-${PV};protocol=https;tag=poco-${PV}-release \
            file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \
+           file://0002-DataTest-disable-testSQLChannel-test.patch \
            file://run-ptest \
-           file://0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch \
-           file://0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch \
            "
-SRCREV = "7f848d25aa0461d3beeff1189dc61b48ffe8e2f4"
+SRCREV = "96d182a99303fb068575294b36f0cc20da2e7b25"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
 
@@ -24,7 +23,7 @@ inherit cmake ptest
 # By default the most commonly used poco components are built
 # Foundation is built anyway and doesn't need to be listed explicitly
 # these don't have dependencies outside oe-core
-PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite Zip Encodings Prometheus"
+PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite DNSSDAvahi Zip Encodings Prometheus"
 # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe
 # and mongodb needs meta-python enabled as well
 PACKAGECONFIG:remove:riscv32 = "MongoDB"
@@ -32,11 +31,11 @@ PACKAGECONFIG:remove:riscv64 = "MongoDB"
 PACKAGECONFIG:remove:mipsarch = "MongoDB"
 PACKAGECONFIG:remove:powerpc = "MongoDB"
 # Following options have dependencies on recipes which don't have native variant
-PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL"
+PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL DNSSDAvahi"
 
 PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat"
 PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF"
-PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib"
+PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,libpng zlib"
 PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF"
 PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF"
 PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl"
@@ -45,6 +44,7 @@ PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl"
 PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF"
 PACKAGECONFIG[DataPostgreSQL] = "-DENABLE_DATA_POSTGRESQL=ON,-DENABLE_DATA_POSTGRESQL=OFF,postgresql,postgresql"
 PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3"
+PACKAGECONFIG[DNSSDAvahi] = "-DENABLE_DNSSD=ON -DENABLE_DNSSD_AVAHI=ON,-DENABLE_DNSSD=OFF -DENABLE_DNSSD_AVAHI=OFF,avahi"
 PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF"
 PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF"
 PACKAGECONFIG[Prometheus] = "-DENABLE_PROMETHEUS=ON,-DENABLE_PROMETHEUS=OFF"
@@ -92,6 +92,16 @@ python populate_packages:prepend () {
     d.setVar("RRECOMMENDS:%s" % pn, " ".join(packages))
 }
 
+do_install:append() {
+    # fix buildpaths
+    if [ -e ${D}${nonarch_libdir}/cmake/Poco/PocoPDFTargets.cmake ]; then
+        sed -i 's#${RECIPE_SYSROOT}##' ${D}${nonarch_libdir}/cmake/Poco/PocoPDFTargets.cmake
+    fi
+    if [ -e ${D}${nonarch_libdir}/cmake/Poco/PocoDNSSDAvahiTargets.cmake ]; then
+        sed -i 's#${RECIPE_SYSROOT}##g' ${D}${nonarch_libdir}/cmake/Poco/PocoDNSSDAvahiTargets.cmake
+    fi
+}
+
 do_install_ptest () {
        cp -rf ${B}/bin/ ${D}${PTEST_PATH}
        cp -f ${B}/lib/libCppUnit.so* ${D}${libdir}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-04 22:11 ` [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest Peter Marko
@ 2025-09-06 17:22   ` jan vermaete
  2025-09-15 10:53     ` Marko, Peter
  0 siblings, 1 reply; 17+ messages in thread
From: jan vermaete @ 2025-09-06 17:22 UTC (permalink / raw)
  To: peter.marko; +Cc: openembedded-devel

If I'm not mistaken the usage of a tag in the fetcher does require
network access.
What's not always the case.
This does break the parsing by bitbake when no network/Internet is available.

On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via lists.openembedded.org
<peter.marko=siemens.com@lists.openembedded.org> wrote:
>
> From: Peter Marko <peter.marko@siemens.com>
>
> It is needed for poco 1.14+
> Ptest runs for less than a second.
>
> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> ---
>  .../include/ptest-packagelists-meta-oe.inc    |  1 +
>  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
>  .../utf8proc/utf8proc_2.10.0.bb               | 33 +++++++++++++++++++
>  3 files changed, 49 insertions(+)
>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>
> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> index d77b97d576..18324ff0d3 100644
> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
>      pv \
>      sdbus-c++ \
>      tomlplusplus \
> +    utf8proc \
>      uthash \
>      xmlsec1 \
>      zeromq \
> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> new file mode 100644
> index 0000000000..349e496d68
> --- /dev/null
> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> @@ -0,0 +1,15 @@
> +#!/bin/sh
> +
> +execute_test() {
> +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
> +}
> +
> +execute_test "case"
> +execute_test "custom"
> +execute_test "iterate"
> +execute_test "misc"
> +execute_test "printproperty"
> +execute_test "valid"
> +execute_test "charwidth"
> +execute_test "graphemetest data/GraphemeBreakTest.txt"
> +execute_test "normtest data/NormalizationTest.txt"
> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> new file mode 100644
> index 0000000000..e42d16b8b7
> --- /dev/null
> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "library that provides operations for data in the UTF-8 encoding"
> +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
> +normalization, case-folding, and other operations for data in the UTF-8 \
> +encoding, supporting Unicode version 16.0"
> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
> +SECTION = "libs"
> +
> +LICENSE = "MIT & Unicode-3.0"
> +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
> +
> +SRC_URI = "\
> +    git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
> +    file://run-ptest \
> +"
> +
> +inherit cmake ptest
> +
> +EXTRA_OECMAKE = "\
> +    -DBUILD_SHARED_LIBS=ON \
> +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
> +"
> +
> +do_install_ptest() {
> +    # this list and run-ptest needs to be updated on upgrade (the project uses add_test feature)
> +    for t in "case" custom iterate misc printproperty valid charwidth graphemetest normtest; do
> +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
> +    done
> +    install -d ${D}${PTEST_PATH}/data
> +    install -m 0644 ${B}/data/GraphemeBreakTest.txt ${D}${PTEST_PATH}/data/
> +    install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
> +}
> +
> +BBCLASSEXTEND = "native"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119306): https://lists.openembedded.org/g/openembedded-devel/message/119306
> Mute This Topic: https://lists.openembedded.org/mt/115073156/2167232
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [jan.vermaete@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


-- 
Jan Vermaete
“Success is a self-correcting phenomenom.” -- Gary Hamel


^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-06 17:22   ` [oe] " jan vermaete
@ 2025-09-15 10:53     ` Marko, Peter
  2025-09-16  9:16       ` Gyorgy Sarvari
  0 siblings, 1 reply; 17+ messages in thread
From: Marko, Peter @ 2025-09-15 10:53 UTC (permalink / raw)
  To: jan vermaete; +Cc: openembedded-devel@lists.openembedded.org


> -----Original Message-----
> From: jan vermaete <jan.vermaete@gmail.com>
> Sent: Saturday, September 6, 2025 19:22
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
> 
> If I'm not mistaken the usage of a tag in the fetcher does require
> network access.
> What's not always the case.
> This does break the parsing by bitbake when no network/Internet is available.

Hello, that is true for older releases.
In master, using tag is possible and even encouraged/required to validate that the hash belongs to a tag.

Peter

> 
> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via lists.openembedded.org
> <peter.marko=siemens.com@lists.openembedded.org> wrote:
> >
> > From: Peter Marko <peter.marko@siemens.com>
> >
> > It is needed for poco 1.14+
> > Ptest runs for less than a second.
> >
> > Signed-off-by: Peter Marko <peter.marko@siemens.com>
> > ---
> >  .../include/ptest-packagelists-meta-oe.inc    |  1 +
> >  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
> >  .../utf8proc/utf8proc_2.10.0.bb               | 33 +++++++++++++++++++
> >  3 files changed, 49 insertions(+)
> >  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> >  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> >
> > diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-
> oe/conf/include/ptest-packagelists-meta-oe.inc
> > index d77b97d576..18324ff0d3 100644
> > --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> > +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> > @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
> >      pv \
> >      sdbus-c++ \
> >      tomlplusplus \
> > +    utf8proc \
> >      uthash \
> >      xmlsec1 \
> >      zeromq \
> > diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-
> oe/recipes-support/utf8proc/utf8proc/run-ptest
> > new file mode 100644
> > index 0000000000..349e496d68
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> > @@ -0,0 +1,15 @@
> > +#!/bin/sh
> > +
> > +execute_test() {
> > +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
> > +}
> > +
> > +execute_test "case"
> > +execute_test "custom"
> > +execute_test "iterate"
> > +execute_test "misc"
> > +execute_test "printproperty"
> > +execute_test "valid"
> > +execute_test "charwidth"
> > +execute_test "graphemetest data/GraphemeBreakTest.txt"
> > +execute_test "normtest data/NormalizationTest.txt"
> > diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-
> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> > new file mode 100644
> > index 0000000000..e42d16b8b7
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> > @@ -0,0 +1,33 @@
> > +SUMMARY = "library that provides operations for data in the UTF-8 encoding"
> > +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
> > +normalization, case-folding, and other operations for data in the UTF-8 \
> > +encoding, supporting Unicode version 16.0"
> > +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
> > +SECTION = "libs"
> > +
> > +LICENSE = "MIT & Unicode-3.0"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
> > +
> > +SRC_URI = "\
> > +
> git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
> > +    file://run-ptest \
> > +"
> > +
> > +inherit cmake ptest
> > +
> > +EXTRA_OECMAKE = "\
> > +    -DBUILD_SHARED_LIBS=ON \
> > +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -
> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
> > +"
> > +
> > +do_install_ptest() {
> > +    # this list and run-ptest needs to be updated on upgrade (the project uses
> add_test feature)
> > +    for t in "case" custom iterate misc printproperty valid charwidth
> graphemetest normtest; do
> > +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
> > +    done
> > +    install -d ${D}${PTEST_PATH}/data
> > +    install -m 0644 ${B}/data/GraphemeBreakTest.txt
> ${D}${PTEST_PATH}/data/
> > +    install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
> > +}
> > +
> > +BBCLASSEXTEND = "native"
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#119306): https://lists.openembedded.org/g/openembedded-
> devel/message/119306
> > Mute This Topic: https://lists.openembedded.org/mt/115073156/2167232
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
> [jan.vermaete@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
> 
> 
> --
> Jan Vermaete
> “Success is a self-correcting phenomenom.” -- Gary Hamel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-15 10:53     ` Marko, Peter
@ 2025-09-16  9:16       ` Gyorgy Sarvari
  2025-09-16 10:28         ` Marko, Peter
  0 siblings, 1 reply; 17+ messages in thread
From: Gyorgy Sarvari @ 2025-09-16  9:16 UTC (permalink / raw)
  To: peter.marko, jan vermaete; +Cc: openembedded-devel@lists.openembedded.org

On 9/15/25 12:53, Peter Marko via lists.openembedded.org wrote:
>> -----Original Message-----
>> From: jan vermaete <jan.vermaete@gmail.com>
>> Sent: Saturday, September 6, 2025 19:22
>> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
>> Cc: openembedded-devel@lists.openembedded.org
>> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
>>
>> If I'm not mistaken the usage of a tag in the fetcher does require
>> network access.
>> What's not always the case.
>> This does break the parsing by bitbake when no network/Internet is available.
> Hello, that is true for older releases.
> In master, using tag is possible and even encouraged/required to validate that the hash belongs to a tag.
>

Yes, but this patch seems to be missing a revision also, in which case
the old behavior stays.

> Peter
>
>> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via lists.openembedded.org
>> <peter.marko=siemens.com@lists.openembedded.org> wrote:
>>> From: Peter Marko <peter.marko@siemens.com>
>>>
>>> It is needed for poco 1.14+
>>> Ptest runs for less than a second.
>>>
>>> Signed-off-by: Peter Marko <peter.marko@siemens.com>
>>> ---
>>>  .../include/ptest-packagelists-meta-oe.inc    |  1 +
>>>  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
>>>  .../utf8proc/utf8proc_2.10.0.bb               | 33 +++++++++++++++++++
>>>  3 files changed, 49 insertions(+)
>>>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>>>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>>
>>> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-
>> oe/conf/include/ptest-packagelists-meta-oe.inc
>>> index d77b97d576..18324ff0d3 100644
>>> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>>> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>>> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
>>>      pv \
>>>      sdbus-c++ \
>>>      tomlplusplus \
>>> +    utf8proc \
>>>      uthash \
>>>      xmlsec1 \
>>>      zeromq \
>>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-
>> oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> new file mode 100644
>>> index 0000000000..349e496d68
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> @@ -0,0 +1,15 @@
>>> +#!/bin/sh
>>> +
>>> +execute_test() {
>>> +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
>>> +}
>>> +
>>> +execute_test "case"
>>> +execute_test "custom"
>>> +execute_test "iterate"
>>> +execute_test "misc"
>>> +execute_test "printproperty"
>>> +execute_test "valid"
>>> +execute_test "charwidth"
>>> +execute_test "graphemetest data/GraphemeBreakTest.txt"
>>> +execute_test "normtest data/NormalizationTest.txt"
>>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-
>> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> new file mode 100644
>>> index 0000000000..e42d16b8b7
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> @@ -0,0 +1,33 @@
>>> +SUMMARY = "library that provides operations for data in the UTF-8 encoding"
>>> +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
>>> +normalization, case-folding, and other operations for data in the UTF-8 \
>>> +encoding, supporting Unicode version 16.0"
>>> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
>>> +SECTION = "libs"
>>> +
>>> +LICENSE = "MIT & Unicode-3.0"
>>> +LIC_FILES_CHKSUM =
>> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
>>> +
>>> +SRC_URI = "\
>>> +
>> git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
>>> +    file://run-ptest \
>>> +"
>>> +
>>> +inherit cmake ptest
>>> +
>>> +EXTRA_OECMAKE = "\
>>> +    -DBUILD_SHARED_LIBS=ON \
>>> +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -
>> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
>>> +"
>>> +
>>> +do_install_ptest() {
>>> +    # this list and run-ptest needs to be updated on upgrade (the project uses
>> add_test feature)
>>> +    for t in "case" custom iterate misc printproperty valid charwidth
>> graphemetest normtest; do
>>> +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
>>> +    done
>>> +    install -d ${D}${PTEST_PATH}/data
>>> +    install -m 0644 ${B}/data/GraphemeBreakTest.txt
>> ${D}${PTEST_PATH}/data/
>>> +    install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
>>> +}
>>> +
>>> +BBCLASSEXTEND = "native"
>>>
>>>
>>>
>>
>> --
>> Jan Vermaete
>> “Success is a self-correcting phenomenom.” -- Gary Hamel
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#119405): https://lists.openembedded.org/g/openembedded-devel/message/119405
>> Mute This Topic: https://lists.openembedded.org/mt/115073156/6084445
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>



^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-16  9:16       ` Gyorgy Sarvari
@ 2025-09-16 10:28         ` Marko, Peter
  2025-09-16 17:43           ` Yoann Congal
  0 siblings, 1 reply; 17+ messages in thread
From: Marko, Peter @ 2025-09-16 10:28 UTC (permalink / raw)
  To: Gyorgy Sarvari, jan vermaete; +Cc: openembedded-devel@lists.openembedded.org



> -----Original Message-----
> From: Gyorgy Sarvari <skandigraun@gmail.com>
> Sent: Tuesday, September 16, 2025 11:16
> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; jan vermaete
> <jan.vermaete@gmail.com>
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
> 
> On 9/15/25 12:53, Peter Marko via lists.openembedded.org wrote:
> >> -----Original Message-----
> >> From: jan vermaete <jan.vermaete@gmail.com>
> >> Sent: Saturday, September 6, 2025 19:22
> >> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
> >> Cc: openembedded-devel@lists.openembedded.org
> >> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
> >>
> >> If I'm not mistaken the usage of a tag in the fetcher does require
> >> network access.
> >> What's not always the case.
> >> This does break the parsing by bitbake when no network/Internet is available.
> > Hello, that is true for older releases.
> > In master, using tag is possible and even encouraged/required to validate that
> the hash belongs to a tag.
> >
> 
> Yes, but this patch seems to be missing a revision also, in which case
> the old behavior stays.

Oops, sorry for that.
I'll send a patch in the evening if someone didn't already.

> 
> > Peter
> >
> >> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via lists.openembedded.org
> >> <peter.marko=siemens.com@lists.openembedded.org> wrote:
> >>> From: Peter Marko <peter.marko@siemens.com>
> >>>
> >>> It is needed for poco 1.14+
> >>> Ptest runs for less than a second.
> >>>
> >>> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> >>> ---
> >>>  .../include/ptest-packagelists-meta-oe.inc    |  1 +
> >>>  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
> >>>  .../utf8proc/utf8proc_2.10.0.bb               | 33 +++++++++++++++++++
> >>>  3 files changed, 49 insertions(+)
> >>>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> >>>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> >>>
> >>> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-
> >> oe/conf/include/ptest-packagelists-meta-oe.inc
> >>> index d77b97d576..18324ff0d3 100644
> >>> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> >>> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> >>> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
> >>>      pv \
> >>>      sdbus-c++ \
> >>>      tomlplusplus \
> >>> +    utf8proc \
> >>>      uthash \
> >>>      xmlsec1 \
> >>>      zeromq \
> >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-
> >> oe/recipes-support/utf8proc/utf8proc/run-ptest
> >>> new file mode 100644
> >>> index 0000000000..349e496d68
> >>> --- /dev/null
> >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> >>> @@ -0,0 +1,15 @@
> >>> +#!/bin/sh
> >>> +
> >>> +execute_test() {
> >>> +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
> >>> +}
> >>> +
> >>> +execute_test "case"
> >>> +execute_test "custom"
> >>> +execute_test "iterate"
> >>> +execute_test "misc"
> >>> +execute_test "printproperty"
> >>> +execute_test "valid"
> >>> +execute_test "charwidth"
> >>> +execute_test "graphemetest data/GraphemeBreakTest.txt"
> >>> +execute_test "normtest data/NormalizationTest.txt"
> >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-
> >> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> >>> new file mode 100644
> >>> index 0000000000..e42d16b8b7
> >>> --- /dev/null
> >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> >>> @@ -0,0 +1,33 @@
> >>> +SUMMARY = "library that provides operations for data in the UTF-8
> encoding"
> >>> +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
> >>> +normalization, case-folding, and other operations for data in the UTF-8 \
> >>> +encoding, supporting Unicode version 16.0"
> >>> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
> >>> +SECTION = "libs"
> >>> +
> >>> +LICENSE = "MIT & Unicode-3.0"
> >>> +LIC_FILES_CHKSUM =
> >> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
> >>> +
> >>> +SRC_URI = "\
> >>> +
> >>
> git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
> >>> +    file://run-ptest \
> >>> +"
> >>> +
> >>> +inherit cmake ptest
> >>> +
> >>> +EXTRA_OECMAKE = "\
> >>> +    -DBUILD_SHARED_LIBS=ON \
> >>> +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -
> >> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
> >>> +"
> >>> +
> >>> +do_install_ptest() {
> >>> +    # this list and run-ptest needs to be updated on upgrade (the project uses
> >> add_test feature)
> >>> +    for t in "case" custom iterate misc printproperty valid charwidth
> >> graphemetest normtest; do
> >>> +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
> >>> +    done
> >>> +    install -d ${D}${PTEST_PATH}/data
> >>> +    install -m 0644 ${B}/data/GraphemeBreakTest.txt
> >> ${D}${PTEST_PATH}/data/
> >>> +    install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
> >>> +}
> >>> +
> >>> +BBCLASSEXTEND = "native"
> >>>
> >>>
> >>>
> >>
> >> --
> >> Jan Vermaete
> >> “Success is a self-correcting phenomenom.” -- Gary Hamel
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >> Links: You receive all messages sent to this group.
> >> View/Reply Online (#119405):
> https://lists.openembedded.org/g/openembedded-devel/message/119405
> >> Mute This Topic: https://lists.openembedded.org/mt/115073156/6084445
> >> Group Owner: openembedded-devel+owner@lists.openembedded.org
> >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
> [skandigraun@gmail.com]
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-16 10:28         ` Marko, Peter
@ 2025-09-16 17:43           ` Yoann Congal
  2025-09-17 13:02             ` Yoann Congal
  0 siblings, 1 reply; 17+ messages in thread
From: Yoann Congal @ 2025-09-16 17:43 UTC (permalink / raw)
  To: peter.marko
  Cc: Gyorgy Sarvari, jan vermaete,
	openembedded-devel@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 6652 bytes --]

Le mar. 16 sept. 2025 à 12:28, Peter Marko via lists.openembedded.org
<peter.marko=siemens.com@lists.openembedded.org> a écrit :

>
>
> > -----Original Message-----
> > From: Gyorgy Sarvari <skandigraun@gmail.com>
> > Sent: Tuesday, September 16, 2025 11:16
> > To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; jan
> vermaete
> > <jan.vermaete@gmail.com>
> > Cc: openembedded-devel@lists.openembedded.org
> > Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with
> ptest
> >
> > On 9/15/25 12:53, Peter Marko via lists.openembedded.org wrote:
> > >> -----Original Message-----
> > >> From: jan vermaete <jan.vermaete@gmail.com>
> > >> Sent: Saturday, September 6, 2025 19:22
> > >> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
> > >> Cc: openembedded-devel@lists.openembedded.org
> > >> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe
> with ptest
> > >>
> > >> If I'm not mistaken the usage of a tag in the fetcher does require
> > >> network access.
> > >> What's not always the case.
> > >> This does break the parsing by bitbake when no network/Internet is
> available.
> > > Hello, that is true for older releases.
> > > In master, using tag is possible and even encouraged/required to
> validate that
> > the hash belongs to a tag.
> > >
> >
> > Yes, but this patch seems to be missing a revision also, in which case
> > the old behavior stays.
>
> Oops, sorry for that.
> I'll send a patch in the evening if someone didn't already.
>

Hello,

This is an ideal newcomer patch.
A coworker of mine and beginner contributor wants to take a look at it.
Could you wait a day to see if he can get it sent tomorrow?

>
> > > Peter
> > >
> > >> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via
> lists.openembedded.org
> > >> <peter.marko=siemens.com@lists.openembedded.org> wrote:
> > >>> From: Peter Marko <peter.marko@siemens.com>
> > >>>
> > >>> It is needed for poco 1.14+
> > >>> Ptest runs for less than a second.
> > >>>
> > >>> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> > >>> ---
> > >>>  .../include/ptest-packagelists-meta-oe.inc    |  1 +
> > >>>  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
> > >>>  .../utf8proc/utf8proc_2.10.0.bb               | 33
> +++++++++++++++++++
> > >>>  3 files changed, 49 insertions(+)
> > >>>  create mode 100644
> meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> > >>>  create mode 100644 meta-oe/recipes-support/utf8proc/
> utf8proc_2.10.0.bb
> > >>>
> > >>> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> b/meta-
> > >> oe/conf/include/ptest-packagelists-meta-oe.inc
> > >>> index d77b97d576..18324ff0d3 100644
> > >>> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> > >>> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
> > >>> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
> > >>>      pv \
> > >>>      sdbus-c++ \
> > >>>      tomlplusplus \
> > >>> +    utf8proc \
> > >>>      uthash \
> > >>>      xmlsec1 \
> > >>>      zeromq \
> > >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> b/meta-
> > >> oe/recipes-support/utf8proc/utf8proc/run-ptest
> > >>> new file mode 100644
> > >>> index 0000000000..349e496d68
> > >>> --- /dev/null
> > >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
> > >>> @@ -0,0 +1,15 @@
> > >>> +#!/bin/sh
> > >>> +
> > >>> +execute_test() {
> > >>> +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
> > >>> +}
> > >>> +
> > >>> +execute_test "case"
> > >>> +execute_test "custom"
> > >>> +execute_test "iterate"
> > >>> +execute_test "misc"
> > >>> +execute_test "printproperty"
> > >>> +execute_test "valid"
> > >>> +execute_test "charwidth"
> > >>> +execute_test "graphemetest data/GraphemeBreakTest.txt"
> > >>> +execute_test "normtest data/NormalizationTest.txt"
> > >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> b/meta-
> > >> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> > >>> new file mode 100644
> > >>> index 0000000000..e42d16b8b7
> > >>> --- /dev/null
> > >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
> > >>> @@ -0,0 +1,33 @@
> > >>> +SUMMARY = "library that provides operations for data in the UTF-8
> > encoding"
> > >>> +DESCRIPTION = "utf8proc is a small, clean C library that provides
> Unicode \
> > >>> +normalization, case-folding, and other operations for data in the
> UTF-8 \
> > >>> +encoding, supporting Unicode version 16.0"
> > >>> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
> > >>> +SECTION = "libs"
> > >>> +
> > >>> +LICENSE = "MIT & Unicode-3.0"
> > >>> +LIC_FILES_CHKSUM =
> > >> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
> > >>> +
> > >>> +SRC_URI = "\
> > >>> +
> > >>
> > git://
> github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV}
> <http://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v$%7BPV%7D>
> \
> > >>> +    file://run-ptest \
> > >>> +"
> > >>> +
> > >>> +inherit cmake ptest
> > >>> +
> > >>> +EXTRA_OECMAKE = "\
> > >>> +    -DBUILD_SHARED_LIBS=ON \
> > >>> +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -
> > >> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
> > >>> +"
> > >>> +
> > >>> +do_install_ptest() {
> > >>> +    # this list and run-ptest needs to be updated on upgrade (the
> project uses
> > >> add_test feature)
> > >>> +    for t in "case" custom iterate misc printproperty valid
> charwidth
> > >> graphemetest normtest; do
> > >>> +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
> > >>> +    done
> > >>> +    install -d ${D}${PTEST_PATH}/data
> > >>> +    install -m 0644 ${B}/data/GraphemeBreakTest.txt
> > >> ${D}${PTEST_PATH}/data/
> > >>> +    install -m 0644 ${B}/data/NormalizationTest.txt
> ${D}${PTEST_PATH}/data/
> > >>> +}
> > >>> +
> > >>> +BBCLASSEXTEND = "native"
> > >>>
> > >>>
> > >>>
> > >>
> > >> --
> > >> Jan Vermaete
> > >> “Success is a self-correcting phenomenom.” -- Gary Hamel
> > >>
> > >>
> > >>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119465):
> https://lists.openembedded.org/g/openembedded-devel/message/119465
> Mute This Topic: https://lists.openembedded.org/mt/115073156/4316185
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
Yoann Congal
Smile ECS

[-- Attachment #2: Type: text/html, Size: 11293 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-16 17:43           ` Yoann Congal
@ 2025-09-17 13:02             ` Yoann Congal
  2025-09-17 16:27               ` Khem Raj
  0 siblings, 1 reply; 17+ messages in thread
From: Yoann Congal @ 2025-09-17 13:02 UTC (permalink / raw)
  To: peter.marko
  Cc: Gyorgy Sarvari, jan vermaete,
	openembedded-devel@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 7084 bytes --]

Le mar. 16 sept. 2025 à 19:43, Yoann Congal <yoann.congal@smile.fr> a
écrit :

>
>
> Le mar. 16 sept. 2025 à 12:28, Peter Marko via lists.openembedded.org
> <peter.marko=siemens.com@lists.openembedded.org> a écrit :
>
>>
>>
>> > -----Original Message-----
>> > From: Gyorgy Sarvari <skandigraun@gmail.com>
>> > Sent: Tuesday, September 16, 2025 11:16
>> > To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; jan
>> vermaete
>> > <jan.vermaete@gmail.com>
>> > Cc: openembedded-devel@lists.openembedded.org
>> > Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with
>> ptest
>> >
>> > On 9/15/25 12:53, Peter Marko via lists.openembedded.org wrote:
>> > >> -----Original Message-----
>> > >> From: jan vermaete <jan.vermaete@gmail.com>
>> > >> Sent: Saturday, September 6, 2025 19:22
>> > >> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
>> > >> Cc: openembedded-devel@lists.openembedded.org
>> > >> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe
>> with ptest
>> > >>
>> > >> If I'm not mistaken the usage of a tag in the fetcher does require
>> > >> network access.
>> > >> What's not always the case.
>> > >> This does break the parsing by bitbake when no network/Internet is
>> available.
>> > > Hello, that is true for older releases.
>> > > In master, using tag is possible and even encouraged/required to
>> validate that
>> > the hash belongs to a tag.
>> > >
>> >
>> > Yes, but this patch seems to be missing a revision also, in which case
>> > the old behavior stays.
>>
>> Oops, sorry for that.
>> I'll send a patch in the evening if someone didn't already.
>>
>
> Hello,
>
> This is an ideal newcomer patch.
> A coworker of mine and beginner contributor wants to take a look at it.
> Could you wait a day to see if he can get it sent tomorrow?
>

Patch sent here :
https://lists.openembedded.org/g/openembedded-devel/message/119481

Thanks!

>
>> > > Peter
>> > >
>> > >> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via
>> lists.openembedded.org
>> > >> <peter.marko=siemens.com@lists.openembedded.org> wrote:
>> > >>> From: Peter Marko <peter.marko@siemens.com>
>> > >>>
>> > >>> It is needed for poco 1.14+
>> > >>> Ptest runs for less than a second.
>> > >>>
>> > >>> Signed-off-by: Peter Marko <peter.marko@siemens.com>
>> > >>> ---
>> > >>>  .../include/ptest-packagelists-meta-oe.inc    |  1 +
>> > >>>  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
>> > >>>  .../utf8proc/utf8proc_2.10.0.bb               | 33
>> +++++++++++++++++++
>> > >>>  3 files changed, 49 insertions(+)
>> > >>>  create mode 100644
>> meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>> > >>>  create mode 100644 meta-oe/recipes-support/utf8proc/
>> utf8proc_2.10.0.bb
>> > >>>
>> > >>> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>> b/meta-
>> > >> oe/conf/include/ptest-packagelists-meta-oe.inc
>> > >>> index d77b97d576..18324ff0d3 100644
>> > >>> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>> > >>> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>> > >>> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
>> > >>>      pv \
>> > >>>      sdbus-c++ \
>> > >>>      tomlplusplus \
>> > >>> +    utf8proc \
>> > >>>      uthash \
>> > >>>      xmlsec1 \
>> > >>>      zeromq \
>> > >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>> b/meta-
>> > >> oe/recipes-support/utf8proc/utf8proc/run-ptest
>> > >>> new file mode 100644
>> > >>> index 0000000000..349e496d68
>> > >>> --- /dev/null
>> > >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>> > >>> @@ -0,0 +1,15 @@
>> > >>> +#!/bin/sh
>> > >>> +
>> > >>> +execute_test() {
>> > >>> +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
>> > >>> +}
>> > >>> +
>> > >>> +execute_test "case"
>> > >>> +execute_test "custom"
>> > >>> +execute_test "iterate"
>> > >>> +execute_test "misc"
>> > >>> +execute_test "printproperty"
>> > >>> +execute_test "valid"
>> > >>> +execute_test "charwidth"
>> > >>> +execute_test "graphemetest data/GraphemeBreakTest.txt"
>> > >>> +execute_test "normtest data/NormalizationTest.txt"
>> > >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>> b/meta-
>> > >> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>> > >>> new file mode 100644
>> > >>> index 0000000000..e42d16b8b7
>> > >>> --- /dev/null
>> > >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>> > >>> @@ -0,0 +1,33 @@
>> > >>> +SUMMARY = "library that provides operations for data in the UTF-8
>> > encoding"
>> > >>> +DESCRIPTION = "utf8proc is a small, clean C library that provides
>> Unicode \
>> > >>> +normalization, case-folding, and other operations for data in the
>> UTF-8 \
>> > >>> +encoding, supporting Unicode version 16.0"
>> > >>> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
>> > >>> +SECTION = "libs"
>> > >>> +
>> > >>> +LICENSE = "MIT & Unicode-3.0"
>> > >>> +LIC_FILES_CHKSUM =
>> > >> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
>> > >>> +
>> > >>> +SRC_URI = "\
>> > >>> +
>> > >>
>> > git://
>> github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV}
>> <http://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v$%7BPV%7D>
>> \
>> > >>> +    file://run-ptest \
>> > >>> +"
>> > >>> +
>> > >>> +inherit cmake ptest
>> > >>> +
>> > >>> +EXTRA_OECMAKE = "\
>> > >>> +    -DBUILD_SHARED_LIBS=ON \
>> > >>> +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON
>> -
>> > >> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
>> > >>> +"
>> > >>> +
>> > >>> +do_install_ptest() {
>> > >>> +    # this list and run-ptest needs to be updated on upgrade (the
>> project uses
>> > >> add_test feature)
>> > >>> +    for t in "case" custom iterate misc printproperty valid
>> charwidth
>> > >> graphemetest normtest; do
>> > >>> +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
>> > >>> +    done
>> > >>> +    install -d ${D}${PTEST_PATH}/data
>> > >>> +    install -m 0644 ${B}/data/GraphemeBreakTest.txt
>> > >> ${D}${PTEST_PATH}/data/
>> > >>> +    install -m 0644 ${B}/data/NormalizationTest.txt
>> ${D}${PTEST_PATH}/data/
>> > >>> +}
>> > >>> +
>> > >>> +BBCLASSEXTEND = "native"
>> > >>>
>> > >>>
>> > >>>
>> > >>
>> > >> --
>> > >> Jan Vermaete
>> > >> “Success is a self-correcting phenomenom.” -- Gary Hamel
>> > >>
>> > >>
>> > >>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#119465):
>> https://lists.openembedded.org/g/openembedded-devel/message/119465
>> Mute This Topic: https://lists.openembedded.org/mt/115073156/4316185
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
>> yoann.congal@smile.fr]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>
>
> --
> Yoann Congal
> Smile ECS
>


-- 
Yoann Congal
Smile ECS

[-- Attachment #2: Type: text/html, Size: 12393 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
  2025-09-17 13:02             ` Yoann Congal
@ 2025-09-17 16:27               ` Khem Raj
  0 siblings, 0 replies; 17+ messages in thread
From: Khem Raj @ 2025-09-17 16:27 UTC (permalink / raw)
  To: yoann.congal
  Cc: peter.marko, Gyorgy Sarvari, jan vermaete,
	openembedded-devel@lists.openembedded.org

On Wed, Sep 17, 2025 at 6:03 AM Yoann Congal via
lists.openembedded.org <yoann.congal=smile.fr@lists.openembedded.org>
wrote:
>
>
>
> Le mar. 16 sept. 2025 à 19:43, Yoann Congal <yoann.congal@smile.fr> a écrit :
>>
>>
>>
>> Le mar. 16 sept. 2025 à 12:28, Peter Marko via lists.openembedded.org <peter.marko=siemens.com@lists.openembedded.org> a écrit :
>>>
>>>
>>>
>>> > -----Original Message-----
>>> > From: Gyorgy Sarvari <skandigraun@gmail.com>
>>> > Sent: Tuesday, September 16, 2025 11:16
>>> > To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>; jan vermaete
>>> > <jan.vermaete@gmail.com>
>>> > Cc: openembedded-devel@lists.openembedded.org
>>> > Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
>>> >
>>> > On 9/15/25 12:53, Peter Marko via lists.openembedded.org wrote:
>>> > >> -----Original Message-----
>>> > >> From: jan vermaete <jan.vermaete@gmail.com>
>>> > >> Sent: Saturday, September 6, 2025 19:22
>>> > >> To: Marko, Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>
>>> > >> Cc: openembedded-devel@lists.openembedded.org
>>> > >> Subject: Re: [oe] [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest
>>> > >>
>>> > >> If I'm not mistaken the usage of a tag in the fetcher does require
>>> > >> network access.
>>> > >> What's not always the case.
>>> > >> This does break the parsing by bitbake when no network/Internet is available.
>>> > > Hello, that is true for older releases.
>>> > > In master, using tag is possible and even encouraged/required to validate that
>>> > the hash belongs to a tag.
>>> > >
>>> >
>>> > Yes, but this patch seems to be missing a revision also, in which case
>>> > the old behavior stays.
>>>
>>> Oops, sorry for that.
>>> I'll send a patch in the evening if someone didn't already.
>>
>>
>> Hello,
>>
>> This is an ideal newcomer patch.
>> A coworker of mine and beginner contributor wants to take a look at it.
>> Could you wait a day to see if he can get it sent tomorrow?
>
>
> Patch sent here : https://lists.openembedded.org/g/openembedded-devel/message/119481
>

Thanks for addressing it,

> Thanks!
>
>>> >
>>> > > Peter
>>> > >
>>> > >> On Fri, Sep 5, 2025 at 12:13 AM Peter Marko via lists.openembedded.org
>>> > >> <peter.marko=siemens.com@lists.openembedded.org> wrote:
>>> > >>> From: Peter Marko <peter.marko@siemens.com>
>>> > >>>
>>> > >>> It is needed for poco 1.14+
>>> > >>> Ptest runs for less than a second.
>>> > >>>
>>> > >>> Signed-off-by: Peter Marko <peter.marko@siemens.com>
>>> > >>> ---
>>> > >>>  .../include/ptest-packagelists-meta-oe.inc    |  1 +
>>> > >>>  .../utf8proc/utf8proc/run-ptest               | 15 +++++++++
>>> > >>>  .../utf8proc/utf8proc_2.10.0.bb               | 33 +++++++++++++++++++
>>> > >>>  3 files changed, 49 insertions(+)
>>> > >>>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> > >>>  create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> > >>>
>>> > >>> diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-
>>> > >> oe/conf/include/ptest-packagelists-meta-oe.inc
>>> > >>> index d77b97d576..18324ff0d3 100644
>>> > >>> --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>>> > >>> +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
>>> > >>> @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\
>>> > >>>      pv \
>>> > >>>      sdbus-c++ \
>>> > >>>      tomlplusplus \
>>> > >>> +    utf8proc \
>>> > >>>      uthash \
>>> > >>>      xmlsec1 \
>>> > >>>      zeromq \
>>> > >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-
>>> > >> oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> > >>> new file mode 100644
>>> > >>> index 0000000000..349e496d68
>>> > >>> --- /dev/null
>>> > >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest
>>> > >>> @@ -0,0 +1,15 @@
>>> > >>> +#!/bin/sh
>>> > >>> +
>>> > >>> +execute_test() {
>>> > >>> +    eval "./$1" && echo "PASS: $1" || echo "FAIL: $1"
>>> > >>> +}
>>> > >>> +
>>> > >>> +execute_test "case"
>>> > >>> +execute_test "custom"
>>> > >>> +execute_test "iterate"
>>> > >>> +execute_test "misc"
>>> > >>> +execute_test "printproperty"
>>> > >>> +execute_test "valid"
>>> > >>> +execute_test "charwidth"
>>> > >>> +execute_test "graphemetest data/GraphemeBreakTest.txt"
>>> > >>> +execute_test "normtest data/NormalizationTest.txt"
>>> > >>> diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-
>>> > >> oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> > >>> new file mode 100644
>>> > >>> index 0000000000..e42d16b8b7
>>> > >>> --- /dev/null
>>> > >>> +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb
>>> > >>> @@ -0,0 +1,33 @@
>>> > >>> +SUMMARY = "library that provides operations for data in the UTF-8
>>> > encoding"
>>> > >>> +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \
>>> > >>> +normalization, case-folding, and other operations for data in the UTF-8 \
>>> > >>> +encoding, supporting Unicode version 16.0"
>>> > >>> +HOMEPAGE = "https://juliastrings.github.io/utf8proc/"
>>> > >>> +SECTION = "libs"
>>> > >>> +
>>> > >>> +LICENSE = "MIT & Unicode-3.0"
>>> > >>> +LIC_FILES_CHKSUM =
>>> > >> "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408"
>>> > >>> +
>>> > >>> +SRC_URI = "\
>>> > >>> +
>>> > >>
>>> > git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \
>>> > >>> +    file://run-ptest \
>>> > >>> +"
>>> > >>> +
>>> > >>> +inherit cmake ptest
>>> > >>> +
>>> > >>> +EXTRA_OECMAKE = "\
>>> > >>> +    -DBUILD_SHARED_LIBS=ON \
>>> > >>> +    ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -
>>> > >> DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \
>>> > >>> +"
>>> > >>> +
>>> > >>> +do_install_ptest() {
>>> > >>> +    # this list and run-ptest needs to be updated on upgrade (the project uses
>>> > >> add_test feature)
>>> > >>> +    for t in "case" custom iterate misc printproperty valid charwidth
>>> > >> graphemetest normtest; do
>>> > >>> +        install -m 0755 ${B}/$t ${D}${PTEST_PATH}/
>>> > >>> +    done
>>> > >>> +    install -d ${D}${PTEST_PATH}/data
>>> > >>> +    install -m 0644 ${B}/data/GraphemeBreakTest.txt
>>> > >> ${D}${PTEST_PATH}/data/
>>> > >>> +    install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/
>>> > >>> +}
>>> > >>> +
>>> > >>> +BBCLASSEXTEND = "native"
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>
>>> > >> --
>>> > >> Jan Vermaete
>>> > >> “Success is a self-correcting phenomenom.” -- Gary Hamel
>>> > >>
>>> > >>
>>> > >>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Yoann Congal
>> Smile ECS
>
>
>
> --
> Yoann Congal
> Smile ECS
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119482): https://lists.openembedded.org/g/openembedded-devel/message/119482
> Mute This Topic: https://lists.openembedded.org/mt/115073156/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-09-17 16:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 22:11 [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 03/10] poco: remove obsolete config define Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 04/10] poco: enable dns in ptest Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 05/10] poco: ignore newly failing test Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 06/10] poco: disable redis config by default Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 07/10] poco: move MongoDB to group of configs disabled " Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 08/10] poco: enable postgresql support Peter Marko
2025-09-04 22:11 ` [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest Peter Marko
2025-09-06 17:22   ` [oe] " jan vermaete
2025-09-15 10:53     ` Marko, Peter
2025-09-16  9:16       ` Gyorgy Sarvari
2025-09-16 10:28         ` Marko, Peter
2025-09-16 17:43           ` Yoann Congal
2025-09-17 13:02             ` Yoann Congal
2025-09-17 16:27               ` Khem Raj
2025-09-04 22:11 ` [meta-oe][PATCH 10/10] poco: upgrade 1.13.3 -> 1.14.2 Peter Marko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.