Skip to contentSkip to conversation

gtest: needs mmu

PATCH New Gustavo Zacarias 2 participants 7 messages Mar 29, 2013 – Mar 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 gtest: needs mmu

Fixes:
http://autobuild.buildroot.net/results/ed2026b98d0cdded8d8ee4d5c86823142a5bdab9/

---
 package/gtest/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/gtest/Config.in +1 -0
index c50b5f7..5c065d6 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_GTEST
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_MMU # fork()
 	help
 	  Google's framework for writing C++ tests on a variety of
 	  platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/6 orc: needs threads

Fixes:
http://autobuild.buildroot.net/results/b44c09c7ca81b16267ad653e65f52c4e5ec7b36f/

---
 package/orc/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/orc/Config.in +4 -0
index 1de0f23..022c455 100644
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_ORC
 	bool "orc"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Orc is a library and set of tools for compiling and executing
 	  very simple programs that operate on arrays of data.
 
 	  http://code.entropywave.com/projects/orc/
+
+comment "orc requires a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.5
#2 lore raw

PATCH 3/6 intltool: host variant needs host-gettext

In reply to Gustavo Zacarias

Fixes issues like:
http://autobuild.buildroot.net/results/1c7d2e50b622179aff469fddedaa4dc2015fb496/
http://autobuild.buildroot.net/results/7d85ff51b339f1da720bb079eb05e7fba179f101/
and probably a lot more.

---
 package/intltool/intltool.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/intltool/intltool.mk +1 -1
index 19b5238..1a32a79 100644
@@ -8,7 +8,7 @@ INTLTOOL_VERSION = 0.40.6
 INTLTOOL_SOURCE = intltool-$(INTLTOOL_VERSION).tar.bz2
 INTLTOOL_SITE = http://ftp.acc.umu.se/pub/GNOME/sources/intltool/0.40/
 
-HOST_INTLTOOL_DEPENDENCIES = host-libxml-parser-perl
+HOST_INTLTOOL_DEPENDENCIES = host-gettext host-libxml-parser-perl
 HOST_INTLTOOL_CONF_OPT = \
   PERLLIB=$(HOST_DIR)/usr/lib/perl
 
Signature · 1 line
1.8.1.5
#3 lore raw

PATCH 4/6 genimage: needs host-pkgconf

In reply to Gustavo Zacarias

Fixes:
http://autobuild.buildroot.net/results/1561c26e45d0604f058eb0c7a8bebf08d4abe756/

---
 package/genimage/genimage.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/genimage/genimage.mk +1 -1
index 6ed44a4..2c45a8d 100644
@@ -7,7 +7,7 @@
 GENIMAGE_VERSION        = 4
 GENIMAGE_SOURCE         = genimage-$(GENIMAGE_VERSION).tar.xz
 GENIMAGE_SITE           = http://www.pengutronix.de/software/genimage/download/
-GENIMAGE_DEPENDENCIES   = libconfuse
+GENIMAGE_DEPENDENCIES   = host-pkgconf libconfuse
 GENIMAGE_LICENSE        = GPLv2
 
 $(eval $(host-autotools-package))
Signature · 1 line
1.8.1.5
#4 lore raw

PATCH 5/6 socat: needs threads

In reply to Gustavo Zacarias

Fixes:
http://autobuild.buildroot.net/results/d2231d0db9cebfa77739a229513035ed6814f34c/

---
 package/socat/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/socat/Config.in +4 -0
index ae88be9..c478282 100644
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_SOCAT
 	bool "socat"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Multipurpose socket relay program.
 
 	  http://www.dest-unreach.org/socat/
+
+comment "socat requires a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.5
#5 lore raw

PATCH 6/6 libpthsem: needs mmu

In reply to Gustavo Zacarias

The need can be patched out by disabling the tests, however the only package that uses libpthsem (bcusdk) needs a fork-enabled libpthsem so there's not much point. Fixes:

---
 package/bcusdk/Config.in    | 1 +
 package/libpthsem/Config.in | 1 +
 2 files changed, 2 insertions(+)
package/bcusdk/Config.in +1 -0
index cf082e7..c9a1947 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_BCUSDK
 	bool "bcusdk"
+	depends on BR2_USE_MMU # libpthsem
 	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_LIBPTHSEM
 	help
package/libpthsem/Config.in +1 -0
index 9ab13c3..ae1c78f 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBPTHSEM
 	bool "libpthsem"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_ARGP_STANDALONE
 	help
 	  GNU pth is a user mode multi threading library. pthsem is an extend
Signature · 1 line
1.8.1.5