Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Mike Looijmans <mike.looijmans@topic.nl>
Cc: openembedded-devel@lists.openembedded.org,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: What is expected of a kernel recipe nowadays?
Date: Tue, 6 Jan 2015 12:04:06 +0100	[thread overview]
Message-ID: <20150106110406.GD19402@jama> (raw)
In-Reply-To: <20150106085731.GC19402@jama>

[-- Attachment #1: Type: text/plain, Size: 3050 bytes --]

On Tue, Jan 06, 2015 at 09:57:31AM +0100, Martin Jansa wrote:
> FWIW: I'm also seeing various kernel failures since the changes.
> 
> Most my kernel are also using linux.inc from meta-oe which wasn't updated yet
> (I plan to look into it soon, unless someone else beats me to it)
> 
> The worst part is that some of these issues are random (the race-condition showing
> more often than before).
> 
> 1) do_unpack failing:
> 
> ERROR: Error executing a python function in /home/jenkins/workspace/luneos-unstable/webos-ports/meta-smartphone/meta-samsung/recipes-kernel/linux/linux-samsung-tuna_git.bb:
> File: 'base_do_unpack', lineno: 21, function: base_do_unpack
>      0017:        bb.utils.mkdirhier(kernsrc)
>      0018:        bb.utils.remove(kernsrc, recurse=True)
>      0019:        import subprocess
>      0020:        subprocess.call(d.expand("mv /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/maguro-webos-linux-gnueabi/linux-samsung-tuna/3_3.0.72+gitrAUTOINC+f8ed73f94a-r12/git/ /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/sysroots/maguro/usr/src/kernel"), shell=True)
>  *** 0021:        os.symlink(kernsrc, s)
>      0022:
>      0023:
>      0024:base_do_unpack(d)
>      0025:
> Exception: OSError: [Errno 2] No such file or directory

This fails when S ends with slash, fix in
http://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/master

> 2) do_configure failing:
> 
> ERROR: Function failed: do_configure (log file is located at /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/mako-webos-linux-gnueabi/linux-lg-mako/3.4.0+gitrAUTOINC+38bdbfe224-r0/temp/log.do_configure.17498)
> ERROR: Logfile of failure stored in: /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/mako-webos-linux-gnueabi/linux-lg-mako/3.4.0+gitrAUTOINC+38bdbfe224-r0/temp/log.do_configure.17498
> Log data follows:
> | DEBUG: Executing python function sysroot_cleansstate
> | DEBUG: Python function sysroot_cleansstate finished
> | DEBUG: Executing shell function do_configure
> | NOTE: make oldconfig
> | make: *** No rule to make target `oldconfig'.  Stop.
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_configure (log file is located at /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/mako-webos-linux-gnueabi/linux-lg-mako/3.4.0+gitrAUTOINC+38bdbfe224-r0/temp/log.do_configure.17498)
> NOTE: recipe linux-lg-mako-3.4.0+gitrAUTOINC+38bdbfe224-r0: task do_configure: Failed
> ERROR: Task 491 (/home/jenkins/workspace/luneos-unstable/webos-ports/meta-smartphone/meta-lg/recipes-kernel/linux/linux-lg-mako_git.bb, do_configure) failed with exit code '1'

This was caused by linux.inc, fixed in:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099687.html

> 3) do_patch failing when S assignment is dropped

This isn't relevant, S assignment is still needed

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2015-01-06 11:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05  8:03 What is expected of a kernel recipe nowadays? Mike Looijmans
2015-01-05  8:29 ` Mike Looijmans
2015-01-05 20:18   ` Bruce Ashfield
2015-01-06  0:47     ` Otavio Salvador
2015-01-06  7:14     ` Mike Looijmans
2015-01-06  8:57       ` Martin Jansa
2015-01-06 11:04         ` Martin Jansa [this message]
2015-01-06 11:33           ` Burton, Ross
2015-01-06 14:08             ` Bruce Ashfield
2015-01-06 11:08         ` Burton, Ross
2015-01-07 10:07           ` Martin Jansa
2015-01-07 13:08             ` Bruce Ashfield
2015-01-07 15:48             ` Bruce Ashfield
2015-01-07 15:56               ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150106110406.GD19402@jama \
    --to=martin.jansa@gmail.com \
    --cc=mike.looijmans@topic.nl \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox