From mboxrd@z Thu Jan 1 00:00:00 1970 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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DAF7EC433F5 for ; Sun, 29 May 2022 20:55:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8B49841859; Sun, 29 May 2022 20:55:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EoyQ6uzJORVL; Sun, 29 May 2022 20:55:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 2B16A4184B; Sun, 29 May 2022 20:55:31 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4F9FE1BF3D7 for ; Sun, 29 May 2022 20:55:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3E8D7840A6 for ; Sun, 29 May 2022 20:55:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=free.fr Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IlIFFrnKX3ZB for ; Sun, 29 May 2022 20:55:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [IPv6:2a01:e0c:1:1599::15]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3E29684096 for ; Sun, 29 May 2022 20:55:11 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [IPv6:2a01:cb19:8b51:cb00:1c90:582e:b0d5:b1ff]) (Authenticated sender: yann.morin.1998@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 3981A780306; Sun, 29 May 2022 22:55:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1653857709; bh=SqKHblMivDS3LbdhFq+I7hPYxIcm06ZOf05Cx668jXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DKE+N0AxetGRGQTp3SRSVxsqAwoQAZLAqjWVnc+iToyRj7K133c/B5jnFDIy0Ky2j el6A+ziowHd4GZKpYtlY5VHf8/2a4T8OwTUIYH6ozRECwe2cGEhUMY0+AhL1iOX2UL AL6mPv5PZBrrF59coglwMFBiEfPwILABBzOQVuBcvppl4aOOLqaxOr/ncXZzlJkD8f +f3Cpur49TkEso9/DuB7M11aYYgPqaeZDiny5gqspIt5Tz1lzzfVFcgDI5UUxbBeVI /9fZXNV+fsVe4g+SyUyvIBZduWIRPdPJP45jgPrLgU1Cw8g1smCUV7zDKJ35CUdb3b kapVb3VKOzMCg== Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Sun, 29 May 2022 22:55:05 +0200 Date: Sun, 29 May 2022 22:55:05 +0200 From: "Yann E. MORIN" To: Fabrice Fontaine Message-ID: <20220529205505.GE993669@scaer> References: <20220517211505.7445-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220517211505.7445-1-fontaine.fabrice@gmail.com> User-Agent: Mutt/1.5.22 (2013-10-16) Subject: Re: [Buildroot] [PATCH 1/1] package/optee-client: fix build without plugins X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Etienne Carriere , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fabrice, All, On 2022-05-17 23:15 +0200, Fabrice Fontaine spake thusly: > Fix the following build failure raised since bump to version 3.17.0 in > commit ffd45b8726d42bb299199d9f1e10ee3d3469c85a and > https://github.com/OP-TEE/optee_client/commit/876b1ae719e12890ddd96e85cd4e9862dab46448: > > /home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.17.0/tee-supplicant/src/tee_supplicant.c:104:22: error: 'TEE_PLUGIN_LOAD_PATH' undeclared here (not in a function); did you mean 'TEEC_LOAD_PATH'? > 104 | .plugin_load_path = TEE_PLUGIN_LOAD_PATH, > | ^~~~~~~~~~~~~~~~~~~~ > | TEEC_LOAD_PATH > > Fixes: > - http://autobuild.buildroot.org/results/384e0ca894dbc0ec72cea76141de890f1ce484db > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Yann E. MORIN. > --- > ...rc-tee_supplicant.c-fix-build-withou.patch | 39 +++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 package/optee-client/0001-tee-supplicant-src-tee_supplicant.c-fix-build-withou.patch > > diff --git a/package/optee-client/0001-tee-supplicant-src-tee_supplicant.c-fix-build-withou.patch b/package/optee-client/0001-tee-supplicant-src-tee_supplicant.c-fix-build-withou.patch > new file mode 100644 > index 0000000000..e41c9138ee > --- /dev/null > +++ b/package/optee-client/0001-tee-supplicant-src-tee_supplicant.c-fix-build-withou.patch > @@ -0,0 +1,39 @@ > +From f2a7c942393c6383ac89d9264999cd9c93a70b80 Mon Sep 17 00:00:00 2001 > +From: Fabrice Fontaine > +Date: Sat, 14 May 2022 19:33:57 +0200 > +Subject: [PATCH] tee-supplicant/src/tee_supplicant.c: fix build without > + plugins > + > +Fix the following build failure with CFG_TEE_SUPP_PLUGINS != y raised > +since version 3.17.0 and commit [1]. > + > +/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.17.0/tee-supplicant/src/tee_supplicant.c:104:22: error: 'TEE_PLUGIN_LOAD_PATH' undeclared here (not in a function); did you mean 'TEEC_LOAD_PATH'? > + 104 | .plugin_load_path = TEE_PLUGIN_LOAD_PATH, > + | ^~~~~~~~~~~~~~~~~~~~ > + | TEEC_LOAD_PATH > + > +Link: [1] https://github.com/OP-TEE/optee_client/commit/876b1ae719e12890ddd96e85cd4e9862dab46448 > +Fixes: http://autobuild.buildroot.org/results/384e0ca894dbc0ec72cea76141de890f1ce484db > +Reviewed-by: Jerome Forissier > +Reviewed-by: Etienne Carriere > +Signed-off-by: Fabrice Fontaine > +[Retrieved from: > +https://github.com/OP-TEE/optee_client/commit/f2a7c942393c6383ac89d9264999cd9c93a70b80] > +--- > + tee-supplicant/src/tee_supplicant.c | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/tee-supplicant/src/tee_supplicant.c b/tee-supplicant/src/tee_supplicant.c > +index 7b186ed9..53c29a26 100644 > +--- a/tee-supplicant/src/tee_supplicant.c > ++++ b/tee-supplicant/src/tee_supplicant.c > +@@ -101,7 +101,9 @@ static struct tee_shm *shm_head; > + > + struct tee_supplicant_params supplicant_params = { > + .ta_dir = "optee_armtz", > ++#ifdef TEE_PLUGIN_LOAD_PATH > + .plugin_load_path = TEE_PLUGIN_LOAD_PATH, > ++#endif > + .fs_parent_path = TEE_FS_PARENT_PATH, > + }; > + > -- > 2.35.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot