Skip to contentSkip to conversation

midori: add missing BR2_TOOLCHAIN_USES_GLIBC dependency

PATCH New Thomas Petazzoni 3 participants 9 messages May 17, 2016 – May 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 midori: add missing BR2_TOOLCHAIN_USES_GLIBC dependency

midori selects webkitgtk, and webkitgtk needs a glibc toolchain, but midori did not propagate this dependency, causing the following kconfig warning:

warning: (BR2_PACKAGE_MIDORI) selects BR2_PACKAGE_WEBKITGTK which has unmet direct dependencies (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_USES_GLIBC && BR2_PACKAGE_LIBGTK3 && BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS)

Interestingly, the Config.in comment of the midori package already mentionned the (e)glibc dependency, but the BR2_TOOLCHAIN_USES_GLIBC dependency was not expressed (either on the comment or on the main package option itself).

---
 package/midori/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/midori/Config.in +2 -1
index 91a63af..9751f33 100644
@@ -1,7 +1,7 @@
 comment "midori needs libgtk3 and an (e)glibc toolchain w/ C++, gcc >= 4.9"
 	depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \
-		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_USES_GLIBC
 
 config BR2_PACKAGE_MIDORI
 	bool "midori"
@@ -18,6 +18,7 @@ config BR2_PACKAGE_MIDORI
 	depends on BR2_PACKAGE_LIBGTK3
 	depends on BR2_INSTALL_LIBSTDCPP # webkitgtk
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # webkitgtk
+	depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk
 	depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
 	help
 	  Midori is a lightweight web browser based on WebKit
Signature · 1 line
2.7.4
author Applied
#1 lore raw

PATCH 1/3 midori: add missing BR2_TOOLCHAIN_USES_GLIBC dependency

Hello,

Quoted 11 lines · Thomas Petazzoni

midori selects webkitgtk, and webkitgtk needs a glibc toolchain, but midori did not propagate this dependency, causing the following kconfig warning:

warning: (BR2_PACKAGE_MIDORI) selects BR2_PACKAGE_WEBKITGTK which has unmet direct dependencies (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_USES_GLIBC && BR2_PACKAGE_LIBGTK3 && BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS)

Interestingly, the Config.in comment of the midori package already mentionned the (e)glibc dependency, but the BR2_TOOLCHAIN_USES_GLIBC dependency was not expressed (either on the comment or on the main package option itself).

Quoted 5 lines
---
 package/midori/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 2/3 python-service-identity: add missing BR2_INSTALL_LIBSTDCPP dependency

In reply to Thomas Petazzoni

python-service-identity selects python-pyopenssl and python-pyasn, both of which depend on C++ support, but this dependency was not propagated to python-service-identity causing the following kconfig warning:

warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYASN which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYASN_MODULES which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)

---
 package/python-service-identity/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-service-identity/Config.in +1 -0
index e2200f6..ee6ca4a 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
 	select BR2_PACKAGE_PYTHON_PYASN # runtime
 	select BR2_PACKAGE_PYTHON_PYASN_MODULES # runtime
 	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-pyasn
 	help
 	  Service identity verification for pyOpenSSL.
 
Signature · 1 line
2.7.4
#3 lore raw

PATCH 2/3 python-service-identity: add missing BR2_INSTALL_LIBSTDCPP dependency

Quoted 10 lines · Thomas Petazzoni

python-service-identity selects python-pyopenssl and python-pyasn, both of which depend on C++ support, but this dependency was not propagated to python-service-identity causing the following kconfig warning:

warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYASN which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYASN_MODULES which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)

Quoted 19 lines
---
 package/python-service-identity/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-service-identity/Config.in +1 -1
index e2200f6..ee6ca4a 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
        select BR2_PACKAGE_PYTHON_PYASN # runtime
        select BR2_PACKAGE_PYTHON_PYASN_MODULES # runtime
        select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-pyasn
        help
          Service identity verification for pyOpenSSL.
 
--

2.7.4

#4 lore raw

PATCH 2/3 python-service-identity: add missing BR2_INSTALL_LIBSTDCPP dependency

In reply to Thomas Petazzoni

Hello,

package/python-service-identity/Config.in config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY · line 10

Quoted 12 lines · Thomas Petazzoni
package/python-service-identity/Config.in +1 -0
index e2200f6..ee6ca4a 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
 	select BR2_PACKAGE_PYTHON_PYASN # runtime
 	select BR2_PACKAGE_PYTHON_PYASN_MODULES # runtime
 	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-pyasn
 	help
 	  Service identity verification for pyOpenSSL.
 

I forgot to add the Config.in comment for this dependency. So I've added it, and applied to master.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH 1/3 midori: add missing BR2_TOOLCHAIN_USES_GLIBC dependency

In reply to Thomas Petazzoni
Quoted 6 lines · Thomas Petazzoni

midori selects webkitgtk, and webkitgtk needs a glibc toolchain, but midori did not propagate this dependency, causing the following kconfig warning:

warning: (BR2_PACKAGE_MIDORI) selects BR2_PACKAGE_WEBKITGTK which has unmet direct dependencies (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_USES_GLIBC && BR2_PACKAGE_LIBGTK3 && BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS)

Quoted 7 lines

Interestingly, the Config.in comment of the midori package already mentionned the (e)glibc dependency, but the BR2_TOOLCHAIN_USES_GLIBC dependency was not expressed (either on the comment or on the main package option itself).

#6 lore raw

PATCH 3/3 python-treq: add missing BR2_INSTALL_LIBSTDCPP dependency

In reply to Thomas Petazzoni

python-treq selects python-pyopenssl, which depends on C++ support, but this dependency was not propagated to python-treq, causing the following kconfig warning:

warning: (BR2_PACKAGE_PYTHON_TREQ) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)

This commit fixes that by adding the appropriate dependency.

---
 package/python-treq/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-treq/Config.in +1 -0
index a8590a9..d560ba3 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_PYTHON_TREQ
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_TWISTED # runtime
 	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
 	help
 	  treq is an HTTP library inspired by requests but written on
 	  top of Twisted's Agents.  It provides a simple, higher level
Signature · 1 line
2.7.4
#7 lore raw

PATCH 3/3 python-treq: add missing BR2_INSTALL_LIBSTDCPP dependency

Quoted 10 lines · Thomas Petazzoni

python-treq selects python-pyopenssl, which depends on C++ support, but this dependency was not propagated to python-treq, causing the following kconfig warning:

warning: (BR2_PACKAGE_PYTHON_TREQ) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)

This commit fixes that by adding the appropriate dependency.

Quoted 19 lines
---
 package/python-treq/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-treq/Config.in +1 -1
index a8590a9..d560ba3 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_PYTHON_TREQ
        select BR2_PACKAGE_PYTHON_SIX # runtime
        select BR2_PACKAGE_PYTHON_TWISTED # runtime
        select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+       depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
        help
          treq is an HTTP library inspired by requests but written on
          top of Twisted's Agents.  It provides a simple, higher level
--

2.7.4

#8 lore raw

PATCH 3/3 python-treq: add missing BR2_INSTALL_LIBSTDCPP dependency

In reply to Thomas Petazzoni

Hello,

package/python-treq/Config.in config BR2_PACKAGE_PYTHON_TREQ · line 11

Quoted 12 lines · Thomas Petazzoni
package/python-treq/Config.in +1 -0
index a8590a9..d560ba3 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_PYTHON_TREQ
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_TWISTED # runtime
 	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
 	help
 	  treq is an HTTP library inspired by requests but written on
 	  top of Twisted's Agents.  It provides a simple, higher level

Same here, I've added the Config.in comment for the dependency, which was missing in my patch, and applied to master.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com