Re: [oe] [linux-yocto] [OE-core] How to integrate third party application software to yocto image

2016-03-05 Thread Burton, Ross
This thread doesn't belong on any of the lists that you were sending it to,
so I'm sending it to oe-devel now.

On 5 March 2016 at 05:49,  wrote:

> Thanks for your valuable time...As you said, I added “meta-oe” layer in
> “bblayers.conf” . Now that Error got disappeared. Now it spits out the
> following error..
>
> winiston@winiston-VirtualBox:~/poky/build$ bitbake qt4e-demo-image
> Loading cache: 100% |##| ETA:  00:00:00
> Loaded 2176 entries from dependency cache.
> ERROR: ParseError at
> /home/winiston/poky/meta-oe/recipes-connectivity/networkmanager/
> networkmanager_1.0.10.bb:12: Could not inherit file
> classes/bash-completion.bbclass
>
>

You're using meta-oe from git master but a release of oe-core.  Use the
corresponding release branch of meta-oe (ie jethro).


> | /home/winiston/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-
> linux-gnueabi/navit/1_0.2.0+svnr5310-r11.3/navit/navit/
> vehicle/gpsd/vehicle_gpsd.c:130:40: error: 'struct gps_data_t' has no
> member named 'ss'
> | if (data->ss[i] > 0)
> | ^
> |
> /home/winiston/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/navit/1_0.2.0+svnr5310-r11.3/navit/navit/vehicle/gpsd/vehicle_gpsd.c:
> In function 'vehicle_gpsd_io':
> |
> /home/winiston/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/navit/1_0.2.0+svnr5310-r11.3/navit/navit/vehicle/gpsd/vehicle_gpsd.c:321:23:
> warning: assignment discards 'const' qualifier from pointer target type
> [-Wdiscarded-qualifiers]
> |buf = gps_data(priv->gps);
> |^
> | make[5]: *** [vehicle_gpsd.lo] Error 1
> | make[5]: Leaving directory
> `/home/winiston/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/navit/1_0.2.0+svnr5310-r11.3/build/navit/vehicle/gpsd'
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (log file is located at
> /home/winiston/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/navit/1_0.2.0+svnr5310-r11.3/temp/log.do_compile.3665)
> ERROR: Task 268 (/home/winiston/poky/meta-oe/recipes-navigation/navit/
> navit_svn.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 3468 tasks of which 3467 didn't need to be
> rerun and 1 failed.
> No currently running tasks (3467 of 3645)
>
> Summary: 1 task failed:
>   /home/winiston/poky/meta-oe/recipes-navigation/navit/navit_svn.bb,
> do_compile
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> winiston@winiston-VirtualBox:~/poky/build$
>
> *I can not justify what is the error? Does “networkmanager_1.0.10.bb
> ” require for building “Navit” ?*
> *I would be very thankful, if you resolve the above problem.*
>

Looks like gpsd has changed its API and nobody updated navit.  It's quite
likely that downgrading gpsd by moving from meta-oe master to a release
branch will fix this.

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


[oe] [meta-python][jethro][fido][PATCH] python-m2crypto: fix SSLv2 symbol issue

2016-03-05 Thread Armin Kuster
From: Armin Kuster 

ERROR: Failed to import the "M2Crypto" module: 
.../usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: 
SSLv2_method

disable using SSLv2_method if not supported in openssl. This is now the case
with the advent of CVE-2016-0800

Signed-off-by: Armin Kuster 
---
 ...y_build_with_SSLv2_when_it_is_not_available.patch | 20 
 .../python/python-m2crypto_0.21.1.bb |  4 +++-
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch

diff --git 
a/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
 
b/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
new file mode 100644
index 000..526c23f
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python-m2crypto/dont_try_build_with_SSLv2_when_it_is_not_available.patch
@@ -0,0 +1,20 @@
+Upstream-Status: Backport
+https://gitlab.com/m2crypto/m2crypto/commit/ac01b38302474920288c1a9eb63fd35fa8d1db5b
+
+Signed-off-by: Armin Kuster 
+
+Index: M2Crypto-0.21.1/SWIG/_ssl.i
+===
+--- M2Crypto-0.21.1.orig/SWIG/_ssl.i
 M2Crypto-0.21.1/SWIG/_ssl.i
+@@ -48,8 +48,10 @@ extern const char *SSL_alert_desc_string
+ %rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long;
+ extern const char *SSL_alert_desc_string_long(int);
+ 
++#ifndef OPENSSL_NO_SSL2
+ %rename(sslv2_method) SSLv2_method;
+ extern SSL_METHOD *SSLv2_method(void);
++#endif
+ %rename(sslv3_method) SSLv3_method;
+ extern SSL_METHOD *SSLv3_method(void);
+ %rename(sslv23_method) SSLv23_method;
diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb 
b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
index ff6203f..7dfa8d8 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
+++ b/meta-python/recipes-devtools/python/python-m2crypto_0.21.1.bb
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
 
 SRC_URI = 
"http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-${PV}.tar.gz \
file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \
-   file://0001-M2Crypto-Error-fix.patch"
+   file://0001-M2Crypto-Error-fix.patch \
+   file://dont_try_build_with_SSLv2_when_it_is_not_available.patch"
 
 SRC_URI[md5sum] = "f93d8462ff7646397a9f77a2fe602d17"
 SRC_URI[sha256sum] = 
"25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a"
@@ -19,6 +20,7 @@ inherit setuptools
 
 SWIG_FEATURES_x86-64 = "-D__x86_64__"
 SWIG_FEATURES ?= ""
+SWIG_FEATURES += "OPENSSL_NO_SSL2"
 export SWIG_FEATURES
 
 # Get around a problem with swig, but only if the
-- 
2.3.5

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


[oe] [meta-multimedia][PATCH] libao: update to 1.2.0

2016-03-05 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../recipes-multimedia/libao/{libao_1.1.0.bb => libao_1.2.0.bb} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-multimedia/recipes-multimedia/libao/{libao_1.1.0.bb => 
libao_1.2.0.bb} (86%)

diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
b/meta-multimedia/recipes-multimedia/libao/libao_1.2.0.bb
similarity index 86%
rename from meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
rename to meta-multimedia/recipes-multimedia/libao/libao_1.2.0.bb
index 04e8461..3991f02 100644
--- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.2.0.bb
@@ -8,11 +8,12 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz";
-SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8"
-SRC_URI[sha256sum] = 
"29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4"
+SRC_URI[md5sum] = "9f5dd20d7e95fd0dd72df5353829f097"
+SRC_URI[sha256sum] = 
"03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf"
 
 inherit autotools
 
+PACKAGES += "${BPN}-ckport"
 PACKAGES_DYNAMIC += "^${BPN}-plugin-.*"
 
 do_install_append () {
@@ -30,3 +31,4 @@ PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 
'pulseaudio', 'pulseaudio'
 PACKAGECONFIG[esound] = "--enable-esd,--disable-esd,esound"
 PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
 PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
+FILES_${BPN}-ckport = "${libdir}/ckport"
-- 
1.9.1

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


Re: [oe] [meta-oe][PATCH v2 1/2] efivar: update to 0.23

2016-03-05 Thread Martin Jansa
On Fri, Mar 04, 2016 at 04:09:14PM +0100, Martin Jansa wrote:
> On Fri, Mar 04, 2016 at 03:16:22PM +0100, Koen Kooi wrote:
> > On 4 March 2016 at 14:34, Martin Jansa  wrote:
> > > On Fri, Mar 04, 2016 at 08:14:54AM +0100, Koen Kooi wrote:
> > >> Upstream removed the use of the nvme headers completely, so no more 
> > >> conflicts. Also drop gcc options patch, ubuntu 12.04 is too old to 
> > >> support in meta-oe/master.
> > >
> > > This fails to build static version, when no-static-libs.inc is used
> > > (e.g. default in Poky).
> > >
> > > Can you either disable static in popt or change efivar to respect
> > > --disable-static (if possible)?
> > 
> > I've patched out the static build in v3, that should fix this.
> 
> Thanks for quick updated, applied in master-next with small indentation
> fix.

Well, almost there

one build failed with:
| i586-oe-linux-gcc  -m32 -march=i586
--sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86
-O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/efivar/0.23-r0/git=/usr/src/efivar
-fdebug-prefix-map=/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/efivar/0.23-r0/git=/usr/src/efivar
-fdebug-prefix-map=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux=
-fdebug-prefix-map=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86=
-I/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/efivar/0.23-r0/git/src/include/efivar/
-specs=/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/efivar/0.23-r0/git/gcc.specs
-L.  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -shared \
| -Wl,-soname,libefivar.so.0 \
| -o libefivar.so dp.o dp-acpi.o dp-hw.o dp-media.o dp-message.o
efivarfs.o export.o guid.o guids.o guid-symbols.o lib.o vars.o -ldl
|
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.3.0/ld:
--default-symver: unknown option
|
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/5.3.0/ld:
use the --help option for usage information
| collect2: error: ld returned 1 exit status
| make[1]: *** [libefivar.so] Error 1
| make[1]: *** Waiting for unfinished jobs

2nd one failed with:

| install -d -m 755 efivar/0.23-r0/image/usr/lib/pkgconfig/
| install -m 644 efivar.pc efivar/0.23-r0/image/usr/lib/pkgconfig/
;  install -m 644 efiboot.pc efivar/0.23-r0/image/usr/lib/pkgconfig/
;
| install: cannot stat 'efivar.pc': No such file or directory
| install: cannot stat 'efiboot.pc': No such file or directory
| make[1]: *** [install] Error 1
| make[1]: Leaving directory `efivar/0.23-r0/git/src'
| make: *** [install] Error 2
| ERROR: oe_runmake failed


> > > 5.3.0/ld: cannot find -lpopt
> > > | collect2: error: ld returned 1 exit status
> > > | make[1]: *** [efivar-static] Error 1
> > > | make[1]: *** Waiting for unfinished jobs
> > >
> > >
> > >>
> > >> Signed-off-by: Koen Kooi 
> > >> ---
> > >>  .../efivar/0001-efivar-fix-for-cross-compile.patch | 21 +++
> > >>  ...ptions-not-supported-by-lower-version-gcc.patch | 71 
> > >> --
> > >>  meta-oe/recipes-extended/efivar/efivar_0.21.bb | 39 
> > >>  meta-oe/recipes-extended/efivar/efivar_0.23.bb | 36 +++
> > >>  4 files changed, 45 insertions(+), 122 deletions(-)
> > >>  delete mode 100644 
> > >> meta-oe/recipes-extended/efivar/efivar/efivar-drop-options-not-supported-by-lower-version-gcc.patch
> > >>  delete mode 100644 meta-oe/recipes-extended/efivar/efivar_0.21.bb
> > >>  create mode 100644 meta-oe/recipes-extended/efivar/efivar_0.23.bb
> > >>
> > >> diff --git 
> > >> a/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
> > >>  
> > >> b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
> > >> index 4bd7d95..b02edd9 100644
> > >> --- 
> > >> a/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
> > >> +++ 
> > >> b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
> > >> @@ -12,20 +12,17 @@ Signed-off-by: Kai Kang 
> > >>   1 file changed, 2 insertions(+), 2 deletions(-)
> > >>
> > >>  diff --git a/src/Makefile b/src/Makefile
> > >> -index 6eac858..ef4eb1d 100644
> > >> +index 5fc7887..1829d22 100644
> > >>  --- a/src/Makefile
> > >>  +++ b/src/Makefile
> > >> -@@ -65,8 +65,8 @@ makeguids.o : makeguids.c
> > >> - makeguids : makeguids.o fakeguid.o
> > >> - $(CC) $(cflags) -o $@ $^ -ldl
> > >> -
> > >> +@@ -29,8 +29,8 @@ all : deps $(TARGETS)
> > >> + ./guid-symbols.c : include/efivar/efivar-guids.h
> > >> + ./guids.bin : include/efivar/efivar-guids.h
> > >> + ./names.bin : include/efivar/efivar-guids.h
> > >>  -include/efivar/efivar-guids.h : makeguids guids.txt
> > >> --./makeguids guids.txt guids.bin names.bin guid-symbols.S $@
> > >> +-./makeguids guids.txt guids.bin names.bin \
> > >>  +include/ef

[oe] [meta-webserver][PATCHv2] nginx: update to 1.9.12

2016-03-05 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 .../recipes-httpd/nginx/{nginx_1.9.11.bb => nginx_1.9.12.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-webserver/recipes-httpd/nginx/{nginx_1.9.11.bb => nginx_1.9.12.bb} 
(96%)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.9.11.bb 
b/meta-webserver/recipes-httpd/nginx/nginx_1.9.12.bb
similarity index 96%
rename from meta-webserver/recipes-httpd/nginx/nginx_1.9.11.bb
rename to meta-webserver/recipes-httpd/nginx/nginx_1.9.12.bb
index 8b60e53..d18f82b 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx_1.9.11.bb
+++ b/meta-webserver/recipes-httpd/nginx/nginx_1.9.12.bb
@@ -19,8 +19,8 @@ SRC_URI = " \
file://nginx-volatile.conf \
file://nginx.service \
 "
-SRC_URI[md5sum] = "76eb5853a1190e0cfc691aa21c545de3"
-SRC_URI[sha256sum] = 
"6a5c72f4afaf57a6db064bba0965d72335f127481c5d4e64ee8714e7b368a51f"
+SRC_URI[md5sum] = "0afe4a7e589a0de43b7b54aa055a4351"
+SRC_URI[sha256sum] = 
"1af2eb956910ed4b11aaf525a81bc37e135907e7127948f9179f5410337da042"
 
 inherit update-rc.d useradd
 
-- 
1.9.1

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