Skip to contentSkip to conversation

tpm2-tools: propagate dependencies of selected packages

PATCH New Baruch Siach 2 participants 3 messages Mar 21, 2018 – Mar 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tpm2-tools: propagate dependencies of selected packages

Fixes (libglib):
http://autobuild.buildroot.net/results/786/786859fccc477de1519d85d8a180626bb8ebe062/
http://autobuild.buildroot.net/results/df6/df6518f331c16b477c6e934914d0e56dc102c228/

---
 package/tpm2-tools/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)
package/tpm2-tools/Config.in +7 -0
index 6429b24531b1..3bde934daef5 100644
@@ -1,5 +1,8 @@
 config BR2_PACKAGE_TPM2_TOOLS
 	bool "tpm2-tools"
+	depends on BR2_USE_MMU # dbus, libglib
+	depends on BR2_USE_WCHAR # libglib -> gettext
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBGLIB2
@@ -14,3 +17,7 @@ config BR2_PACKAGE_TPM2_TOOLS
 	  implementation.
 
 	  https://github.com/tpm2-software/tpm2-tools
+
+comment "tpm2-tools need a toolchain w/ wchar, threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 tpm2-tools: propagate dependencies of selected packages

Quoted 30 lines

From: "Baruch Siach" <[email protected]>
To: "buildroot" <[email protected]>
Cc: "Baruch Siach" <[email protected]>, "Carlos Santos" <[email protected]>
Sent: Wednesday, March 21, 2018 4:04:59 PM
Subject: [PATCH] tpm2-tools: propagate dependencies of selected packages

Fixes (libglib):
http://autobuild.buildroot.net/results/786/786859fccc477de1519d85d8a180626bb8ebe062/
http://autobuild.buildroot.net/results/df6/df6518f331c16b477c6e934914d0e56dc102c228/

---
package/tpm2-tools/Config.in | 7 +++++++

1 file changed, 7 insertions(+)
package/tpm2-tools/Config.in +0 -0
index 6429b24531b1..3bde934daef5 100644
@@ -1,5 +1,8 @@

config BR2_PACKAGE_TPM2_TOOLS
bool "tpm2-tools"

package/tpm2-tools/Config.in +3 -0
+	depends on BR2_USE_MMU # dbus, libglib
+	depends on BR2_USE_WCHAR # libglib -> gettext
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib

select BR2_PACKAGE_DBUS
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBGLIB2

package/tpm2-tools/Config.in config BR2_PACKAGE_TPM2_TOOLS · line 23

Quoted 7 lines
package/tpm2-tools/Config.in +4 -0
@@ -14,3 +17,7 @@ config BR2_PACKAGE_TPM2_TOOLS
 	  implementation.
 
 	  https://github.com/tpm2-software/tpm2-tools
+
+comment "tpm2-tools need a toolchain w/ wchar, threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

It needs C++ too, due to tpm2-tss. I'm already working on a patch to solve this problem.

Signature · 4 lines
Carlos Santos (Casantos) - DATACOM, P&D
?The greatest triumph that modern PR can offer is the transcendent 
success of having your words and actions judged by your reputation, 
rather than the other way about.? ? Christopher Hitchens
#2 lore raw

PATCH 1/1 tpm2-tools: propagate dependencies of selected packages

Quoted 16 lines

From: "Carlos Santos" <[email protected]>
To: "Baruch Siach" <[email protected]>
Cc: "buildroot" <[email protected]>
Sent: Thursday, March 22, 2018 9:22:05 AM
Subject: Re: [Buildroot] [PATCH] tpm2-tools: propagate dependencies of selected packages

Quoted 10 lines

From: "Baruch Siach" <[email protected]>
To: "buildroot" <[email protected]>
Cc: "Baruch Siach" <[email protected]>, "Carlos Santos" <[email protected]>
Sent: Wednesday, March 21, 2018 4:04:59 PM
Subject: [PATCH] tpm2-tools: propagate dependencies of selected packages

Fixes (libglib):
http://autobuild.buildroot.net/results/786/786859fccc477de1519d85d8a180626bb8ebe062/
http://autobuild.buildroot.net/results/df6/df6518f331c16b477c6e934914d0e56dc102c228/

[...]

Quoted 2 lines

It needs C++ too, due to tpm2-tss. I'm already working on a patch to solve this problem.

Superseded by https://patchwork.ozlabs.org/patch/889621/

Signature · 4 lines
Carlos Santos (Casantos) - DATACOM, P&D
?The greatest triumph that modern PR can offer is the transcendent 
success of having your words and actions judged by your reputation, 
rather than the other way about.? ? Christopher Hitchens