From patchwork Sun Jun 16 20:36:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 45224 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE29EC27C6E for ; Sun, 16 Jun 2024 20:37:59 +0000 (UTC) Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net [185.136.64.226]) by mx.groups.io with SMTP id smtpd.web10.41997.1718570276878281613 for ; Sun, 16 Jun 2024 13:37:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm2 header.b=ML7aWgeD; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.226, mailfrom: fm-256628-20240616203754a302c3aec4f4b674a5-skemme@rts-flowmailer.siemens.com) Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 20240616203754a302c3aec4f4b674a5 for ; Sun, 16 Jun 2024 22:37:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=sEWC7r9MUM2WFqRHITGqUwPZ2g7h0+h7tT+xKYUmBVY=; b=ML7aWgeDqtWF217UsuNEOHo3CetOmZciO0+zUFWoOaAJ7fOvAjGcSGXee2mbVxR4bT022q gU5ZMQvcb3KQGbXklcwvfPnnGkZ8gIaEwH7Ng6IbEsqU4Iy2owsNw6PVKL4sO6gz7ZiYZw1i rrd/jtot3U7x/WqgOgEmT/lcc9Uwg=; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Bartosz Golaszewski , Khem Raj , Peter Marko Subject: [meta-oe][scarthgap][PATCH v2 1/6] libgpiod: update to v2.1.2 Date: Sun, 16 Jun 2024 22:36:46 +0200 Message-Id: <20240616203651.856968-2-peter.marko@siemens.com> In-Reply-To: <20240616203651.856968-1-peter.marko@siemens.com> References: <20240616203651.856968-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Jun 2024 20:37:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110932 From: Bartosz Golaszewski This is a small bugfix release that fixes a build issue with slibtool (not relevant to meta-oe ATM), makes the licensing of C++ bindings less restrictive and preemptively fixes an issue that will be triggered with linux v6.9 when running gpio-tools ptest suite. Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj Signed-off-by: Peter Marko --- .../libgpiod/{libgpiod_2.1.1.bb => libgpiod_2.1.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/libgpiod/{libgpiod_2.1.1.bb => libgpiod_2.1.2.bb} (93%) diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb similarity index 93% rename from meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb rename to meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb index 4c13d67eba..6e4fbd2a3b 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:" -SRC_URI[sha256sum] = "b21913f469d3135680d5516f00fdf9f81d5e564e19ffb690927ea7f1d7e312cb" +SRC_URI[sha256sum] = "7a148a5a7d1c97a1abb40474b9a392b6edd7a42fe077dfd7ff42cfba24308548" # Enable all project features for ptest PACKAGECONFIG[tests] = "--enable-tests --enable-tools --enable-bindings-cxx --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit" From patchwork Sun Jun 16 20:36:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 45225 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB0F2C27C53 for ; Sun, 16 Jun 2024 20:38:19 +0000 (UTC) Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) by mx.groups.io with SMTP id smtpd.web11.41849.1718570294954360372 for ; Sun, 16 Jun 2024 13:38:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm2 header.b=AvGKoxnL; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.228, mailfrom: fm-256628-20240616203812251ea5005c058cd605-umgnhl@rts-flowmailer.siemens.com) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 20240616203812251ea5005c058cd605 for ; Sun, 16 Jun 2024 22:38:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=41GkM8Eha9vqYM2FmOmrM3di9IqedUk5P9swJtq+Ty8=; b=AvGKoxnLEKF3/C4brUN1XFMjqK/fYCu4jYwYNi+4tXwtODZlXB/7t9K0iGc2bc0YOcQQKo ECnJBIOftrF5wcMjRhDkxXdTKM5TlqtLlguFwEdcQAjJFABKKdL47J9DYuUkBDIy263dj8/G 5sW2jP1gRMv0YhyiKvJJI8ppQqRnQ=; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu , Khem Raj , Peter Marko Subject: [meta-oe][scarthgap][PATCH v2 2/6] uriparser: upgrade 0.9.7 -> 0.9.8 Date: Sun, 16 Jun 2024 22:36:47 +0200 Message-Id: <20240616203651.856968-3-peter.marko@siemens.com> In-Reply-To: <20240616203651.856968-1-peter.marko@siemens.com> References: <20240616203651.856968-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Jun 2024 20:38:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110933 From: Wang Mingyu Changelog: =========== * Protect against integer overflow in ComposeQueryEngine * Protect against integer overflow in ComposeQueryMallocExMm * Require CMake >=3.5.0 * CMake option URIPARSER_SHARED_LIBS=(ON|OFF) to control, whether to produce a shared or static library for uriparser and that alone, falls back to standard BUILD_SHARED_LIBS if available, else defaults to "ON" * Document that scheme-based normalization a la section 6.2.3 of RFC 3986 is a responsibility of the application using uriparser * Document supported code points for functions uriEscape(Ex)W * Update Clang from 15 to 18 * Adapt to breaking changes in Clang packaging * Get sanitizer CFLAGS and LDFLAGS back in sync * Pin GitHub Actions to specific commits for security Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj Signed-off-by: Peter Marko --- .../uriparser/{uriparser_0.9.7.bb => uriparser_0.9.8.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/uriparser/{uriparser_0.9.7.bb => uriparser_0.9.8.bb} (84%) diff --git a/meta-oe/recipes-support/uriparser/uriparser_0.9.7.bb b/meta-oe/recipes-support/uriparser/uriparser_0.9.8.bb similarity index 84% rename from meta-oe/recipes-support/uriparser/uriparser_0.9.7.bb rename to meta-oe/recipes-support/uriparser/uriparser_0.9.8.bb index 421263e62b..3d76190d39 100644 --- a/meta-oe/recipes-support/uriparser/uriparser_0.9.7.bb +++ b/meta-oe/recipes-support/uriparser/uriparser_0.9.8.bb @@ -5,7 +5,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=fcc5a53146c2401f4b4f6a3bdf3f0168" SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${BP}/${BP}.tar.gz" -SRC_URI[sha256sum] = "11553b2abd2b5728a6c88e35ab08e807d0a0f23c44920df937778ce8cc4d40ff" +SRC_URI[sha256sum] = "4cd0e4f93b477272fabceeb0202f269169fe6ec3044e10fac6acbcdf354bb080" inherit cmake github-releases From patchwork Sun Jun 16 20:36:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 45226 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2AA2C27C53 for ; Sun, 16 Jun 2024 20:38:29 +0000 (UTC) Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) by mx.groups.io with SMTP id smtpd.web10.42013.1718570305113900971 for ; Sun, 16 Jun 2024 13:38:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm2 header.b=f6zFOOSu; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.228, mailfrom: fm-256628-202406162038225a6ea9850fa82607b5-stam2j@rts-flowmailer.siemens.com) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 202406162038225a6ea9850fa82607b5 for ; Sun, 16 Jun 2024 22:38:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=flhECRyrhdSc/eKNS0AZQKc0JQdaNUO2Yx6d5WfTIdw=; b=f6zFOOSuAT0ndtsYex9wpHHwH9bmsZFHQUacr1tGcL6iXMxciekBwQIEBTfUJ8bEUDlpwg eNhZbRaOUDidSaTjuIddawJ9Wcslme9zWQMYcMDQqz7SVPVotbsEzle2wTuxzkU3u7gguEqF WiegaopoI2z+RB3XUk/jq0xzB5rTI=; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Gerard Salvatella , Khem Raj , Peter Marko Subject: [meta-oe][scarthgap][PATCH v2 3/6] libwebsockets: fix buildpath warnings Date: Sun, 16 Jun 2024 22:36:48 +0200 Message-Id: <20240616203651.856968-4-peter.marko@siemens.com> In-Reply-To: <20240616203651.856968-1-peter.marko@siemens.com> References: <20240616203651.856968-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Jun 2024 20:38:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110934 From: Gerard Salvatella In order to remove absolute paths from the cmake artifacts, paths from the `$lib` folder should also be stripped off, otherwise internally linked libraries (e.g. libz) may appear. Signed-off-by: Khem Raj Signed-off-by: Peter Marko --- .../recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb index 4518e2faaa..8f8b70421c 100644 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb @@ -42,6 +42,8 @@ do_install:append() { sed -i -e 's|${STAGING_LIBDIR}/libuv.so|uv|g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake sed -i -e 's|${STAGING_INCDIR}||g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake \ ${D}${libdir}/cmake/libwebsockets/libwebsockets-config.cmake + sed -i -e 's|${STAGING_LIBDIR}||g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake \ + ${D}${libdir}/cmake/libwebsockets/libwebsockets-config.cmake } PACKAGES =+ "${PN}-testapps ${PN}-evlib-event ${PN}-evlib-uv ${PN}-evlib-ev ${PN}-evlib-sd" From patchwork Sun Jun 16 20:36:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 45227 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8B0DC27C53 for ; Sun, 16 Jun 2024 20:38:39 +0000 (UTC) Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net [185.136.65.225]) by mx.groups.io with SMTP id smtpd.web11.41855.1718570311889241753 for ; Sun, 16 Jun 2024 13:38:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm2 header.b=EyS3zVkl; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.225, mailfrom: fm-256628-20240616203830f734945e96b2d626f6-nyv530@rts-flowmailer.siemens.com) Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 20240616203830f734945e96b2d626f6 for ; Sun, 16 Jun 2024 22:38:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=vf2snWTI6i1JelgXf3cfBYyiBpgaMB2QdINuk/u1Pdk=; b=EyS3zVkldyGRDnSaPZggL1bzcz73pEy+3Qpj+ZRCfAkOoqi6u4bcNTieJ+IYkIYa21fsoj Qezwu9BqgtMomAx4RWLlXDjkvjNDuu5XwkZsStaE4jmQGZ5xWC5q8g9T2S63vags9DQv1kl6 NP2OtuoLDEIKuGUtW60oB+ocU3/d8=; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa , Khem Raj , Peter Marko Subject: [meta-oe][scarthgap][PATCH v2 4/6] libwebsockets: remove STAGING_LIBDIR with / Date: Sun, 16 Jun 2024 22:36:49 +0200 Message-Id: <20240616203651.856968-5-peter.marko@siemens.com> In-Reply-To: <20240616203651.856968-1-peter.marko@siemens.com> References: <20240616203651.856968-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Jun 2024 20:38:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110935 From: Martin Jansa * after buildpath warnings fix from: https://git.openembedded.org/meta-openembedded/commit/?id=eeef1fddd9052bed4b1a91565260518eb042fed2 the LibwebsocketsTargets.cmake ends with: INTERFACE_LINK_LIBRARIES "ssl;crypto;ssl;crypto;/libcap.so;-lpthread" instead of: INTERFACE_LINK_LIBRARIES "ssl;crypto;ssl;crypto;/OE/build/.../libwebsockets/4.3.3/lib32-recipe-sysroot/usr/lib/libcap.so;-lpthread" which causes e.g. mosquitto to fail in do_compile with: ninja: error: '/libcap.so', needed by 'src/mosquitto', missing and no known rule to make it * this happens only when libwebsocket is built with libcap enabled (by libcap in DEPENDS) Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Peter Marko --- .../recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb index 8f8b70421c..3170d37f5b 100644 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb @@ -42,8 +42,8 @@ do_install:append() { sed -i -e 's|${STAGING_LIBDIR}/libuv.so|uv|g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake sed -i -e 's|${STAGING_INCDIR}||g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake \ ${D}${libdir}/cmake/libwebsockets/libwebsockets-config.cmake - sed -i -e 's|${STAGING_LIBDIR}||g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake \ - ${D}${libdir}/cmake/libwebsockets/libwebsockets-config.cmake + sed -i -e 's|${STAGING_LIBDIR}/||g' ${D}${libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake \ + ${D}${libdir}/cmake/libwebsockets/libwebsockets-config.cmake } PACKAGES =+ "${PN}-testapps ${PN}-evlib-event ${PN}-evlib-uv ${PN}-evlib-ev ${PN}-evlib-sd" From patchwork Sun Jun 16 20:36:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 45228 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9EE6C2BA15 for ; Sun, 16 Jun 2024 20:38:39 +0000 (UTC) Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net [185.136.64.225]) by mx.groups.io with SMTP id smtpd.web10.42019.1718570317707913365 for ; Sun, 16 Jun 2024 13:38:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm2 header.b=Fz7fnoMv; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-256628-20240616203835b1678a6f97dc5602bc-m2vfrj@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20240616203835b1678a6f97dc5602bc for ; Sun, 16 Jun 2024 22:38:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=20JY5tUEdXYqaWKWJSJno9odTrZp38sXCyd2D7/ncAI=; b=Fz7fnoMv9C/aMjtA4J60Crst5sPShEgtzrAyAngV0BSyo4Nadkb/n1PoiLR/ZSqMrPTDXB XjDV/cxODgnBJ3KcpKF6NYE34Fd0xni9uXu0GWbr9bE1nw9GH177Gu/5GL/aGWsC6QzPlouO Ckmcx9KcYsyCsFF2lnLeVfuMOcMGY=; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko , Khem Raj Subject: [meta-oe][scarthgap][PATCH v2 5/6] re2: remove dev dependencies from main package Date: Sun, 16 Jun 2024 22:36:50 +0200 Message-Id: <20240616203651.856968-6-peter.marko@siemens.com> In-Reply-To: <20240616203651.856968-1-peter.marko@siemens.com> References: <20240616203651.856968-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Jun 2024 20:38:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110936 From: Peter Marko It's a bad idea to add dev dependencies to main package. It's pulling build dependencies including toolchain items. The dependencies "were needed" because main package contains packageconfig file. This can be fixed by correct packaging. Signed-off-by: Peter Marko Signed-off-by: Khem Raj --- meta-oe/recipes-support/re2/re2_2024.03.01.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/re2/re2_2024.03.01.bb b/meta-oe/recipes-support/re2/re2_2024.03.01.bb index 192fe265f1..6e5b32a945 100644 --- a/meta-oe/recipes-support/re2/re2_2024.03.01.bb +++ b/meta-oe/recipes-support/re2/re2_2024.03.01.bb @@ -16,9 +16,6 @@ DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebe inherit cmake ptest RDEPENDS:${PN}-ptest += "cmake sed" -RDEPENDS:${PN} += "abseil-cpp-dev" - -INSANE_SKIP:${PN} += "dev-deps" EXTRA_OECMAKE += " \ -DBUILD_SHARED_LIBS=ON \ @@ -39,6 +36,6 @@ FILES:${PN} = "${libdir}" INSANE_SKIP:${PN} += "dev-so" # Don't include so files in dev package -FILES:${PN}-dev = "${includedir} ${libdir}/cmake" +FILES:${PN}-dev = "${includedir} ${libdir}/cmake ${libdir}/pkgconfig" BBCLASSEXTEND = "native nativesdk" From patchwork Sun Jun 16 20:36:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 45229 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9043C27C53 for ; Sun, 16 Jun 2024 20:38:49 +0000 (UTC) Received: from mta-65-228.siemens.flowmailer.net (mta-65-228.siemens.flowmailer.net [185.136.65.228]) by mx.groups.io with SMTP id smtpd.web10.42020.1718570323913772229 for ; Sun, 16 Jun 2024 13:38:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm2 header.b=fSLdegD/; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.228, mailfrom: fm-256628-20240616203841b988925aa01ab57768-mxtgbf@rts-flowmailer.siemens.com) Received: by mta-65-228.siemens.flowmailer.net with ESMTPSA id 20240616203841b988925aa01ab57768 for ; Sun, 16 Jun 2024 22:38:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=i5DSpNTgCyo+raQebm033jivHw5hnMdAJkNwcbVei28=; b=fSLdegD/qYJhfzvTKAWc84pqWzXZoD3PlfOOXz3dD5ksNU7pU+3s3sw9rVDKuuRYmDSw+i unaDy9BULr94f2Z7QpXgqzYnBFEsp4rBfulkQEUIwqYbRaWllRCzJbdm8kfD0L5R1o7seVoV dVUKxifLZ088OoA46t4wrOB9bHvB8=; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][scarthgap][PATCH v2 6/6] re2: rework solibs handling Date: Sun, 16 Jun 2024 22:36:51 +0200 Message-Id: <20240616203651.856968-7-peter.marko@siemens.com> In-Reply-To: <20240616203651.856968-1-peter.marko@siemens.com> References: <20240616203651.856968-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 16 Jun 2024 20:38:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110937 From: Peter Marko This is cleaner way how to package unversioned libraries which was suggested during review of the last commit. Signed-off-by: Peter Marko --- meta-oe/recipes-support/re2/re2_2024.03.01.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/re2/re2_2024.03.01.bb b/meta-oe/recipes-support/re2/re2_2024.03.01.bb index 6e5b32a945..76d6f0c7a9 100644 --- a/meta-oe/recipes-support/re2/re2_2024.03.01.bb +++ b/meta-oe/recipes-support/re2/re2_2024.03.01.bb @@ -32,7 +32,8 @@ do_install_ptest () { } # ignore .so in /usr/lib64 -FILES:${PN} = "${libdir}" +SOLIBS = ".so*" +FILES_SOLIBSDEV = "" INSANE_SKIP:${PN} += "dev-so" # Don't include so files in dev package