[Buildroot] Error while building tpm2-tools package with fapi support

Sourabh Hegde hrsourabh011 at gmail.com
Tue Jun 13 21:21:10 UTC 2023


Hello Thomas,

Thanks for the info, it worked

Regards,
Sourabh


On Mon, May 22, 2023, 16:16 Thomas Petazzoni <thomas.petazzoni at bootlin.com>
wrote:

> Hello,
>
> On Sat, 20 May 2023 23:34:48 +0200
> Sourabh Hegde <hrsourabh011 at gmail.com> wrote:
>
> > Yes, you are right.
> > But, I did make "tpm2-tools-dirclean && make tpm2-tools-rebuild" and this
> > didn't help.
> > Also, I tried "make tpm2-tools-dirclean all" and "make
> tpm2-tools-dircclean
> > && make tpm2-tools-reconfigure". This also resulted in the same error.
>
> It's tpm2-tss that you need to rebuild. When you enable
> BR2_PACKAGE_TPM2_TOOLS_FAPI, it selects BR2_PACKAGE_TPM2_TSS_FAPI. But
> the thing is that tpm2-tss has already been built with
> BR2_PACKAGE_TPM2_TSS_FAPI disabled. Buildroot does not have the logic
> to automatically realize this. So either you do a full rebuild ("make
> clean all"), or you understand that you have to explicitly tell
> Buildroot that tpm2-tss needs to be rebuilt.
>
> So, essentially here:
>
> $ make tpm2-tss-dirclean tpm2-tools-dirclean
> $ make
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20230613/60248c00/attachment.html>


More information about the buildroot mailing list