All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-openstack][PATCH] rabbitmq-server: add missing zip-native DEPENDS
@ 2014-02-28 21:17 Mark Asselstine
  2014-03-03 16:36 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Asselstine @ 2014-02-28 21:17 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

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.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb b/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb
index 6a50444..b5796a1 100644
--- a/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb
+++ b/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb
@@ -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 \
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-openstack][PATCH] rabbitmq-server: add missing zip-native DEPENDS
  2014-02-28 21:17 [meta-openstack][PATCH] rabbitmq-server: add missing zip-native DEPENDS Mark Asselstine
@ 2014-03-03 16:36 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2014-03-03 16:36 UTC (permalink / raw)
  To: Mark Asselstine; +Cc: meta-virtualization

On 14-02-28 04:17 PM, Mark Asselstine wrote:
> 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

>
> | 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.
>
> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
> ---
>   meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb b/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb
> index 6a50444..b5796a1 100644
> --- a/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb
> +++ b/meta-openstack/recipes-extended/rabbitmq/rabbitmq-server_3.0.4.bb
> @@ -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 \
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-03 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 21:17 [meta-openstack][PATCH] rabbitmq-server: add missing zip-native DEPENDS Mark Asselstine
2014-03-03 16:36 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.