Skip to contentSkip to conversation

Revert "package/tpm2-tss: bump version to 3.2.0"

PATCH Applied Fabrice Fontaine 2 participants 2 messages Mar 28, 2022 – Apr 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "package/tpm2-tss: bump version to 3.2.0"

This reverts commit ed13a65a08cfe315aed9344abc609f5f2b92c782 as it has the following non trivial issues:
- pkgconfig files have no version number if we run autoreconf
(https://github.com/tpm2-software/tpm2-tss/issues/2329) resulting in the following build failures with tpm2-{abrmd,pkcs11} or libsecret:

configure: error: Package requirements (tss2-esys >= 2.0) were not met:

Package dependency requirement 'tss2-esys >= 2.0' could not be satisfied. Package 'tss2-esys' has version '', required version is '>= 2.0'

- addgroup/groupadd and adduser/useradd are mandatory since
https://github.com/tpm2-software/tpm2-tss/commit/7fde604383c62fc764a1e060dff48fc06f79860b:

configure: error: addgroup or groupadd are needed.

It seems better to find an upstreamable solution to both issues before bumping.

Fixes:
- http://autobuild.buildroot.org/results/d4d6807af3493deb47951c6f11f427040e5c5e11
- http://autobuild.buildroot.org/results/a304e45bacb8cd7e7ea9bc49e4a8ec9359ca0a3a
- http://autobuild.buildroot.org/results/be0befa81e955ac8cf16f9d20723f9b9b174e012
- http://autobuild.buildroot.org/results/d4ebee400423f6df51613193c86db3c58c94ff88

---
 package/tpm2-tss/tpm2-tss.hash | 2 +-
 package/tpm2-tss/tpm2-tss.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/tpm2-tss/tpm2-tss.hash +1 -1
index db6b3b7ad0..b6eb3c1f97 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  48305e4144dcf6d10f3b25b7bccf0189fd2d1186feafd8cd68c6b17ecf0d7912  tpm2-tss-3.2.0.tar.gz
+sha256  8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8  tpm2-tss-3.1.0.tar.gz
 sha256  18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
package/tpm2-tss/tpm2-tss.mk +1 -1
index 2bb1235177..f475697e40 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TPM2_TSS_VERSION = 3.2.0
+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
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 19 lines · Fabrice Fontaine

This reverts commit ed13a65a08cfe315aed9344abc609f5f2b92c782 as it has the following non trivial issues:
- pkgconfig files have no version number if we run autoreconf
(https://github.com/tpm2-software/tpm2-tss/issues/2329) resulting in the following build failures with tpm2-{abrmd,pkcs11} or libsecret:

configure: error: Package requirements (tss2-esys >= 2.0) were not met:

Package dependency requirement 'tss2-esys >= 2.0' could not be satisfied. Package 'tss2-esys' has version '', required version is '>= 2.0'

- addgroup/groupadd and adduser/useradd are mandatory since
https://github.com/tpm2-software/tpm2-tss/commit/7fde604383c62fc764a1e060dff48fc06f79860b:

configure: error: addgroup or groupadd are needed.

It seems better to find an upstreamable solution to both issues before bumping.

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/d4d6807af3493deb47951c6f11f427040e5c5e11
- http://autobuild.buildroot.org/results/a304e45bacb8cd7e7ea9bc49e4a8ec9359ca0a3a
- http://autobuild.buildroot.org/results/be0befa81e955ac8cf16f9d20723f9b9b174e012
- http://autobuild.buildroot.org/results/d4ebee400423f6df51613193c86db3c58c94ff88

Applied to master, thanks.

Regards,
Arnout

Quoted 19 lines
---
  package/tpm2-tss/tpm2-tss.hash | 2 +-
  package/tpm2-tss/tpm2-tss.mk   | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
package/tpm2-tss/tpm2-tss.hash +1 -1
index db6b3b7ad0..b6eb3c1f97 100644
@@ -1,3 +1,3 @@
  # Locally computed:
-sha256  48305e4144dcf6d10f3b25b7bccf0189fd2d1186feafd8cd68c6b17ecf0d7912  tpm2-tss-3.2.0.tar.gz
+sha256  8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8  tpm2-tss-3.1.0.tar.gz
  sha256  18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
package/tpm2-tss/tpm2-tss.mk +0 -0
index 2bb1235177..f475697e40 100644

package/tpm2-tss/tpm2-tss.mk line 10

Quoted 8 lines
package/tpm2-tss/tpm2-tss.mk +1 -1
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-TPM2_TSS_VERSION = 3.2.0
+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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot