Patchwork [1/2] gnupg: add libusb to DEPENDS

login
register
mail settings
Submitter Tom Zanussi
Date June 6, 2012, 1:53 p.m.
Message ID <73f473e10d4b1670823ff5b1ec9d8220f2751f9f.1338990374.git.tom.zanussi@intel.com>
Download mbox | patch
Permalink /patch/29285/
State Accepted
Commit fd79e09c90e51a8f454f0fdd837c5141b9eadbde
Headers show

Comments

Tom Zanussi - June 6, 2012, 1:53 p.m.
From: Tom Zanussi <tom.zanussi@intel.com>

gnupg apparently depends on libusb:

| error: Failed dependencies:
| 	 libusb-0.1-4 >= 0.1.3 is needed by gnupg-2.0.18-r1.core2

So add libusb to gnupg DEPENDS.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 meta/recipes-support/gnupg/gnupg_2.0.19.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Elizabeth Flanagan - June 7, 2012, 7:58 p.m.
On Wed, Jun 6, 2012 at 6:53 AM,  <tom.zanussi@intel.com> wrote:
> From: Tom Zanussi <tom.zanussi@intel.com>
>
> gnupg apparently depends on libusb:
>
> | error: Failed dependencies:
> |        libusb-0.1-4 >= 0.1.3 is needed by gnupg-2.0.18-r1.core2
>
> So add libusb to gnupg DEPENDS.
>
> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
> ---
>  meta/recipes-support/gnupg/gnupg_2.0.19.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/gnupg/gnupg_2.0.19.bb b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
> index 1d19fe3..9a0f160 100644
> --- a/meta/recipes-support/gnupg/gnupg_2.0.19.bb
> +++ b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
> @@ -4,8 +4,8 @@ LICENSE = "GPLv3 & LGPLv3"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
>                     file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
>
> -DEPENDS = "pth libassuan libksba zlib bzip2 readline libgcrypt"
> -PR = "r0"
> +DEPENDS = "pth libassuan libksba zlib bzip2 readline libgcrypt libusb"

I'm seeing an additional DEPENDS needed here, curl:

| ksutil.c:43:23: fatal error: curl/curl.h: No such file or directory
| compilation terminated.
| make[2]: *** [gpg2keys_finger-ksutil.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| In file included from gpgkeys_finger.c:46:0:
| ksutil.h:35:ERROR: Function failed: do_compile (see
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/work/x86_64-poky-linux/gnupg-2.0.19-r2/temp/log.do_compile.11537
for further information)
| 23: fatal error: curl/curl.h: No such file or directory
| compilation terminated.
| make[2]: *** [gpg2keys_finger-gpgkeys_finger.o] Error 1
| gpgkeys_hkp.c: In function 'srv_replace':
| gpgkeys_hkp.c:510:7: warning: variable 'srvcount' set but not used
[-Wunused-but-set-variable]
| make[2]: Leaving directory
`/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/work/x86_64-poky-linux/gnupg-2.0.19-r2/gnupg-2.0.19/keyserver'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/work/x86_64-poky-linux/gnupg-2.0.19-r2/gnupg-2.0.19'
| make: *** [all] Error 2
| ERROR: oe_runmake failed

> +PR = "r1"
>
>  inherit autotools gettext
>
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Elizabeth Flanagan - June 11, 2012, 5:41 p.m.
On Wed, Jun 6, 2012 at 6:53 AM,  <tom.zanussi@intel.com> wrote:
> From: Tom Zanussi <tom.zanussi@intel.com>
>
> gnupg apparently depends on libusb:
>
> | error: Failed dependencies:
> |        libusb-0.1-4 >= 0.1.3 is needed by gnupg-2.0.18-r1.core2
>
> So add libusb to gnupg DEPENDS.
>
> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
> ---
>  meta/recipes-support/gnupg/gnupg_2.0.19.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/gnupg/gnupg_2.0.19.bb b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
> index 1d19fe3..9a0f160 100644
> --- a/meta/recipes-support/gnupg/gnupg_2.0.19.bb
> +++ b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
> @@ -4,8 +4,8 @@ LICENSE = "GPLv3 & LGPLv3"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
>                     file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
>
> -DEPENDS = "pth libassuan libksba zlib bzip2 readline libgcrypt"
> -PR = "r0"
> +DEPENDS = "pth libassuan libksba zlib bzip2 readline libgcrypt libusb"
> +PR = "r1"
>
>  inherit autotools gettext
>
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Merged into OE-Core

Thanks

-b

Patch

diff --git a/meta/recipes-support/gnupg/gnupg_2.0.19.bb b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
index 1d19fe3..9a0f160 100644
--- a/meta/recipes-support/gnupg/gnupg_2.0.19.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
@@ -4,8 +4,8 @@  LICENSE = "GPLv3 & LGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
                     file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
 
-DEPENDS = "pth libassuan libksba zlib bzip2 readline libgcrypt"
-PR = "r0"
+DEPENDS = "pth libassuan libksba zlib bzip2 readline libgcrypt libusb"
+PR = "r1"
 
 inherit autotools gettext