Re: [oe] [PATCH 2/2] polkit: 0.113 -> 0.115

2018-07-15 Thread Hongxu Jia

On 2018年07月16日 12:41, Khem Raj wrote:

This fails with

| checking for LIBELOGIND... no
| configure: error: Package requirements (libelogind) were not met:
|


Sorry for not finding the failure earlier, my build is systemd
by default.
...
AC_ARG_ENABLE([libelogind],
[AS_HELP_STRING([--enable-libelogind[=@<:@auto/yes/no@:>@]], [Use 
libelogind (auto/yes/no)])],

  [enable_libelogind=$enableval],
  [enable_libelogind=auto])
dnl Using libelogind makes no sense when libsystemd-login is already in use
if test "$have_libsystemd" = "yes"; then
  enable_libelogind=no
fi
if test "$enable_libelogind" != "no"; then
  PKG_CHECK_MODULES([LIBELOGIND],
    [libelogind],
    [have_libelogind=yes])
  if test "$have_libelogind" = "yes"; then
  SESSION_TRACKING=libelogind
  fi
fi
...

V2 incoming.

//Hongxu


| Package 'libelogind', required by 'virtual:world', not found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables LIBELOGIND_CFLAGS
| and LIBELOGIND_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| NOTE: The following config.log files may provide further information.
| NOTE: 
/mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/polkit/0.115-r0/build/config.log
| ERROR: configure failed


On Fri, Jul 13, 2018 at 8:45 AM Hongxu Jia  wrote:

- Rebase patches to 0.115
   0001-make-netgroup-support-configurable.patch
   polkit-1_pam.patch

Signed-off-by: Hongxu Jia 
---
  .../0001-make-netgroup-support-configurable.patch  | 56 --
  .../polkit/polkit/polkit-1_pam.patch   | 18 +--
  meta-oe/recipes-extended/polkit/polkit_0.113.bb| 51 
  meta-oe/recipes-extended/polkit/polkit_0.115.bb| 52 
  4 files changed, 88 insertions(+), 89 deletions(-)
  delete mode 100644 meta-oe/recipes-extended/polkit/polkit_0.113.bb
  create mode 100644 meta-oe/recipes-extended/polkit/polkit_0.115.bb

diff --git 
a/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
 
b/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
index 4e3af87..3b0ef5e 100644
--- 
a/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
+++ 
b/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
@@ -12,16 +12,19 @@ Signed-off-by: Khem Raj 
  ---
  Upstream-Status: Pending

+Rebase to 0.115
+Signed-off-by: Hongxu Jia 
+---
   configure.ac  | 2 +-
   src/polkitbackend/polkitbackendinteractiveauthority.c | 6 +-
- src/polkitbackend/polkitbackendjsauthority.c  | 5 ++---
- 3 files changed, 8 insertions(+), 5 deletions(-)
+ src/polkitbackend/polkitbackendjsauthority.cpp| 2 ++
+ 3 files changed, 8 insertions(+), 2 deletions(-)

  diff --git a/configure.ac b/configure.ac
-index 07982d1..21590b2 100644
+index 8b3e1b1..1c392df 100644
  --- a/configure.ac
  +++ b/configure.ac
-@@ -158,7 +158,7 @@ AC_CHECK_LIB(expat,XML_ParserCreate,[EXPAT_LIBS="-lexpat"],
+@@ -99,7 +99,7 @@ AC_CHECK_LIB(expat,XML_ParserCreate,[EXPAT_LIBS="-lexpat"],
  [AC_MSG_ERROR([Can't find expat library. Please install expat.])])
   AC_SUBST(EXPAT_LIBS)

@@ -31,10 +34,10 @@ index 07982d1..21590b2 100644
   if test "x$GCC" = "xyes"; then
 LDFLAGS="-Wl,--as-needed $LDFLAGS"
  diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c 
b/src/polkitbackend/polkitbackendinteractiveauthority.c
-index 7019356..cf39d77 100644
+index cb6fdab..de3f752 100644
  --- a/src/polkitbackend/polkitbackendinteractiveauthority.c
  +++ b/src/polkitbackend/polkitbackendinteractiveauthority.c
-@@ -2213,7 +2213,7 @@ get_users_in_group (PolkitIdentity
*group,
+@@ -2224,7 +2224,7 @@ get_users_in_group (PolkitIdentity
*group,
out:
 return ret;
   }
@@ -43,7 +46,7 @@ index 7019356..cf39d77 100644
   static GList *
   get_users_in_net_group (PolkitIdentity*group,
   gboolean   include_root)
-@@ -2270,6 +2270,8 @@ get_users_in_net_group (PolkitIdentity   
 *group,
+@@ -2285,6 +2285,8 @@ get_users_in_net_group (PolkitIdentity   
 *group,
 return ret;
   }

@@ -52,7 +55,7 @@ index 7019356..cf39d77 100644
   /* 

 */

   static void
-@@ -2355,10 +2357,12 @@ authentication_agent_initiate_challenge 
(AuthenticationAgent *agent,
+@@ -2369,10 +2371,12 @@ authentication_agent_initiate_challenge 
(AuthenticationAgent *agent,
   {
 user_identities = g_list_concat (user_identities, 
get_users_in_group (identity, FALSE));
   }
@@ -65,43 +68,26 @@ index 7019356..cf39d77 

[oe] [meta-oe][PATCH] bonnie++: Upgrade to 1.04

2018-07-15 Thread mingli.yu
From: Mingli Yu 

Signed-off-by: Mingli Yu 
---
 .../bonnie/{bonnie++_1.03e.bb => bonnie++_1.04.bb} | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-benchmark/bonnie/{bonnie++_1.03e.bb => 
bonnie++_1.04.bb} (73%)

diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb 
b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb
similarity index 73%
rename from meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
rename to meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb
index 2c1217e34..d7583f076 100644
--- a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
+++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb
@@ -4,11 +4,10 @@ SECTION = "benchmark/tests"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0"
 
-SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \
-   file://gcc-4.3-fixes.patch \
+SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}_${PV}.tgz \
 "
-SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968"
-SRC_URI[sha256sum] = 
"cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb"
+SRC_URI[md5sum] = "1414aab86e2db1b4691bd4be82031012"
+SRC_URI[sha256sum] = 
"507bd2ce5360c7c98b91b0fdc2bed5c9320b5c9699f7d4a3d1c86b256896c15e"
 
 inherit autotools-brokensep
 
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 2/2] polkit: 0.113 -> 0.115

2018-07-15 Thread Khem Raj
This fails with

| checking for LIBELOGIND... no
| configure: error: Package requirements (libelogind) were not met:
|
| Package 'libelogind', required by 'virtual:world', not found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables LIBELOGIND_CFLAGS
| and LIBELOGIND_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| NOTE: The following config.log files may provide further information.
| NOTE: 
/mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/polkit/0.115-r0/build/config.log
| ERROR: configure failed


On Fri, Jul 13, 2018 at 8:45 AM Hongxu Jia  wrote:
>
> - Rebase patches to 0.115
>   0001-make-netgroup-support-configurable.patch
>   polkit-1_pam.patch
>
> Signed-off-by: Hongxu Jia 
> ---
>  .../0001-make-netgroup-support-configurable.patch  | 56 
> --
>  .../polkit/polkit/polkit-1_pam.patch   | 18 +--
>  meta-oe/recipes-extended/polkit/polkit_0.113.bb| 51 
>  meta-oe/recipes-extended/polkit/polkit_0.115.bb| 52 
>  4 files changed, 88 insertions(+), 89 deletions(-)
>  delete mode 100644 meta-oe/recipes-extended/polkit/polkit_0.113.bb
>  create mode 100644 meta-oe/recipes-extended/polkit/polkit_0.115.bb
>
> diff --git 
> a/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
>  
> b/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
> index 4e3af87..3b0ef5e 100644
> --- 
> a/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
> +++ 
> b/meta-oe/recipes-extended/polkit/polkit/0001-make-netgroup-support-configurable.patch
> @@ -12,16 +12,19 @@ Signed-off-by: Khem Raj 
>  ---
>  Upstream-Status: Pending
>
> +Rebase to 0.115
> +Signed-off-by: Hongxu Jia 
> +---
>   configure.ac  | 2 +-
>   src/polkitbackend/polkitbackendinteractiveauthority.c | 6 +-
> - src/polkitbackend/polkitbackendjsauthority.c  | 5 ++---
> - 3 files changed, 8 insertions(+), 5 deletions(-)
> + src/polkitbackend/polkitbackendjsauthority.cpp| 2 ++
> + 3 files changed, 8 insertions(+), 2 deletions(-)
>
>  diff --git a/configure.ac b/configure.ac
> -index 07982d1..21590b2 100644
> +index 8b3e1b1..1c392df 100644
>  --- a/configure.ac
>  +++ b/configure.ac
> -@@ -158,7 +158,7 @@ 
> AC_CHECK_LIB(expat,XML_ParserCreate,[EXPAT_LIBS="-lexpat"],
> +@@ -99,7 +99,7 @@ AC_CHECK_LIB(expat,XML_ParserCreate,[EXPAT_LIBS="-lexpat"],
>  [AC_MSG_ERROR([Can't find expat library. Please install 
> expat.])])
>   AC_SUBST(EXPAT_LIBS)
>
> @@ -31,10 +34,10 @@ index 07982d1..21590b2 100644
>   if test "x$GCC" = "xyes"; then
> LDFLAGS="-Wl,--as-needed $LDFLAGS"
>  diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c 
> b/src/polkitbackend/polkitbackendinteractiveauthority.c
> -index 7019356..cf39d77 100644
> +index cb6fdab..de3f752 100644
>  --- a/src/polkitbackend/polkitbackendinteractiveauthority.c
>  +++ b/src/polkitbackend/polkitbackendinteractiveauthority.c
> -@@ -2213,7 +2213,7 @@ get_users_in_group (PolkitIdentity
> *group,
> +@@ -2224,7 +2224,7 @@ get_users_in_group (PolkitIdentity
> *group,
>out:
> return ret;
>   }
> @@ -43,7 +46,7 @@ index 7019356..cf39d77 100644
>   static GList *
>   get_users_in_net_group (PolkitIdentity*group,
>   gboolean   include_root)
> -@@ -2270,6 +2270,8 @@ get_users_in_net_group (PolkitIdentity 
>*group,
> +@@ -2285,6 +2285,8 @@ get_users_in_net_group (PolkitIdentity 
>*group,
> return ret;
>   }
>
> @@ -52,7 +55,7 @@ index 7019356..cf39d77 100644
>   /* 
> 
>  */
>
>   static void
> -@@ -2355,10 +2357,12 @@ authentication_agent_initiate_challenge 
> (AuthenticationAgent *agent,
> +@@ -2369,10 +2371,12 @@ authentication_agent_initiate_challenge 
> (AuthenticationAgent *agent,
>   {
> user_identities = g_list_concat (user_identities, 
> get_users_in_group (identity, FALSE));
>   }
> @@ -65,43 +68,26 @@ index 7019356..cf39d77 100644
> else
>   {
> g_warning ("Unsupported identity");
> -diff --git a/src/polkitbackend/polkitbackendjsauthority.c 
> b/src/polkitbackend/polkitbackendjsauthority.c
> -index 097dcc5..e59b3f7 100644
>  a/src/polkitbackend/polkitbackendjsauthority.c
> -+++ b/src/polkitbackend/polkitbackendjsauthority.c
> -@@ -1498,7 +1498,6 @@ js_polkit_spawn (JSContext  *cx,
> -
> - /* 
> 
>  */
> -
> --
> - static JSBool
> - 

Re: [oe] [meta-networking][PATCH] tgt: Migrate recipe from meta-openstack layer

2018-07-15 Thread Yu, Mingli



On 2018年07月14日 02:47, Khem Raj wrote:

On 7/13/18 12:35 PM, Jagadeesh Krishnanjanappa wrote:

Yes, we need to copy libconfig-general-perl recipe (from meta-openstack) to
meta-networking as well.

Bruce comment:
We have specific version requirements with openstack, so we'll keep the
original
recipe in place in meta-openstack, so you might want to change the short
log of
your patch to "copy recipe from meta-openstack".

Since tgt recipe will continue to exists under meta-openstack layer as
per above comment,
copying it under meta-networking would create duplication. Is it OK?



this is SCSI target framework, in my mind this is neither openstack
specific nor networking specific. same is true for
libconfig-general-perl, however if there are no users of this outside
openstack layer users then its better it stays there, otherwise it
should move to meta-oe


If we won't support the iscsitarget in the future as it needs too much 
change to work with kernel >= 4.14, it should be convenient to move tgt 
to meta-oe.


Thanks,




Regards,
Jagadeesh

On Thu, Jul 12, 2018 at 7:44 PM, Khem Raj mailto:raj.k...@gmail.com>> wrote:

 I guess more recipes needs to be migrated. This fails with

 ERROR: Nothing RPROVIDES 'libconfig-general-perl' (but
 
/mnt/a/oe/sources/meta-openembedded/meta-networking/recipes-support/tgt/tgt_git.bb
 
 RDEPENDS on or otherwise requires it)
 NOTE: Runtime target 'libconfig-general-perl' is unbuildable,
 removing...
 Missing or unbuildable dependency chain was: ['libconfig-general-perl']
 NOTE: Runtime target 'tgt' is unbuildable, removing...
 Missing or unbuildable dependency chain was: ['tgt',
 'libconfig-general-perl']
 ERROR: Nothing RPROVIDES 'tgt-dev' (but
 
/mnt/a/oe/sources/meta-openembedded/meta-networking/recipes-support/tgt/tgt_git.bb
 
 RDEPENDS on or otherwise requires it)
 No eligible RPROVIDERs exist for 'tgt-dev'
 NOTE: Runtime target 'tgt-dev' is unbuildable, removing...
 Missing or unbuildable dependency chain was: ['tgt-dev']


 On Sat, Jul 7, 2018 at 11:26 AM Jagadeesh Krishnanjanappa
 mailto:jkrishnanjana...@mvista.com>>
 wrote:
 >
 > As iscsitarget cannot be built with Linux kernel >= 4.14, so
 > migrate Linux SCSI target framework (tgt) recipe from meta-openstack
 > layer; to allow users to test iSCSI target feature with tgt in
 > meta-networking layer.
 >
 > Signed-off-by: Jagadeesh Krishnanjanappa
 mailto:jkrishnanjana...@mvista.com>>
 > ---
 >  ...-path-of-header-files-check-in-Yocto-buil.patch |  47 +
 >  .../tgt/files/0001-usr-Makefile-WARNING-fix.patch  |  29 ++
 >  .../recipes-support/tgt/files/tgtd.init| 116
 +
 >  ...Makefile-apply-LDFLAGS-to-all-executables.patch |  35 +++
 >  meta-networking/recipes-support/tgt/tgt_git.bb
  |  73 +
 >  5 files changed, 300 insertions(+)
 >  create mode 100644
 
meta-networking/recipes-support/tgt/files/0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch
 >  create mode 100644
 
meta-networking/recipes-support/tgt/files/0001-usr-Makefile-WARNING-fix.patch
 >  create mode 100644
 meta-networking/recipes-support/tgt/files/tgtd.init
 >  create mode 100644
 
meta-networking/recipes-support/tgt/files/usr-Makefile-apply-LDFLAGS-to-all-executables.patch
 >  create mode 100644 meta-networking/recipes-support/tgt/tgt_git.bb
 
 >
 > diff --git
 
a/meta-networking/recipes-support/tgt/files/0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch
 
b/meta-networking/recipes-support/tgt/files/0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch
 > new file mode 100644
 > index 000..173ecb6
 > --- /dev/null
 > +++
 
b/meta-networking/recipes-support/tgt/files/0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch
 > @@ -0,0 +1,47 @@
 > +From 93fea40915d01be6d02587a0b8be85a642e6a8d5 Mon Sep 17 00:00:00
 2001
 > +From: Zhenhua Luo mailto:zhenhua@freescale.com>>
 > +Date: Thu, 10 Apr 2014 11:26:39 +0800
 > +Subject: [PATCH] Correct the path of header files check in Yocto
 build env
 > +
 > +Upstream-Status: Inappropriate [the fix is specific to Yocto
 build env]
 > +
 > +Current Makefile will check headers on host instead of Yocto
 sysroot, following
 > +error appears. Change the path of header check.
 > +| bs_aio.c:34:20: fatal error: libaio.h: No such file or directory
 > +| #include 
 > +| ^
 > +| compilation terminated.
 > +
 > +Signed-off-by: Zhenhua Luo mailto:zhenhua@freescale.com>>
 > +
 > +---
 > + usr/Makefile | 6 +++---
 > + 1 file changed, 3 insertions(+), 3 deletions(-)
 > +
 > +diff --git 

Re: [oe] [PATCH 1/2] mozjs: 17.0.0 -> 52.8.1

2018-07-15 Thread Hongxu Jia

On 2018年07月16日 02:50, Khem Raj wrote:

On Sun, Jul 15, 2018 at 6:41 AM Hongxu Jia  wrote:

On 2018年07月14日 01:31, Khem Raj wrote:

fails for configure
| checking for the Android toolchain directory... not found
| Traceback (most recent call last):
|   File
"/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/../../configure.py",
line 115, in 
| sys.exit(main(sys.argv))
|   File
"/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/../../configure.py",
line 34, in main
| sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
|   File
"/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/python/mozbuild/mozbuild/configure/__init__.py",
line 359, in run
| raise InvalidOptionError('Unknown option: %s' % without_value)
| mozbuild.configure.options.InvalidOptionError: Unknown option:
--disable-static

Hi Khem,

The `--disable-static' option has already been explicitly removed by me

in mozjs 52.8.1, I could not reproduce the failure in my build, would you

please paste the reproduce steps, or result of `bitbake -e mozjs' to trace

where the option come from


If you add

require conf/distro/include/no-static-libs.inc

in your local.conf you will see it. Basically you need to set

DISABLE_STATIC = "" in the recipe and that should take care of it.


Thanks for pointing it out, I will set it in V2


Second look at recipe, I see that it has

ARM_INSTRUCTION_SET = "arm"


Build on qemuarm, without it (using thumb1 specific) still successfully,
I will remove it in V2.

//Hongxu


the failure you see is thumb1 specific, so lets make this thumb1
specific as well
e.g.

ARM_INSTRUCTION_SET_armv5 = "arm"
ARM_INSTRUCTION_SET_armv4 = "arm"



//Hongxu



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/2] mozjs: 17.0.0 -> 52.8.1

2018-07-15 Thread Khem Raj
On Sun, Jul 15, 2018 at 6:41 AM Hongxu Jia  wrote:
>
> On 2018年07月14日 01:31, Khem Raj wrote:
>
> fails for configure
> | checking for the Android toolchain directory... not found
> | Traceback (most recent call last):
> |   File
> "/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/../../configure.py",
> line 115, in 
> | sys.exit(main(sys.argv))
> |   File
> "/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/../../configure.py",
> line 34, in main
> | sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
> |   File
> "/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/python/mozbuild/mozbuild/configure/__init__.py",
> line 359, in run
> | raise InvalidOptionError('Unknown option: %s' % without_value)
> | mozbuild.configure.options.InvalidOptionError: Unknown option:
> --disable-static
>
> Hi Khem,
>
> The `--disable-static' option has already been explicitly removed by me
>
> in mozjs 52.8.1, I could not reproduce the failure in my build, would you
>
> please paste the reproduce steps, or result of `bitbake -e mozjs' to trace
>
> where the option come from
>

If you add

require conf/distro/include/no-static-libs.inc

in your local.conf you will see it. Basically you need to set

DISABLE_STATIC = "" in the recipe and that should take care of it.

Second look at recipe, I see that it has

ARM_INSTRUCTION_SET = "arm"

the failure you see is thumb1 specific, so lets make this thumb1
specific as well
e.g.

ARM_INSTRUCTION_SET_armv5 = "arm"
ARM_INSTRUCTION_SET_armv4 = "arm"


> //Hongxu
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] nanomsg: add recipe

2018-07-15 Thread Carlos Rafael Giani
nanomsg is a socket library that provides several common communication
patterns. It is a rewrite of the ZeroMQ library. For differences between
ZeroMQ and nanomsg, consult https://nanomsg.org/documentation-zeromq.html

Signed-off-by: Carlos Rafael Giani 
---
 .../nanomsg/nanomsg_1.1.4.bb  | 28 +++
 1 file changed, 28 insertions(+)
 create mode 100644 
meta-networking/recipes-connectivity/nanomsg/nanomsg_1.1.4.bb

diff --git a/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.1.4.bb 
b/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.1.4.bb
new file mode 100644
index 0..fa6b43ace
--- /dev/null
+++ b/meta-networking/recipes-connectivity/nanomsg/nanomsg_1.1.4.bb
@@ -0,0 +1,28 @@
+SUMMARY = "nanomsg socket library"
+DESCRIPTION = "nanomsg is a socket library that provides several common \
+communication patterns. It aims to make the networking layer fast, scalable, \
+and easy to use. Implemented in C, it works on a wide range of operating \
+systems with no further dependencies."
+HOMEPAGE = "https://nanomsg.org/;
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://COPYING;md5=587b3fd7fd291e418ff4d2b8f3904755"
+
+SECTION = "libs/networking"
+
+SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https"
+SRCREV = "e7f8a751316b942d8962cd0232c2d606c1d9a9db"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+# nanomsg documentation generation requires asciidoctor,
+# not asciidoc, and currently there's no asciidoctor-native
+# recipe anywhere in openembedded-core or meta-openembedded
+EXTRA_OECMAKE = " -DNN_ENABLE_DOC=OFF "
+
+# we don't want nanomsg-tools to be renamed to libnanomsg-tools
+DEBIAN_NOAUTONAME_${PN}-tools = "1"
+
+PACKAGES =+ "${PN}-tools"
+FILES_${PN}-tools = "${bindir}/*"
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 1/2] mozjs: 17.0.0 -> 52.8.1

2018-07-15 Thread Hongxu Jia

On 2018年07月14日 01:31, Khem Raj wrote:

fails for configure
| checking for the Android toolchain directory... not found
| Traceback (most recent call last):
|   File
"/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/../../configure.py",
line 115, in 
| sys.exit(main(sys.argv))
|   File
"/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/js/src/../../configure.py",
line 34, in main
| sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
|   File
"/mnt/a/oe/build/tmp/work/cortexa7hf-neon-vfpv4-bec-linux-gnueabi/mozjs/52.8.1-r0/mozjs-52.8.1/python/mozbuild/mozbuild/configure/__init__.py",
line 359, in run
| raise InvalidOptionError('Unknown option: %s' % without_value)
| mozbuild.configure.options.InvalidOptionError: Unknown option:
--disable-static


Hi Khem,

The `--disable-static' option has already been explicitly removed by me

in mozjs 52.8.1, I could not reproduce the failure in my build, would you

please paste the reproduce steps, or result of `bitbake -e mozjs' to trace

where the option come from

//Hongxu

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel