Re: [yocto] [yocto-autobuilder][PATCH] nightly-world-lsb.conf: skip Publish step so artifacts don't overwrite nightly-world ones

2016-06-21 Thread Beth 'pidge' Flanagan
On Mon, 2016-06-20 at 08:00 -0700, Bill Randle wrote: > Signed-off-by: Bill Randle > --- >  buildset-config.controller/nightly-world-lsb.conf | 5 +++-- >  1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/buildset-config.controller/nightly-world-lsb.conf > b/buildset-config.control

[yocto] installation of kernel modules

2016-06-21 Thread S . Jaritz
Hej I have a problem when running do_rootfs() with some own kernel drivers included. My kernel recipe builds some easy GPIO drivers. # They come as one package: myKernelModules: -> a.ko -> b.ko -> c.ko # I build a recipe which creates: myKernelModules.bb -> pack

[yocto] Yocto 2.1 perl problem

2016-06-21 Thread Anicic Damir (PSI)
Hi! Suddenly perl does not build any more (I did not have the problem in last two weeks). I did not change anything (my humble bitbake understanding) about perl. = Build Configuration: BB_VERSION= "1.30.0" BUILD_SYS

Re: [yocto] Yocto 2.1 perl problem

2016-06-21 Thread Leonardo Sandoval
Some basic approach: Try cleaning the target (perl, in this case) and build again. $ bitbake -c cleansstate perl & bitbake perl On 06/21/2016 08:00 AM, Anicic Damir (PSI) wrote: Hi! Suddenly perl does not build any more (I did not have the problem in last two weeks). I did not change anyt

Re: [yocto] [[PATCH][AUH] 3/3] upgradehelper.py: Disable _order_pkgs_to_upgrade functionality

2016-06-21 Thread Leonardo Sandoval
On 06/20/2016 04:27 PM, Aníbal Limón wrote: The _order_pkgs_to_upgrade function order a set of packages to be upgraded based on bitbake dependency graph, currently _order_pkgs_to_upgrade is broken so disable it while fix. Signed-off-by: Aníbal Limón --- upgradehelper.py | 5 +++-- 1 file c

[yocto] [license][PATCH 1/2] license: Add support for SPDX 2.0 operators

2016-06-21 Thread Sergei Miroshnichenko
Composite SPDX license expressions can be constructed using "OR", "AND" and "WITH" operators: map them to "|" and "&" Yocto operators accordingly. Recognize long form license identifiers: "[DocumentRef-XXX:][LicenseRef-]YYY". Tested on the following expressions: LICENSE = "Artistic-1.0" LICENSE =

[yocto] [license][PATCH 2/2] ref-manual: Add description for SPDX license operators

2016-06-21 Thread Sergei Miroshnichenko
Add examples of "OR", "AND" and "WITH" operators usage. Reference: https://spdx.org/sites/spdx/files/SPDX-2.0.pdf Appendix IV: SPDX License Expression Signed-off-by: Sergei Miroshnichenko --- documentation/ref-manual/ref-variables.xml | 21 - 1 file changed, 16 insertions(+

[yocto] meta-go

2016-06-21 Thread Sridhar Pitchai
Hi,I am trying to write a recipe to compile a go program. i am using meta-go for go compiler.  getting the following error " # runtime/cgo| ../../../../../../../../../sysroots/x86_64-linux/usr/lib/x86_64-openswitch-linux/go/src/runtime/cgo/cgo.go:54:19: fatal error: errno.h: No such file or dir

Re: [yocto] Yocto 2.1 perl problem

2016-06-21 Thread Anicic Damir (PSI)
Ah, I have even deleted everything (repo, downloads, build dir) and started from scratch.: git clone -b krogoth git://git.yoctoproject.org/poky.git add my meta-gfa/* source oe-init-build-env adjust local.conf + bblayers.conf bitbake core-image-psi-gfa-cmd --continue simple everything fro

[yocto] [yocto-autobuilder][PATCHv2] nightly-world-lsb.conf: skip Publish step so artifacts don't overwrite nightly-world ones

2016-06-21 Thread Bill Randle
Signed-off-by: Bill Randle --- v2: delete line, rather than commenting it out buildset-config.controller/nightly-world-lsb.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildset-config.controller/nightly-world-lsb.conf b/buildset-config.controller/nightly-world-lsb.

Re: [yocto] Yocto 2.1 perl problem

2016-06-21 Thread Anicic Damir (PSI)
I found something. It seems that tar 1.29 (which I recently installed) is broken. http://patchwork.openembedded.org/patch/123727/ I'll try now with tar 1.28 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yoct

Re: [yocto] Yocto 2.1 perl problem

2016-06-21 Thread Leonardo Sandoval
Right. In fact, there is a bug related to this problem https://bugzilla.yoctoproject.org/show_bug.cgi?id=9763 Apparently, the fix is simple: move the --exclude argument just before the FILES. Simple change but affects several recipes. Leo On 06/21/2016 09:42 AM, Anicic Damir (PSI) wrote:

[yocto] Release Candidate Build for yocto-2.2_M1.rc2_M1.rc2 now available.

2016-06-21 Thread Poky Build User
-e A release candidate build for yocto-2.2_M1.rc2 is now available at: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.2_M1.rc2 Please begin QA on this build as soon as possible. Build hash information: meta-qt4 : 8b346c465a5efb280f8d0d23f8660f68bf9af59f meta-intel : 1b98ae6d7e103

Re: [yocto] installation of kernel modules

2016-06-21 Thread Daniel.
Take a look at deploy folder if your packages (rpm in my case) are being created. I have faced problems where files go to -dev.rpm packages and the yocto silently refuses to create empty .rpm package. Regards, 2016-06-21 5:33 GMT-03:00 : > Hej > > I have a problem when running do_rootfs() with s

[yocto] Issues with Jethro qemu-native package build

2016-06-21 Thread John Schluechtermann
I have a custom image that I am trying to make the SDK for using bitbake (custom image name) -c populate_sdk. When performing this step the following error is encountered. | ERROR: User requested feature uuid |configure was not able to find it. |Install libuuid devel Can someon

Re: [yocto] Sharing header files between out-of-tree KLMs

2016-06-21 Thread Khem Raj
may be first one stages the header into build sysroot and otherone adds a DEPENDS on the first one and expects it in /usr/include/ wrote: > I am building two out-of-tree KLMs with separate yocto recipes. > > > > One of the KLMs depends on a data structure defined in the other one. At > > present th

[yocto] [[yocto-autobuilder][PATCHv2] 00/15] Add support for generate bitbake/oe-selftest error reports

2016-06-21 Thread Aníbal Limón
This v2 adds support for generate also oe-selftest reports this is almost the previous version with changes requested in review [1], the next patches starts from patch, autobuilder/lib/{ABtools,builsteps}.py: Create save_error_report func Also the changes could be reviewed at [2]. [1] ht

[yocto] [[yocto-autobuilder][PATCHv2] 01/15] lib/buildsteps.py: Add BitbakeShellCommand class

2016-06-21 Thread Aníbal Limón
The BitbakeShellCommand is a new class for store common methods when is aim to run bitbake inside an step. Also don't call directly the ShellCommand constructur use super to be able for call the parent constructor no matter what is this enables to call BitbakeShellCommand constructor. Signed-off-

[yocto] [[yocto-autobuilder][PATCHv2] 02/15] lib/buildsteps.py: Add BitbakeLogLineObserver for BitbakeShellCommands.

2016-06-21 Thread Aníbal Limón
The BitbakeLogLineObserver look into stdio output of bitbake process and identify for exception/errors into log, Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/buildsteps.py| 51 ++ 1 file changed, 51 insertions(+) diff --git a/lib/python2.7/site-packa

[yocto] [[yocto-autobuilder][PATCHv2] 03/15] lib/buildsteps: BitbakeShellCommand add support for create error reports

2016-06-21 Thread Aníbal Limón
When bitbake command fails and isn't a recipe task failure then create an error report and store into yocto-controller folder for be able to transfer to the worker in order to send to the Error report web. Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/buildsteps.py| 63 ++

[yocto] [[yocto-autobuilder][PATCHv2] 04/15] lib/ABTools: Add functions for get errordir path in controller and worker

2016-06-21 Thread Aníbal Limón
get_error_report_controller_dir: Returns controller error report dir where bitbake exception/errors are stored. get_error_report_worker_dir: Returns controller error report dir where recipe task failures are stored. Also update the current sources to use that functions. Signed-off-by: Aníbal Lim

[yocto] [[yocto-autobuilder][PATCHv2] 05/15] buildbot: Add support for DirectoryDownload transfer step

2016-06-21 Thread Aníbal Limón
The new DirectoryDownload transfer step provides support for download a directory from master to slave in specific location. The current implementation extends FileDownload step but it creates a tar file (may be compressed) and download it from master to slave, finally slave decompress the tarfile

[yocto] [[yocto-autobuilder][PATCHv2] 06/15] autobuilder/buildsteps: Add DownloadBitbakeErrorReports step

2016-06-21 Thread Aníbal Limón
Now the worker is responsible of sending error reports to ERW so in order to don't duplicate functionality add this step for download bitbake error reports generated in master AB. Signed-off-by: Aníbal Limón --- .../buildsteps/DownloadBitbakeErrorReports.py | 42 ++ 1 fi

[yocto] [[yocto-autobuilder][PATCHv2] 08/15] lib/buildsteps.py: BitbakeShellCommand add support for error_type

2016-06-21 Thread Aníbal Limón
When generate bitbake error reports two type of errors could be happen a bitbake generic one or when is running bitbake-selftest. Also split the command removing environment only leave the bitbake command and it's arguments. Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilde

[yocto] [[yocto-autobuilder][PATCHv2] 09/15] autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report types.

2016-06-21 Thread Aníbal Limón
The error report type values changed so update it to match the new ones. Signed-off-by: Aníbal Limón --- lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py b/

[yocto] [[yocto-autobuilder][PATCHv2] 07/15] buiidsets: Add DownloadBitbakeErrorReport step

2016-06-21 Thread Aníbal Limón
Add DownloadBitbakeErrorReport step to buildsets that uses bitbake, this step is responsable to download bitbake error reports (if bitbake fails) to slave in order to send it to Error report web. Signed-off-by: Aníbal Limón --- buildset-config.controller/build-appliance.conf | 1 + build

[yocto] [[yocto-autobuilder][PATCHv2] 11/15] autobuilder/lib/ABTools.py: Add get_lsb_distro function

2016-06-21 Thread Aníbal Limón
Try to get Linux distribution ID using lsb_release if lsb_release isn't installed use information provided by linux_distribution() method in platform returns "DISTRONAME-VERSION". Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/ABTools.py | 29 ++ 1 fi

[yocto] [[yocto-autobuilder][PATCHv2] 10/15] autobuilder/lib/{ABtools, builsteps}.py: Create save_error_report func

2016-06-21 Thread Aníbal Limón
Create new generic function save_error_report based on _saveBitbakeErrorReport in order to use the same function on OESelftest error reports. Signed-off-by: Aníbal Limón --- .../site-packages/autobuilder/lib/ABTools.py | 13 .../site-packages/autobuilder/lib/buildsteps.py

[yocto] [[yocto-autobuilder][PATCHv2] 13/15] nightly-oe-selftest.conf: Add steps for Download and Send error report.

2016-06-21 Thread Aníbal Limón
These steps are needed for enable sending of Oe selftest error reports to the Error report WEB. Signed-off-by: Aníbal Limón --- buildset-config.controller/nightly-oe-selftest.conf | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildset-config.controller/nightly-oe-selfte

[yocto] [[yocto-autobuilder][PATCHv2] 12/15] buildsteps/RunOeSelftest.py: Add support for create/save error reports

2016-06-21 Thread Aníbal Limón
Now when oe-selftest fails the error report for send to the Error report web are created and saved in the controller. Since oe-selftest is intended to do a build system testing the values for MACHINE, TARGET_SYS and DISTRO are provided so use universal value instead. Signed-off-by: Aníbal Limón

[yocto] [[yocto-autobuilder][PATCHv2] 14/15] autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to DownloadErrorReports

2016-06-21 Thread Aníbal Limón
Since DownloadBitbakeErrorReports is also downloading reports generated by RunOESelftest it don't make sense to have a hard reference of bitbake in the buildstep. Signed-off-by: Aníbal Limón --- .../buildsteps/DownloadBitbakeErrorReports.py | 42 -- .../autobuilder/build

[yocto] [[yocto-autobuilder][PATCHv2] 15/15] buildset-config: Update references from DownloadBitbakeErrorReports to DownloadErrorReports

2016-06-21 Thread Aníbal Limón
Since DownloadBitbakeErrorReports is also downloading reports generated by RunOESelftest it don't make sense to have a hard reference of bitbake in the buildstep. Signed-off-by: Aníbal Limón --- buildset-config.controller/build-appliance.conf | 2 +- buildset-config.controller/buildtools

[yocto] Yocto Project Developer Day & OEDEM at ELCE this fall

2016-06-21 Thread Jeff Osier-Mixon
Hi all - in case folks are starting to make travel arrangements for ELCE in Berlin this October, we are planning both a YP DevDay (paid training event) and OEDEM (OpenEmbedded members & developers meeting). We don't have venues yet, but these two events will likely occur on the Monday and Friday be

[yocto] Antwort: Re: installation of kernel modules

2016-06-21 Thread S . Jaritz
Hej Daniel, Building the modules as rpm works fine but it fails for deb. The deb generation process seems a little buggy. I have discovered problems with naming recipes (the QA tries to find the license by a "lowercased" link). I checked the package dir. It is fine. The 3 files (a.ko, b.ko, &