From patchwork Sun Dec 22 16:22:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Hochstein X-Patchwork-Id: 54538 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 4BC5BE77188 for ; Sun, 22 Dec 2024 16:23:08 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.46]) by mx.groups.io with SMTP id smtpd.web10.27158.1734884579574530729 for ; Sun, 22 Dec 2024 08:23:02 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@NXP1.onmicrosoft.com header.s=selector1-NXP1-onmicrosoft-com header.b=MfoDX+SI; spf=pass (domain: oss.nxp.com, ip: 40.107.20.46, mailfrom: tom.hochstein@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lG7fD4B7qPJRGuHz+7t1/c2+DGci7tcsB8a2S+AmelIceWJwUbDClfmI3bwpVrCOYtgrPbTt0HiPSDspmr4hk6nf7NY+XcnvPIU/pQv2lf49knKrtR/IHvvWLScpKi7FgI3qO7hwM/0NBe7QhG3fY/mtyhCwrDgwT9dhwELSKwzpcrHnEO6ma8KKrthtIG3rlJkGiED68g+xW4wVw5h/e/yO4sb7oYCI4Ajz/b+kbgTwdahlDRGSYL4NsXeLoed8ZnIyYw2EYoaB+CM1Xi7FOqWHolVL2jHiNhjA7QhB5W43tJZfOrTcGJxo7gQ077Lz2rj8Fm/S5A4bZSYe60Oe5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sRNg19NFfqP+ic1fx6FhQU8E8StpWzagqOpPJaZFFz8=; b=di1mHEnd0C6hwQPrmv9q5HhqyorG/8wnssDIVooG1CHAyDzJMGU7KzFLKzYlfPVp9hkbc6JZdJj0kAQoHRicpbYAIo5KzGvZx4MEz49/74UXFIlEIcY0cg7YYTe4RR9enXowVVkFgtJZBPl4clvCuAQQyngJzqejbzXNDSmOItV0Pcvr+HrFdqWO7bfiOs3Zt/wKKVPd9/brP5t8PJBEdqVF3VOChG1sIPH2IATAWu4W4xpTYN2Xv/dxLS6QVWofyudaweQPdUo7UyZKWoUbtb6HE/qMEBSA3772++aZqqMN3vCfL6icCWgY2J8lb3W/K5lPkrX6ZRtiwPkgZqCjnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sRNg19NFfqP+ic1fx6FhQU8E8StpWzagqOpPJaZFFz8=; b=MfoDX+SImlyMdVJSS3V7VkWXvsG3ln3YpBFLKyRwPLIoLZlnwG8tajruiZuY9JFu7aG8Rje5t08U5msVxXu54bNIGa6vilTG/cepNpOzBEZKDt+w1iyGITaPZ+DsxbR6BIu/UWsjoGtG0WAprcwxmCcFVSyMR7yxFr6r0pA2JHNeexROZY0MI6cnBGjXNH11rOmt8/a+nbMXIUMizVM4dfn1mxICshuPeztTM675CmuFDFwALjtU6WLrPVC9vdrleTN45hDzciabQWv5LsKNvWuRSqgmicKvKlvxALIKAYTMFcAXR3BH04i77YhDgUxV+IPgKZv8E76PRs5xb82K4Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) by AS4PR04MB9483.eurprd04.prod.outlook.com (2603:10a6:20b:4ec::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.18; Sun, 22 Dec 2024 16:22:57 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%2]) with mapi id 15.20.8272.013; Sun, 22 Dec 2024 16:22:56 +0000 From: Tom Hochstein To: openembedded-core@lists.openembedded.org CC: Tom Hochstein Subject: [PATCH v3 5/5] mesa: Fix missing GLES3 headers in SDK sysroot Date: Sun, 22 Dec 2024 10:22:34 -0600 Message-ID: <20241222162234.2411262-5-tom.hochstein@oss.nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241222162234.2411262-1-tom.hochstein@oss.nxp.com> References: <20241222162234.2411262-1-tom.hochstein@oss.nxp.com> X-ClientProxiedBy: SN6PR16CA0049.namprd16.prod.outlook.com (2603:10b6:805:ca::26) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AS4PR04MB9483:EE_ X-MS-Office365-Filtering-Correlation-Id: 32a12c86-f719-4b9e-1d9f-08dd22a4e343 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: 6MfqpoIQ5LyaYyvuTkH5zewUztvbWz7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8hVJDJEQIOSknn6lnwYlUx24K8DwvkeQpPH0s2NYyMutSrsCGJwmoseH0aFHKZaA9HaWmUj5YR9iVH1f+gzEc+tV7Ib+AUTPorgGfO9hNd4ajNbuvMQyg72T1O5YYOGlHdPK+Fz95y6ANCRS5ujSbrlXlJZUc1el/LK7/21fHz9GTXnCb8JSxk8g+hPvJZHChzxOd9trILYVrmPHXa9PAaZi0Hv9ZDTNwtTQwlyB+kKpA9SYXJUPgJd3xYBLInELKcvY3ile9e40hQTqF1La86oKOFmuZjGFHwalfaTJ+EdObq9x0RBJPKKDHI0ufCtkaSvjdkyZZfqeQm/KPC0o9h X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9448.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pXlwA9Rqffby+z/kFJ59xuwSkug9ALLbOzdGQc/Pp/fpdPG3R5HbYKNZHjSRECfhB6KGljHXTQDcH7SJINxtVDo6tRcF5pcPTu1QiI1gp4X1bF9i4mRXP4+gTxu+ku2YkhgX+7kwuNARrbHP4++wJ0vGBgnhjeIfFAj1OeJSqgaqhkmaAFEAor89F5jK5Rije+vE4TSpUWI43VApfCpbl5VXG9rypxBPnpjBN1OwHVEUu7DtQ4zzTJ8x9oRQNh/n8uR0fGRm9QJxK+X0hj4E6mCB90ZJtp71P/5J88WrKzvErBpWhHNx/T12WU07EIdvP7cLl66vlKj8ExRam4ke6t7EPg8w2CUttuRuuLUaJAkqd/cMsWQvFvVONZ4dW6kTrDrxIcAcddhakF269fpSGK1P3GsfciJz1maKZ0TV/t+wIoPG0wVwK9X47OF32zW3Z/uMMivUBVBfhx9rsCAO6WCuRKnStggxw+8qIjFaSV9Q/74jTXUyg3jhSbjqzV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ClhRx7hUn X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32a12c86-f719-4b9e-1d9f-08dd22a4e343 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2024 16:22:54.0192 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: pVso75FZ0BLhC2kJa+EtHxdQpisk489RS0ZGJ6GMwIdBmVn059+GEBXthIxrgMoNbzaV0uJ7MeRoex0+8O4dMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9483 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, 22 Dec 2024 16:23:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/209011 Building weston with core-image-weston SDK fails: ``` ../libweston/renderer-gl/gl-shader-config-color-transformation.c:29:10: fatal error: GLES3/gl3.h: No such file or directory 29 | #include | ^~~~~~~~~~~~~ ``` Both GLES2 and GLES3 implementations are contained in libGLESv2.so.2, which is packaged in libgles2-mesa. However, the headers are split between libgles2-mesa-dev and libgles3-mesa-dev, which is why the GLES3 headers end up missing in the SDK sysroot. Add a dependency so the GLES3 headers are properly associated with the GLES3 implementation. Signed-off-by: Tom Hochstein --- meta/recipes-graphics/mesa/mesa.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 9fdf496e8b..84490158f1 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -233,6 +233,10 @@ DEV_PKG_DEPENDENCY = "" # development package of libgles3. RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev" +# GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa. +# Add a dependency so the GLES3 dev package is associated with its implementation. +RDEPENDS:libgles2-mesa-dev += "libgles3-mesa-dev" + RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools', '', d)}" PACKAGES =+ "libegl-mesa libegl-mesa-dev \