Message ID | RnUd7kxUKLWeLZSMoM1dFtpAD4Qfe3R-67gu27eAGtE6yrgC1oHzq1GwiOoE9Gmk6uZZ-c6k6LUVxdMqKhUro4_bM4zZKPhsbN5e9BV8SV4=@protonmail.com |
---|---|
State | Accepted |
Headers | show |
Series | package/tpm2-tss: bump version to 3.1.0 | expand |
Hello Yair, I'm getting back to this patch that you contributed about a month ago, because since this version bump we are getting zillions of failures in the build of tpm2-tss: http://autobuild.buildroot.net/?reason=tpm2-tss% They are caused by the lack of setfacl on the host. Fabrice Fontaine cooked a patch to add host-acl to the dependencies of tpm2-tss, but as I replied to his patch, this isn't a suitable solution as setfacl will clearly not working in a Buildroot context where the build runs as non-root. It seems like the entire installation logic of tpm2-tss got broken for cross-compilation scenarios. See the discussion with Fabrice at: https://patchwork.ozlabs.org/project/buildroot/patch/20211013065446.1857356-1-fontaine.fabrice@gmail.com/ Could you have a look into this ? Thanks a lot, Thomas On Tue, 05 Oct 2021 05:20:16 +0000 Yair Ben-Avraham via buildroot <buildroot@buildroot.org> wrote: > Signed-off-by: Yair Ben-Avraham <yairba@protonmail.com> > --- > package/tpm2-tss/tpm2-tss.hash | 2 +- > package/tpm2-tss/tpm2-tss.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash > index 6856fd4fde..b6eb3c1f97 100644 > --- a/package/tpm2-tss/tpm2-tss.hash > +++ b/package/tpm2-tss/tpm2-tss.hash > @@ -1,3 +1,3 @@ > # Locally computed: > -sha256 78392be7309baf47f51b122f566ac915fd4d1760ea78571cba2e1484f9b5be17 tpm2-tss-3.0.3.tar.gz > +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz > sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE > diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk > index 9ffbef2f07..8e701933c4 100644 > --- a/package/tpm2-tss/tpm2-tss.mk > +++ b/package/tpm2-tss/tpm2-tss.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -TPM2_TSS_VERSION = 3.0.3 > +TPM2_TSS_VERSION = 3.1.0 > TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) > TPM2_TSS_LICENSE = BSD-2-Clause > TPM2_TSS_LICENSE_FILES = LICENSE > -- > 2.30.2 > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
On Thursday, November 4th, 2021 at 10:53 PM, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote: > Hello Yair, > I'm getting back to this patch that you contributed about a month ago, > because since this version bump we are getting zillions of failures in > the build of tpm2-tss: > http://autobuild.buildroot.net/?reason=tpm2-tss% > They are caused by the lack of setfacl on the host. Fabrice Fontaine > cooked a patch to add host-acl to the dependencies of tpm2-tss, but as > I replied to his patch, this isn't a suitable solution as setfacl will > clearly not working in a Buildroot context where the build runs as > non-root. It seems like the entire installation logic of tpm2-tss got > broken for cross-compilation scenarios. See the discussion with Fabrice > at: > https://patchwork.ozlabs.org/project/buildroot/patch/20211013065446.1857356-1-fontaine.fabrice@gmail.com/ > Could you have a look into this ? > Thanks a lot, > Thomas > > On Tue, 05 Oct 2021 05:20:16 +0000 > Yair Ben-Avraham via buildroot buildroot@buildroot.org wrote: > > Signed-off-by: Yair Ben-Avraham yairba@protonmail.com > > ----------------------------------------------------- > > package/tpm2-tss/tpm2-tss.hash | 2 +- > > package/tpm2-tss/tpm2-tss.mk | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash > > index 6856fd4fde..b6eb3c1f97 100644 > > --- a/package/tpm2-tss/tpm2-tss.hash > > +++ b/package/tpm2-tss/tpm2-tss.hash > > @@ -1,3 +1,3 @@ > > Locally computed: > > ================= > > -sha256 78392be7309baf47f51b122f566ac915fd4d1760ea78571cba2e1484f9b5be17 tpm2-tss-3.0.3.tar.gz > > +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz > > sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE > > diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk > > index 9ffbef2f07..8e701933c4 100644 > > --- a/package/tpm2-tss/tpm2-tss.mk > > +++ b/package/tpm2-tss/tpm2-tss.mk > > @@ -4,7 +4,7 @@ > > ################################################################################ > > -TPM2_TSS_VERSION = 3.0.3 > > +TPM2_TSS_VERSION = 3.1.0 > > TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) > > TPM2_TSS_LICENSE = BSD-2-Clause > > TPM2_TSS_LICENSE_FILES = LICENSE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > 2.30.2 > > buildroot mailing list > > buildroot@buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > -- > > Thomas Petazzoni, co-owner and CEO, Bootlin > Embedded Linux and Kernel engineering and training > https://bootlin.com Dear Thomas, Sorry for not tracking the builds results. Of course I will have a look into it. I will start with taking the approach of forcing ac_cv_prog_* as in: ./package/tpm2-pkcs11/tpm2-pkcs11.mk http://patchwork.ozlabs.org/project/buildroot/patch/20211106154525.910204-1-yann.morin.1998@free.fr/ And/or taking the approach as in: ./package/tpm2-abrmd/tpm2-abrmd.mk Yair Ben-Avraham yairba@protonmail.com +31.6.1316.5535
diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash index 6856fd4fde..b6eb3c1f97 100644 --- a/package/tpm2-tss/tpm2-tss.hash +++ b/package/tpm2-tss/tpm2-tss.hash @@ -1,3 +1,3 @@ # Locally computed: -sha256 78392be7309baf47f51b122f566ac915fd4d1760ea78571cba2e1484f9b5be17 tpm2-tss-3.0.3.tar.gz +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk index 9ffbef2f07..8e701933c4 100644 --- a/package/tpm2-tss/tpm2-tss.mk +++ b/package/tpm2-tss/tpm2-tss.mk @@ -4,7 +4,7 @@ # ################################################################################ -TPM2_TSS_VERSION = 3.0.3 +TPM2_TSS_VERSION = 3.1.0 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) TPM2_TSS_LICENSE = BSD-2-Clause TPM2_TSS_LICENSE_FILES = LICENSE
Signed-off-by: Yair Ben-Avraham <yairba@protonmail.com> --- package/tpm2-tss/tpm2-tss.hash | 2 +- package/tpm2-tss/tpm2-tss.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.30.2