Re: [yocto] Error Report Tool Purge

2018-07-19 Thread Martin Jansa
OK, so it's only visited links, not linked from ML or wiki or whatever, right? How huge the database is? I've checked our internal instance and on relatively slow VM we have: 47 472 724 Post_buildstatstask 2 715 091 Post_build 559 655 Post_buildfailure we use postgresql, the db currently has 20GB

Re: [yocto] net-snmp 5.8 recipe

2018-07-19 Thread Burton, Ross
Read the configure log and it will tell you what went wrong, which may or may not be easy to fix. Ross On 19 July 2018 at 22:01, Simon Chamlian wrote: > Hi, > > Is there any recipe for the new snmp release 5.8 ? > > I took the net-snmp_5.7.3.bb file and renamed it net-snmp_5.8.bb > removed the p

Re: [yocto] Error Report Tool Purge

2018-07-19 Thread Khem Raj
On Thu, Jul 19, 2018 at 11:30 AM Brindle, Amanda R wrote: > > Hello, > > > > The Error Reporting Tool’s database > (http://errors.yoctoproject.org/Errors/Latest/Autobuilder/) has grown to a > huge size, and this is affecting the performance of the application. We are > planning to run a purge

[yocto] net-snmp 5.8 recipe

2018-07-19 Thread Simon Chamlian
Hi, Is there any recipe for the new snmp release 5.8 ? I took the net-snmp_5.7.3.bb file and renamed it net-snmp_5.8.bb removed the patches and re-entered the checksum but it still giving me errors. ERROR: net-snmp-5.8-r0 do_configure: This autoconf log indicates errors, it looked at host includ

Re: [yocto] QA cycle report for 2.2.4 RC1

2018-07-19 Thread richard . purdie
On Thu, 2018-07-19 at 09:55 +, Yeoh, Ee Peng wrote: > This is the full report for 2.2.4.rc1: > https://wiki.yoctoproject.org/wiki/WW28_-_2018-07-13_-_Full_Test_Cycl > e_2.2.4_rc1 > > === Summary > > All planned tests were executed. There were zero high milestone > defect. T

Re: [yocto] Error Report Tool Purge

2018-07-19 Thread Brindle, Amanda R
Every time a specific report is visited (with the end of the URL being /Errors/Details/), we are tracking if the referrer is another website, the reporting tool itself, or unknown. If the referrer is another website or unknown, then we won’t delete it. The purge script does not look at links to

Re: [yocto] Error Report Tool Purge

2018-07-19 Thread Martin Jansa
I'm just curious, how are you tracking which reports were viewed or linked to (and linked from where)? I often use a link to http://errors.yoctoproject.org in the mailing list or the recipes/commit message instead of copy pasting whole build error, because it already shortens the build paths and sh

[yocto] Error Report Tool Purge

2018-07-19 Thread Brindle, Amanda R
Hello, The Error Reporting Tool's database (http://errors.yoctoproject.org/Errors/Latest/Autobuilder/) has grown to a huge size, and this is affecting the performance of the application. We are planning to run a purge to get rid of reports that we don't need. We will keep reports from the las

[yocto] Minutes: Yocto Project Weekly Triage Meeting

2018-07-19 Thread Jolley, Stephen K
Attendees: Kosta, Randy, Stephen, Anuj, Amanda, Richard, Ross, Joshua, Alejandro, Paul, Wiki: https://wiki.yoctoproject.org/wiki/Bug_Triage AR: Anuj – Review 12789. AR: Paul – Check with Aaron about 12698

Re: [yocto] Setting recipe version inside an image recipe

2018-07-19 Thread Mauro Ziliani
Thank you. Your suggestion is very useful. The best choice at the end is to have one  recipe every stable version of myapp. So I can freeze the true production recipe for that version. Maybe in the future the recipe myapp could be evolve with some enhancement which could not be compatible w

Re: [yocto] Setting recipe version inside an image recipe

2018-07-19 Thread Paul Eggleton
Hi Mauro On Thursday, 19 July 2018 2:36:18 PM CEST Mauro Ziliani wrote: > I'm working with Krogoth. > > I'd like to do this. > > - I have my application added to yocto tree by its own recipe myapp_git.bb > > This recipe get the source code from a local git repository setting > SRCREV for the

Re: [yocto] cannelloni.bb (Was: [Chicken and Egg problem] Defining RDEPENDS of the package itself)

2018-07-19 Thread Zoran Stojsavljevic
> :-) I mentioned that in my original response. I noticed after I sent my email. Sorry/apologies, I do too many different tasks, so I get very often scrambled. :-( > I will finish up that response later anyway so we can figure out a good > strategy together. Too many companies do this on their

[yocto] [layerindex-web][PATCH 2/3] Add minimal tests for update script

2018-07-19 Thread Paul Eggleton
Up to this point we haven't had any regression tests for the layer index, but the application (in particular the update script) has become rather complicated, and we have had a few regressions, so here are some tests. I've implemented them using pytest and pytest-django; I chose pytest since we are

[yocto] [layerindex-web][PATCH 3/3] README: add an example virtualenv-based setup

2018-07-19 Thread Paul Eggleton
A while ago I was trying to help someone new get started with a development setup for the layer index and it occurred to me that the virtualenv-based environment I am using for development isn't actually covered in the documentation, so I wrote something quick for them but didn't do anything furthe

[yocto] [layerindex-web][PATCH 1/3] update: fix handling of moves outside of a layer

2018-07-19 Thread Paul Eggleton
If a file is moved (renamed) to a path outside of the layer, e.g. another layer within a multi-layer repository, then we need to treat it as a delete. Up until now we were updating the path and continuing, and then the recipe was also picked up as an add in the other layer, leading to duplicate rec

[yocto] [layerindex-web][PATCH 0/3] Bugfix, tests, doc update

2018-07-19 Thread Paul Eggleton
A fix for a bug in the update script, some regression tests (finally!) and a small bit for the README about setting up dependencies using virtualenv. The following changes since commit 49981aebf6fab9338f2a570acbb9aa67312c8865: Add site-wide notice support (2018-07-09 13:50:15 +0200) are avail

Re: [yocto] cannelloni.bb (Was: [Chicken and Egg problem] Defining RDEPENDS of the package itself)

2018-07-19 Thread Gunnar Andersson
On Thu, 2018-07-19 at 14:44 +0200, Zoran Stojsavljevic wrote: > Actually, I ran into this: > http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes- > extended/socketcan :-) I mentioned that in my original response. > > So here, I think, can-utils recipes should be revisited, canne

Re: [yocto] cannelloni.bb (Was: [Chicken and Egg problem] Defining RDEPENDS of the package itself)

2018-07-19 Thread Zoran Stojsavljevic
Actually, I ran into this: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-extended/socketcan So here, I think, can-utils recipes should be revisited, cannelloni recipe added, and also another application recipe added as well: https://github.com/dschanoeh/socketcand/ Best Rega

[yocto] Setting recipe version inside an image recipe

2018-07-19 Thread Mauro Ziliani
Hi all I'm working with Krogoth. I'd like to do this. - I have my application added to yocto tree by its own recipe myapp_git.bb This recipe get the source code from a local git repository setting  SRCREV for the last stable application source code. SRCREV is fixed in myapp_git.bb - I hav

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Zoran Stojsavljevic
> Is your code published? (I mean not in the email, > too messy to extract it from there) Feel free to comment on it, and to elaborate better recipes. Published on my scratch pad everything/nothing git: https://github.com/ZoranStojsavljevic/cip-rt-misc/tree/master/configs/bbb/YOCTO-recipes Zoran

Re: [yocto] cannelloni.bb (Was: [Chicken and Egg problem] Defining RDEPENDS of the package itself)

2018-07-19 Thread Zoran Stojsavljevic
> I'm happy to move cannelloni to a generic layer if there is wider interest. I did not write only the stand-alone recipe for cannelloni, since I needed the one, original one from this location: https://github.com/mguentner/cannelloni I also wrote one for can-utils, since one, residing in YOCTO P

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Gunnar Andersson
On Thu, 2018-07-19 at 09:22 +0200, Zoran Stojsavljevic wrote: [trimmed] > Actually, the recipe I am showing here is the GENIVI (the same you > pointed to), but heavily modified. :-) See previous email about shared maintenance :-) Is your code published? (I mean not in the email, too messy to ex

[yocto] cannelloni.bb (Was: [Chicken and Egg problem] Defining RDEPENDS of the package itself)

2018-07-19 Thread Gunnar Andersson
On Wed, 2018-07-18 at 23:49 +0200, Mirza Krak wrote: > On Wed, Jul 18, 2018, 13:38 Zoran Stojsavljevic .com> wrote: > > Hello YOCTO community, > > > > Since I need to build the latest and the greatest Github creations > > from the independent contributors, I decided myself to write few YOCTO > >

Re: [yocto] Why can diffsigs take sometimes really looooong?

2018-07-19 Thread Richard Purdie
On Mon, 2018-07-16 at 11:26 +0300, Uwe Geuder wrote: > On Sun, Jul 15, 2018 at 1:38 PM, Richard Purdie wrote: > > On Fri, 2018-07-13 at 19:18 +0300, Uwe Geuder wrote: > > > At times I find the diffsigs command useful/educational to > > > understand > > > what is going on in my build. > > > > > >

[yocto] QA cycle report for 2.2.4 RC1

2018-07-19 Thread Yeoh, Ee Peng
Hello All,   This is the full report for 2.2.4.rc1: https://wiki.yoctoproject.org/wiki/WW28_-_2018-07-13_-_Full_Test_Cycle_2.2.4_rc1   === Summary   All planned tests were executed. There were zero high milestone defect. Team had found 3 new defects [1] [2] [3] where runtime test_

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Zoran Stojsavljevic
This does work: S = "${WORKDIR}/git" inherit pkgconfig cmake inherit systemd EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release" INSANE_SKIP_${PN} = "ldflags" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_SYSROOT_STRIP = "1" SOLIBS = ".so" FILES_SOLIBSDEV = "" do_install_*append* () { install -d ${D}${lib

Re: [yocto] [Chicken and Egg problem] Defining RDEPENDS of the package itself!

2018-07-19 Thread Zoran Stojsavljevic
Hello Andre, Thank you for the tips. Tried what you have suggested. I had some errors, again in do_install(), then I read .log, and fixed the paths. This is my recipe, important part of it, as of now: ___ S = "${WORKDIR}/git" inherit pkgconfig cmake inherit systemd EXTRA_OECMAKE += "-DCMA