Skip to contentSkip to conversation

rabbitmq-c: needs a toolchain with posix_spawn support

PATCH Superseded Joris Lijssens 2 participants 2 messages Jan 14, 2016

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rabbitmq-c: needs a toolchain with posix_spawn support

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

---
 package/rabbitmq-c/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/rabbitmq-c/Config.in +4 -0
index b330c90..73e3909 100644
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_RABBITMQ_C
 	bool "rabbitmq-c"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# disable rabbitmq-c on blackfin, because it doesn't support
+	# posix_spawn :
+	# http://autobuild.buildroot.net/results/a6c3e79c61c5a535970d03bf37b068349f766a7f/
+	depends on !BR2_bfin
 	help
 	  This is a C-language AMQP client library for use with v2.0+
 	  of the RabbitMQ broker.
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH v2 1/1 rabbitmq-c: needs a toolchain with posix_spawn support

Joris,

Quoted 3 lines · Joris Lijssens

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

The empty line separating the commit log from the SoB line is still missing.

Quoted 9 lines
---
 package/rabbitmq-c/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/rabbitmq-c/Config.in +0 -0
index b330c90..73e3909 100644

package/rabbitmq-c/Config.in line 7

Quoted 7 lines
package/rabbitmq-c/Config.in +4 -0
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_RABBITMQ_C
 	bool "rabbitmq-c"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# disable rabbitmq-c on blackfin, because it doesn't support
+	# posix_spawn :
+	# http://autobuild.buildroot.net/results/a6c3e79c61c5a535970d03bf37b068349f766a7f/
+	depends on !BR2_bfin

I think this should rather be:

	# too old uClibc, not providing posix_spawn functions
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX

because theoretically, a different Blackfin toolchain using a newer uClibc version would have spawn.h.

Also, the rabbitmq-c package has a comment that you need to update:

comment "rabbitmq-c needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

should be changed to:

comment "rabbitmq-c needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX depends on !BR2_TOOLCHAIN_HAS_THREADS

Thomas

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