[yocto] [layerindex-web][PATCH 3/3] Show note if layer branch hasn't been indexed

2017-10-03 Thread Paul Eggleton
For newly added layers it may not be immediately obvious that you have to wait for it to be indexed (since the update script is usually run on a scheduled basis). If the layer branch hasn't been indexed, add a note mentioning this. Signed-off-by: Paul Eggleton --- templates/layerindex/detail.htm

[yocto] [layerindex-web][PATCH 2/3] models: allow LayerBranch.collection to be blank

2017-10-03 Thread Paul Eggleton
It's really irritating to be forced to specify a value for this field especially as it'll get auto-populated by the update script. Set blank=True to allow that. While we're at it, touch up the description a bit to make more sense. Signed-off-by: Paul Eggleton --- layerindex/migrations/0009_layer

[yocto] [layerindex-web][PATCH 1/3] update: allow preserving temp directory

2017-10-03 Thread Paul Eggleton
If you're diagnosing problems with the bitbake server when running the update script, then you need to be able to look at bitbake-cookerdaemon.log, but you couldn't do that after the fact because the temporary directory it gets written out to was being unconditionally deleted. Add a --keep-temp opt

[yocto] [meta-gplv2][PATCH 2/2] groff: Drop local getopt implementation in favor of the one from glibc

2017-10-03 Thread Peter Kjellerstedt
This avoids the following error with GCC 7: In file included from /usr/include/bits/getopt_posix.h:27:0, from /usr/include/unistd.h:872, from src/libs/libgroff/maxfilename.cc:28: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(in

[yocto] [meta-gplv2][PATCH 1/2] groff: Make it build with compile time hardening enabled

2017-10-03 Thread Peter Kjellerstedt
This avoids the following error: src/devices/grohtml/post-html.cc: In member function 'void header_desc::write_headings(FILE*, int)': src/devices/grohtml/post-html.cc:1402:32: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(f, buffer.conte

Re: [yocto] [qa-tools][PATCH] scripts: Add ptest-parser to create reports for pTest executions

2017-10-03 Thread Jose Perez Carranza
On 10/03/2017 09:42 AM, Joshua Lock wrote: Hi Jose, Where will the previous log come from in standard QA use? I'm wondering if we should work towards (in the 2.5 cycle) another git repo in the yp-qa-* namespace to keep historical ptest results and build some tooling around that, in a similar

Re: [yocto] trying to initialize a new devtool recipe using mercurial SCM

2017-10-03 Thread Greg Wilson-Lindberg
Is there anyone that has any experience with trying to create a recipe with devtool with the source in a mercurial repository? I did some more searching and it looks like the 'module' is the repository that you are trying to pull, so I modified the command to: devtool add canfestival sources

Re: [yocto] package error for custom devtool recipe

2017-10-03 Thread Greg Wilson-Lindberg
Hi Paul, Thanks for the corrections. I was working from examples from the book "Embedded Linux Systems with the Yocto Project" by Rudolf J. Streif and he left out the ${PN} in the file name. Including that makes sense now that I see your suggestions. It's now working correctly. Thanks again,

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
On 3 October 2017 at 16:36, eliya@gmail.com wrote: > Thanks Ross, > That is the issue : default pkg-config does not search host paths - How to > edit its search paths ? > "If you *really* want to link against host binaries and not building your own native recipes for it then see qemu.inc for

Re: [yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
Thanks Ross, That is the issue : default pkg-config does not search host paths - How to edit its search paths ? On Tue, Oct 3, 2017 at 6:28 PM, Burton, Ross wrote: > Ah, so if you're inheriting native then the default pkg-config is good, > but the host paths are not searched out of the box. > >

Re: [yocto] [ptest-runner 8/8] Added to XML

2017-10-03 Thread Joshua Lock
Is this an evolution of the change in 6/8? Can it be squashed in with that patch? Thanks, Joshua On 29/09/17 03:09, Jiwei Sun wrote: Signed-off-by: Jiwei Sun --- tests/data/reference.xml | 3 ++- tests/utils.c| 4 ++-- utils.c | 49 +

Re: [yocto] [ptest-runner 6/8] Add to XML when tests fail

2017-10-03 Thread Joshua Lock
On 29/09/17 03:09, Jiwei Sun wrote: * Introduce a maximum number of concurrent ptests, since we are dealing with embedded targets. This piece seems like it should be squashed into "[ptest-runner 5/8] Add parallelism to TC execution" There's a lot of code moved around and whitespace changes

Re: [yocto] [ptest-runner 5/8] Add parallelism to TC execution

2017-10-03 Thread Joshua Lock
Thanks for the patch, could you help potential reviewers to understand what the patch adds and why by improving the commit message? There's a lot of noise in this patch with unrelated whitespace changes and formatting changes. Please re-send without those changes. Existing coding style should

Re: [yocto] [ptest-runner 1/8] Corrected return code interpreter

2017-10-03 Thread Joshua Lock
Can you add a commit message detailing what changed and why? Most of the commit messages in this series don't help me understand what changed and why: https://chris.beams.io/posts/git-commit/ This is especially important as the original author of the code has moved on from the project. On 29

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
Ah, so if you're inheriting native then the default pkg-config is good, but the host paths are not searched out of the box. If you *really* want to link against host binaries and not building your own native recipes for it then see qemu.inc for an example of how to steal the host pkg-config path a

[yocto] Minutes: Yocto Project Technical Team Meeting

2017-10-03 Thread Jolley, Stephen K
Attendees: Stephen, Armin, Stephano, Saul, Mark, Michael, Joshua, Robin, Brian, Ulf Agenda: * Opens collection - 5 min (Stephen) * Yocto Project status - 5 min (Stephen/team) YP 2.2.2 was released. YP 2.3.2 was released. YP 2.4 M4 is in QA and 81% complete. See status at: https://wiki.yoctopro

Re: [yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
when running the recipe I get during do_configure: Checking for header stdlib.h : yes ... Checking for program pkg-config : /home/wzbwjj/vpm/GR_Yocto/build/tmp/sysroots/x86_64-linux/usr/bin/pkg-config How do I change that ? On Tue, Oct 3, 2017 at 6:02 PM, Burton, Ross wrote

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
You don't need to, it will search the host. Ross On 3 October 2017 at 15:54, eliya@gmail.com wrote: > Hi Ross, > how to configure use of pkg-config-native ? > > On Tue, Oct 3, 2017 at 5:51 PM, Burton, Ross > wrote: > >> On 3 October 2017 at 15:13, eliya@gmail.com >> wrote: >> >>> Hi a

Re: [yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
Hi Ross, how to configure use of pkg-config-native ? On Tue, Oct 3, 2017 at 5:51 PM, Burton, Ross wrote: > On 3 October 2017 at 15:13, eliya@gmail.com > wrote: > >> Hi all, >> I am new to the Yocto project. >> Is this the Yocto forum ? >> I would like configure pkg-config search directories

Re: [yocto] pkg-config search directories

2017-10-03 Thread Burton, Ross
On 3 October 2017 at 15:13, eliya@gmail.com wrote: > Hi all, > I am new to the Yocto project. > Is this the Yocto forum ? > I would like configure pkg-config search directories but, the program > configured from the sysroots file system, so it does not see Host > environment variables. > i.e

Re: [yocto] [qa-tools][PATCH] scripts: Add ptest-parser to create reports for pTest executions

2017-10-03 Thread Joshua Lock
Hi Jose, Where will the previous log come from in standard QA use? I'm wondering if we should work towards (in the 2.5 cycle) another git repo in the yp-qa-* namespace to keep historical ptest results and build some tooling around that, in a similar vein to poky-buildhistory / buildhistory-di

[yocto] pkg-config search directories

2017-10-03 Thread eliya....@gmail.com
Hi all, I am new to the Yocto project. Is this the Yocto forum ? I would like configure pkg-config search directories but, the program configured from the sysroots file system, so it does not see Host environment variables. i.e : there are two pkg-config apps : Host's pkg-config located at /usr/bin

Re: [yocto] [opkg-devel] [opkg-utils PATCH] opkg.py: Fix run-time error in call to ArFile

2017-10-03 Thread Alejandro del Castillo
ouch...this was clearly wrong opkg-utils is badly needing an ATS to prevent this bugs from slipping in... thanks a bunch for the fix! (just merged it into master) On 10/02/2017 02:37 PM, Jeffrey Pautler wrote: Signed-off-by: Jeffrey Pautler --- opkg.py | 2 +- 1 file changed, 1 insertion(+