[oe] [meta-python][PATCH] python-typing: update to version 3.6.1

2017-05-24 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-typing.inc | 4 ++--
 .../python/{python-typing_3.5.3.0.bb => python-typing_3.6.1.bb}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-typing_3.5.3.0.bb => 
python-typing_3.6.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-typing.inc 
b/meta-python/recipes-devtools/python/python-typing.inc
index 49da4fe..12b7d15 100644
--- a/meta-python/recipes-devtools/python/python-typing.inc
+++ b/meta-python/recipes-devtools/python/python-typing.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/python/typing;
 LICENSE = "PSF"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f"
 
-SRC_URI[md5sum] = "3996a747158e5591abf689c1c5f8f9db"
-SRC_URI[sha256sum] = 
"ca2daac7e393e8ee86e9140cd0cf0172ff6bb50ebdf0b06281770f98f31bff21"
+SRC_URI[md5sum] = "3fec97415bae6f742fb3c3013dedeb89"
+SRC_URI[sha256sum] = 
"c36dec260238e7464213dcd50d4b5ef63a507972f5780652e835d0228d0edace"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-typing_3.5.3.0.bb 
b/meta-python/recipes-devtools/python/python-typing_3.6.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-typing_3.5.3.0.bb
rename to meta-python/recipes-devtools/python/python-typing_3.6.1.bb
-- 
2.7.4

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


[oe] [meta-python][PATCH] python-pysocks: update to version 1.6.7

2017-05-24 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-pysocks.inc| 4 ++--
 .../python/{python-pysocks_1.6.6.bb => python-pysocks_1.6.7.bb}   | 0
 .../python/{python3-pysocks_1.6.6.bb => python3-pysocks_1.6.7.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pysocks_1.6.6.bb => 
python-pysocks_1.6.7.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-pysocks_1.6.6.bb => 
python3-pysocks_1.6.7.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-pysocks.inc 
b/meta-python/recipes-devtools/python/python-pysocks.inc
index 5aec6fc..cf9509a 100644
--- a/meta-python/recipes-devtools/python/python-pysocks.inc
+++ b/meta-python/recipes-devtools/python/python-pysocks.inc
@@ -3,8 +3,8 @@ HOMEPAGE = "http://python-requests.org;
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
 
-SRC_URI[md5sum] = "571f4c23982fa86bf0e7a441f1b6c881"
-SRC_URI[sha256sum] = 
"02419a225ff5dcfc3c9695ef8fc9b4d8cc99658e650c6d4718d4c8f451e63f41"
+SRC_URI[md5sum] = "07007ec7ed46292dab06013f2e3af365"
+SRC_URI[sha256sum] = 
"d00329f27efa157db7efe3ca26fcd69033cd61f83822461ee3f8a353b48e33cf"
 
 PYPI_PACKAGE = "PySocks"
 
diff --git a/meta-python/recipes-devtools/python/python-pysocks_1.6.6.bb 
b/meta-python/recipes-devtools/python/python-pysocks_1.6.7.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pysocks_1.6.6.bb
rename to meta-python/recipes-devtools/python/python-pysocks_1.6.7.bb
diff --git a/meta-python/recipes-devtools/python/python3-pysocks_1.6.6.bb 
b/meta-python/recipes-devtools/python/python3-pysocks_1.6.7.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-pysocks_1.6.6.bb
rename to meta-python/recipes-devtools/python/python3-pysocks_1.6.7.bb
-- 
2.7.4

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


[oe] [meta-python][PATCH] python-progress: update to version 1.3 and add RDEPENDS

2017-05-24 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-progress.inc  | 9 +++--
 .../python/{python-progress_1.2.bb => python-progress_1.3.bb}| 0
 .../python/{python3-progress_1.2.bb => python3-progress_1.3.bb}  | 0
 3 files changed, 7 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-progress_1.2.bb => 
python-progress_1.3.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-progress_1.2.bb => 
python3-progress_1.3.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-progress.inc 
b/meta-python/recipes-devtools/python/python-progress.inc
index 80d0a58..297c0d3 100644
--- a/meta-python/recipes-devtools/python/python-progress.inc
+++ b/meta-python/recipes-devtools/python/python-progress.inc
@@ -3,7 +3,12 @@ HOMEPAGE = "http://github.com/verigak/progress/;
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=aef5566ac4fede9815eccf124c281317"
 
-SRC_URI[md5sum] = "c1dbf49a41e80408d3874d976ba894cc"
-SRC_URI[sha256sum] = 
"5b6a50f9ac76820f619d7789b5354881c8c10060a64047e415868d8f503cc2eb"
+SRC_URI[md5sum] = "f65ccfcc2339d522b2dd5801aaa40dc7"
+SRC_URI[sha256sum] = 
"c88d89ee3bd06716a0b8b5504d9c3bcb3c1c0ab98f96dc7f1dc5f56812a4f60a"
+
+RDEPENDS_${PN}_class-target += " \
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-math \
+"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-progress_1.2.bb 
b/meta-python/recipes-devtools/python/python-progress_1.3.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-progress_1.2.bb
rename to meta-python/recipes-devtools/python/python-progress_1.3.bb
diff --git a/meta-python/recipes-devtools/python/python3-progress_1.2.bb 
b/meta-python/recipes-devtools/python/python3-progress_1.3.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-progress_1.2.bb
rename to meta-python/recipes-devtools/python/python3-progress_1.3.bb
-- 
2.7.4

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


[oe] [meta-python][PATCH] python-babel: update to version 2.4.0

2017-05-24 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-babel.inc  | 4 ++--
 .../python/{python-babel_2.3.4.bb => python-babel_2.4.0.bb}   | 0
 .../python/{python3-babel_2.3.4.bb => python3-babel_2.4.0.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python-babel_2.3.4.bb => 
python-babel_2.4.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-babel_2.3.4.bb => 
python3-babel_2.4.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-babel.inc 
b/meta-python/recipes-devtools/python/python-babel.inc
index 866ce78..3789863 100644
--- a/meta-python/recipes-devtools/python/python-babel.inc
+++ b/meta-python/recipes-devtools/python/python-babel.inc
@@ -3,8 +3,8 @@ HOMEPAGE = "http://babel.edgewall.org/;
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e6eeaabc92cfc2d03f53e789324d7292"
 
-SRC_URI[md5sum] = "afa20bc55b0e991833030129ad498f35"
-SRC_URI[sha256sum] = 
"c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875"
+SRC_URI[md5sum] = "90e7a0add19b2036a9b415630a0d9388"
+SRC_URI[sha256sum] = 
"8c98f5e5f8f5f088571f2c6bd88d530e331cbbcb95a7311a0db69d3dca7ec563"
 
 PYPI_PACKAGE = "Babel"
 
diff --git a/meta-python/recipes-devtools/python/python-babel_2.3.4.bb 
b/meta-python/recipes-devtools/python/python-babel_2.4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-babel_2.3.4.bb
rename to meta-python/recipes-devtools/python/python-babel_2.4.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-babel_2.3.4.bb 
b/meta-python/recipes-devtools/python/python3-babel_2.4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-babel_2.3.4.bb
rename to meta-python/recipes-devtools/python/python3-babel_2.4.0.bb
-- 
2.7.4

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


Re: [oe] [meta-oe] [PATCH v4] add php 7.1.0

2017-05-24 Thread gmane

Hi,

On 2016-12-26 16:39, Huang Qiyu wrote:

1)Add php_7.1.0.bb
2)Delete php_5.5.38.bb,since it is Replaced by php_5.6.26.bb.
3)Move pthread-check-threads-m4.patch out of 7.1.0, since it is 
integrated upstream.


Signed-off-by: Huang Qiyu 


I took the latest and greatest php 7.1.0 from master 
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/php


And added php (among other things) to a poky/pyro core-image-sato-sdk 
and built an extensible SDK


bitbake core-image-sato-sdk -c populate_sdk_ext

When I try to install the SDK

./poky-glibc-x86_64-core-image-sato-sdk-armv7a-neon-toolchain-ext-2.3.sh

I get:

Extracting 
SDKdone

Setting it up...
Extracting buildtools...
Preparing build system...
Parsing recipes: 100% 
|#| 
Time: 0:00:41
Initialising tasks: 100% 
|##| 
Time: 0:00:15
Checking sstate mirror object availability: 100% 
|##| 
Time: 0:00:00
WARNING: Logfile for failed setscene task is 
/opt/ext-sdk/poky/2.3/tmp/work/x86_64-linux/php-native/7.1.0-r0/temp/log.do_populate_sysroot_setscene.24207
WARNING: Setscene task 
(virtual:native:/opt/ext-sdk/poky/2.3/layers/multi-v7-ml/recipes-devtools/php.ori/php_7.1.0.bb:do_populate_sysroot_setscene) 
failed with exit code '1' - real task will be run instead

ERROR: Task php-native.do_populate_sysroot_setscene failed
ERROR: SDK preparation failed: error log written to 
/opt/ext-sdk/poky/2.3/preparing_build_system.log


I believe the problem is in:

php_sstate_postinst

In cooker mode I am able to see related warnings like this:

bitbake php-native -c clean && bitbake php-native

you might need to run it twize

NOTE: Executing SetScene Tasks
WARNING: Logfile for failed setscene task is 
/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal-sato-sdk-ext/build/build/tmp/work/x86_64-linux/php-native/7.1.0-r1/temp/log.do_populate_sysroot_setscene.6285
WARNING: Setscene task 
(virtual:native:/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-pyro-multi-v7-core-image-minimal-sato-sdk-ext/build/meta-mainline/multi-v7-ml/recipes-devtools/php/php_7.1.0.bb:do_populate_sysroot_setscene) 
failed with exit code '1' - real task will be run instead

NOTE: Executing RunQueue Tasks

Note that with -c cleansstate or -c cleanall you won't see the warning

I hacked this to make it compile without a warning - not sure it is 
correct:


php_sstate_postinst() {
if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]
then
   head -n1 ${SYSROOT_DESTDIR}${sysconfdir}/pear.conf > 
${SYSROOT_DESTDIR}${sysconfdir}/pear.tmp.conf
   for p in `tail -n1  ${SYSROOT_DESTDIR}${sysconfdir}/pear.conf | 
sed -s 's/;/ /g'`; do
echo $p | awk -F: 'BEGIN {OFS = ":"; ORS = 
";"}{if(NF==3){print $1, length($3)-2*match($3, /^"/), $3} else {print 
$0}}';

done >> ${SYSROOT_DESTDIR}${sysconfdir}/pear.tmp.conf
mv -f ${SYSROOT_DESTDIR}${sysconfdir}/pear.tmp.conf 
${SYSROOT_DESTDIR}/${sysconfdir}/pear.conf

fi
}

Can you please have a look?

Regards,

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


[oe] [meta-oe][PATCH] libteam: Initial support

2017-05-24 Thread Marian Pritsak
libteam is a library for controlling team network device.
Provides utils package for network device configuration.

Signed-off-by: Marian Pritsak 
---
 meta-oe/recipes-support/libteam/libteam_1.26.bb | 33 +
 1 file changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-support/libteam/libteam_1.26.bb

diff --git a/meta-oe/recipes-support/libteam/libteam_1.26.bb 
b/meta-oe/recipes-support/libteam/libteam_1.26.bb
new file mode 100644
index 000..2cb9e8f
--- /dev/null
+++ b/meta-oe/recipes-support/libteam/libteam_1.26.bb
@@ -0,0 +1,33 @@
+SUMMARY = "Library for controlling team network device"
+HOMEPAGE = "http://www.libteam.org/;
+SECTION = "libs/network"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "libnl libdaemon jansson"
+
+SRC_URI = "git://github.com/jpirko/libteam"
+SRCREV = "8c1cea00a21950089058e4e33ea1f7bf4deaddeb"
+
+SRC_URI[md5sum] = "565114d70c41bff6093d8e57be284e8a"
+SRC_URI[sha256sum] = 
"d65286379141db141bea33424ec0507bb0f827a0bf03d9c65004bb593e3d5545"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+FILES_${PN} = "${libdir}/libteam${SOLIBS} \
+"
+
+PACKAGES += "${PN}-dctl ${PN}-utils"
+FILES_${PN}-dctl = "${libdir}/libteamdctl${SOLIBS} \
+"
+FILES_${PN}-utils = "${bindir}/bond2team \
+ ${bindir}/teamd \
+ ${bindir}/teamdctl \
+ ${bindir}/teamnl \
+"
+
+RDEPENDS_${PN}-utils = "bash"
+
-- 
2.7.4

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


Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Jan-Simon Möller
On Wednesday 24 May 2017 20:07:55 Martin Jansa wrote:
> http://sources.openembedded.org/sg3_utils-1.42.tgz -> 200 OK This is what
> counts

+1

Best,
Jan-Simon

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


Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Martin Jansa
http://sources.openembedded.org/sg3_utils-1.42.tgz -> 200 OK This is what
counts

On Wed, May 24, 2017 at 7:53 PM, Jan-Simon Möller  wrote:

> http://sources.openembedded.org/  -> 403 Forbidden
>
> --
>
> Dipl.-Ing.
> Jan-Simon Möller
>
> jansimon.moel...@gmx.de
> On Wednesday 24 May 2017 19:07:59 Martin Jansa wrote:
> > I've fixed it for now.
> >
> > sources.openembedded.org points to /home/home2/jenkins/htdocs/oe-
> sources/
> >
> > While jenkins jobs rsync it to /home5/jenkins/htdocs/oe-sources/,
> >
> > I don't know who moved it or why, so I've just rsynced current state:
> > $ rsync -avir /home5/jenkins/htdocs/oe-sources/
> > /home/home2/jenkins/htdocs/oe-sources/
> >
> > Removed confusing and outdated index* files
> > $ rm -f /home/home2/jenkins/htdocs/oe-sources/index*
> >
> > and some weird empty directories:
> > $ rmdir  fixes i586/ images/ licenses/ opensuse/ opkg/conf opkg pam.d
> > porting prefs scripts share test touchscreen/ x86_64/ iceweasel-branding/
> > arm backport chromium-40/ debian-hacks/ debian1.0.2/ eglibc-2.17/
> > etc/default/ etc/init.d/ etc debian/fixes/ debian/
> >
> > and a bit more:
> > jenkins@milla:/home/home2/jenkins/htdocs/oe-sources$ find home/
> > home/
> > home/jenkins
> > home/jenkins/oe
> > home/jenkins/oe/world
> > home/jenkins/oe/world/shr-core
> > home/jenkins/oe/world/shr-core/openembedded-core
> > home/jenkins/oe/world/shr-core/openembedded-core/scripts
> > home/jenkins/oe/world/shr-core/tmp-glibc
> > home/jenkins/oe/world/shr-core/tmp-glibc/work
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-
> linux-gnueabi/lsof
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-
> linux-gnueabi/lsof/4
> > .88-r0
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linu
> > x-gnueabi/lsof/4.88-r0/lsof_4.88
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-
> oe-linux-gnueabi/lsof
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-
> oe-linux-gnueabi/lsof/
> > 4.88-r0
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-
> > linux-gnueabi/lsof/4.88-r0/lsof_4.88
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-
> oe-linux-gnueabi/lsof/
> > 4.89-r0
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-
> > linux-gnueabi/lsof/4.89-r0/lsof_4.89
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-
> oe-linux/lsof/4.88-r0
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-
> oe-linux/lsof/4.88-r0
> > /lsof_4.88
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-
> oe-linux/lsof/4.89-r0
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-
> oe-linux/lsof/4.89-r0
> > /lsof_4.89
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.88-r0
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-
> linux/lsof/4.88-r0/lso
> > f_4.88
> >
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.89-r0
> > home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/
> > lsof/4.89-r0/lsof_4.89
> > $ rm -rf home/
> > $ du -hs git
> > 581Mgit
> > $ rm -rf git/ (someone with cow powers here will need to remove this as
> > some files were owned by different than jenkins account)
> > $ ls -lah git/www.sakoman.net.git.u-boot-omap3.git/.git/refs/tags/v20
> > 09.06-rc1
> > -rw-r--r--+ 1 tking admin 41 Oct 27  2009 git/www.sakoman.net.git.u-boot
> > -omap3.git/.git/refs/tags/v2009.06-rc1
> > similarly with:
> > $ du -hs svn cvs hg bzr
> > 1.4Msvn
> > 932Kcvs
> > 8.0Khg
> > 20K bzr
> >
> > Please also chown following 4 files to be owned by jenkins:jenkins
> > -rw-r--r--+  1 www-data www-data  4.4M Apr 14  2016
> git2_git.lighttpd.net.
> > lighttpd.lighttpd-1.x.git.tar.gz
> > -rw-r--r--+  1 www-data www-data89 Apr 14  2016
> git2_git.lighttpd.net.
> > lighttpd.lighttpd-1.x.git.tar.gz.md5
> > -rw-r--r--   1 root root  237K Apr 27  2016 zaurus-legacy-tar.gz
> > -rw-r--r--   1 root root55 Apr 27  2016
> zaurus-legacy-tar.gz.md5
> >
> > And in the end I've created backup if anyone misses
> > mv /home5/jenkins/htdocs/oe-sources/ /home5/jenkins/htdocs/oe-
> sources-old
> >
> > and replaced the old one with symlink to
> > /home/home2/jenkins/htdocs/oe-sources/ so it should be updated
> > automatically until someone moves it again somewhere else.
> >
> > Regards,
> >
> >
> >
> >
> >
> > On Wed, May 24, 2017 at 5:51 PM, Martin Jansa 
> >
> > wrote:
> > > +Tom
> > >
> > > the archives are correctly rsynced to milla:
> > >
> > > jenkins@milla:~$ ls 

Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Jan-Simon Möller
http://sources.openembedded.org/  -> 403 Forbidden

-- 

Dipl.-Ing.
Jan-Simon Möller

jansimon.moel...@gmx.de
On Wednesday 24 May 2017 19:07:59 Martin Jansa wrote:
> I've fixed it for now.
> 
> sources.openembedded.org points to /home/home2/jenkins/htdocs/oe-sources/
> 
> While jenkins jobs rsync it to /home5/jenkins/htdocs/oe-sources/,
> 
> I don't know who moved it or why, so I've just rsynced current state:
> $ rsync -avir /home5/jenkins/htdocs/oe-sources/
> /home/home2/jenkins/htdocs/oe-sources/
> 
> Removed confusing and outdated index* files
> $ rm -f /home/home2/jenkins/htdocs/oe-sources/index*
> 
> and some weird empty directories:
> $ rmdir  fixes i586/ images/ licenses/ opensuse/ opkg/conf opkg pam.d
> porting prefs scripts share test touchscreen/ x86_64/ iceweasel-branding/
> arm backport chromium-40/ debian-hacks/ debian1.0.2/ eglibc-2.17/
> etc/default/ etc/init.d/ etc debian/fixes/ debian/
> 
> and a bit more:
> jenkins@milla:/home/home2/jenkins/htdocs/oe-sources$ find home/
> home/
> home/jenkins
> home/jenkins/oe
> home/jenkins/oe/world
> home/jenkins/oe/world/shr-core
> home/jenkins/oe/world/shr-core/openembedded-core
> home/jenkins/oe/world/shr-core/openembedded-core/scripts
> home/jenkins/oe/world/shr-core/tmp-glibc
> home/jenkins/oe/world/shr-core/tmp-glibc/work
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/lsof
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/lsof/4
> .88-r0
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linu
> x-gnueabi/lsof/4.88-r0/lsof_4.88
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/lsof
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/lsof/
> 4.88-r0
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-
> linux-gnueabi/lsof/4.88-r0/lsof_4.88
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/lsof/
> 4.89-r0
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-
> linux-gnueabi/lsof/4.89-r0/lsof_4.89
> home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux
> home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof
> home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.88-r0
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.88-r0
> /lsof_4.88
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.89-r0
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.89-r0
> /lsof_4.89
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux
> home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof
> home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.88-r0
> home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.88-r0/lso
> f_4.88
> 
> home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.89-r0
> home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/
> lsof/4.89-r0/lsof_4.89
> $ rm -rf home/
> $ du -hs git
> 581Mgit
> $ rm -rf git/ (someone with cow powers here will need to remove this as
> some files were owned by different than jenkins account)
> $ ls -lah git/www.sakoman.net.git.u-boot-omap3.git/.git/refs/tags/v20
> 09.06-rc1
> -rw-r--r--+ 1 tking admin 41 Oct 27  2009 git/www.sakoman.net.git.u-boot
> -omap3.git/.git/refs/tags/v2009.06-rc1
> similarly with:
> $ du -hs svn cvs hg bzr
> 1.4Msvn
> 932Kcvs
> 8.0Khg
> 20K bzr
> 
> Please also chown following 4 files to be owned by jenkins:jenkins
> -rw-r--r--+  1 www-data www-data  4.4M Apr 14  2016 git2_git.lighttpd.net.
> lighttpd.lighttpd-1.x.git.tar.gz
> -rw-r--r--+  1 www-data www-data89 Apr 14  2016 git2_git.lighttpd.net.
> lighttpd.lighttpd-1.x.git.tar.gz.md5
> -rw-r--r--   1 root root  237K Apr 27  2016 zaurus-legacy-tar.gz
> -rw-r--r--   1 root root55 Apr 27  2016 zaurus-legacy-tar.gz.md5
> 
> And in the end I've created backup if anyone misses
> mv /home5/jenkins/htdocs/oe-sources/ /home5/jenkins/htdocs/oe-sources-old
> 
> and replaced the old one with symlink to
> /home/home2/jenkins/htdocs/oe-sources/ so it should be updated
> automatically until someone moves it again somewhere else.
> 
> Regards,
> 
> 
> 
> 
> 
> On Wed, May 24, 2017 at 5:51 PM, Martin Jansa 
> 
> wrote:
> > +Tom
> > 
> > the archives are correctly rsynced to milla:
> > 
> > jenkins@milla:~$ ls htdocs/oe-sources/sg3*
> > htdocs/oe-sources/sg3-utils_1.24.orig.tar.gz
> > htdocs/oe-sources/sg3-utils_1.24.orig.tar.gz.md5
> > htdocs/oe-sources/sg3_utils-1.31.tgz
> > htdocs/oe-sources/sg3_utils-1.38.tgz
> > htdocs/oe-sources/sg3_utils-1.40.tgz
> > htdocs/oe-sources/sg3_utils-1.41.tgz
> > htdocs/oe-sources/sg3_utils-1.42.tgz
> > 
> > 
> > but they don't appear on http://sources.openembedded.org/ can you check
> > what went 

Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Martin Jansa
I've fixed it for now.

sources.openembedded.org points to /home/home2/jenkins/htdocs/oe-sources/

While jenkins jobs rsync it to /home5/jenkins/htdocs/oe-sources/,

I don't know who moved it or why, so I've just rsynced current state:
$ rsync -avir /home5/jenkins/htdocs/oe-sources/
/home/home2/jenkins/htdocs/oe-sources/

Removed confusing and outdated index* files
$ rm -f /home/home2/jenkins/htdocs/oe-sources/index*

and some weird empty directories:
$ rmdir  fixes i586/ images/ licenses/ opensuse/ opkg/conf opkg pam.d porting
prefs scripts share test touchscreen/ x86_64/ iceweasel-branding/ arm
backport chromium-40/ debian-hacks/ debian1.0.2/ eglibc-2.17/ etc/default/
etc/init.d/ etc debian/fixes/ debian/

and a bit more:
jenkins@milla:/home/home2/jenkins/htdocs/oe-sources$ find home/
home/
home/jenkins
home/jenkins/oe
home/jenkins/oe/world
home/jenkins/oe/world/shr-core
home/jenkins/oe/world/shr-core/openembedded-core
home/jenkins/oe/world/shr-core/openembedded-core/scripts
home/jenkins/oe/world/shr-core/tmp-glibc
home/jenkins/oe/world/shr-core/tmp-glibc/work
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/lsof
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/lsof/4.88-r0

home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linu
x-gnueabi/lsof/4.88-r0/lsof_4.88
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/lsof
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/lsof/4.88-r0

home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-
linux-gnueabi/lsof/4.88-r0/lsof_4.88
home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/lsof/4.89-r0

home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-
linux-gnueabi/lsof/4.89-r0/lsof_4.89
home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux
home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof
home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.88-r0

home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.88-r0/lsof_4.88

home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.89-r0

home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux/lsof/4.89-r0/lsof_4.89

home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux
home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof
home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.88-r0
home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.88-r0/lsof_4.88

home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/lsof/4.89-r0
home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/
lsof/4.89-r0/lsof_4.89
$ rm -rf home/
$ du -hs git
581Mgit
$ rm -rf git/ (someone with cow powers here will need to remove this as
some files were owned by different than jenkins account)
$ ls -lah git/www.sakoman.net.git.u-boot-omap3.git/.git/refs/tags/v20
09.06-rc1
-rw-r--r--+ 1 tking admin 41 Oct 27  2009 git/www.sakoman.net.git.u-boot
-omap3.git/.git/refs/tags/v2009.06-rc1
similarly with:
$ du -hs svn cvs hg bzr
1.4Msvn
932Kcvs
8.0Khg
20K bzr

Please also chown following 4 files to be owned by jenkins:jenkins
-rw-r--r--+  1 www-data www-data  4.4M Apr 14  2016 git2_git.lighttpd.net.
lighttpd.lighttpd-1.x.git.tar.gz
-rw-r--r--+  1 www-data www-data89 Apr 14  2016 git2_git.lighttpd.net.
lighttpd.lighttpd-1.x.git.tar.gz.md5
-rw-r--r--   1 root root  237K Apr 27  2016 zaurus-legacy-tar.gz
-rw-r--r--   1 root root55 Apr 27  2016 zaurus-legacy-tar.gz.md5

And in the end I've created backup if anyone misses
mv /home5/jenkins/htdocs/oe-sources/ /home5/jenkins/htdocs/oe-sources-old

and replaced the old one with symlink to /home/home2/jenkins/htdocs/oe-sources/
so it should be updated automatically until someone moves it again
somewhere else.

Regards,





On Wed, May 24, 2017 at 5:51 PM, Martin Jansa 
wrote:

> +Tom
>
> the archives are correctly rsynced to milla:
>
> jenkins@milla:~$ ls htdocs/oe-sources/sg3*
> htdocs/oe-sources/sg3-utils_1.24.orig.tar.gz
> htdocs/oe-sources/sg3-utils_1.24.orig.tar.gz.md5
> htdocs/oe-sources/sg3_utils-1.31.tgz
> htdocs/oe-sources/sg3_utils-1.38.tgz
> htdocs/oe-sources/sg3_utils-1.40.tgz
> htdocs/oe-sources/sg3_utils-1.41.tgz
> htdocs/oe-sources/sg3_utils-1.42.tgz
>
>
> but they don't appear on http://sources.openembedded.org/ can you check
> what went wrong? The DNS might point to different host or something like
> that, because there are no archives from 2016 or 2017 (newest I've seen are
> from April 2015) and I think it was working a bit longer than that.
>
> On Wed, May 24, 2017 at 5:45 PM, Martin Jansa 
> wrote:
>
>> Why do you introduce the bbappend instead of fixing it in
>> ./meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb ?
>>
>> It 

Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Martin Jansa
+Tom

the archives are correctly rsynced to milla:

jenkins@milla:~$ ls htdocs/oe-sources/sg3*
htdocs/oe-sources/sg3-utils_1.24.orig.tar.gz
htdocs/oe-sources/sg3-utils_1.24.orig.tar.gz.md5
htdocs/oe-sources/sg3_utils-1.31.tgz
htdocs/oe-sources/sg3_utils-1.38.tgz
htdocs/oe-sources/sg3_utils-1.40.tgz
htdocs/oe-sources/sg3_utils-1.41.tgz
htdocs/oe-sources/sg3_utils-1.42.tgz


but they don't appear on http://sources.openembedded.org/ can you check
what went wrong? The DNS might point to different host or something like
that, because there are no archives from 2016 or 2017 (newest I've seen are
from April 2015) and I think it was working a bit longer than that.

On Wed, May 24, 2017 at 5:45 PM, Martin Jansa 
wrote:

> Why do you introduce the bbappend instead of fixing it in
> ./meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb ?
>
> It should be on sources.openembedded.org (everything built in my bitbake
> world should be rsynced there, will check where it got broken this time).
>
> On Wed, May 24, 2017 at 5:41 PM, Khem Raj  wrote:
>
>> On Wed, May 24, 2017 at 8:34 AM,   wrote:
>> > From: Jan-Simon Möller 
>> >
>> > This patch temporarily fixes the unavailable upstream URL for sg3-utils
>> > with an bbappend that redirects the SRC_URI to a mirror.
>> > Checksums match.
>> >
>> > Signed-off-by: Jan-Simon Möller 
>> > ---
>> >  meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend | 2 ++
>> >  1 file changed, 2 insertions(+)
>> >  create mode 100644 meta-oe/recipes-support/sg3-ut
>> ils/sg3-utils_1.42.bbappend
>> >
>> > diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
>> b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
>> > new file mode 100644
>> > index 0..aeef696cf
>> > --- /dev/null
>> > +++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
>> > @@ -0,0 +1,2 @@
>> > +# Upstream URL currently unavailable. Use mirror:
>> > +SRC_URI = "https://fossies.org/linux/misc/sg3_utils-${PV}.tgz;
>>
>> Can we also host it on sources.openembedded.org please ?
>>
>> > --
>> > 2.12.0
>> >
>> > --
>> > ___
>> > Openembedded-devel mailing list
>> > Openembedded-devel@lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Jan-Simon Möller
Hi !

On Wednesday 24 May 2017 17:45:10 Martin Jansa wrote:
> Why do you introduce the bbappend instead of fixing it in
> ./meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb ?

I assumed we can remove the mirror url when upstream is back or we have a 
better new upstream. That's why the bbappend. 
I can submit it right in-place if you prefer that.

> 
> It should be on sources.openembedded.org (everything built in my bitbake
> world should be rsynced there, will check where it got broken this time).

Unfortunately it is not there.

Best,

-- 

Dipl.-Ing.
Jan-Simon Möller

jansimon.moel...@gmx.de

> 
> On Wed, May 24, 2017 at 5:41 PM, Khem Raj  wrote:
> > On Wed, May 24, 2017 at 8:34 AM,   wrote:
> > > From: Jan-Simon Möller 
> > > 
> > > This patch temporarily fixes the unavailable upstream URL for sg3-utils
> > > with an bbappend that redirects the SRC_URI to a mirror.
> > > Checksums match.
> > > 
> > > Signed-off-by: Jan-Simon Möller 
> > > ---
> > > 
> > >  meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend | 2 ++
> > >  1 file changed, 2 insertions(+)
> > >  create mode 100644 meta-oe/recipes-support/sg3-
> > 
> > utils/sg3-utils_1.42.bbappend
> > 
> > > diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> > 
> > b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> > 
> > > new file mode 100644
> > > index 0..aeef696cf
> > > --- /dev/null
> > > +++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> > > @@ -0,0 +1,2 @@
> > > +# Upstream URL currently unavailable. Use mirror:
> > > +SRC_URI = "https://fossies.org/linux/misc/sg3_utils-${PV}.tgz;
> > 
> > Can we also host it on sources.openembedded.org please ?
> > 
> > > --
> > > 2.12.0
> > > 
> > > --
> > > ___
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > 
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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


Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Martin Jansa
Why do you introduce the bbappend instead of fixing it in
./meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bb ?

It should be on sources.openembedded.org (everything built in my bitbake
world should be rsynced there, will check where it got broken this time).

On Wed, May 24, 2017 at 5:41 PM, Khem Raj  wrote:

> On Wed, May 24, 2017 at 8:34 AM,   wrote:
> > From: Jan-Simon Möller 
> >
> > This patch temporarily fixes the unavailable upstream URL for sg3-utils
> > with an bbappend that redirects the SRC_URI to a mirror.
> > Checksums match.
> >
> > Signed-off-by: Jan-Simon Möller 
> > ---
> >  meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend | 2 ++
> >  1 file changed, 2 insertions(+)
> >  create mode 100644 meta-oe/recipes-support/sg3-
> utils/sg3-utils_1.42.bbappend
> >
> > diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> > new file mode 100644
> > index 0..aeef696cf
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> > @@ -0,0 +1,2 @@
> > +# Upstream URL currently unavailable. Use mirror:
> > +SRC_URI = "https://fossies.org/linux/misc/sg3_utils-${PV}.tgz;
>
> Can we also host it on sources.openembedded.org please ?
>
> > --
> > 2.12.0
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread Khem Raj
On Wed, May 24, 2017 at 8:34 AM,   wrote:
> From: Jan-Simon Möller 
>
> This patch temporarily fixes the unavailable upstream URL for sg3-utils
> with an bbappend that redirects the SRC_URI to a mirror.
> Checksums match.
>
> Signed-off-by: Jan-Simon Möller 
> ---
>  meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
>
> diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend 
> b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> new file mode 100644
> index 0..aeef696cf
> --- /dev/null
> +++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
> @@ -0,0 +1,2 @@
> +# Upstream URL currently unavailable. Use mirror:
> +SRC_URI = "https://fossies.org/linux/misc/sg3_utils-${PV}.tgz;

Can we also host it on sources.openembedded.org please ?

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


[oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread dl9pf
From: Jan-Simon Möller 

This patch temporarily fixes the unavailable upstream URL for sg3-utils
with an bbappend that redirects the SRC_URI to a mirror.
Checksums match.

Signed-off-by: Jan-Simon Möller 
---
 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend

diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend 
b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
new file mode 100644
index 0..aeef696cf
--- /dev/null
+++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
@@ -0,0 +1,2 @@
+# Upstream URL currently unavailable. Use mirror:
+SRC_URI = "https://fossies.org/linux/misc/sg3_utils-${PV}.tgz;
-- 
2.12.0

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


[oe] [PATCH] opencv: fix building with PACKAGECONFIG "dnn" enabled.

2017-05-24 Thread Ismo Puustinen
Dependency "lapack" isn't available in meta-openembedded and it doesn't
cause a build error, so drop it. Fix buidling dnn module by backporting
a patch from opencv-contrib.

Signed-off-by: Ismo Puustinen 
---
 ...cking-make-opencv_dnn-dependancy-optional.patch | 243 +
 meta-oe/recipes-support/opencv/opencv_3.2.bb   |   3 +-
 2 files changed, 245 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/opencv/opencv/0001-tracking-make-opencv_dnn-dependancy-optional.patch

diff --git 
a/meta-oe/recipes-support/opencv/opencv/0001-tracking-make-opencv_dnn-dependancy-optional.patch
 
b/meta-oe/recipes-support/opencv/opencv/0001-tracking-make-opencv_dnn-dependancy-optional.patch
new file mode 100644
index 000..fba43eb
--- /dev/null
+++ 
b/meta-oe/recipes-support/opencv/opencv/0001-tracking-make-opencv_dnn-dependancy-optional.patch
@@ -0,0 +1,243 @@
+From 69f86025978b9bbbefa54a7248316a859773aeaf Mon Sep 17 00:00:00 2001
+From: berak 
+Date: Sat, 4 Mar 2017 12:38:50 +0100
+Subject: [PATCH] tracking: make opencv_dnn dependancy optional
+
+Upstream-status: Backport 
[https://github.com/opencv/opencv_contrib/commit/43925b60d392fbd01d6b0449713f010f9babe448]
+Signed-off-by: Ismo Puustinen 
+
+---
+ modules/tracking/CMakeLists.txt   |  3 +--
+ modules/tracking/samples/goturnTracker.cpp| 22 +++---
+ modules/tracking/samples/multiTracker_dataset.cpp |  1 +
+ modules/tracking/samples/tracker_dataset.cpp  |  1 +
+ modules/tracking/src/gtrTracker.cpp   | 11 ++-
+ modules/tracking/src/gtrTracker.hpp   | 12 
+ modules/tracking/src/gtrUtils.cpp |  6 +++---
+ modules/tracking/src/gtrUtils.hpp |  5 ++---
+ modules/tracking/src/tracker.cpp  |  1 +
+ 9 files changed, 46 insertions(+), 16 deletions(-)
+
+diff --git a/modules/tracking/CMakeLists.txt b/modules/tracking/CMakeLists.txt
+index a8b3183..d27f999 100644
+--- a/modules/tracking/CMakeLists.txt
 b/modules/tracking/CMakeLists.txt
+@@ -1,2 +1 @@
+-set(the_description "Tracking API")
+-ocv_define_module(tracking opencv_imgproc opencv_core opencv_video 
opencv_highgui opencv_dnn opencv_plot OPTIONAL opencv_datasets WRAP python)
+\ No newline at end of file
++ocv_define_module(tracking opencv_imgproc opencv_core opencv_video 
opencv_highgui opencv_plot OPTIONAL opencv_dnn opencv_datasets WRAP python)
+diff --git a/modules/tracking/samples/goturnTracker.cpp 
b/modules/tracking/samples/goturnTracker.cpp
+index 389771e..1e6632d 100644
+--- a/modules/tracking/samples/goturnTracker.cpp
 b/modules/tracking/samples/goturnTracker.cpp
+@@ -45,6 +45,9 @@
+ //1 - Train you own GOTURN model using 

+ //2 - Download pretrained caffemodel from 

+ 
++#include "opencv2/opencv_modules.hpp"
++#if defined(HAVE_OPENCV_DNN) && defined(HAVE_OPENCV_DATASETS)
++
+ #include "opencv2/datasets/track_alov.hpp"
+ #include 
+ #include 
+@@ -65,8 +68,8 @@ static bool startSelection = false;
+ Rect2d boundingBox;
+ 
+ static const char* keys =
+-{ "{@dataset_path |true| Dataset path }"
+-"{@dataset_id |1| Dataset ID }"
++{ "{@dataset_path || Dataset path   }"
++  "{@dataset_id  |1| Dataset ID }"
+ };
+ 
+ static void onMouse(int event, int x, int y, int, void*)
+@@ -144,9 +147,14 @@ int main(int argc, char *argv[])
+ Ptr dataset = TRACK_alov::create();
+ dataset->load(datasetRootPath);
+ dataset->initDataset(datasetID);
+-
+ //Read first frame
+ dataset->getNextFrame(frame);
++if (frame.empty())
++{
++cout << "invalid dataset: " << datasetRootPath << endl;
++return -2;
++}
++
+ frame.copyTo(image);
+ rectangle(image, boundingBox, Scalar(255, 0, 0), 2, 1);
+ imshow("GOTURN Tracking", image);
+@@ -215,3 +223,11 @@ int main(int argc, char *argv[])
+ 
+ return 0;
+ }
++
++#else // ! HAVE_OPENCV_DNN && HAVE_OPENCV_DATASETS
++#include 
++int main() {
++CV_Error(cv::Error::StsNotImplemented , "this sample needs to be built 
with opencv_datasets and opencv_dnn !");
++return -1;
++}
++#endif
+diff --git a/modules/tracking/samples/multiTracker_dataset.cpp 
b/modules/tracking/samples/multiTracker_dataset.cpp
+index 2826b19..b5c27da 100644
+--- a/modules/tracking/samples/multiTracker_dataset.cpp
 b/modules/tracking/samples/multiTracker_dataset.cpp
+@@ -234,6 +234,7 @@ int main(int argc, char *argv[])
+ }
+ 
+ #else // ! HAVE_OPENCV_DATASETS
++#include 
+ int main() {
+   CV_Error(cv::Error::StsNotImplemented , "this sample needs to be built 
with opencv_datasets !");
+   return -1;
+diff --git a/modules/tracking/samples/tracker_dataset.cpp 
b/modules/tracking/samples/tracker_dataset.cpp
+index 8b7832a..6178105 100644
+--- a/modules/tracking/samples/tracker_dataset.cpp

Re: [oe] [meta-oe][PATCH] meson: update to version 0.40.1

2017-05-24 Thread Daniel Mack
Hi,

On 05/23/2017 11:43 PM, Martin Jansa wrote:
> Please check 2 meson changes from Ricardo Ribalda Delgado sent few days
> before yours and rebase your change on top of it.
> 
> One of those patches don't apply now on this version:
> http://errors.yoctoproject.org/Errors/Details/143049/

Oh, sorry for that. I missed that other patch.

I've asked upstream if there is a better solution so we don't have to
touch meson in OE. If there isn't any, I'll port the patch.


Thanks!
Daniel



> On Tue, May 23, 2017 at 2:34 PM, Daniel Mack  > wrote:
> 
> Signed-off-by: Daniel Mack  >
> ---
>  meta-oe/recipes-devtools/meson/{meson_0.37.1.bb
>  => meson_0.40.1.bb
> } | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-oe/recipes-devtools/meson/{meson_0.37.1.bb
>  => meson_0.40.1.bb
> } (87%)
> 
> diff --git a/meta-oe/recipes-devtools/meson/meson_0.37.1.bb
> 
> b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb
> 
> similarity index 87%
> rename from meta-oe/recipes-devtools/meson/meson_0.37.1.bb
> 
> rename to meta-oe/recipes-devtools/meson/meson_0.40.1.bb
> 
> index a83af77..2ba2fc8 100644
> --- a/meta-oe/recipes-devtools/meson/meson_0.37.1.bb
> 
> +++ b/meta-oe/recipes-devtools/meson/meson_0.40.1.bb
> 
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
> 
>  SRC_URI = "git://github.com/mesonbuild/meson.git
> "
> 
> -SRCREV = "3d4bfdcb22314ea7db45a5b075f8b2a9c1498aab"
> +SRCREV = "b25d3e4d3f2b4d37029a507cc089bdde643c6240"
> 
>  S = "${WORKDIR}/git"
> 
> --
> 2.9.4
> 
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> 
> 

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


[oe] State of bitbake world, Failed tasks 2017-05-23

2017-05-24 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!|Signatures !!colspan='14'|QA !!Comment
|-
||  ||qemuarm   ||qemux86   ||qemux86_64||all   
||already-stripped  ||libdir||textrel   ||build-deps
||file-rdeps||version-going-backwards   ||host-user-contaminated
||installed-vs-shipped  ||unknown-configure-option  ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname   ||ldflags   ||compile-host-path 
||  
|-
||2017-05-23||8 ||10||0 ||0 ||0 ||0 
||0 ||0 ||0 ||31||0 
||0 ||0 ||0 ||0 ||0 
||0 ||0 ||  
|}

== Failed tasks 2017-05-23 ==

INFO: jenkins-job.sh-1.8.21 Complete log available at 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170524_020326.log

=== common (0) ===

=== common-x86 (0) ===

=== qemuarm (8) ===
* meta-browser/recipes-mozilla/firefox/firefox_45.6.0esr.bb:do_compile
* meta-openembedded/meta-oe/recipes-devtools/meson/meson_0.40.1.bb:do_patch
* 
meta-openembedded/meta-oe/recipes-graphics/libsexy/libsexy_0.1.11.bb:do_compile
* 
meta-openembedded/meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb:do_configure
* meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_compile_ptest_base
* meta-qt5/recipes-qt/qt5/qtquick1_git.bb:do_compile_ptest_base
* meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_compile_ptest_base
* meta-smartphone/meta-shr/recipes-shr/3rdparty/libsensmon_git.bb:do_compile

=== qemux86 (2) ===
* 
meta-openembedded/meta-oe/recipes-support/espeak/espeak_1.48.04.bb:do_compile
* meta-openembedded/meta-oe/recipes-test/fwts/fwts_git.bb:do_compile

=== qemux86_64 (0) ===

=== Number of failed tasks (18) ===
{| class=wikitable
|-
|| qemuarm  || 8 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170523_040523.log/
 || http://errors.yoctoproject.org/Errors/Build/37984/
|-
|| qemux86  || 10|| 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170523_040524.log/
 || http://errors.yoctoproject.org/Errors/Build/37985/
|-
|| qemux86_64   || 0 || 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170523_090558.log/
 || 
|}

=== PNBLACKLISTs (13) ===
=== QA issues (31) ===
{| class=wikitable
!| Count||Issue
|-
||0 ||already-stripped
|-
||0 ||build-deps
|-
||0 ||compile-host-path
|-
||0 ||file-rdeps
|-
||0 ||host-user-contaminated
|-
||0 ||installed-vs-shipped
|-
||0 ||invalid-pkgconfig
|-
||0 ||ldflags
|-
||0 ||libdir
|-
||0 ||pkgname
|-
||0 ||symlink-to-sysroot
|-
||0 ||textrel
|-
||0 ||unknown-configure-option
|-
||31||version-going-backwards
|}



=== Incorrect PACKAGE_ARCH or sstate signatures (0) ===

Complete log: 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170523_080807.log/

No issues detected

PNBLACKLISTs:
openembedded-core/:
meta-browser:
recipes-browser/chromium/cef3_280796.bb:PNBLACKLIST[cef3] ?= "BROKEN: fails to 
build with gcc-6"
meta-openembedded:
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb:PNBLACKLIST[lksctp-tools]
 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', "BROKEN: fails to 
link against sctp_connectx symbol", '', d)}"
meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb:PNBLACKLIST[bluez-hcidump]
 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with 
bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb:PNBLACKLIST[bluez4] ?= 
"${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with 
bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb:PNBLACKLIST[gst-plugin-bluetooth]
 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with 
bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb:PNBLACKLIST[libdbus-c++] ?= 
"Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130644/ 
- the recipe will be removed on 2017-09-01 unless the issue is fixed"
meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.16.bb:PNBLACKLIST[xf86-video-geode]
 ?= "BROKEN, fails to build - the recipe will be removed on 2017-09-01 unless 
the issue is fixed"
meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb:PNBLACKLIST[foxtrotgps]
 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with 
bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
meta-oe/recipes-navigation/gypsy/gypsy.inc:PNBLACKLIST[gypsy] ?= 

[oe] [meta-oe][PATCH] net-snmp: supported cross compile for the perl embedded and perl modules

2017-05-24 Thread Wenlin Kang
The patch solves two issues:
1. Supported cross compile for the perl embedded and perl modules.
2. Solved runtime depend issue.

Signed-off-by: Wenlin Kang 
---
 ...igure-fix-check-for-enable-perl-cc-checks.patch |  31 
 .../0002-configure-fix-a-cc-check-issue.patch  |  30 
 ...NGES-BUG-2712-Fix-Perl-module-compilation.patch | 186 +
 .../0004-configure-fix-incorrect-variable.patch|  30 
 .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb   |  55 +-
 5 files changed, 327 insertions(+), 5 deletions(-)
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0001-configure-fix-check-for-enable-perl-cc-checks.patch
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0002-configure-fix-a-cc-check-issue.patch
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0003-CHANGES-BUG-2712-Fix-Perl-module-compilation.patch
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0004-configure-fix-incorrect-variable.patch

diff --git 
a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-configure-fix-check-for-enable-perl-cc-checks.patch
 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-configure-fix-check-for-enable-perl-cc-checks.patch
new file mode 100644
index 000..b87e9ee
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-configure-fix-check-for-enable-perl-cc-checks.patch
@@ -0,0 +1,31 @@
+From c6304a3e4b8441ff0a6464c0f1f6c5229092fa32 Mon Sep 17 00:00:00 2001
+From: Niels Baggesen 
+Date: Wed, 24 May 2017 16:40:03 +0800
+Subject: [PATCH 1/4] configure: fix check for --enable-perl-cc-checks
+
+This patch comes from git://git.code.sf.net/p/net-snmp/code,
+the commit is 8f431d410b803603dc809d82e0893509615d9a11.
+
+Upstream-Status: Backport
+
+Signed-off-by: Wenlin Kang 
+---
+ configure.d/config_project_perl_python | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.d/config_project_perl_python 
b/configure.d/config_project_perl_python
+index 23f8c7e..475c843 100644
+--- a/configure.d/config_project_perl_python
 b/configure.d/config_project_perl_python
+@@ -84,7 +84,7 @@ if test "x$install_perl" != "xno" ; then
+ 
+ #   What compiler was used to build the perl binary?
+ #
+-if test "xenable_perl_cc_checks" != "xno" ; then
++if test "x$enable_perl_cc_checks" != "xno" ; then
+ AC_MSG_CHECKING([for Perl cc])
+ changequote(, )
+ PERLCC=`$myperl -V:cc | $myperl -n -e 'print if 
(s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
+-- 
+1.9.1
+
diff --git 
a/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-configure-fix-a-cc-check-issue.patch
 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-configure-fix-a-cc-check-issue.patch
new file mode 100644
index 000..76d
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0002-configure-fix-a-cc-check-issue.patch
@@ -0,0 +1,30 @@
+From 94e7e4969bc84c945dfea12d67a1e10f61973948 Mon Sep 17 00:00:00 2001
+From: Wenlin Kang 
+Date: Wed, 24 May 2017 16:45:34 +0800
+Subject: [PATCH 2/4] configure: fix a cc check issue.
+
+When has "." in cc value, the expression
+$myperl -V:cc | $myperl -n -e 'print if (s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'
+can't get corretly the cc's value.
+
+Signed-off-by: Wenlin Kang 
+---
+ configure.d/config_project_perl_python | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.d/config_project_perl_python 
b/configure.d/config_project_perl_python
+index 475c843..22d2ad3 100644
+--- a/configure.d/config_project_perl_python
 b/configure.d/config_project_perl_python
+@@ -87,7 +87,7 @@ if test "x$install_perl" != "xno" ; then
+ if test "x$enable_perl_cc_checks" != "xno" ; then
+ AC_MSG_CHECKING([for Perl cc])
+ changequote(, )
+-PERLCC=`$myperl -V:cc | $myperl -n -e 'print if 
(s/^\s*cc=.([-=\w\s\/]+).;\s*/$1/);'`
++PERLCC=`$myperl -V:cc | $myperl -n -e 'print if 
(s/^\s*cc=.([-=\.\w\s\/]+).;\s*/$1/);'`
+ changequote([, ])
+ if test "x$PERLCC" != "x" ; then
+ AC_MSG_RESULT([$PERLCC])
+-- 
+1.9.1
+
diff --git 
a/meta-networking/recipes-protocols/net-snmp/net-snmp/0003-CHANGES-BUG-2712-Fix-Perl-module-compilation.patch
 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0003-CHANGES-BUG-2712-Fix-Perl-module-compilation.patch
new file mode 100644
index 000..7951234
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0003-CHANGES-BUG-2712-Fix-Perl-module-compilation.patch
@@ -0,0 +1,186 @@
+From e57fc809ad6ae522670f3dc157aadde20d968ca7 Mon Sep 17 00:00:00 2001
+From: Bart Van Assche 
+Date: Wed, 24 May 2017 17:05:03 +0800
+Subject: [PATCH 3/4] CHANGES: BUG: 2712: Fix Perl module compilation
+
+Avoid that building the Net-SNMP 

[oe] [meta-networking][PATCH] snort: enable static daq

2017-05-24 Thread kai.kang
From: Kai Kang 

When start snort, it shows error and quit:

| --== Initializing Snort ==--
| Initializing Output Plugins!
| ERROR: Can't find pcap DAQ!
| Fatal Error, Quitting..

Fix by enable static daq for snort and enable static build for daq. snort calls
command daq-modules-config which is from daq-native to get required daq static
libraries and library path. Add package daq-native and add patch for snort to
filter library path out to avoid host contamination issue.

Add daq-native's dependency libnet-native too. And daq-native also depends on
libpcap-native from layer oe-core.

Signed-off-by: Kai Kang 
---
 .../recipes-connectivity/daq/daq_2.0.6.bb   |  4 
 .../recipes-connectivity/libdnet/libdnet_1.12.bb|  1 +
 ...-host-contamination-when-enable-static-daq.patch | 21 +
 .../recipes-connectivity/snort/snort_2.9.7.5.bb |  5 +++--
 4 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch

diff --git a/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb 
b/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
index 47cb163..ec35175 100644
--- a/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
+++ b/meta-networking/recipes-connectivity/daq/daq_2.0.6.bb
@@ -29,3 +29,7 @@ SRC_URI[md5sum] = "2cd6da422a72c129c685fc4bb848c24c"
 SRC_URI[sha256sum] = 
"b40e1d1273e08aaeaa86e69d4f28d535b7e53bdb3898adf539266b63137be7cb"
 
 inherit autotools
+
+DISABLE_STATIC = ""
+
+BBCLASSEXTEND = "native"
diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
index f48b655..e579de5 100644
--- a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -13,3 +13,4 @@ inherit autotools
 
 acpaths = "-I ./config/"
 
+BBCLASSEXTEND = "native"
diff --git 
a/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch
 
b/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch
new file mode 100644
index 000..2becc06
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch
@@ -0,0 +1,21 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+When enable static daq for snort, it calls to daq-modules-config to get link
+library and library path. Library path is useless for oe and cause host
+contamination issue. So filter it.
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/configure.in b/configure.in
+index fded45b..a247bb9 100644
+--- a/configure.in
 b/configure.in
+@@ -658,7 +658,7 @@ fi
+ 
+ if test "x$enable_static_daq" = "xyes"; then
+ LDAQ=""
+-LIBS="${LIBS} `daq-modules-config --static --libs`"
++LIBS="${LIBS} `daq-modules-config --static --libs | sed 's#-L[^ ]*##g'`"
+ AC_CHECK_LIB([daq_static], [daq_load_modules],
+ [LIBS="-ldaq_static ${LIBS}"], [LDAQ="no"], [ ])
+ 
diff --git a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb 
b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
index 57a04f2..e189b0f 100644
--- a/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
+++ b/meta-networking/recipes-connectivity/snort/snort_2.9.7.5.bb
@@ -4,7 +4,7 @@ SECTION = "net"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5"
 
-DEPENDS = "xz libpcap libpcre daq libdnet util-linux"
+DEPENDS = "xz libpcap libpcre daq libdnet util-linux daq-native"
 DEPENDS_append_libc-musl = " libtirpc"
 
 SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
@@ -15,6 +15,7 @@ SRC_URI = " ${GENTOO_MIRROR}/${BP}.tar.gz;name=tarball \
 file://disable-daq-verdict-retry.patch \
 file://0001-libpcap-search-sysroot-for-headers.patch \
 file://0001-fix-do_package-failed-since-snort-2.9.7.0.patch \
+file://fix-host-contamination-when-enable-static-daq.patch \
 "
 
 SRC_URI[tarball.md5sum] = "fd271788c0f8876be87a858a9142f202"
@@ -31,7 +32,7 @@ EXTRA_OECONF = " \
 --enable-reload \
 --enable-reload-error-restart \
 --enable-targetbased \
---disable-static-daq \
+--enable-static-daq \
 --with-dnet-includes=${STAGING_INCDIR} \
 --with-dnet-libraries=${STAGING_LIBDIR} \
 --with-libpcre-includes=${STAGING_INCDIR} \
-- 
2.10.1

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


[oe] [meta-networking][PATCH] Fix snort start error

2017-05-24 Thread kai.kang
From: Kai Kang 

Please merge the patch after commit for oe-core "libpcap: add native package" 
is merged. Thanks.

Kai Kang (1):
  snort: enable static daq

 .../recipes-connectivity/daq/daq_2.0.6.bb   |  4 
 .../recipes-connectivity/libdnet/libdnet_1.12.bb|  1 +
 ...-host-contamination-when-enable-static-daq.patch | 21 +
 .../recipes-connectivity/snort/snort_2.9.7.5.bb |  5 +++--
 4 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 
meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch

-- 
2.10.1

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


Re: [oe] [meta-oe][PATCH] libteam: Initial support

2017-05-24 Thread Koen Kooi
Op 23-05-17 om 21:17 schreef Marian Pritsak:
> libteam is a library for controlling team network device.
> Provides utils package for network device configuration.
> 
> Signed-off-by: Marian Pritsak 
> ---
>  meta-oe/recipes-support/libteam/libteam_1.26.bb | 32 
> +
>  1 file changed, 32 insertions(+)
>  create mode 100644 meta-oe/recipes-support/libteam/libteam_1.26.bb
> 
> diff --git a/meta-oe/recipes-support/libteam/libteam_1.26.bb 
> b/meta-oe/recipes-support/libteam/libteam_1.26.bb
> new file mode 100644
> index 000..f4a4572
> --- /dev/null
> +++ b/meta-oe/recipes-support/libteam/libteam_1.26.bb
> @@ -0,0 +1,32 @@
> +SUMMARY = "Library for controlling team network device"
> +HOMEPAGE = "http://www.libteam.org/;
> +SECTION = "libs/network"
> +
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> +
> +DEPENDS = "libnl libdaemon jansson"
> +
> +SRC_URI = "git://github.com/jpirko/libteam"
> +SRCREV = "8c1cea00a21950089058e4e33ea1f7bf4deaddeb"
> +
> +SRC_URI[md5sum] = "565114d70c41bff6093d8e57be284e8a"
> +SRC_URI[sha256sum] = 
> "d65286379141db141bea33424ec0507bb0f827a0bf03d9c65004bb593e3d5545"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +FILES_${PN} = "${libdir}/libteam.so.*"

${libdir}/libteam${SOLIBS}

> +
> +PACKAGES += "${PN}-dctl ${PN}-utils"
> +FILES_${PN}-dctl = "${libdir}/libteamdctl.so.* \

${libdir}/libteamdctl${SOLIBS}

> +"
> +FILES_${PN}-utils = "${bindir}/bond2team \
> + ${bindir}/teamd \
> + ${bindir}/teamdctl \
> + ${bindir}/teamnl \
> +"
> +
> +RDEPENDS_${PN}-utils = "bash"
> +
> 


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