Skip to contentSkip to conversation

rabbitmq-server: add missing zip-native DEPENDS

PATCH In review Mark Asselstine 2 participants 2 messages Feb 28, 2014 – Mar 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rabbitmq-server: add missing zip-native DEPENDS

As part of the build there is an attempt to package rabbit_common-0.0.0.ez using zip. If zip isn't present on the build host this will cause an error:

| cp ../rabbitmq-server/include/*.hrl dist/rabbit_common-0.0.0/include/
| (cd dist; zip -q -r rabbit_common-0.0.0.ez rabbit_common-0.0.0)
| /bin/sh: 1: zip: not found

Adding zip-native in the DEPENDS avoids making the assumption that zip is installed on the build host.

---
 meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb +1 -1
index 6a50444..b5796a1 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.rabbitmq.com/"
 LICENSE = "MPL-1.1"
 LIC_FILES_CHKSUM = "file://LICENSE-MPL-RabbitMQ;md5=10a81373a21abb63f98ef5dc93e1601a"
 SECTION = "network"
-DEPENDS = "erlang-native libxslt python-simplejson"
+DEPENDS = "erlang-native libxslt python-simplejson zip-native"
 PR = "r0"
 
 SRC_URI = "http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/${PN}-${PV}.tar.gz \
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 2 lines · Mark Asselstine

As part of the build there is an attempt to package rabbit_common-0.0.0.ez using zip. If zip isn't present on the build host this will cause an error:

I've staged this locally, once I've smoked tested it with a series of other updates, I'll push it to the repo.

Bruce

Quoted 27 lines
| cp ../rabbitmq-server/include/*.hrl dist/rabbit_common-0.0.0/include/
| (cd dist; zip -q -r rabbit_common-0.0.0.ez rabbit_common-0.0.0)
| /bin/sh: 1: zip: not found

Adding zip-native in the DEPENDS avoids making the assumption that zip is installed on the build host.

---
  meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb +1 -1
index 6a50444..b5796a1 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.rabbitmq.com/"
  LICENSE = "MPL-1.1"
  LIC_FILES_CHKSUM = "file://LICENSE-MPL-RabbitMQ;md5=10a81373a21abb63f98ef5dc93e1601a"
  SECTION = "network"
-DEPENDS = "erlang-native libxslt python-simplejson"
+DEPENDS = "erlang-native libxslt python-simplejson zip-native"
  PR = "r0"
 
  SRC_URI = "http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/${PN}-${PV}.tar.gz \