Re: [oe] bitbake meta-toolchain-qt5 error

2016-01-13 Thread Ankur Tyagi
here is the full log file
https://gist.github.com/anonymous/d6db184bff49736e1121

In case log file above is truncated:
https://gist.githubusercontent.com/anonymous/d6db184bff49736e1121/raw/b6dd87cf3745c91d958e253c3332cc22772a1f0a/qnetworkinfo_linux.cpp


On Tue, Jan 12, 2016 at 5:50 PM, Khem Raj  wrote:

> No. you need to use complete cmdline that is used while compiling it
> originally to produce the error
>
> > On Jan 12, 2016, at 5:37 PM, Ankur Tyagi 
> wrote:
> >
> > I posted the complete log file.
> >
> > I tried with "arm-linux-gnueabihf-gcc -E -dD "
> > Maybe it is not enough. I'll try with complete command having include
> paths
> > and see if it improves anything.
> >
> > On Wed, Jan 13, 2016 at 2:29 PM, Khem Raj  wrote:
> >
> >>
> /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/qtsystems/5.5.1+gitAUTOINC+0577ffca58-r0/git/src/systeminfo/linux/qnetworkinfo_linux_p.h:48:26:
> >> fatal error: qnetworkinfo.h: No such file or directory
> >>
> >>
> >> Please post complete file
> >>
> >>> On Jan 12, 2016, at 5:22 PM, Ankur Tyagi 
> >> wrote:
> >>>
> >>> thanks
> >>>
> >>> here it is.. https://gist.github.com/anonymous/a03e9fb2203e45a4b033
> >>>
> >>> On Wed, Jan 13, 2016 at 1:44 PM, Khem Raj  wrote:
> >>>
> 
> > On Jan 12, 2016, at 4:39 PM, Ankur Tyagi 
>  wrote:
> >
> > sorry it took me a while to reply.
> >
> > I am using gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.
> >
> > I have preprocess
> > ​ ​
> > ​​
> > log but looks like pastebin is down. Ok to send the log as
> attachment ?
> 
>  http://alternativeto.net/software/pastebin/
> 
> >
> > On Tue, Jan 12, 2016 at 9:16 AM, Khem Raj 
> wrote:
> >
> >>
> >>> On Jan 11, 2016, at 11:25 AM, Ankur Tyagi  >
> >> wrote:
> >>>
> >>> included stdint.h in qnetworkinfo_linux.cpp but still getting the
> >> same
> >> error
> >>
> >> what version of gcc are you using and can you preprocess the file
> >> under
> >> error with -E -dD and pastebin it ?
> >>
> >>>
> >>> On Mon, Jan 11, 2016 at 10:47 AM, Khem Raj 
> >> wrote:
> >>>
>  On Mon, Jan 11, 2016 at 10:37 AM, Ankur Tyagi <
>  ankur.tyag...@gmail.com>
>  wrote:
> >
> 
> >>
> 
> >>
> /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/bluetooth/bluetooth.h:159:9:
> > error: expected identifier before '*' token
> > |   return bt_get_unaligned((const uint64_t *) ptr);
> 
>  this means that stdint.h is missing from includes.
>  --
>  ___
>  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
> >>
> >>
> > --
> > ___
> > 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
> >>
> >>
> >> --
> >> ___
> >> 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
> 

Re: [oe] [meta-oe] OpenLDAP modules

2016-01-13 Thread Bruno Vernay
To get the all the required files, I had to add the openldap-dev package.
Also the data dir: /var/openldap-data is not created by the recipe.
Regards

On Tue, Jan 12, 2016 at 1:51 PM Bruno Vernay  wrote:

> Hi
> It seems that OpenLDAP modules are build, but not all files are installed
> on the target.
> I created an issue in GitHub:
> https://github.com/openembedded/meta-openembedded/issues/21
>
> Also I could not find any example or documentation on how to use this
> recipe (had to look at the code and trial and error). Is it the way to go
> or is there a place to contribute examples at least?
>
> Regards
> Bruno
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe] OpenLDAP modules

2016-01-13 Thread Khem Raj

> On Jan 13, 2016, at 8:46 AM, Bruno Vernay  wrote:
> 
> Adding this to my bbappend did the trick ...
> 
> TARGET_CC_ARCH += "-lpthread”

make it -pthread and add it to LDFLAGS

> 
> I may submit a patch
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] ctdb: Fix rootfs creation errors

2016-01-13 Thread Mark Asselstine
While building an image I was getting an error during rootfs creation
that ctdb was conflicting with base-files as both were creating
'/var/run':

warning: Removing ctdb-2.5.1-r0@core2_64 due to file /var/run \
  conflicting with base-files-3.0.14-r89@genericx86_64

This is normally a volatile directory so we have no need
to include this in the ctdb package, so revert the actions of the
Makefile by deleting the directory.

Although /run and $localstatedir/run are linked to be consistent we
update the .service file to use the latter. To ensure the 'ctdb'
subdir exists we patch the use of RuntimeDirectory= in to the .service
file. This will compensate for our removal of this directory creation
from the Makefile.

Signed-off-by: Mark Asselstine 
---

This is a resend of a patch I sent 11/18/15. I see that it is yet to be
merged but I also have not received any feedback to provide me with any
details as to why this may not an acceptable change. I am open to making
the necessary changes to make it acceptable. Meanwhile the problem persists.


 ...rvice-ensure-the-PID-directory-is-created.patch | 25 ++
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb |  6 --
 2 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 
meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch

diff --git 
a/meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch
 
b/meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch
new file mode 100644
index 000..a7e987b
--- /dev/null
+++ 
b/meta-networking/recipes-support/ctdb/ctdb/service-ensure-the-PID-directory-is-created.patch
@@ -0,0 +1,25 @@
+From f02ff7383f1cc0c118732352ccbae476c7b3b3ba Mon Sep 17 00:00:00 2001
+From: Mark Asselstine 
+Date: Tue, 17 Nov 2015 16:17:00 -0500
+Subject: [PATCH] service: ensure the PID directory is created
+
+Signed-off-by: Mark Asselstine 
+---
+ config/ctdb.service | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/config/ctdb.service b/config/ctdb.service
+index ea37c30..8537105 100644
+--- a/config/ctdb.service
 b/config/ctdb.service
+@@ -5,6 +5,7 @@ After=network.target
+ [Service]
+ Type=forking
+ LimitCORE=infinity
++RuntimeDirectory=/run/ctdb
+ PIDFile=/run/ctdb/ctdbd.pid
+ ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid start
+ ExecStop=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid stop
+-- 
+2.1.4
+
diff --git a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb 
b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
index 0cc7aad..ba9c4e5 100644
--- a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
+++ b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
@@ -17,6 +17,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 SRC_URI = "https://ftp.samba.org/pub/${PN}/${BP}.tar.gz \
file://01-support-cross-compile-for-linux-os.patch \
file://02-link-rep_snprintf-for-ltdbtool.patch \
+   file://service-ensure-the-PID-directory-is-created.patch \
   "
 
 SRC_URI[md5sum] = "d0cd91726ff4ca2229e1b21859c94717"
@@ -36,11 +37,12 @@ do_install_append() {
 install -d ${D}${systemd_unitdir}/system
 install -m 0644 ${S}/config/ctdb.service ${D}${systemd_unitdir}/system
 sed -i -e 's,/usr/sbin/,${sbindir}/,' 
${D}${systemd_unitdir}/system/ctdb.service
+sed -i -e 's,\([=\ ]\)/run/,\1${localstatedir}/run/,' 
${D}${systemd_unitdir}/system/ctdb.service
+
+rm -r ${D}/${localstatedir}/run
 }
 
 SYSTEMD_SERVICE_${PN} = "ctdb.service"
 
-FILES_${PN} += "/run"
-
 # onnode is a shell script with bashisms and bash #!
 RDEPENDS_${PN} += "bash"
-- 
2.1.4

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


Re: [oe] meta-java Workflow

2016-01-13 Thread Otavio Salvador
Hello Jens,

On Wed, Jan 13, 2016 at 4:03 PM, Jens Rehsack  wrote:
> to avoid such a problem as it occurred with ec7b984f, 04d5d0bf and dfb21b44, 
> I strongly suggest that meta-java follows the merge-workflow from other 
> meta-layers:
>
> cherry-pick new stuff into master-next, when settled - merge to master
> Branch releases as other layers do and same, push back-ported patches into 
> ${rel_branch}-next and merge the behaving ones into ${rel_branch}.
>
> The current way - pushing to master and live only there result in the 
> happened revert - and to continue my work I would have to revert the reverts 
> without any nice word in the commit message as I did in reverting 24b98ac3 
> with a88718b6.

I understand your frustation but I think you are exagerating on this.

The fix you provide (and was reverted by causing regression at that
moment) is a great improvement and those should be brought back. To
bring it back, as I explained on the Hangout, you can revert those and
apply the fix for the sstate. Doing this, we can integrate those
changes back and everyone is happy.

To make all this setup you are asking for, I need to reserve resources
in our autobuilder to properly excercize it and provide useful
feedback otherwise it is useless. To be honest, I am not being an
active user of this and been acting as maintainer just due the lack of
someone more active so I am willing to give the maintenance for
someone more commited to Java use than me, if desired.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] bitbake meta-toolchain-qt5 error

2016-01-13 Thread Khem Raj
issue seems to be typeof usage when using c99
especially this from bluetooth.h

#define bt_put_unaligned(val,ptr) do { struct __attribute__((packed)) { 
typeof(*(ptr)) __v; } *__p = (typeof(__p)) (ptr); __p->__v = (val); } while(0)

change typeof with __typeof__ in above macro.

or back port

http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8

into your version of bluez



> On Jan 13, 2016, at 1:59 AM, Ankur Tyagi  wrote:
> 
> here is the full log file
> https://gist.github.com/anonymous/d6db184bff49736e1121
> 
> In case log file above is truncated:
> https://gist.githubusercontent.com/anonymous/d6db184bff49736e1121/raw/b6dd87cf3745c91d958e253c3332cc22772a1f0a/qnetworkinfo_linux.cpp
> 
> 
> On Tue, Jan 12, 2016 at 5:50 PM, Khem Raj  wrote:
> 
>> No. you need to use complete cmdline that is used while compiling it
>> originally to produce the error
>> 
>>> On Jan 12, 2016, at 5:37 PM, Ankur Tyagi 
>> wrote:
>>> 
>>> I posted the complete log file.
>>> 
>>> I tried with "arm-linux-gnueabihf-gcc -E -dD "
>>> Maybe it is not enough. I'll try with complete command having include
>> paths
>>> and see if it improves anything.
>>> 
>>> On Wed, Jan 13, 2016 at 2:29 PM, Khem Raj  wrote:
>>> 
 
>> /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/qtsystems/5.5.1+gitAUTOINC+0577ffca58-r0/git/src/systeminfo/linux/qnetworkinfo_linux_p.h:48:26:
 fatal error: qnetworkinfo.h: No such file or directory
 
 
 Please post complete file
 
> On Jan 12, 2016, at 5:22 PM, Ankur Tyagi 
 wrote:
> 
> thanks
> 
> here it is.. https://gist.github.com/anonymous/a03e9fb2203e45a4b033
> 
> On Wed, Jan 13, 2016 at 1:44 PM, Khem Raj  wrote:
> 
>> 
>>> On Jan 12, 2016, at 4:39 PM, Ankur Tyagi 
>> wrote:
>>> 
>>> sorry it took me a while to reply.
>>> 
>>> I am using gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.
>>> 
>>> I have preprocess
>>> ​ ​
>>> ​​
>>> log but looks like pastebin is down. Ok to send the log as
>> attachment ?
>> 
>> http://alternativeto.net/software/pastebin/
>> 
>>> 
>>> On Tue, Jan 12, 2016 at 9:16 AM, Khem Raj 
>> wrote:
>>> 
 
> On Jan 11, 2016, at 11:25 AM, Ankur Tyagi >> 
 wrote:
> 
> included stdint.h in qnetworkinfo_linux.cpp but still getting the
 same
 error
 
 what version of gcc are you using and can you preprocess the file
 under
 error with -E -dD and pastebin it ?
 
> 
> On Mon, Jan 11, 2016 at 10:47 AM, Khem Raj 
 wrote:
> 
>> On Mon, Jan 11, 2016 at 10:37 AM, Ankur Tyagi <
>> ankur.tyag...@gmail.com>
>> wrote:
>>> 
>> 
 
>> 
 
>> /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/include/bluetooth/bluetooth.h:159:9:
>>> error: expected identifier before '*' token
>>> |   return bt_get_unaligned((const uint64_t *) ptr);
>> 
>> this means that stdint.h is missing from includes.
>> --
>> ___
>> 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
 
 
>>> --
>>> ___
>>> 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
 
 
 --
 

[oe] [meta-qt5][PATCH] qt5: allow overriding git protocol used with QT_GIT uri

2016-01-13 Thread Samuli Piippo
Add option QT_GIT_PROTOCOL to specify the protocol to be used
with the QT_GIT uri.

Signed-off-by: Samuli Piippo 
---
 conf/layer.conf| 1 +
 recipes-qt/qt5/qt5-git.inc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index f83bd96..b7207e6 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -28,3 +28,4 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
 IMAGE_FEATURES[validitems] += "qtcreator-debug"
 
 QT_GIT ?= "git://github.com/qtproject"
+QT_GIT_PROTOCOL ?= "git"
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
index 172a170..f8fb38b 100644
--- a/recipes-qt/qt5/qt5-git.inc
+++ b/recipes-qt/qt5/qt5-git.inc
@@ -6,7 +6,7 @@ QT_MODULE_BRANCH ?= "5.6"
 
 # each module needs to define valid SRCREV
 SRC_URI = " \
-${QT_GIT}/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
+
${QT_GIT}/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH};protocol=${QT_GIT_PROTOCOL}
 \
 "
 
 S = "${WORKDIR}/git"
-- 
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] various: delete qt4 recipes that break parsing due to missing classes

2016-01-13 Thread Martin Jansa
It does appear in patchwork:
http://patchwork.openembedded.org/patch/111547/

It's just marked as archive (as every patch after it's moved to specific
bundle), see:
http://openembedded.org/wiki/Patchwork#Multiple_layers_sharing_the_same_oe_project_on_patchwork

On Mon, Jan 11, 2016 at 9:51 AM, Koen Kooi  wrote:

> On 11 January 2016 at 09:08, Andreas Müller
>  wrote:
> > On Mon, Jan 11, 2016 at 8:10 AM, Koen Kooi  wrote:
> >> Signed-off-by: Koen Kooi 
> >> ---
> > double efforts? [1]
>
> Looks like it, but [1] doesn't show up in
> http://patchwork.openembedded.org/project/oe/list/ :(
>
> >
> > [1]
> http://lists.openembedded.org/pipermail/openembedded-devel/2016-January/105406.html
> >
> > Andreas
>
>
>
> --
> Koen Kooi
>
> Builds and Baselines | Release Manager
> Linaro.org | Open source software for ARM SoCs
> --
> ___
> 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] [meta-networking][PATCH v3] dhcpcd: add recipe for dhcpcd

2016-01-13 Thread Nate Karstens
Adds a new recipe for dhcpcd version 6.10.0.

Signed-off-by: Nate Karstens 
---
 .../recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb   | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb

diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb 
b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
new file mode 100644
index 000..6478a02
--- /dev/null
+++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
@@ -0,0 +1,22 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your 
computer to work on the attached networks without trouble and mostly without 
configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/;
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = 
"file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8e9b"
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz;
+
+SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
+SRC_URI[sha256sum] = 
"ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
+
+inherit autotools
+
+B = "${S}"
+EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
+
+FILES_${PN}-dbg += "/usr/lib/dhcpcd/dev/.debug"
+
+RDEPENDS_${PN} = "udev"
-- 
1.9.1

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


[oe] [meta-networking][PATCH v3] dhcpcd: add recipe for dhcpcd

2016-01-13 Thread Nate Karstens
Adds a new recipe for dhcpcd version 6.10.0.

Signed-off-by: Nate Karstens 
---
 .../recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb   | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb

diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb 
b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
new file mode 100644
index 000..6478a02
--- /dev/null
+++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
@@ -0,0 +1,22 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your 
computer to work on the attached networks without trouble and mostly without 
configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/;
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = 
"file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8e9b"
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz;
+
+SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
+SRC_URI[sha256sum] = 
"ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
+
+inherit autotools
+
+B = "${S}"
+EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
+
+FILES_${PN}-dbg += "/usr/lib/dhcpcd/dev/.debug"
+
+RDEPENDS_${PN} = "udev"
-- 
1.9.1

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


Re: [oe] [meta-networking][PATCH v3] dhcpcd: add recipe for dhcpcd

2016-01-13 Thread Khem Raj

> On Jan 13, 2016, at 2:07 PM, Nate Karstens  wrote:
> 
> Adds a new recipe for dhcpcd version 6.10.0.
> 
> Signed-off-by: Nate Karstens 
> ---
> .../recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb   | 22 ++
> 1 file changed, 22 insertions(+)
> create mode 100644 
> meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
> 
> diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb 
> b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
> new file mode 100644
> index 000..6478a02
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
> @@ -0,0 +1,22 @@
> +SECTION = "console/network"
> +SUMMARY = "dhcpcd - a DHCP client"
> +DESCRIPTION = "dhcpcd runs on your machine and silently configures your 
> computer to work on the attached networks without trouble and mostly without 
> configuration."
> +
> +HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/;
> +
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = 
> "file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8e9b"
> +
> +SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz;
> +
> +SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
> +SRC_URI[sha256sum] = 
> "ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
> +
> +inherit autotools
> +
> +B = "${S}”

you could inherit autotools-brokensep instead of autotools and remove above two 
lines.
ideally a fix to build it out of source tree would be choice #1

> +EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
> +
> +FILES_${PN}-dbg += "/usr/lib/dhcpcd/dev/.debug”

use ${libdir} instead of /usr/lib

> +
> +RDEPENDS_${PN} = "udev"
> --
> 1.9.1
> 
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH v4] dhcpcd: add recipe for dhcpcd

2016-01-13 Thread Nate Karstens
Adds a new recipe for dhcpcd version 6.10.0.

Signed-off-by: Nate Karstens 
---
 .../recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb   | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb

diff --git a/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb 
b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
new file mode 100644
index 000..058a932
--- /dev/null
+++ b/meta-networking/recipes-connectivity/dhcpcd/dhcpcd_6.10.0.bb
@@ -0,0 +1,22 @@
+SECTION = "console/network"
+SUMMARY = "dhcpcd - a DHCP client"
+DESCRIPTION = "dhcpcd runs on your machine and silently configures your 
computer to work on the attached networks without trouble and mostly without 
configuration."
+
+HOMEPAGE = "http://roy.marples.name/projects/dhcpcd/;
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = 
"file://dhcpcd.c;endline=26;md5=77c40d671aff804ca91ea99556da8e9b"
+
+SRC_URI = "http://roy.marples.name/downloads/${BPN}/${BPN}-${PV}.tar.xz;
+
+SRC_URI[md5sum] = "f39c5773e7c4bea352d9fb7367c899de"
+SRC_URI[sha256sum] = 
"ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35"
+
+inherit autotools
+
+B = "${S}"
+EXTRA_OECONF = "--enable-ipv4 --enable-ipv6"
+
+FILES_${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"
+
+RDEPENDS_${PN} = "udev"
-- 
1.9.1

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


[oe] OE Changelog since 2016-01-03 until 2016-01-10

2016-01-13 Thread cliff . brake
Changelog since 2016-01-03 until 2016-01-10.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
meta-arago: git://arago-project.org/git/meta-arago.git
meta-atmel: https://github.com/linux4sam/meta-atmel.git
meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
meta-browser: git://github.com/OSSystems/meta-browser.git
meta-bug: git://github.com/buglabs/meta-bug.git
meta-chicken: git://github.com/OSSystems/meta-chicken
meta-efikamx: git://github.com/kraj/meta-efikamx.git
meta-ettus: http://github.com/koenkooi/meta-ettus.git
meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
meta-gumstix: git://github.com/gumstix/meta-gumstix.git
meta-gumstix-community: 
https://github.com/schnitzeltony/meta-gumstix-community.git
meta-handheld: git://git.openembedded.org/meta-handheld
meta-igep: http://github.com/ebutera/meta-igep.git
meta-intel: git://git.yoctoproject.org/meta-intel
meta-ivi: git://git.yoctoproject.org/meta-ivi
meta-java: git://github.com/woglinde/meta-java
meta-jetson-tk1: https://github.com/cubicool/meta-jetson-tk1.git
meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
meta-micro: git://git.openembedded.org/meta-micro
meta-mono: git://git.yoctoproject.org/meta-mono.git
meta-netbookpro: git://github.com/tworaz/meta-netbookpro
meta-nodejs: https://github.com/imyller/meta-nodejs.git
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-opie: git://git.openembedded.org/meta-opie
meta-qt3: git://git.yoctoproject.org/meta-qt3
meta-qt5: git://github.com/meta-qt5/meta-qt5.git
meta-slugos: git://github.com/kraj/meta-slugos
meta-systemd: git://git.yoctoproject.org/meta-systemd
meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-ti: git://git.yoctoproject.org/meta-ti
meta-webos: git://github.com/openwebos/meta-webos.git
meta-xilinx: git://git.yoctoproject.org/meta-xilinx
meta-yocto: git://git.yoctoproject.org/meta-yocto
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:

Ed Bartosh (14):
  cooker: add state.get_name method
  uievent: add error to registerEventHandler return
  uievent: get rid of EventHandler attribute
  uievent: refactor retry loop
  xmplrpc: split connect method
  main: kill server without queue setup
  taskdata: refactor get_providermap
  cooker: add providermap to dep_tree
  buildinfohelper: use providermap
  toaster: add Provider model
  buildinfohelper: add provides info to the db
  toaster: show list of provides for the recipe
  toaster: show 'satisfied via' text for build deps
  toaster: show 'satisfied via' text for reverse deps

Juro Bystricky (1):
  fetch2/__init__.py: Add support for 7-Zip

Michael Wood (1):
  toaster: settings Add uid to the toaster cache dir

Richard Purdie (10):
  codeparser: Add support for correct linenumbers
  data: Pass lineno/filename data from build_dependencies
  cooker: Drop useless parsing exception
  data: Drop misleading ExpansionError exception
  siggen: Change exception note into a warning
  utils: Remove double compile from better_compile
  ast: Add filename/lineno to mapped functions
  knotty: Use non-interactive mode as fallback for dumb terminals
  fetch/git: Change to use clearer ssh url syntax for broken servers
  main/runqueue: Add --setscene-only option to bitbake

Robert Yang (1):
  fetch2/local.py: avoid using PREMIRROR

Ross Burton (2):
  cooker: use in instead of count
  cooker: fix findFilesMatchingInDir documentation


Changelog for openembedded-core:

Alejandro Joya (4):
  base-utils:flexible dependency for command utilities
  core-image-minimal-initramfs: replace base-utils
  initramfs-framework_1.0:replace busybox for variable.
  packagegroup-core-boot:replace busybox to variable

Alexander Kanavin (2):
  qt4: remove recipes and classes
  packagegroup-core-lsb: treat qt4 packages same as qt3 packages

Andre McCurdy (1):
  security_flags.inc: disable -fstack-protector-XXX for valgrind

Awais Belal (1):
  grub2: Fix CVE-2015-8370

Daniel Istrate (5):
  selftest: moved tc test_buildhistory_does_not_change_signatures
  oe-selftest: Improved --list-classes when determining test names
  oe-selftest: New option --list-tests
  selftest: Added testcase decorators for 2 tests
  scripts/oe-selftest: Allow to run tests on random/all MACHINEs

Humberto Ibarra (1):
  scripts/oe-selftest: Remove extra coverage data added to unittests

Ioan-Adrian Ratiu (3):
  x11vnc: move recipe to meta-oe
  x11vnc: 

Re: [oe] [meta-oe] OpenLDAP modules

2016-01-13 Thread Bruno Vernay
Adding this to my bbappend did the trick ...

TARGET_CC_ARCH += "-lpthread"

I may submit a patch


On Wed, Jan 13, 2016 at 5:33 PM Bruno Vernay  wrote:

> I still have errors, but made a recipe bbappend to install "openldap-slapd
> openldap-dev"
>
> At run I have:
> usr/sbin/slapd: symbol lookup error:
> /usr/lib/openldap/openldap/back_mdb-2.4.so.2: undefined symbol:
> pthread_key_create
>
> Also note that
> /usr/lib/openldap/openldap# strings back_mdb-2.4.so.2.10.5 | grep
> thread_key_create
> pthread_key_create
> /lib# strings libpthread.so.0 |grep thread_key_create
> __pthread_key_create
>
> I someone could help?
>
> //
> PACKAGECONFIG_append = " mdb"
> FILES_${PN} += "${datadir}/${BPN}-data"
> do_install_append() {
> # Uses mdm as the database
> #  and datadir as data directory ...
> sed -e 's/# modulepath/modulepath/' \
> -e 's/# moduleload\s*back_bdb/moduleloadback_mdb/' \
> -e 's/database\s*bdb/databasemdb/' \
> -e 's%^directory\s*.*%directory   ${datadir}/${BPN}-data/%' \
> -i ${D}${sysconfdir}/openldap/slapd.conf
>
> # Add debug info to the service
> sed -e 's/ \$slapd$/ \$slapd -- -d -1/' \
> -i ${D}${sysconfdir}/init.d/openldap
>
> mkdir -p ${D}${datadir}/${BPN}-data
> }
> /**/
>
>
>
>
>
> On Wed, Jan 13, 2016 at 11:12 AM Bruno Vernay 
> wrote:
>
>> To get the all the required files, I had to add the openldap-dev package.
>> Also the data dir: /var/openldap-data is not created by the recipe.
>> Regards
>>
>> On Tue, Jan 12, 2016 at 1:51 PM Bruno Vernay 
>> wrote:
>>
>>> Hi
>>> It seems that OpenLDAP modules are build, but not all files are
>>> installed on the target.
>>> I created an issue in GitHub:
>>> https://github.com/openembedded/meta-openembedded/issues/21
>>>
>>> Also I could not find any example or documentation on how to use this
>>> recipe (had to look at the code and trial and error). Is it the way to go
>>> or is there a place to contribute examples at least?
>>>
>>> Regards
>>> Bruno
>>>
>>>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe] OpenLDAP modules

2016-01-13 Thread Bruno Vernay
I still have errors, but made a recipe bbappend to install "openldap-slapd
openldap-dev"

At run I have:
usr/sbin/slapd: symbol lookup error:
/usr/lib/openldap/openldap/back_mdb-2.4.so.2: undefined symbol:
pthread_key_create

Also note that
/usr/lib/openldap/openldap# strings back_mdb-2.4.so.2.10.5 | grep
thread_key_create
pthread_key_create
/lib# strings libpthread.so.0 |grep thread_key_create
__pthread_key_create

I someone could help?

//
PACKAGECONFIG_append = " mdb"
FILES_${PN} += "${datadir}/${BPN}-data"
do_install_append() {
# Uses mdm as the database
#  and datadir as data directory ...
sed -e 's/# modulepath/modulepath/' \
-e 's/# moduleload\s*back_bdb/moduleloadback_mdb/' \
-e 's/database\s*bdb/databasemdb/' \
-e 's%^directory\s*.*%directory   ${datadir}/${BPN}-data/%' \
-i ${D}${sysconfdir}/openldap/slapd.conf

# Add debug info to the service
sed -e 's/ \$slapd$/ \$slapd -- -d -1/' \
-i ${D}${sysconfdir}/init.d/openldap

mkdir -p ${D}${datadir}/${BPN}-data
}
/**/





On Wed, Jan 13, 2016 at 11:12 AM Bruno Vernay  wrote:

> To get the all the required files, I had to add the openldap-dev package.
> Also the data dir: /var/openldap-data is not created by the recipe.
> Regards
>
> On Tue, Jan 12, 2016 at 1:51 PM Bruno Vernay 
> wrote:
>
>> Hi
>> It seems that OpenLDAP modules are build, but not all files are installed
>> on the target.
>> I created an issue in GitHub:
>> https://github.com/openembedded/meta-openembedded/issues/21
>>
>> Also I could not find any example or documentation on how to use this
>> recipe (had to look at the code and trial and error). Is it the way to go
>> or is there a place to contribute examples at least?
>>
>> Regards
>> Bruno
>>
>>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH v2] recipes-connectivity/samba: Remove /run directory tree

2016-01-13 Thread Mike Looijmans
Depending on PACKAGECONFIG selection, the /run/samba directory may not
have been created, causing build errors.

Since the /run directory is volatile on target, anything installed
there will vanish anyway, so just remove the /run tree if it exists.

This fixes do_install failing with an error like this:
 rmdir: failed to remove '/.../samba/4.1.12-r0/image/run/samba': No such file 
or directory
Signed-off-by: Mike Looijmans 
---
Alternative patch that just removes /run unconditionally.

 meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb 
b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
index e51f518..49df0f4 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
@@ -104,8 +104,7 @@ EXTRA_OECONF += "--enable-fhs \
 LDFLAGS += "-Wl,-z,relro,-z,now"
 
 do_install_append() {
-rmdir --ignore-fail-on-non-empty "${D}/run/samba"
-rmdir --ignore-fail-on-non-empty "${D}/run"
+rm -rf "${D}/run"
 
 if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; 
then
 install -d ${D}${systemd_unitdir}/system
-- 
2.1.4

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


[oe] Remove pth recipe

2016-01-13 Thread Khem Raj
Hi All,

We are carrying pth recipe in OE-Core.

1. There are no packages in OE-Core which depend on it.
2. pth is quite old ( last release was in 2006) moreover there is npth 
replacement available and we have recipe in OE-Core

I would like to propose a removal of this recipe but before doing so,
but wanted to find if there are any active users of this package

if you use it the please respond

-Khem




signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] meta-java Workflow

2016-01-13 Thread Jens Rehsack
Hi,

to avoid such a problem as it occurred with ec7b984f, 04d5d0bf and dfb21b44, I 
strongly suggest that meta-java follows the merge-workflow from other 
meta-layers:

cherry-pick new stuff into master-next, when settled - merge to master
Branch releases as other layers do and same, push back-ported patches into 
${rel_branch}-next and merge the behaving ones into ${rel_branch}.

The current way - pushing to master and live only there result in the happened 
revert - and to continue my work I would have to revert the reverts without any 
nice word in the commit message as I did in reverting 24b98ac3 with a88718b6.

Cheers
--
Jens Rehsack - rehs...@gmail.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel